intro story 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.




Sub groups
D-Flow Flexible Mesh

Cohesive sediments & muddy systems


Message Boards

Defining initial conditions in WAQ

Ana Costa, modified 4 Years ago.

Defining initial conditions in WAQ

Youngling Posts: 3 Join Date: 7/7/14 Recent Posts
Dear all,

I am a new user of DELFT3D-WAQ.

I ran DELFT3D-FLOW with decomposed domains (6) and coupled the results to run WAQ.
However, I am struggling to set the initial conditions for a substance (spatially variable). I thought to define it by importing the grids of each domain in QUICKIN, attribute a “depth” that would be the initial value of the substance, and then save as a .dep and therein as a .qin file (I would have 6 .qin files). However, if it was only one file I would easily import in WAQ, but how can I import all 6 .qin files to define the initial conditions of one substance in WAQ?
Additionally, I have tried to export the grid of WAQ, import to QUICKIN and do the previous step. For that, I ran WAQ without importing any file for initial condition (considering constant throughout space), opening the .map file together with .lga file in QUICKPLOT and exported as a grid file. However, when I open the saved grid, it seems that I have more cells than before, as a cell has been added to the frontier of the original WAQ grid.
Any suggestion to overcome this is welcome.
Thank you very much for any help with this.

Michel Jeuken, modified 3 Years ago.

RE: Defining initial conditions in WAQ (Answer)

Jedi Knight Posts: 154 Join Date: 1/21/13 Recent Posts

sorry for picking this up so late. I hope this might still help you, or others.

When you merge the results for multiple domains into one domain, the segments of the domains are placed after each other in a new grid. In QuickPlot you can open de LGA/CCO and see, based on the numbering how the domains are ordered, but it should be related to the order in the ddb file. You already created the qin-files correctly. These are plain ascii files. Now it should be possible to append these files together in one big qin file in the order of the domains as in the ddb-file (and checking this based on numbering in QP.

When you have a 3D model, you should do copy paste all the data into one file like this:

qin data domain1, layer1
qin data domain2, layer1
qin data domainn, layer1

qin data domain1, layer2
qin data domain2, layer2
qin data domainn, layer2


You should be able to import that into the GUI