Looping in python to create model in PLAXIS LE

Hi community,

I'm doing a looping that in each execution involves changing the phi (friction angle) and the c (cohesion). For every c and phi change, should I create a template?

Is this the only way? Because I need to get the values of phos and radius of the slip surface.

Thank you for attetion.

Parents
  • Assuming I understand the question correctly, the answer is yes. If the goal is to produce a table of slip surface values vs changes in c or phi, then an analysis is required for each change. (I assume that’s what is meant by “template”.) So the code is something like:

    Model = create_model()

    For I = 0 to 10

      # modify c value in model.materialX

      Result = plxle.solve(model)

      # do something with result

    Next

    Answer Verified By: Mariele Rodrigues 

Reply
  • Assuming I understand the question correctly, the answer is yes. If the goal is to produce a table of slip surface values vs changes in c or phi, then an analysis is required for each change. (I assume that’s what is meant by “template”.) So the code is something like:

    Model = create_model()

    For I = 0 to 10

      # modify c value in model.materialX

      Result = plxle.solve(model)

      # do something with result

    Next

    Answer Verified By: Mariele Rodrigues 

Children