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

coupling delwaq with Telemac 2D

DV
Damian Vega, modified 5 Years ago.

coupling delwaq with Telemac 2D

Youngling Posts: 4 Join Date: 12/9/13 Recent Posts
Hi,

I am trying to couple telemac 2d with delwaq. I am using v6p3 for Telemac and 4.5212 for Delwaq. The input file is generated with the GUI (version 3.32.00).

I have to specified manually in the .inp file for delwaq that the delwaq files (volumes, areas, flow,.....) are UNFORMATTED with BIG ENDIAN format byte storage.

Once I set these two key words, delwaq pre-process is succesfully completed (LST files does not present any errors).

When the simulation is about to begin something happen and the run crashes with the following error:

Stopped with error code : 2

That means that the error is in the simulation and not in the input files?

I do not know if I have a problem of incompatbility between versions, or my delwaq files are not well-generated...

If someone can help I can provided all the files....

damian
Christophe Thiange, modified 5 Years ago.

RE: coupling delwaq with Telemac 2D

Jedi Knight Posts: 125 Join Date: 11/15/12 Recent Posts
Hi Damian,

Does your simulation produce a monitoring file (*.mon) ? Can you post it?

Regards,
Christophe
DV
Damian Vega, modified 5 Years ago.

RE: coupling delwaq with Telemac 2D

Youngling Posts: 4 Join Date: 12/9/13 Recent Posts
Hi Christophe,

Thanks for your quick reply,

My simulation is a simply case retrieved from the examples presented in v6p3 telemac software. I have a big model, in order to know possible sources of errors between the coupling I am testing simply cases, this case is called 'river with two bridge piles'. I added in the simulation only one substance (continuity), my purpose is only run the simulation.

I enclose you the .mom .lst .lsp files, and also the delwaq steering file.


Regards,

damian

Attachments:

Christophe Thiange, modified 5 Years ago.

RE: coupling delwaq with Telemac 2D

Jedi Knight Posts: 125 Join Date: 11/15/12 Recent Posts
Hello Damian,

Your monitoring file shows the error message: "SURF in DDEPTH zero at segment: 1"
SURF is the horizontal surface area of the segments.
Your input file shows that SURF is read from a file called "test1.par". Is this file produced by your Telemac model?
DV
Damian Vega, modified 5 Years ago.

RE: coupling delwaq with Telemac 2D

Youngling Posts: 4 Join Date: 12/9/13 Recent Posts
Hi Christophe,

Indeed, the first problem when I tried to save the scenario in the GUI is with this bottom horizontal surfaces file.
The telemac produces (line 19 of the input file) the 'dwq_delwaq-horsurf.dwq', which is the original file. Then I renamed the file in my working folder. So yes, the information of the horizontal surfaces is collected trought the data outputs from telemac (in this case test1.par).


Do you have any delwaq steering file related with a succesful coupling between telemac and delwaq? Can you post it?
Do you have any simply example that you can post and I can run it from my computer?. It migh be useful to check whether or not I am using a bad version.

Thanks,

Regards,

Damian
Christophe Thiange, modified 5 Years ago.

RE: coupling delwaq with Telemac 2D

Jedi Knight Posts: 125 Join Date: 11/15/12 Recent Posts
I don't deal a lot with Telemac anymore but I'll ask around to get you some working examples.

In the mean time, I noticed your input file is reading test.par in BINARY mode while Telemac generates big endian data, so you should probably read it in UNFORMATTED BIG_ENDIAN mode.
Floating point zero would be the same in big and little endian, so that's probably not the cause of your problem, but keep it in mind if you meet other problems later on.
Michel Jeuken, modified 5 Years ago.

RE: coupling delwaq with Telemac 2D

Jedi Knight Posts: 156 Join Date: 1/21/13 Recent Posts
Hi,

Here's a working example of a Delwaq calculation with a telemac2d result. In this case the 'standard names' are used. It is the standard example for Delwaq, so there should be some similarity with the calculation you have. I ran a windows build Telemac2d version 6.2 to create the Telemac input, but I know that the code in Telemac to create Delwaq input hasn't changed in Telemac 6.3. I just renamed some of the extensions, because the Delwaq GUI only wants to open .hyd files (lower case) as hydraulic data files, and for Quickplot (post-processing) it is easier to find a slf for the grid definition.

Greetings,
Michel
Michel Jeuken, modified 5 Years ago.

RE: coupling delwaq with Telemac 2D

Jedi Knight Posts: 156 Join Date: 1/21/13 Recent Posts
I also looked into the case. The surface area are read from dwq_delwaq-horsurf.dwq by the GUI, and written again into test1.par. There seem to be zero's somewhere there. The content of the first file should be the same as T2DDL5 in the example I posted...

Michel
DV
Damian Vega, modified 5 Years ago.

RE: coupling delwaq with Telemac 2D

Youngling Posts: 4 Join Date: 12/9/13 Recent Posts
Hi,

The par file is created by the GUI. Firstly I used this par file created automatically by the GUI, and it did not works. Then I replace this .par file by the horizontal bottom surfaces given by telemac. It did not work too.

I ran your files in my delwaq. It works.

But I have found a difference in this .par file respect the one I use.

Using GUI 3.32.0:

PARAMETERS (does not works)
; 1 - number of parameters
'SURF'
ALL

Using GUI 3.32.13 (it works)

PARAMETERS
; 2 - number of parameters
'SURF'
'bottomdept'
ALL

I really do not know if you can couple telemac with delwaq using GUI version 3.32.0, at least I could not....
It seems that the older GUI version is not able to write the bottomdept in the .par file.
Anyway, I ran successfully the case using the GUI 3.32.13.

Thanks a lot for your technical support.

damian
AM
Arjen Markus, modified 5 Years ago.

RE: coupling delwaq with Telemac 2D

Jedi Knight Posts: 222 Join Date: 1/26/11 Recent Posts
The support for TELEMAC has increased from WAQ-GUI 3.32.00 to 3.32.11 and later (and the corresponding DELWAQ versions):
TELEMAC typically produces big-endian files as Christophe has already commented. It used to be necessary to convert these files to little-endian

Since this is quite inconvenient, DELWAQ and WAQ-GUI were enhancement to read these big-endian files directly even on little-endian machines.

Unfortunately, it is not possible for a program to reliably identify the endianness from examining the file itself, so there has to be external information.
In this case the more recent versions of WAQ-GUI insert keywords "UNFORMATTED BIG-ENDIAN" in the input file to inform DELWAQ about this.

Regards,

Arjen (developer and maintainer of WAQ-GUI)