Python material setproperties

Hi all,

I am diving into the creation of PLAXIS 2D models using Python. I have some experience with the scripting engine and have read and studied the material provided by the commands reference.

I am stuck creating soil materials in my Python script. For clarity I follow the syntax provided by the example on page 533 of Plaxis 2D reference manual:

SAND_PARAMETERS = [
('MaterialName', 'Sand'),
('Colour', 10676870),
('SoilModel', 3), # Hardening soil
('DrainageType', 'Drained'),
('gammaUnsat', 17),
('gammaSat', 20),
('E50ref', 43000),
.....

This is a very robust definition, for all values have their parameter names defined as labels and PLAXIS 2D is processing this syntax correctly!

I am stuck for I haven't found the full definition of the labels anywhere, and I have spend time guessing some of the labels, but that has not been successful, so I hope someone will be able to help me and supply the labels for these values:

  • flow parameter kx
  • flow parameter ky
  • advanced stiffness E'inc
  • advanced stiffness yref

Using ('SoilModel', 2), # Mohr-Coulomb

Thank you in advance!

Kind regards, G.J. Kiers

Parents Reply
  • Dear Stefanos,

    Whilst the autocomplete function has made things easier, I am still struggling to find a way to add some parameters when using a Python script.

    When picking between different ground models, the command line adjusts to the parameters that where used.  Some are clearly identified whilst others are still ‘hidden’.  As an example, when working with Mohr-Coulomb Undrained (B) we are asked to specify parameter su,ref (undrained shear strength), which for my case is 15 kPa.  In the command line, the value of su,ref appears in the middle of other parameters with no identification.  Here is an extract of the command line: … "Einc" 0 "CVRef" 0.02592 10000 0 0 15 0 0 0 0 18.5 18.5 1.296E-5 1.296E-5 1 1.296E-5 0 0 0 0 0 0.333333333333333 0 0.999 0 0 0 0 1.0000000000000000E+015 0.495 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 …  I have also noticed that the Unsaturated and Saturated soil density, identified as 18.5 kN/m3 are also not identified for this constitutive model.

    Is there a way to get a list of reference names for parameters that are still not identified in the command line, so those can be specified via a Python script?

    Kind regards,

    Joao

Children