create_material#

create_material(**kwargs)#

Create a material object for use in a grillage model.

The constructor of Material object takes in three types of keyword arguments:

  1. Keyword for looking up the ospgrillage material library i.e. mat_lib.json.

  2. General material properties - such as E, and G

  3. Specific arguments of OpenSeesPy material library.

For material library lookup, provide:

Parameters:
  • code (str, optional) – Code name string as defined in mat_lib.json (e.g. "AS5100").

  • type (str, optional) – Material type — either "concrete" or "steel".

  • grade (str, optional) – Material grade according to the selected code.

For general material properties, provide:

Parameters:
  • E (float, optional) – Elastic modulus.

  • G (float, optional) – Shear modulus.