intro story Coast / Estuary

Coast / Estuary

Coastal systems are among the most dynamic physical systems on earth and are subject to a large variety of forces. The morphodynamic changes occurring to coastlines worldwide are of great interest and importance. These changes occur as a result of the erosion of sediments, its subsequent transport as bed load or suspended load, and eventual deposition. 
 
Estuaries are partly enclosed water bodies that have an open connection to the coast. Estuaries generally have one or more branching channels, intertidal mudflats and/or salt marshes. Intertidal areas are of high ecological importance and trap sediments (sands, silts, clays and organic matter).
Within the Delft3D modelling package a large variation of coastal and estuarine physical and chemical processes can be simulated. These include waves, tidal propagation, wind- or wave-induced water level setup, flow induced by salinity or temperature gradients, sand and mud transport, water quality and changing bathymetry (morphology). Delft3D can also be used operationally e.g. storm, surge and algal bloom forecasting. 
 
On this discussion page you can post questions, research discussions or just share your experience about modelling coastal and/or estuarine systems with Delft3D FM. 
 

** PLEASE TAG YOUR POST! **

 

 

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

 

 

Message Boards

Rules for DD boundaries: Is it possible to have three layers of DD domains?

Ben Williams, modified 8 Years ago.

Rules for DD boundaries: Is it possible to have three layers of DD domains?

Jedi Knight Posts: 114 Join Date: 3/23/11 Recent Posts
Hello,

Is it possible to have three layers of DD domains? E.g. a large outer grid than then has a refined grid in the miiddle, which in turn also has a further refined grid?

If I try such a thing I get the following error message after Delft3D succesfuly initialises the domains, but does not get as far as runnig computations:

Simultaneous FLOW and WAVE computation
Starting simultaneous FLOW and WAVE computation ...
--------------------------------------------------------------------------------
- Delft3D
- Deltares, Delft3D-WAVE Version 3.04.01.000000, Dec 19 2011, 17:56:42
- Open source
-
--------------------------------------------------------------------------------
*** MESSAGE: Delft3D-WAVE runs online with Delft3D-FLOW
Domain 1 is using depth averaged flow velocity.
Done reading input
Waiting for initialisation from FLOW
Starting Delft3D-FLOW computation ...
--------------------------------------------------------------------------------
Deltares, Delft3D-FLOW Version 4.00.07.000000, Dec 19 2011, 17:55:07
flow2d3d.dll entry RUNME
--------------------------------------------------------------------------------

Part I - Initialisation Time Dep. Data module...
runid : Reg3_v1_outer
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.07.000000, Dec 19 2011, 17:55:07
flow2d3d.dll entry RUNME
--------------------------------------------------------------------------------

Part I - Initialisation Time Dep. Data module...
runid : Reg3_v1_inner2
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.07.000000, Dec 19 2011, 17:55:07
flow2d3d.dll entry RUNME
--------------------------------------------------------------------------------

Part I - Initialisation Time Dep. Data module...
runid : Reg3_v1_inlet
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...
Part VII - Initialisation output...
Part VII - Initialisation output...
*** MESSAGE: Connected to the following 3 FLOW domain(s):
Reg3_v1_outer
Reg3_v1_inner2
Reg3_v1_inlet
Initialising grids and grid mappings
Part VIII - Start Simulation...

Time to finish 0s, 0.0% completed, time steps left 14400
Waiting for communication with Delft3D-FLOW ...
Part VIII - Start Simulation...

Time to finish 0s, 0.0% completed, time steps left 14400
Part VIII - Start Simulation...

Time to finish 1h 17m, 0.0% completed, time steps left 14400
*****************************************************************
* Start of Delft3D-WAVE ...
Start loop over SWAN grids, time = 180.000
Allocate input fields
Allocate and read SWAN depth
End of file, file Reg3_v1_c.dep

redbot

---
As I have successfuly run for two levels of DD domains, I presume that an additional stage is not possible and an alternative approach should be persued? Or would the trouble perhaps stem from the order in which one has to specify and then compile the ddb within RGFGRID?

Best regards,

Ben
Katherine Cronin, modified 8 Years ago.

RE: Rules for DD boundaries: Is it possible to have three layers of DD doma

Padawan Posts: 42 Join Date: 2/23/11 Recent Posts
Dear Ben,

Yes it is possible to run with three domains. Whereas I haven't set up the simulation myself, I am using the results of a three-domain grid to run a Delwaq simulation. I've attached
an example of a .ddb file for three domains (coarse outer grid, intermediate inbetween and fine by the coast). Hope this helps,

In your message below it seems to be something with your depth file (End of file, file Reg3_v1_c.dep )

best wishes,

Katherine

