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

Config file example

PZ
Pavlo Zemskyy, modified 9 Years ago.

Config file example

Youngling Posts: 2 Join Date: 9/13/11 Recent Posts
Finally managed to compile 64-bit version of D3DFlow from trunk (revision 1110). Platform Ubuntu 11.

Tried to run examples from examples folder. Default running scripts pointed to executable deltares_hydro.exe. This executable finishes immediately without producing single line of output (neither on screen nor in any file). Once I am trying to use d_hysro.exe as executable, it also finishes immediately but with following error message:

d_hydro ABORT: XML parse error in configuration file

which is natural since configuration file in example folder is not an XML. However, I could not find any examples of XML configuration files in examples and available documentation.
Bert Jagers, modified 9 Years ago.

RE: Config file example

Jedi Knight Posts: 201 Join Date: 12/22/10 Recent Posts
Hi Pavlo,

The trunk is currently not very stable, so in general we recommend to use the latest tagged version. However, if you're trying to compile on other systems e.g. 64bit Linux or Macintosh then the trunk might be the best choice. In the trunk the FORTRAN main program (deltares_hydro.exe) has been replaced by a C main program (d_hydro.exe) to avoid unnecessary language transitions (from FORTRAN to C to FORTRAN to C to FORTRAN to C in previous case for domain decomposition simulations has been simplified to: from C to FORTRAN to C). As you have noticed the d_hydro.exe does not read the config_flow2d3d.ini files anymore, but expects an xml file. This transition has been made because we expect that in the future the xml file will allow us more flexibility to start multi-domain and nested coupled simulations using a hierarchy of tags. Currently, the xml file should read in its most basic form:

<DeltaresHydro start="flow2d3d">
    <flow2d3d
        library         = 'flow2d3d'
        MDFile          = 'demo'
        >
    </flow2d3d>
</DeltaresHydro>

For backward compatibility we have included a small deltares_hydro.exe tool that will (if it works) convert the config_flow2d3d.ini into

<?xml version='1.0' encoding='iso-8859-1'?>
        <!-- This file is generated by: -->
        <!-- deltares_hydro.exe/deltares_hydro.tcl version 4.99.01 -->
        <!-- emulator for running Delft3D-FLOW version 5.xx (d_hydro.exe) -->
<DeltaresHydro start="flow2d3d">
    <flow2d3d
        library         = 'flow2d3d'
        MDFile          = 'demo'
        description     = 'Delft3D-FLOW single domain calculation'
        >
    </flow2d3d>
</DeltaresHydro>


This deltares_hydro.exe tool has been programmed in tcl and may have to be recompiled for your platform. The tcl source code and the tcl to exe converter is included in the source code tree at src/third_party_open/tclkit.

Best regards,

Bert
Adri Mourits, modified 9 Years ago.

RE: Config file example

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

Two additions:


Regards,

Adri
SH
Shawn Harrison, modified 8 Years ago.

RE: Config file example

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
Hi Bert and Friends..

I tried to recompile the deltares_hydro.tcl file on my machine, but now it really doesn't work!
It looks like the path got messed up in the tcl file (i didn't change anything in the tcl file from the Trunk 1690 source)

   Starting Delft3D-FLOW computation ...
ERROR: D3D-FLOW executable  "/opt/delft3d/intel/flow/bin/deltares_hydro.exe/d_hydro.exe" does not exist.


How do I adjust the tcl so that deltares_hydro will work properly on my machine?

Thanks in advance,
Shawn
SH
Shawn Harrison, modified 8 Years ago.

RE: Config file example

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
Also - maybe you can help with the problem that I was trying to overcome that lead me here..

My installation seems to work, but not for everything.

The FLOW-WAVE model works smoothly, without any troubles.. this implies that flow and wave both work, right?

However, neither FLOW nor WAVE will work by themselves. I am not sure if this is a problem with the GUI version being older than the new examples or a problem elsewhere.


When trying to launch the FLOW example demo (e.g. from the GUI tutorial package, ..../doc/tutorial/flow/f34_demo/f34_demo.mdf), the model stops immediately with a 'SIGABRT' error.
The error messages is:

   Starting Delft3D-FLOW computation ...
Executing "/opt/delft3d/intel/flow/bin/d_hydro.exe TMP_config_flow2d3d_9508.xml" ...
--------------------------------------------------------------------------------
       Deltares, FLOW2D3D Version 5.00.06.1662, Jun 29 2012, 17:14:35
       libflow2d3d.so entry Flow2D3D::Run
--------------------------------------------------------------------------------

Part I    - Initialisation Time Dep. Data module...   
            runid : f34_demo
Part II   - Creating intermediate files...            
Part III  - Initialisation of the Execution module... 
Part IV   - Reading complete MD-file...                     
Part V    - Initialisation & checking input...             
Part VI   - Initialisation & checking second part...       
Part VII  - Initialisation output...                        

ERROR: child killed: SIGABRT
       - Starting "d_hydro.exe" may give more information:
         - Run "deltares_hydro.exe <INI-inputfile> -keepXML".
         - Run "d_hydro.exe TMP_config_flow2d3d_<processId>.xml".


The same type of error happens when trying to launch the FLOW example demo from the trunk (examples/01_standard/f34.mdf).


Also, with the WAVE models. If I ever open a wave file with the GUI and save the mdw file, then the wave model will not work. The error is always the same:
For e.g. with a wave input file 'RXX.mdw':

   Starting Delft3D-WAVE computation ...
--------------------------------------------------------------------------------
-  Delft3D
-  Deltares, Delft3D-WAVE Version 3.04.01.1662, Jun 29 2012, 17:14:40
-  Open source
-
--------------------------------------------------------------------------------
*** ERROR: mdw-file 'rxx.mdw' does not exist.


Please help!
Thanks,
Shawn
Adri Mourits, modified 8 Years ago.

RE: Config file example

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

The most important thing to find out is, whether the problem is in the (compiled) kernels or in the GUI. You can check this by running the examples by executing the run script in the related directory. If that runs fine, the problem is in the GUI. Otherwise the compiled binaries are causing the problem. See also http://oss.deltares.nl/web/opendelft3d/source-code#Run a calculation.

Regards,

Adri
Chiranjeevi Ambati, modified 7 Years ago.

RE: Config file example

Youngling Posts: 19 Join Date: 3/23/11 Recent Posts
Dear Adri,

While trying to do parallel computing of hydrodynamcis i am getting a error message

"d_hydro ABORT: XML parse error in configuration file "

As described, I have been testing the example under trunk 01_Standard.

Quick reply would be greatly appreciated.

Thanks and regards
Chiru
Adri Mourits, modified 7 Years ago.

RE: Config file example (Answer)

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

The input file is changed with the introduction of Delft3D-FLOW version 6.00.00. It seems that you mixed a runscript based on version 5.xx with binaries from version 6.00.

If you want to (re)run existing (5.xx based) models/scripts, you better stick to the last tagged 5.xx version (5.01.00.2163).

If you want to switch to the last tagged (6.00 based) version: have a look at the examples in there.

More information at the release notes.

Regards,

Adri
Chiranjeevi Ambati, modified 7 Years ago.

RE: Config file example

Youngling Posts: 19 Join Date: 3/23/11 Recent Posts
Dear Adri,

Thanks for your timely help. Now, I can run the parallel computations.

Kind regards
Chiru