concrete_material#

planestress.pre.library.concrete_material(elastic_modulus: float, thickness: float, units: str = 'MPa', color: str = 'lightgrey') Material[source]#

Creates a concrete material object with consistent units.

Parameters:
  • elastic_modulus (float) – Elastic modulus of the concrete.

  • thickness (float) – Thickness of the concrete.

  • units (str) – Units system to use. See below for options. Defaults to "MPa".

  • color (str) – Material color for rendering. Defaults to "lightgrey".

Raises:

ValueError – If the value of units is not in the list below.

Returns:

Concrete material object.

Return type:

Material

Units

The value for units may be one of the following:

  • "MPa": Newtons \([\textrm{N}]\) and millimetres \([\textrm{mm}]\).

    • Poisson’s ratio: \(0.2\)

    • Density: \(2.4 \times 10^{-6} \textrm{ kg/mm}`^3\)

  • "SI": Newtons \([\textrm{N}]\) and metres \([\textrm{m}]\).

    • Poisson’s ratio: \(0.2\)

    • Density: \(2.4 \times 10^3 \textrm{ kg/m}`^3\)

Example

TODO.