intro story Coast / Estuary

Coast / Estuary

Coastal systems are among the most dynamic physical systems on earth and are subject to a large variety of forces. The morphodynamic changes occurring to coastlines worldwide are of great interest and importance. These changes occur as a result of the erosion of sediments, its subsequent transport as bed load or suspended load, and eventual deposition. 
Estuaries are partly enclosed water bodies that have an open connection to the coast. Estuaries generally have one or more branching channels, intertidal mudflats and/or salt marshes. Intertidal areas are of high ecological importance and trap sediments (sands, silts, clays and organic matter).
Within the Delft3D modelling package a large variation of coastal and estuarine physical and chemical processes can be simulated. These include waves, tidal propagation, wind- or wave-induced water level setup, flow induced by salinity or temperature gradients, sand and mud transport, water quality and changing bathymetry (morphology). Delft3D can also be used operationally e.g. storm, surge and algal bloom forecasting. 
On this discussion page you can post questions, research discussions or just share your experience about modelling coastal and/or estuarine systems with Delft3D FM. 




Sub groups
D-Flow Flexible Mesh
Cohesive sediments & muddy systems



Message Boards

Stopped with error code: 1

James Bishop, modified 4 Years ago.

Stopped with error code: 1


I am running a 10 layer DELWAQ simulation with 5 conservative tracers and twice now the simulation terminated ~ 9% into the run with the message - 'Stopped with error code: 1'.

I have reviewed the .lsp and .lst files (attached) and there are no errors indicated. I did have the iteration report turned on and when I view the .mon file (also attached) the last line of the file says - ERROR: NaN in RHS of segment: 732051

Any idea what the problem could be?

I should note that previously I successfully a similar simulation to completion; the only change I made (that I am aware of) is the concentration at one of the boundaries. Could this be causing the error?

Also attached is the input file.

Arjen Markus, modified 4 Years ago.

RE: Stopped with error code: 1

Jedi Knight Posts: 223 Join Date: 1/26/11 Recent Posts
This message indicates that the calculation became unstable - the numbers will then quickly grow towards infinity. NaN means "not a number" - computer speak for saying the result of some calculation (something like x = infinity - infinity or y = 0/0) gave a result that cannot be represented as a (real/floating-point) number.

As to why the calculation would fail if the only change is a boundary condition, that very much depends on the model you are running. It may be that in the successful run the concentrations near that boundary are zero or near zero for a long time, enough to pass over the period that the stability criteria are violated.

I didn't see your input file, but there will be more to it than merely the .inp file ;).