Material#

Factory function#

create_material(**kwargs)

Create a material object for use in a grillage model.

Class reference#

Material#

class Material(**kwargs)#

Bases: object

This class stores information and provides methods to parse input material properties into OpenSeesPy Material objects.

Here are the information about OpenSees Material objects.

As ospgrillage is mainly intended for bridge decks , concrete and steel makes up the primary materials. In turn, ospgrillage wraps the UniAxialMaterial object of OpenSeesPy since it contains the primary options for Concrete and Steel.

The Material class also allow users to utilize codified material properties (e.g. AS5100, ASHTOO). These material properties are stored in a material library file (mat_lib.json). Users are required to pass in the appropriate keyword arguments (dict keys) to select the desirable codified materials. Users may access mat_lib.json. Additionally, this class is able create the mat_lib.json file and pass it through

Note

Current version of mat_lib.json is 0.1.0

The constructor of Material takes in three types of inputs:

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

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

  3. Specific material arguments of OpenSeesPy.

For material library lookup (option 1), provide:

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

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

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

For general material properties (option 2), provide:

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

  • G (float, optional) – Shear modulus.

  • v (float, optional) – Poisson’s ratio.

  • rho (float, optional) – Density.

For OpenSeesPy-specific arguments (option 3), refer to OpenSeesPy.