Migration status

  • Home Page: Activity map.

intro story DELWAQ

DELWAQ

DELWAQ is the engine of the D-Water Quality and D-Ecology programmes of the Delft3D suite. It is based on a rich library from which relevant substances and processes can be selected to quickly put water and sediment quality models together.

The processes library covers many aspects of water quality and ecology, from basic tracers, dissolved oxygen, nutrients, organic matter, inorganic suspended matter, heavy metals, bacteria and organic micro-pollutants, to complex algae and macrophyte dynamics. High performance solvers enable the simulation of long periods, often required to capture the full cycles of the processes being modelled.

The finite volume approach underlying DELWAQ allows it to be coupled to both the structured grid hydrodynamics of the current Delft3D-FLOW engine and the upcoming D-Flow Flexible Mesh engine (1D-2D-3D) of the Delft3D Flexible Mesh Suite (or even other models such as TELEMAC).

'DELWAQ in open source' is our invitation to all leading experts to collaborate in further development and research in the field of water quality, ecology and morphology using Delft3D. Feel free to post your DELWAQ related questions or comments in this dedicated forum space. If you are new to DELWAQ, the tutorial (in the user manual) is a good place to start. A list of DELWAQ related publications is available here.

** PLEASE TAG YOUR POST! **

 

 

Sub groups
D-Flow Flexible Mesh
DELWAQ

Cohesive sediments & muddy systems

 


Message Boards

D3D WAVE simulation with Meteo files

Ben Williams, modified 6 Years ago.

D3D WAVE simulation with Meteo files

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

I am running a D3D WAVE (instationary) simulation during a cyclone using the appropriate Meteo files to specify time-and-space-varying x and y wind velocities.

I have no issues with running a simulation suing a single domain. However if I nest additional domains then the simulations on the finer grid do not converge. Ultimately the simulation crashes.

I suspect that it is related to trying to run a wind field on a relatively coarse equidistant grid (dx=dy=4km), whilst the finer model domains have a resolution of the order of 30m.

I have tried running D3D WAVE with using Meteofiles for just the largest domain (~200x300km @ dx=dy=5km), but when I do this D3DWAVE refuses to start the simulation, saying instead:

*** MESSAGE: Delft3D-WAVE runs stand alone
Done reading input
*** MESSAGE: Using data from the following FLOW domain:
cycwav
*** ERROR: Reading file "com-XXXX.dat" or "com-XXXX.def"

where XXXX is the name of the .mdw file. I have not specified to use D3D WAVE in conjunction with any FLOW simulation. This is purely a stand-alone.


Any suggestions for what could be causing this particular type of message?

Thanks,

Ben
U
Anonymous Anonymous, modified 6 Years ago.

RE: D3D WAVE simulation with Meteo files

Hi Ben,

I'm also experiencing the same issue. Did you discover a resolution?

A single domain (coarse resolution) model with space and time varying wind specified on an equidistant grid (according to user manual section A2.10.2) via Meteo keywords in the Datagroup General executes successfully.
A two domain model (with a finer resolution domain nested within the coarse resolution domain) but with wind applied only to the coarse domain via Meteo keywords in the Datagroup Domainfor the coarse domain (according to user manual section A2.10) results in the following error messages

*** MESSAGE: Delft3D-WAVE runs stand alone
Done reading input
*** MESSAGE: Using data from the following FLOW domain:
XXXX
*** ERROR: Reading file "com-XXXX.dat" or "com-XXXX.def"

where XXXX is the name of the .mdw file.

Ruairi
Qinghua Ye, modified 6 Years ago.

RE: D3D WAVE simulation with Meteo files

Jedi Council Member Posts: 612 Join Date: 3/2/11 Recent Posts
Hi Ruairi,

Can you attach your mdw file here?

Regards,

Qinghua
U
Anonymous Anonymous, modified 6 Years ago.

RE: D3D WAVE simulation with Meteo files

