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


« Back to DELWAQ

delft-waq coupling error 6005

Combination View Flat View Tree View
Threads [ Previous | Next ]
delft-waq coupling error 6005
coupling error6005 mnksrc
Answer (Unmark)
3/3/17 4:47 AM
need help!!!
I am trying to couple flow and waq modules.

The flow ran successfully and generated the com- file for the coupling. When I try to run the coupling program, I get the following error message. Can anyone suggest what might be wrong in my flow or coupling set up? Thanks

Delft3D-FLOW - Water Quality
Deltares, COUP203 Version, Jan 18 2013, 09:42:45

PC/Windows/Linux version

MMAX = 302
NMAX = 12
KMAX = 2
Error reading NEFIS element MNKSRC
NEFIS error code = 6005

NEFIS message 6005:
Element 'MNKSRC ' does not exist in definition file

Exit from Delft3D-Coupling

child process exited abnormally
RE: delft-waq coupling error 6005
Answer (Unmark)
3/6/17 1:10 PMas a reply to Dian Wen.
That is a rather surprising error, as this has been working for many years. Could you attach the com files (both .dat and .def) to this post? I would like to have a closer look.
RE: delft-waq coupling error 6005
Answer (Unmark)
3/31/17 11:38 AMas a reply to Dian Wen.
Sorry I'm a bit late in answering. The problem is that FLOW doesn't write the MNKSRC variable any more when it is zero, but the coupling program still want to read that one, even if it is zero. The best way is to avoid the coupling program at all, and switch on 'write WAQ output' in the FLOW user interface (on the output panel).
RE: delft-waq coupling error 6005
Answer (Unmark)
6/14/17 1:57 PMas a reply to Michelle Jeuken.
How did you solve your problem?

I am also experiencing error 6005 in the coupling.

Thank you.

ONLINE generate big size files.
RE: delft-waq coupling error 6005
Answer (Unmark)
6/14/17 3:29 PMas a reply to João Paulo Ferreira.
I did a test with and without DISCHARGE and verified that the coupling only works if you put at least one DISCHARGE avoid the error:

NEFIS message 6005: Element 'MNKSRC' does not exist in definition file

I tested with a WAQ (inlet) tutorial.
RE: delft-waq coupling error 6005
Answer (Unmark)
6/20/17 11:35 AMas a reply to João Paulo Ferreira.
Hi João,

When the ONLINE or export WAQ input files are getting to big, please check the settings you have made for this coupling on the extra panel. The files should be about the same size as when you use the communication file with the same settings, but when you use the communication file (depreciated for WAQ coupling), you have to run the coupling program separately, and get the same amount of data in the end as with the online coupling.

Adding at least one operation with a discharge of 0.0 is a good workaround. But I also fixed te coupling program. Attached to this message is the latest version.

Attachments: coup203.exe (1,289.0k)