coarse-ext.grd 34 22 41 22 intermediate-ext.grd 4 1 25 1
coarse-ext.grd 33 23 33 103 intermediate-ext.grd 1 4 1 244
intermediate-ext.grd 1 244 34 244 coarse-ext.grd 33 103 44 103
intermediate-ext.grd 43 244 49 244 coarse-ext.grd 47 103 49 103
intermediate-ext.grd 9 31 28 31 fine-ext.grd 1 1 39 1
intermediate-ext.grd 9 31 9 137 fine-ext.grd 1 1 1 213
fine-ext.grd 1 213 51 213 intermediate-ext.grd 9 137 34 137
Bert Jagers, modified 8 Years ago.

RE: Rules for DD boundaries: Is it possible to have three layers of DD doma

Jedi Knight Posts: 201 Join Date: 12/22/10 Recent Posts
Dear Ben, Katherine,

In your message below it seems to be something with your depth file (End of file, file Reg3_v1_c.dep )


Yes, what Delft3D-WAVE actually intends to indicate here is: "Premature end of file while reading file Reg3_v1_c.dep"
I have now changed that error message in the Delft3D-WAVE trunk version (rev. 1166).

Bert
Ben Williams, modified 8 Years ago.

RE: Rules for DD boundaries: Is it possible to have three layers of DD doma

Jedi Knight Posts: 114 Join Date: 3/23/11 Recent Posts
Thank you both for your response - I'll take a look at my depth file.

Cheers,

Ben
Ben Williams, modified 8 Years ago.

RE: Rules for DD boundaries: Is it possible to have three layers of DD doma

Jedi Knight Posts: 114 Join Date: 3/23/11 Recent Posts
Hello again, just a quick one -

Should there be a 'dioconfig.ini' file created as part of the initialisation? I haven't had error messages referencing this file before for a two-tier DD online wave simulation.

The error message I get is
*** ERROR: Delftio initialization WAVE side failed
Is file 'dioconfig.ini' present?

Any ideas what could cause this?

Thanks,

Ben
Katherine Cronin, modified 8 Years ago.

RE: Rules for DD boundaries: Is it possible to have three layers of DD doma

Padawan Posts: 42 Join Date: 2/23/11 Recent Posts
Hi Ben,

Are you working with the user interface? If so you should get an .ini file and you do need this to run wave simulations,

best wishes,

Katherine
Ben Williams, modified 8 Years ago.

RE: Rules for DD boundaries: Is it possible to have three layers of DD doma

Jedi Knight Posts: 114 Join Date: 3/23/11 Recent Posts
Hello Katherine,

I am indeed (for now) launching using the GUI interface. As expected, I get a file generated called 'config_flow2d3d.ini' but this makes no mention of the wave file I select. I guess this is OK as Delft3D at least tries to launch the wave model (although it does not get any further for this test run).

I haven't seen a file 'dioconfig.ini' generated in any of my online wave+flow simulations so far - which is why I was puzzled when that particular file was mentioned by the error log.

I'll keep trying to see what is wrong.

Thanks,

Ben
Ben Williams, modified 8 Years ago.

RE: Rules for DD boundaries: Is it possible to have three layers of DD doma

Jedi Knight Posts: 114 Join Date: 3/23/11 Recent Posts
Sorry I should also mention that the model of course runs completely fine when I *don't* use online wave (i.e. flow only or saving com file for offline wave).
I only encounter the issue when trying to use online wave.

Ben
Bert Jagers, modified 8 Years ago.

RE: Rules for DD boundaries: Is it possible to have three layers of DD doma

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

When you select Start (simulation), the Delft3D menu runs the hyd_online.tcl script which generates the config_flow2d3d.ini input file for the Delft3D-FLOW program, it copies the dioconfig.ini file from %D3D_HOME%/%ARCH%/wave/default, starts the Delft3D-FLOW program, and starts the Delft3D-WAVE program in a separate thread. When the simulation stops then the dioconfig.ini file is automatically deleted again by the hyd_online.tcl script; so, you should see the file during the simulation, but it will have disappeared when the simulation stops.

So, normally this file should be there when you start the simulation runs. So, let's assume that the file is there and that there is something else. Let's check the code and determine when this error is actually produced. We locate the string "Delftio initialization WAVE side failed" in wave/packages/data/src/flow_data.f90. When the wave_from_flow_init routine returns with a zero or negative number of domains. This may happen if the communication with Delft3D-FLOW is disturbed. The most common reason for this a crash of a previous simulation in the simulation folder: files like "FLOW2WAVE_DATA.txt" and "FLOW2WAVE_DATA.txt_FLOW2WAVE_DATA.data" are crucial in the synchronization of FLOW and WAVE. Most likely one or more of these files still exists in the folder indicating to WAVE that the FLOW module has initialized and set up the simulation whereas the FLOW module hasn't reached that point yet.

Remove these files and the simulation will run.

Bert