Migration status

  • Home Page: Activity map.

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

D-WAQ PART - Changing the number of threads

GG
gustavo gomes, modified 5 Years ago.

D-WAQ PART - Changing the number of threads

Youngling Posts: 2 Join Date: 12/18/12 Recent Posts
Dear,
I'm using the PART model in an oil spill project, running a large number of simulations (about 500) in serial mode for probabilistic results. Until now was using the version of 4:00:02 Delft3D and the PART used only one (1) thread. However, this version showns some instabilities to write files when the simulation ends, generating error and pausing the serial simulations. Therefore I installed the version of 4:01:00 Delft3D that corrected these bugs. However, by default, this latest version of D-WAQ PART uses all threads of processor and I wonder if you can change the number of threads for each simulation. Since I am simulating about 4-5 models in parallel and need to manage the number of threads to avoid calculation trouble.

Thanks for attention,
Gustavo
AM
Arjen Markus, modified 5 Years ago.

RE: D-WAQ PART - Changing the number of threads (Answer)

Jedi Knight Posts: 223 Join Date: 1/26/11 Recent Posts
You can control the number of threads by setting the environment variable OMP_NUM_THREADS to the required number. See for instance: https://www.dartmouth.edu/~rc/classes/intro_openmp/compile_run.html.

If you are using WIndows, then:

c:\> set OMP_NUM_THREADS=1
c:\> delpar

should do the trick.
GG
gustavo gomes, modified 5 Years ago.

RE: D-WAQ PART - Changing the number of threads

Youngling Posts: 2 Join Date: 12/18/12 Recent Posts
Thank you Arjen. It worked.