Migration status

  • Home Page: Activity map.

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

 


Back

How to make a Gate in Delft3d

MD
meddy danial, modified 10 Months ago.

How to make a Gate in Delft3d

Youngling Posts: 19 Join Date: 7/25/18 Recent Posts

 

Dear everyone

 

I need help to make a gate across the river using delft3d. My model consists of 4 layer (z-model) and I already put thin dam across the river using Adie Mode in Visualisation Area. When I add thin dam, after save the file (*.thd) the configuration is as follows:

48  342   37   342  V

 

However, when I read in the DELFT3D  manual, the configuration is different, for example like this:

V 5 3 7 3 4 4

 

In Manual, V is in the first column, But in *.thd file, V is located in the last column

 

My question :

a) which one is correct?

b) How to assign/determine each the layer, bottom layer open, and 1st-3th layer is close.

 

Sincerely yours

Meddy

Gabriel Ruiz, modified 10 Months ago.

RE: How to make a Gate in Delft3d

Padawan Posts: 59 Join Date: 9/29/11 Recent Posts

Hi Meddy,

 

I use Quickin to establish my gates. With thin dams, I "draw" the gates. Once that I have finished, I save my thin dams in a *.thd file. Using a Notepad++ (or Notepad, Emacs, Wordpad,  Gedit, etc...), I open my thin dams file and copy the initial and final indices of any thin dam that represents a gate. Once, I know the direction (U or V) and grid indices then, I establish the layer of the gate (I follow the rules that mention the FLOW manual about the *.gat files. Section B.3.1). Finally, I save the file as gates.gat. 

 

Of course, the way that you have done about the "draw" the gates is another option.

 

In your case, the .gat file would have a line as:

V 48 432 37 342 1 3

 

Regards

 

Gabriel

3d gate 3d flow
MD
meddy danial, modified 10 Months ago.

RE: How to make a Gate in Delft3d

Youngling Posts: 19 Join Date: 7/25/18 Recent Posts

Dear Gabriel

 

Thank you. I already follow your instruction. I rename *.thd file to *.gat file. However, where or which window should I open the file *.gat? Because I cannot found the open file with the extension *.gat file. 

 

Note, when I use Quickin, I must click each line of grid to draw the gate across the river (please see the figure 1 in Quickin). Is it correct or do you usually do like that?

And when I complete all line of the grid, the result is as follows (*.thd).:

    49   342    49   342 V
    48   342    48   342 V
    47   342    47   342 V
    46   342    46   342 V
    45   342    45   342 V
    44   342    44   342 V
    43   342    43   342 V
    42   342    42   342 V
    41   342    41   342 V
    40   342    40   342 V
    39   342    39   342 V
    38   342    38   342 V
    37   342    37   342 V
    36   342    36   342 V

 

Sincerely yours

Meddy

Gabriel Ruiz, modified 10 Months ago.

RE: How to make a Gate in Delft3d

Padawan Posts: 59 Join Date: 9/29/11 Recent Posts

Hi Meddy,

 

my apologies because maybe, I was not clear with my little methodology to create the *.gat file.

You will not find in GUI-FLOW or Quickin a command or function to create the .gat files. The *.gat files should be created manually. It is a mistake to rename the thin dam file to .gat file. I use the thin dam file only to check the start and end points of my gate.

Using a plain text editor, you must created the *.gat file. For example, if you are using Windows as OS, you should open Notepad. On this new file, you will write the next line:

 

V 36 342 49 342 1 3

 

And save this file as *.gat, e.g. mygates.gat or gates.gat or river_gates.gat, etc...

As you see, every line of *.gat file represents a gate. The V is the direction of the gate, 36 342 are the grid indices where the gate starts, 49 342 are the grid indices where the gate ends and 1 3 are the layers of your gate.

It is not necessary to create the thin dam, you can use in Quickin -> View menu -> Grid -> Node Numbers. Write, identify or remember the grid indices where you want to start and finish the gate. With these grid indices in mind, you will create the *.gat file.

 

Check the Section B.3.1 of FLOW Manual.

 

Regards.

 

Gabriel

 

MD
meddy danial, modified 10 Months ago.

RE: How to make a Gate in Delft3d

Youngling Posts: 19 Join Date: 7/25/18 Recent Posts

Dear Gabriel

You did not make any mistake at all. I understand your explanation.
Very clear. I succeed to make *.gat file either using Quickin or
visualization area.

But maybe you don’t get what I mean. Thus, after creating *.gat file,
I don’t know where should I add the *.gat file in Delft3d-Flow. For
example I know the location where I should put *.bct file, *.bcc,
.dep, *.grh,  etc in delft3d-flow. But I don’t know where is the
location to open file *.gat. in the Delft3d-Flow.

Thanks in advance
Meddy

Gabriel Ruiz, modified 10 Months ago.

RE: How to make a Gate in Delft3d

Padawan Posts: 59 Join Date: 9/29/11 Recent Posts

Hi Meddy,

 

you should use the keyword "Filgat" in the last line of your *.mdf file. Due to this keyword is not integrated in the GUI-Flow, you should add this keyword, editing your .mdf file, manually.

 

Regards.

 

Gabriel

MD
meddy danial, modified 10 Months ago.

RE: How to make a Gate in Delft3d

Youngling Posts: 19 Join Date: 7/25/18 Recent Posts

Dear Gabriel

 

Very nice. Now, I understand. It works. Thank you for your help.

However, I have one more question. I use Z-model (4 layers), Thus according to Delft3d-Flow Manual, the 1st layer start from the bottom layer (see the attached figure). In contrast, if we use the Sigma-layer model, 1st layer starts from surface water.

My question, should I change the configuration from V 48  342   37   342  1 3 , become  --> V 48  342   37   342  2 4 ?

What do you think about it? 

 

Thank you in advance

Meddy

Attachments:

Attachment