Palxis remote scripting - "Einc" command does not work for Mohr-Coulomb soil model

Dear Stefanos/team,

I am using Plaxis 2D V21 Ultimate. I would like to input Young's Modulus Increment (Einc) through python remote scripting. However, It does not work. My script is as the following:

------------------------------------------------

g_i.gotosoil()
mat_clay = g_i.soilmat()

mat_clay.setproperties(("MaterialName", "Clay"), ("SoilModel", 2), \
                                     ("DrainageType","Undrained (B)"), ("gammaUnsat",15), ("gammaSat",18), \
                                     ("Eref", 3.4e3), ("nu", 0.33), ("cinc", 2), ("cref", 5), \
                                     ("phi", 0), ("psi", 0), ("Einc", 4e1), ("verticalref", 3), \
                                     ("perm_primary_horizontal_axis", 1e-4), ("perm_vertical_axis", 1e-4), \
                                     ("Rinter", 1.0), ("K0Determination", "Manual"), ("K0Primary", 0.60), \
                                     ("K0PrimaryIsK0Secondary", True), ("DefaultValuesAdvanced", False))

------------------------------------------------

All of the input works except for the "Einc" command. No error message is shown either. I tried to find the correct label for Young Modulus Inc. through the "echo Clay" command, and it shows that indeed the correct label is "Einc". However, the script still does not change the actual Einc input.

(the picture shows that "Einc" is still at its default value 0 instead of the command value 40)

Is there a mistake in my method? I also turned the "DefaultValuesAdvanced" to False.

Thank you for your time and attention, I'm looking forward to your assistance.

Kind regards,

M. Rayyan

Parents Reply Children
No Data