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

run multiple simulations using batch file and show run window

David Thompson, modified 7 Years ago.

run multiple simulations using batch file and show run window

Youngling Posts: 6 Join Date: 6/16/11 Recent Posts
I have a combined FLOW-WAVE model setup which I'd like to run multiple times using different input files. I have the separate input files sitting in separate directories along with a batch file created using D3D Menu -> Flow -> Batch -> Prepare. I have a simple shell script which dives into each directory and runs each simulation by calling the batch file - this all works great... BUT, I'd like for the typical D3D run window to pop up so I can see the simulation progress. I see that the -batch switch after calling hyd_online.tcl in the batch file causes the run window to be suppressed. If I remove that switch the run window appears as it should, however, when the simulation is finished the D3D run window stays open and therefore my shell script doesn't continue to the next simulation.
Any suggestions?

Thank you!
Dave
AM
Arjen Markus, modified 7 Years ago.

RE: run multiple simulations using batch file and show run window

Jedi Knight Posts: 222 Join Date: 1/26/11 Recent Posts
Hi Dave,

if you look in the hyd_online.tcl script you will see the following lines:

#
# Take special care for batch mode
#
if { $batch == 1 } {
wm withdraw .
} else {
tkwait visibility .
update idletasks
}

It is the line "wm withdraw ." that is responsible for suppressing the window that normally shows
the progress. Put a hash (#) in front of this (so the command is not executed any more) and the window will
remain visible. When the computational programs are finished, it will disappear after about 1 minute.

This ought to permit you to do what you want: run a sequence of computations while still watching the
progress. Should this not work, let me know.

Regards,

Arjen