Morning Qinghua,
The .mdw file is attached together with the screen output.
I'm not sure whether you require other model files but have attached them in a zipped file anyway.
Regards,
Ruairi
Qinghua Ye, modified 6 Years ago.

RE: D3D WAVE simulation with Meteo files (Answer)

Jedi Council Member Posts: 612 Join Date: 3/2/11 Recent Posts
Hi Ben en Ruairi,

In the mdw file, the spatial varying meteo files *.amu, *.amv are used, thus the wave model needs to run with flow. That is the reason why it complains.

I would discuss with our colleagues if a warning should be added to the diag file.

Thanks,

Qinghua
U
Anonymous Anonymous, modified 6 Years ago.

RE: D3D WAVE simulation with Meteo files

Good morning Qinghua,

An interesting observation. Is the issue related to the fact that the files have the extensions *.amu & *.amv? Or that I am specifying spatially varying meteo conditions? Please note that the single domain model (i.e. the coarse resolution domain without a nested finer resolution domain) used the same meteo files and filenames, specified in the Datagroup General, and the model executed successfully as a standalone WAVE calculation. Would you expect this?

I had another look at the manual (version 3.05.30013, sections A.2.10 & A.2.10.1) which shows meteo files with the extension .wnd [Although sections A.2.10.2, A.2.10.3 & A.2.10.4 don't suggest a particular extension]. A few further observations:
1) Renaming the files as xwind.wnd and ywind.wnd in the Datagroup Domain] for the coarse domain doesn't remove the error reported previously.
2) Specifying meteo files in the Datagroup General] causes the following run-time error which I understand is a known error associated with attempting multiple unit associations to the same file which isn't permitted by the Fortran Standard [I'm running Delft3D on Ubuntu]
--------------------------------------------------------------------------------
- Delft3D
- Deltares, Delft3D-WAVE Version 3.04.01.2483, May 14 2013, 18:20:05
- Open source
-
--------------------------------------------------------------------------------
*** MESSAGE: Delft3D-WAVE runs stand alone
SWAN_INPUT: Meteofiles specified in group General used for domain 1
SWAN_INPUT: Meteofiles specified in group General used for domain 2
Done reading input
Initialising grids and grid mappings

Coordinate System: Spherical

Coordinate System: Spherical

At line 72 of file openexistingfile_meteo.f90 (unit = 3, file = 'x')
Fortran runtime error: File already opened in another unit

3) Creating a duplicate pair of meteo files named as *_coarse.wnd and *_fine.wnd and specifying them in the relevant Datagroup Domain] causes a different error [below] although I think this relates to a different issue.

--------------------------------------------------------------------------------
- Delft3D
- Deltares, Delft3D-WAVE Version 3.04.01.2483, May 14 2013, 18:20:05
- Open source
-
--------------------------------------------------------------------------------
*** MESSAGE: Delft3D-WAVE runs stand alone
Done reading input
Initialising grids and grid mappings

Coordinate System: Spherical


Coordinate System: Spherical

Start loop over SWAN grids, time = 164160.000
Allocate input fields
Allocate and read SWAN depth
Write SWAN depth file
Write SWAN wind file
Deallocate input fields
Write SWAN input
*** MESSAGE: 'run-id' is truncated to 'run-id' in SWAN input file
<<Run SWAN...
swan.sh is /mirror/delft3d/bin/lnx/swan/scripts/swan.sh
Using swan executable /mirror/delft3d/bin/lnx/swan/bin/swan_4072ABCDE_del_l64_i11_omp.exe

SWAN batchfile executed for Delft3D
Performing computation for: run-id.swn

SWAN is preparing computation

*** WARNING: unable to run SWAN using "swan.sh". Trying with "swan.bat" ...
sh: 1: swan.bat: not found
>>...End of SWAN run
*** ERROR: file 'norm_end' expected to signal a correct SWAN calculation

Regards,
Ruairi
Qinghua Ye, modified 6 Years ago.

