Home_intro

intro story DELWAQ

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

 


Message Boards

Running DELWAQ with OpenMP

JL
João Lencart e Silva, modified 7 Years ago.

Running DELWAQ with OpenMP

Padawan Posts: 71 Join Date: 3/30/11 Recent Posts
Hi All,

I looked in the examples and the manual for how to start an OpenMP run of DELWAQ but couldn't find any clue...
I tried setting the
OMP_NUM_THREADS=#
for # number of processors but the simulation always started with 1 processor.
I assume that openmp is included in the standard makefiles (checked and there was an -fopenmp flag). Do the number of threads need to be set at build time?


Regards,

João.
AA
Anonymous Anonymous, modified 7 Years ago.

RE: Running DELWAQ with OpenMP (Answer)

Jedi Master Posts: 333 Join Date: 7/30/20 Recent Posts
Hi João,

The number of threads can be set in block 7 of the input file through the special constant nothreads. Like this:

CONSTANTS nothreads DATA 0.0


Default value is -1: no multiprocessing
You can either set it to 0 (max number of threads) or to the number of threads you want.

If you need more info, look in the Input File Description manual (section 7.3.1.1).

Regards,
Christophe
JL
João Lencart e Silva, modified 7 Years ago.

RE: Running DELWAQ with OpenMP

Padawan Posts: 71 Join Date: 3/30/11 Recent Posts
Thanks,

João.