We included the definition of test_calculation , which we either set to true or false. Then using start_if test_calculation ... end_if we can perform a fast linear test calculation when test_calculation is set to true. In this way, it is easy to test whether the excavations, go well under linear elastic conditions (no plasticity, etc.), and check if linear elastic displacements, stresses etc. are plausible. Once the linear elastic calculation is verified, the test_calculation can be set to false and the full non-linear calculation can be done. You are encouraged to follow the same strategy.
start_define
test_calculation false
end_define
start_if test_calculation
linear_calculation_apply -yes
end_if