Hello, developers,
I am learning DEM simulation with chemical reactions, for the case legacy tests/dem_tests/reactive-chemistry I want to run it through DMP, but it has an error, can you please advise the possible reasons for this problem?
If you click on the links in the traceback the GUI will show you the code
Lne 140 of usr2_des.f is:
MAX_TIME = -(M_p0*X_B0)/rBs
Either r_Bs is small or zero (triggering overflow) or the multiplication is overflowing. Some work with the debugger, or print statements, should help.
You should also be aware that all examples in legacy-tests and legacy-tutorials is in those directories because they are not up to date, and are not guaranteed to work as-is.
In particular the case you are running uses CGS units, which is no longer supported. The GUI will fix the project file (mfix.dat) to update CGS to SI, but if there are any dimensonal quantities in the usr*.f files, those will have to be fixed by hand.