create_material#
- create_material(**kwargs)#
Create a material object for use in a grillage model.
The constructor of
Materialobject takes in three types of keyword arguments:Keyword for looking up the ospgrillage material library i.e. mat_lib.json.
General material properties - such as E, and G
Specific arguments of
OpenSeesPymaterial 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.