ospgrillage.material.create_material#
- create_material(**kwargs)#
User interface function to create
Material
objectThe constructor of
Material
object 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
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