User Forum of Software BASEMENT

BASEMENT
Basic Simulation Environment for computation of environmental flow and natural hazard simulation
Laboratory of Hydraulics, Hydrology and Glaciology (VAW)
ETH Zurich
Basement_Logo

You are not logged in.

#1 2022-04-07 07:50:32

NumericalSam
User
From: Switzerland
Registered: 2022-04-01
Posts: 14

Error Output: "out of range"

This is just to add some clarification and approach to handle the following type of error messages while writing the setup in BMv3:

-> out of range (3070568>=3070568), in file: Z:\src\setup\Substance.cpp on line 188, v3.0.2 

(numbers may vary)

Possible reasons for this error:
- some material ID existing in the mesh has not been defined or is falsely included in the model
- material ID 0 has been used, try to avoid this
- some stringdef has not been or is falsely defined
- stringdef in mesh not continuous (no connection between points in stringdef)
- syntax errors like missing comma

So if you encounter this type of errors, try to check the points above.

Suggestion to the development team: I think it would be very handy to introduce different error outputs that help the user find the error in the model more quickly. Seems like the verification of the model already checks for the important points (console output), but the error messages could be more specific.

Cheers smile

Offline

Board footer

Powered by FluxBB