Hello,
I want to perform an iteration of a model, analyzing how the safety factor of a slope varies, depending on the cohesion of the material. To do this, I created the following loop to change the properties of the material and calculate its safety factor:
for (i = 1; i < 10; i++){
material("create","Mohr-Coulomb","matid",1,"matname","Material1","density",2344.55,"shear",7.26667e+7,"bulk",2.18e+8,"coh",i*1000,"fric",40,"dil",0,"tens",98100)
material("assign","matid",1)
solve("fos")}
However, the loop only executes the first material, since after performing the solve function, the loop stops.
I remain attentive to your comments, I hope you can help me.
Best Regards