ospgrillage.material.create_material#

create_material(**kwargs)#

User interface function to create Material object

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.

Parameter:

  • code (str): name string of code according to mat_lib.json

  • type (str): Either “concrete” or “steel”

  • grade(str): Grade of material according to code

The following keywords are examples of general material properties:

Keyword:

  • E (float): Elastic modulus

  • G (float): Shear modulus