Migration status

  • Home Page: Activity map.

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

RE: User defined sediment transport formulae (.dll file)

Gabriel Lim, modified 1 Month ago.

User defined sediment transport formulae (.dll file)

Padawan Posts: 32 Join Date: 5/5/18 Recent Posts

I am trying to incorporate my own suspended sediment concentration formulae (Ca) into the Delft3D-FLOW module using the .dll file (as indicated in Appendix B.9.4). I have only developed a new Ca model, not suspended sediment transport rate or the bedload rate, etc.

Do I need to include a set of equations for sediment transport rates (for both suspended load and bed load) as well in the .dll file? Or only the new Ca formula? Ideally I would like to replace ONLY the Ca model and continue to use the default models for all other processes..

Also, for example, I see the reference concentration is used to compute sink/source terms, and also erosive flux due to upward diffusion, etc. Will the software automatically use my new Ca model if I call it in using the .dll file? I do not really understand how the process works (despite having read the section in Appendix B.9.4) Please advise! Any help would be much appreciated!

Adri Mourits, modified 14 Days ago.

RE: User defined sediment transport formulae (.dll file)

Yoda Posts: 1224 Join Date: 1/3/11 Recent Posts
Hi Gabriel,Once you're using a transport formula in your own .dll file, you have to specify all the sediment transport rates. There are two ways to do this:
  1. Copy the source code of the default formulas into your code that you use to build your own .dll file.
  2. Forget about using your own .dll file; just change the Ca formula inside the default code.
Looking to subroutine eqtran, line 738 and further: the "ssus" from your .dll file is indeed transformed into a reference concentration and used further on.Regards,Adri
Gabriel Lim, modified 13 Days ago.

RE: User defined sediment transport formulae (.dll file)

Padawan Posts: 32 Join Date: 5/5/18 Recent Posts
Hi Adri,

I see. When taking the first option you suggested, is there somewhere where I can find the source code of the default formulas?
Is it the tram1.f90 in src\utils_gpl\morphology\packages\morphology_kernel\src directory?

Thanks again,