intro story D-Flow FM

 

D-Flow Flexible Mesh

D-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:

  • Easier 1D-2D-3D model coupling, intuitive setup of boundary conditions and meteorological forcings (amongst others).
  • More flexible 2D gridding in delta regions, river junctions, harbours, intertidal flats and more.
  • High performance by smart use of multicore architectures, and grid computing clusters.
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! 

 

=======================================================
We have launched a new website (still under construction so expect continuous improvements) and a new forum dedicated to Delft3D Flexible Mesh.

Please follow this link to the new forum: 
/web/delft3dfm/forum

Post your questions, issues, suggestions, difficulties related to our Delft3D Flexible Mesh Suite on the new forum.

=======================================================

** PLEASE TAG YOUR POST! **

 

 

Sub groups
D-Flow Flexible Mesh
DELWAQ
Cohesive sediments & muddy systems

 


Message Boards

Multiple Simulations

AA
Anonymous Anonymous, modified 7 Years ago.

Multiple Simulations

Padawan Posts: 75 Join Date: 7/30/20 Recent Posts
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
Adri Mourits, modified 7 Years ago.

RE: Multiple Simulations

Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts
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:
  • 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

Padawan Posts: 75 Join Date: 7/30/20 Recent Posts
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
Adri Mourits, modified 7 Years ago.

RE: Multiple Simulations (Answer)

Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts
Hi Oliver,

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 6 Years ago.

RE: Multiple Simulations

Padawan Posts: 55 Join Date: 3/23/11 Recent Posts
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:


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
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