Multiple Simulations - D-Flow Flexible Mesh - Delft3D
intro story D-Flow FM
D-Flow Flexible MeshD-Flow Flexible Mesh (D-Flow FM) is the new software engine for hydrodynamical simulations on unstructured grids in 1D-2D-3D. Together with the familiar curvilinear meshes from Delft3D 4, the unstructured grid can consist of triangles, pentagons (etc.) and 1D channel networks, all in one single mesh. It combines proven technology from the hydrodynamic engines of Delft3D 4 and SOBEK 2 and adds flexible administration, resulting in:
An overview of the current developments can be found here. The D-Flow FM - team would be delighted if you would participate in discussions on the generation of meshes, the specification of boundary conditions, the running of computations, and all kinds of other relevant topics. Feel free to share your smart questions and/or brilliant solutions!
======================================================= | Sub groups
|
Message Boards
Multiple Simulations
AA
Anonymous Anonymous, modified 7 Years ago.
Multiple Simulations
Jedi Master Posts: 333 Join Date: 7/30/20 Recent Posts 00
Hi,
is it possible to start multiple simulations in Delft 3D on a Windows server?
E.g. I have 32 Cores available, the source code currently can be accalerated up to 4-fold due to parallelization. Thus I only need 4 cores for a simulation.
Now, could I start multiple simulations with Delft 3D using the GUI, and if so how?
Kind regards,
Oliver
is it possible to start multiple simulations in Delft 3D on a Windows server?
E.g. I have 32 Cores available, the source code currently can be accalerated up to 4-fold due to parallelization. Thus I only need 4 cores for a simulation.
Now, could I start multiple simulations with Delft 3D using the GUI, and if so how?
Kind regards,
Oliver
Adri Mourits, modified 7 Years ago.
RE: Multiple Simulations
Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts 00
Hi Oliver,
I just tried it on my Windows 7 machine: 4 parallel calculations, each with 2 partitions, run fine, all at the same time.
You can not start a parallel calculation using the GUI. The best way to proceed:
Regards,
Adri
I just tried it on my Windows 7 machine: 4 parallel calculations, each with 2 partitions, run fine, all at the same time.
You can not start a parallel calculation using the GUI. The best way to proceed:
- Prepare all your calculations in separate directories
- Copy script "https://svn.oss.deltares.nl/repos/delft3d/trunk/examples/01_standard/run_flow2d3d_parallel.bat" to each of these sub-directories and adapt them. The least thing to do is to replace %NUMBER_OF_PROCESSORS% by the number of cores to use (4 in your case). May be you also need to adapt the path to the binaries to fit to your system.
- Execute all run scripts
Regards,
Adri
AA
Anonymous Anonymous, modified 7 Years ago.
RE: Multiple Simulations
Jedi Master Posts: 333 Join Date: 7/30/20 Recent Posts 00
Hi Adri,
thanks for the input. This is basically the same approach as with the Linux based version.
Now, I switched to Windows due to issues with the NestHD function, which gave me headaches under Linux.
Is it possible to use the procedure you posted as well for nesting model grids? Because you usually start the NestHD from the GUI and will generate several additional files as you run the overall model up front and generate input data for the nested model.
Thanks a lot in advance,
kind regards,
Oliver
thanks for the input. This is basically the same approach as with the Linux based version.
Now, I switched to Windows due to issues with the NestHD function, which gave me headaches under Linux.
Is it possible to use the procedure you posted as well for nesting model grids? Because you usually start the NestHD from the GUI and will generate several additional files as you run the overall model up front and generate input data for the nested model.
Thanks a lot in advance,
kind regards,
Oliver
Adri Mourits, modified 7 Years ago.
RE: Multiple Simulations (Answer)
Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts 20
Hi Oliver,
Yes, that should be possible. You have to run it without using the GUI. In one Windows batch file:
I never tried this myself. Please post your findings.
Thanks.
Regards,
Adri
Yes, that should be possible. You have to run it without using the GUI. In one Windows batch file:
- Run the coarse model in parallel
- Run "...\win32\flow2d3d\bin\nesthd1.exe <argFileNesthd1" where argFileNesthd1 is an ascii file containing the command line input parameters that nesthd1 needs (in the correct order). You have to create argFileNesthd1 yourself.
- Run "\win32\flow2d3d\bin\nesthd2.exe <argFileNesthd2"
- Run the detailed model in parallel
I never tried this myself. Please post your findings.
Thanks.
Regards,
Adri
Renan Ribeiro, modified 7 Years ago.
RE: Multiple Simulations
Padawan Posts: 55 Join Date: 3/23/11 Recent Posts 10
Hi Adri / Oliver
Just to let you know, I recently tried using a batch file to generate the boundary conditions via nesthd2 and it worked perfectly.
First I created a input file (called argFileNesthd2) with the name of input (.bnd, .adm, ...) and output files (.bct, .bcc,...) as follow:
After, I wrote a line at a batch file before start running the nested grid model., as follow:
Kind regards,
Renan
Just to let you know, I recently tried using a batch file to generate the boundary conditions via nesthd2 and it worked perfectly.
First I created a input file (called argFileNesthd2) with the name of input (.bnd, .adm, ...) and output files (.bct, .bcc,...) as follow:
MB_grade2.bnd | |
MB_offline_nest.adm | |
MB_grade1 | |
MB_grade2.bct | |
MB_grade2.bcc | |
0nest_diag | |
0 |
After, I wrote a line at a batch file before start running the nested grid model., as follow:
%exedir%\nesthd2.exe <argFileNesthd2 |
Kind regards,
Renan
TS
Thomas SAILLOUR, modified 6 Years ago.
RE: Multiple Simulations (Answer)
Youngling Posts: 24 Join Date: 4/6/14 Recent Posts 00
The exact same syntaxe works fine on Linux too!
Steps:
-create the same argFile as seen above
-set the intel/swan/lib to your PATH (.profile or .bashrc)
-copy the the nesthd2 executable and the argFile to the working directory
-Run : "./nesthd2 <argFile" in the command
If you have some some troubles with the Linux command, there are still the nesthd_nesthd1 and nesthd_nesthd2 MatLab functions in the OpenEarthTools package that work fine as well.
Regards
Steps:
-create the same argFile as seen above
-set the intel/swan/lib to your PATH (.profile or .bashrc)
-copy the the nesthd2 executable and the argFile to the working directory
-Run : "./nesthd2 <argFile" in the command
If you have some some troubles with the Linux command, there are still the nesthd_nesthd1 and nesthd_nesthd2 MatLab functions in the OpenEarthTools package that work fine as well.
Regards