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

RE: I need help in making dll file

AM
Arjen Markus, modified 2 Years ago.

RE: I need help in making dll file

Jedi Knight Posts: 223 Join Date: 1/26/11 Recent Posts
The .0 file (dot-zero) file is merely the state information on what you selected in terms of substances and processes. It plays no direct role when adding new substances and processes to the processes library.

When you want to add a new substance - I guess with its own set of processes, otherwise you would simply have a new conservative substance and there is no need for Open-PLCT - you define what goes in and what comes out for each new process associated with such a substance. That information is stored in the processes library - the proc_def.dat and proc_def.def files.

The other step is that you fill in the template subroutine that Open-PLCT creates for you with the relevant code that actually implements the new process. This is in a Fortran source file. Once that is done, you need to compile this source file, and possibly others for other processes, and link it into a DLL. The procedure is described in section 4.7 of the manual but you can also refer to section 4.8.1 - that contains the steps in an almost fully automatic way. The thing that is left for you to do is: add the source files to the Visual Studio project and build it.
FG
Fatemeh GholamiMahyari, modified 2 Years ago.

RE: I need help in making dll file

Youngling Posts: 23 Join Date: 4/8/16 Recent Posts
Dear Arjen

Thanks for your respond. Actually I want to define early diatom which has exact process as diatom. I just want to change the dependency factor to the temperature for early diatom. I am not sure how should i do it to have early diatom in which grows mostly in the spring and other diatom which mostly grow in the summer. My first problem is defining Early diatom with exact process like freshwater diatom which is already in the library. Do you think I can add early diatom without need to open pcl?
If you have any idea how can I change just one of my algae dependency to the temp? Do you think reducing the energy type of this type of alga is the answer? or I should change some coefficient in the process?

Thanks
Fateme
AM
Arjen Markus, modified 2 Years ago.

RE: I need help in making dll file

Jedi Knight Posts: 223 Join Date: 1/26/11 Recent Posts
Oh, well, that is a very different question and one for which you do not need to expand the processes library in any way. I will have to forward this to my colleagues who are more knowledgeable about algal species and their properties, but it should be doable with the right properties set.
FG
Fatemeh GholamiMahyari, modified 2 Years ago.

RE: I need help in making dll file

Youngling Posts: 23 Join Date: 4/8/16 Recent Posts
Thanks a lot Arjen, You have been helping me so much.