RE: D3D WAVE simulation with Meteo files

Jedi Council Member Posts: 612 Join Date: 3/2/11 Recent Posts
dear Ruairi,

Thanks for the details! It is because of the combination of spatial varying meteo files with nesting grids. We are busy with it now. I don't think it matters with the file extensions.

Regards,

Qinghua
U
Anonymous Anonymous, modified 6 Years ago.

RE: D3D WAVE simulation with Meteo files

Hi Qinghua,
I agree the file extensions appear to be irrelevant.
Would you let the forum know when the issue is rectified?
Ruairi
Qinghua Ye, modified 6 Years ago.

RE: D3D WAVE simulation with Meteo files

Jedi Council Member Posts: 612 Join Date: 3/2/11 Recent Posts
dear Ruairi,

That is for sure! Thank you as well!

Regards,

Qinghua
RJ
RATHNASINHA JAYATHILAKA, modified 5 Years ago.

RE: D3D WAVE simulation with Meteo files

Youngling Posts: 11 Join Date: 12/14/14 Recent Posts
Dear Qinghua,
I am running a D3D WAVE (stationary) nesting domains with Meteo files xwind.wnd and ywind.wnd (time-and-space-varying)
Only with the single coarser domain it works perfectly but with nesting it gives following error. (i have slk.mdw file)

*** ERROR: Reading file "com-slk.dat" or "com-slk.def"

Would you pls let us know how to figure out this issue.
Kind regards
Ruchii
U
Anonymous Anonymous, modified 5 Years ago.

RE: D3D WAVE simulation with Meteo files

Hi Ruchii,
It would be helpful if you could post the screen output that appears before the final error message, and a copy of your .mdw file.
I'm reasonably sure the error message you are seeing occurs during the initial stages of the computation as the various computational files are being created, not sure that problem is with meteo files.
Ruairi
RJ
RATHNASINHA JAYATHILAKA, modified 5 Years ago.

RE: D3D WAVE simulation with Meteo files

Youngling Posts: 11 Join Date: 12/14/14 Recent Posts
Dear Ruairi,
Thanks for the quick response.
Im not running flow together with wave.

*** MESSAGE: Delft3D-WAVE runs stand alone
SWAN_INPUT: Meteofiles specified in group General used for domain 1
SWAN_INPUT: Meteofiles specified in group General used for domain 2
Done reading input
*** MESSAGE: Using data from the following FLOW domain:
sl_1grid
*** ERROR: Reading file "com-sl_1grid.dat" or "com-sl_1grid.def"

Regards
Ruchii
karunakar kintada, modified 5 Years ago.

RE: D3D WAVE simulation with Meteo files

Padawan Posts: 35 Join Date: 7/31/12 Recent Posts
Hi Qingua
Was there any update in this aspect.
Please let me know any other way of handling such situation.

Regards,
Karunakar
Chiranjeevi Ambati, modified 5 Years ago.

RE: D3D WAVE simulation with Meteo files

Youngling Posts: 19 Join Date: 3/23/11 Recent Posts
HI Friends,

For Hurricanes, I have not experienced any problem with SPIDERWEB (*.spw) Meteo file.

I have run number of cyclone events on two levels of nested grids.

Regards
Chiru
Qinghua Ye, modified 5 Years ago.

RE: D3D WAVE simulation with Meteo files

Jedi Council Member Posts: 612 Join Date: 3/2/11 Recent Posts
Hi Ruairi en Karunakar,

Can you check out the latest tag to see if this issue: "the combination of spatial varying meteo files with nesting grids" has been solved or not?

Thanks,

Qinghua

karunakar kintada:
Hi Qingua
Was there any update in this aspect.
Please let me know any other way of handling such situation.

Regards,
Karunakar
KB
Kokularaj Baskaran, modified 4 Years ago.

RE: D3D WAVE simulation with Meteo files

Youngling Posts: 1 Join Date: 2/11/16 Recent Posts
how to input spw file to delft3d wave