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
This happened to me when I defined an empty layer to define an unerodible layer.
To do that one has to define a 0 z_rel
Offline
update: the same error is shown related to this, i.e., when one does not define the Layer inside the square brackets, one gets this error.
Offline
I got error out of range on two instances
Before I set the limit of node string to 200, there were more than 200 nodestrings and I got the error as "out of range (200>=200), in file: Z: srclsetup\Substance.cpp on line 189, version v4.1.0"
After I set the node limit to 200, there was error as "out of range (4294967295>=2), in file: Z:\src\setup\Substance.cpp on line 188, version v4.1.0"
but limiting to 200 created two outflow nodestrings. Should I include both outflow in my model?
Offline
I couldnot upload my screenshots, as this interface is hard to upload ss. I have two inflow and one outflow. but limiting to 200 nodestrings created two outflows
NS 125 674885 674879 674881 674852 674862 674853 674856 671750 674848 674834 674839 671748 674830 671752 671754 207 674156 671758 671783 596007 659739 659674 659731 60025 596011 596017 659749 60372 61479 61141 61383 208 60657 61154 59444 60995 60991 60989 59064 595917 60990 595920 61286 675844 62583 62879 213 62970 63214 62878 62978 63108 62414 63109 62982 596165 596168 62143 63957 64370 64362 64631 63332 659843 64494 64493 596442 65032 65092 214 64824 64741 65030 64880 63701 64959 63976 64749 596377 63459 659842 596439 64828 596434 596428 659839 64502 671834 671832 659840 671827 -120 inflowa
NS 137 659958 71497 71597 71134 71125 71459 69794 71132 70979 70713 71129 70975 71130 215 71068 70853 71064 71185 70278 71189 69978 597110 211 69826 69810 596956 68977 69262 69245 69827 68333 70285 69991 69662 69993 69458 597005 69466 597004 212 70144 70002 70005 69481 69804 70294 70001 70162 68337 70441 70305 597048 70163 659935 597041 659920 205 70638 675894 70447 71987 71726 71793 69721 71795 71656 71794 71193 597178 597167 597183 -74 inflowb
NS 95 583185 582898 582978 582272 582669 582273 582404 580120 582656 582488 582492 582057 657349 582152 657313 577286 657281 581243 657280 580297 581505 581042 581298 578993 580109 580295 579872 579875 578973 581158 580731 579000 657184 580727 209 656980 657033 578994 579850 578985 580101 580507 579657 580504 671261 577962 671316 657479 671315 583066 583249 583405 581965 582762 581057 582480 582143 577578 582142 582251 581740 581929 581003 581115 581879 582479 578732 580868 579820 580083 581248 578240 580081 579817 578800 579148 210 578945 577221 579272 578397 671217 657027 671236 578728 657152 580848 671273 580849 580642 657131 657125 657378 578289 582468 582365 582868 582132 584007 582875 583980 581380 583746 583646 584001 584000 583242 584210 584109 584212 583967 671319 657535 206 584580 584463 657590 584208 657587 586552 657811 584023 586490 586441 586526 584736 586448 586434 586438 584020 586391 586357 657778 586268 586431 586428 657785 585999 657790 657750 657757 586143 657746 586152 586304 580942 586386 586328 586384 586189 671329 657651 657657 584653 657648 585707 585712 585175 585400 585243 585396 583964 657668 585320 585165 585313 585311 584920 678391 585690 585980 585387 586030 585922 657729 204 657771 586507 586577 586593 586538 586121 586592 586493 586337 657823 657827 585977 658031 658035 657801 658026 586319 658024 658001 586898 657999 657989 -585696 outflow_01
NS 585696 587512 587514 586962 587504 587474 587489 586781 586969 587461 587318 587433 586731 671373 671378 671365 674792 674069 657953 674805 675162 674804 675165 675167 -119 outflow_02
Offline
Pages: 1