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

ERROR: Binary/unformatted file does not have the correct size

EM
Ernesto Molinas, modified 5 Months ago.

ERROR: Binary/unformatted file does not have the correct size

Youngling Posts: 8 Join Date: 1/27/12 Recent Posts

Hi,

I finding the following error while runing the preprocessor for delwaq:

 

Input comes from binary file: Q1.par                                                                                                                                                                                                                                                          
 ERROR: Binary/unformatted file does not have the correct size: Q1.par                                                                                                                                                                                                                                                          
        The size should not be zero and it should be a whole multiple of 982764 (= 4*(1+2*122845))
 ERROR reading the data block !
 ERROR encountered in processing this input item !

 ERROR. Reading block   7 !! Check input file !!


 ERROR. Too many and/or invalid data in block   7 !! Check input file !!

 

 

The only strange issues i found in block 7 are this mesages:

; 'ACTIVE_EMERSION' - has missing value or model not suited
; 'Zthreshold' - has missing value or model not suited
; 'MaxIterations' - has missing value or model not suited

 

In the manual it says these commands are related do z-model conversion, but i'm usig regular sigma layers. I'm not sure how to fix it.

 

if anyone has a clue I would be grateful.

Thanks

EM
Ernesto Molinas, modified 5 Months ago.

RE: ERROR: Binary/unformatted file does not have the correct size

Youngling Posts: 8 Join Date: 1/27/12 Recent Posts

I've just tried in another computer who has an older version of delft3d and it worked just fine. Any ideas about how to fix this problem?

AM
Arjen Markus, modified 5 Months ago.

RE: ERROR: Binary/unformatted file does not have the correct size

Jedi Knight Posts: 223 Join Date: 1/26/11 Recent Posts

Let me first explain the messages in block 7: they are simply comments. Indeed the first two constants are used only in case of a z-layer model. I am not sure why they do appear in the input file. The last one has to do with certain integration options. Apparently you are using one that does not use an iterations.

Now the message about the file size. The preprocessor checks that the size of the file containing the parameters is of the expected size. If it is not, then the computational program would either fail - if the file is too small - or it would read the wrong values - if it was larger than expected because it was meant for another model, for instance. That would mean your calculation uses wrong data. Due to the structure of these files, it is the only check we can make.

However, we have noticed that in a number of situations, simply issuing an error message is not the appropriate way. This is notably the case if you use the "DELWAQ-G" or layered sediment module. More recent versions of the preprocessor (newer than february this year) issue a warning instead, leaving it to the user to check this.

Could you post the exact size of the file Q1.par (and whether you use the layered sediment module)? There is a chance the error message is correct.