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

Aggregating new substances' processes with Delft3D-WAQ

Ana Costa, modified 3 Years ago.

Aggregating new substances' processes with Delft3D-WAQ

Youngling Posts: 3 Join Date: 7/7/14 Recent Posts
Dear all,
I am having some trouble in the process of joint the processes of new substances created and the rest of WAQ. Basically, I am trying to include a new primary producer and when I intent afterwards to include a parameter in NH4 substances group (e.g. to refer to the uptake of nutrients from that primary producer), I select the already created NUTUPT Fortran and click create. However, that file still has the “insert code here ????”, as the new substances created from the scratch have. I was expecting to have to indicate only how that new term is included in the already developed formulation of the model, but it seems not to be the case. Thus, I am not quite sure if there is another way or I should insert the whole code for NH4 and include the new parameter (if so, is there any change to access to the original FORTRAN file created for that?).

Any suggestion/advice is most welcome,
Thank you in advance.
Ana Costa.
Michelle Jeuken, modified 3 Years ago.

RE: Aggregating new substances' processes with Delft3D-WAQ

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

If you are looking for the source code of all the processes, you can find it here (you need your oss account credentials to log in):


Attached is an example of the nutrient uptake.

You can use the PLCT to extent the inputs and outputs, or use the more text-based proces library tools here with the input/output tables for the processes:


See waqpb_help.bat for a very brief instruction.

Be aware that if you put extra input in a process, you will have to shift the outputs too!



Ana Costa, modified 3 Years ago.

RE: Aggregating new substances' processes with Delft3D-WAQ

Youngling Posts: 3 Join Date: 7/7/14 Recent Posts
Hi Michelle.

Thank you for your reply. It really helped a lot.