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 Children
  • Hello Joao,

    That is correct for almost everything in PLAXIS, but the material command always generates the whole set of parameters, as a material definition is a collection of parameters that together forms the definition of the constitutive model to be used.

    Therefore, the approach of changing, for instance, the friction angle, to see the command generated is not the same an with the rest of the program.

    Since many of the cases with materials can be very specific to what you try to do, it is easier and faster to handle it via a service request, so let us know when you encounter any difficulty.