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

Problem running domain decomposition Delft3D Flow test

OS
Octavio Sequeiros, modified 9 Years ago.

Problem running domain decomposition Delft3D Flow test

Youngling Posts: 3 Join Date: 10/31/11 Recent Posts
Hello Delft3D community,

I am running some Delft3D tests with domain decomposition and have experienced problems.

I have followed the Deflt3D-FLOW user manual (chapter B.14), the examples for domain decomposition in the subversion repositories of Delft3D, and Tutorial FLOW-DD Online WAVE from the screen casts as best as I could.

There are some ominous messages in the DOS command box, but there is no error message in the diag files, only some (apparently innocuous) warning, so I don’t know where to find. Here is a summary:

Outer domain master file: tst.mdf
Inner domain master file: tstin.mdf

Both mdf files run ok independently.

My batch file is:

@ echo off
rem ============ set exedir
set exedir=C:\Delft3D\w32\flow\bin
set libdir=C:\Delft3D\w32\lib
set PATH=%exedir%;%libdir%;%PATH%
rem =========== run multi-doamins
echo === start delftflow.exe ===
%exedir%\deltares_hydro.exe config_flow2d3d.ini
echo === end delftflow.exe ===
pause



The config_flow2d3d.ini file contains:

[FileInformation]
FileCreatedBy = Hyd-online Tcl script
FileCreationDate = Tue Jan 31 13:52:18 +0100 2012
FileVersion = 00.01
[Component]
Name = flow2d3d
DDBFile = XDDboundaries.ddb



The ddb file contains:

tst.mdf 93 103 120 103 tstin.mdf 88 1 169 1
tstin.mdf 169 1 169 124 tst.mdf 120 103 120 144
tstin.mdf 1 124 169 124 tst.mdf 64 144 120 144
tst.mdf 64 129 64 144 tstin.mdf 1 79 1 124



The output in the DOS command looks like:

=== start delftflow.exe ===
--------------------------------------------------------------------------
Deltares, Delft3D-FLOW Version 4.00.04.757, Aug 23 2011, 18:06:51
flow2d3d.dll entry RUNME
--------------------------------------------------------------------------
Part I - Initialisation Time Dep. Data module...
runid : tst
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...
--------------------------------------------------------------------------
Deltares, Delft3D-FLOW Version 4.00.04.757, Aug 23 2011, 18:06:51
flow2d3d.dll entry RUNME
--------------------------------------------------------------------------
Part I - Initialisation Time Dep. Data module...
runid : tstX
Part II - Creating intermediate files...
Part III - Initialisation of the Execution module...
Part IV - Reading complete MD-file...
ABORT: (n0,i6)
1) Error during initialization of subdomains: check tri-diag files.
OR
2) "tst": Wrong coupling point at (94,104) Kcs=1 KcsInside=1
ABORT: (n0,i7)
1) Error during initialization of subdomains: check tri-diag files.
OR
2) "tstin": Wrong coupling point at (170, 2) Kcs=0 KcsInside=0
ABORT: (n0,i9)
1) Error during initialization of subdomains: check tri-diag files.
OR
2) "tst": Wrong coupling point at (65,130) Kcs=1 KcsInside=1
ABORT: (n0,i8)
1) Error during initialization of subdomains: check tri-diag files.
OR
2) "tstin": Wrong coupling point at ( 2,125) Kcs=0 KcsInside=0
=== end delftflow.exe ===



The diag file for the outer mdf contains warnings but no errors:

********************************************************************************
***
*** Deltares, Delft3D-FLOW Version 4.00.04.757, Aug 23 2011, 18:06:51
***
*** runid : tst
*** date,time : 2012-02-01, 17:09:47
***
********************************************************************************
*** MESSAGE No Fmtbnd record found in MDF-file, item will be skipped
*** MESSAGE Executable for 32-bits platform.
*** MESSAGE Double precision computation using reals of kind 8
*** Start of User Defined Model description
-
- tst
-
*** End of User Defined Model description
*** MESSAGE No Fmtcco record found in MDF-file, item will be skipped
Coordinate System: Spherical
Coordinate System: Spherical
*** MESSAGE No Fmtgrd record found in MDF-file, item will be skipped
*** MESSAGE No Fmtbnd record found in MDF-file, item will be skipped
*** MESSAGE Using UNESCO density formulation by default
*** MESSAGE Momentum solver flood method is specified
*** MESSAGE DRYFLP and DPSOPT both specified in MD-file. Using DPSOPT: MAX
*** WARNING Combination of multi domain and Spherical coordinate has not yet been tested
*** WARNING Combination of multi domain and Momentum solver other than cyclic has not yet been tested
*** WARNING Iteration parameter is set to 2



