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

Compiling on windows 10 virtual machine: error during example

Germán Barrera, modified 3 Years ago.

Compiling on windows 10 virtual machine: error during example

Youngling Posts: 1 Join Date: 1/19/18 Recent Posts
Hello everyone

First of all, thank you for taking the time.... This is my first post on the forum, i'm an undergraduate student and i'm trying to compile the Delft3D on windows.

Now to the point... im having issues with the compilation, ive already read a lot of the questions of the forum, it has been a lot of help ... i get the errors (flex.exe) and (byacc.exe), I was notified that flex.exe and byacc.exe was unable to start correctly, but for what ive read i can work without them, so the compilation created a bin folder and so far so good, by the way after these messages i have put my source folder with all permission option ...

the next step according to the Readme.file and the source code website is to run some examples, this is where i get stuck... in the first example
"run_flow2d3d.bat" i have the following message "d_hydro.exe - System error. The execution of the code cannot continue because cannot find libexpat.dll''.

The question here is how can i fix this ? im using the latest tag 7545.

My set-up: Visual Studio Professional 2015
Python 3.6.5. x86-64
Intel Parallel Studio XE 2016
Tortoise 1.9.7
Windows 10 (Virtual machine on a mac, 2.4 GHz Intel Core i5, 8 GB 1600 MHz DDR3)

oh and here is another question, is there any issue with running the software with a virtual machine? it seems that it has no problem so far..

I've attached the BuildLogs..
Adri Mourits, modified 3 Years ago.

RE: Compiling on windows 10 virtual machine: error during example (Answer)

Yoda Posts: 1212 Join Date: 1/3/11 Recent Posts
Hi Germán,

The errors in your build log are serious.

What version of Delft3D are you using? You should start with the latest tagged version, currently https://svn.oss.deltares.nl/repos/delft3d/tags/7545/

You are compiling in a directory with a white space in the path: "c:\program files\delft3d\delft3d_repository". Although this should not result in issues anymore, it's safer to compile in directory without white spaces in the path, e.g. "c:\sourcecode". And it's also good to avoid the "c:\program files" directory: Windows uses restricted permissions in there.

If you also create directory "c:\tmp", the lex/yacc errors will disapear too.

There are no issues related to running on Virtual Machines.


Lev Naumov, modified 2 Years ago.

RE: Compiling on windows 10 virtual machine: error during example

Youngling Posts: 2 Join Date: 9/20/18 Recent Posts

Dear all, I have the same problems (all errors are similar) and I also use Windows on a MacBook but installed using BootCamp.

Windows 10;

Visual Studio 2015 update 3;

Intel Parallel Studio XE 2016 update 4 

My Delft 3D tag is 59659