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

How to view parameter (*.par) file?

JI
Justin Ibershoff, modified 5 Years ago.

How to view parameter (*.par) file?

Youngling Posts: 1 Join Date: 1/6/15 Recent Posts
Hi. I am looking for a way to open and view the contents of the parameter (*.par) file. Can any of the Delft3D utilities do this?

Thanks!

Justin
MC
Mathieu Chatelain, modified 5 Years ago.

RE: How to view parameter (*.par) file?

Padawan Posts: 28 Join Date: 12/13/12 Recent Posts
Hi Justin,
To add to Arjen's answer, here is some information to build/adapt your own tool.
The PAR-file created by default by DelWAQ GUI contains information regarding 2 space-varying parameters: SURF and BOTTOMDEPT.
Both parameters are (usually?) constant over time, and identical for all layers. Therefore in the PAR-file, only their values at TIME=0 and LAYER=1 is given, yielding:
  • 4bytes INTEGER containing a (dummy zero) timer
  • 4bytes FLOAT for SURF in segment 1
  • 4bytes FLOAT for BOTTOMDEPT in segment 1
  • 4bytes FLOAT for SURF in segment 2
  • 4bytes FLOAT for BOTTOMDEPT in segment 2
  • etc.
    for as many segments as you have in one layer (NB: the number of segments can be deduced from the file size). FYI, see attached an example written in MATLAB to convert the PAR-file into an ASC-file.

    @Arjen: I would also be interested in getting this tool you mentioned to easily convert the PAR-file into a MAP-file. Many thanks!

    Cheers,
    -Mathieu.
  • Attachments:

    AM
    Arjen Markus, modified 5 Years ago.

    RE: How to view parameter (*.par) file?

    Jedi Knight Posts: 223 Join Date: 1/26/11 Recent Posts
    I have attached the source code of the program - it is undocumented as I said, but it is not that difficult to read. It is part of the broad collection of tools that have been written over the years, especially by Jan van Beek, We should perhaps make an effort in standardising, modernising and documenting them.

    Attachments:

    AM
    Arjen Markus, modified 5 Years ago.

    RE: How to view parameter (*.par) file?

    Jedi Knight Posts: 223 Join Date: 1/26/11 Recent Posts
    Not that I am aware of - at least not directly. The thing is that these files do not contain any meta-information such as the number of grid cells and parameters contained in them. However, if you know these things you could add a header to the file and turn it into a map file, which can be viewed with the regular graphical programs.

    As it happens, we do have a utility that will do just that emoticon. Are you on a Windows platform? Then I can send it directly to you, otherwise I can send you the source code. Mind you: there is no documentation beyond the source code for this.