The diag file for the inner mdf is has pretty much the same output.

As for the batch file I am a bit confused because the way the User Manual advices to run DD tests (page 609) is different than that found in the examples of the subversion repositories (e.g. Rev 1223).
In the repositories example you need an extra config file, denominated (config_flow2d3d.ini) where the *.ddb file is defined, as described above.
In the User Manual the batch file contains all you need to run the DD test with some lines such as:

rem ============ set ddb-file
set ddb-file=XDDboundaries.ddb
echo -c %ddb-file% > delftflow.inp
rem =========== run multi-doamins
echo === start delftflow.exe ===
%exedir%\delftflow.exe delftflow.inp delftflow.out delft3d
echo === end delftflow.exe ===

I tried a batch file following the User Manual to no avail either.

I checked the grids and domains in the suspicious (M,N) coordinates but I find nothing wrong. The ddb file was created as indicated in the RGFGRID manual and then all references to *.grd files were changed to *.mdf file as stated in the User Manual. I tried changing the offending (M,N) points in the ddb file to no avail.

Apart from the offending (M,N) coordinates (coupling problems), I suspect there is something wrong with my batch file and or config file. But don’t know what. Any comments are welcome.

Thanks,
Octavio
JL
Joe Long, modified 8 Years ago.

RE: Problem running domain decomposition Delft3D Flow test

Youngling Posts: 2 Join Date: 12/19/11 Recent Posts
I seem to be running into the same problem with a very similar error message but no indication in the output files regarding what may be wrong. Just curious if you have received any guidance on a solution to this problem?
AL
Angang Li, modified 8 Years ago.

RE: Problem running domain decomposition Delft3D Flow test

Youngling Posts: 5 Join Date: 5/23/12 Recent Posts
Hi all,

I have very similar problem here as well when running the domain decomposition. Is there any idea what might be wrong? Here below are the error messages I got, and any comments are appreciated! Thanks in advance!

Best regards,
Angang


---- From Start DD ----

ABORT: (n0,i6)
1) Error during initialization of subdomains: check tri-diag files.
OR
2) "small_rect": Wrong coupling point at ( 2,74) Kcs=0 KcsInside=0


---- From tri-diag file ----

*** WARNING Combination of multi domain and Wave effect has not yet been tested
*** WARNING Combination of multi domain and Spherical coordinate has not yet been tested
*** ERROR
NEFIS message 6004:
Group 'DWQTIM ' does not exist in data file

*** ERROR Incomplete COM-files #com-large_rect.dat/com-large_rect.def# exist
*** ERROR Try removing the COM-files first
Qinghua Ye, modified 8 Years ago.

RE: Problem running domain decomposition Delft3D Flow test

Jedi Council Member Posts: 610 Join Date: 3/2/11 Recent Posts
Hi, guys, Octavio, Joe, Angang,

So your questions are all related to the DD functions.

For Octavio,

Seems to me, the error on the screen comes from the coupling points are probably not active points, I mean, either dry, or on close boundary, etc. Would you check those points again?

Furthermore, from the warnings,
*** WARNING Combination of multi domain and Spherical coordinate has not yet been tested.
*** WARNING Combination of multi domain and Momentum solver other than cyclic has not yet been tested.

you are using DD with spherical coordination, and with flooding solver, which are not tested as the warning says and might leads to problems later on.

But the errors on the screen you showed are not from these two reasons, just keep in mind.

The example in the manual probably was not up to date. It should be alright if you use the examples of the subversion repositories.

For Angang,

Your model is a DD with wave online coupling.

Also I think some of the coupling points are inactive, i.e., dry or on the closed boundary, thin dams etc.

The com error is because of the existing of the com files from the last run. So you might need to remove the old communication files before you start a new run.

Hope this helps,

Qinghua YE
AL
Angang Li, modified 8 Years ago.

RE: Problem running domain decomposition Delft3D Flow test

Youngling Posts: 5 Join Date: 5/23/12 Recent Posts
Hi Qinghua,

Thanks for your reply! I updated all the files associated with the overall domain to make them consistent, and the decomposition process went out smoothly. I really appreciate your help!

Best regards,
Angang
Qinghua Ye, modified 8 Years ago.

RE: Problem running domain decomposition Delft3D Flow test

Jedi Council Member Posts: 610 Join Date: 3/2/11 Recent Posts
dear Angang,

It is my pleasure. Hope you have a nice journey with Delft3D.

Qinghua