BASEMENTBasic Simulation Environment for computation of environmental flow and natural hazard simulationLaboratory of Hydraulics, Hydrology and Glaciology (VAW)ETH Zurich |
You are not logged in.
Pages: 1
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
Offline
Pages: 1