steel_material#
- planestress.pre.library.steel_material(thickness: float, units: str = 'MPa', color: str = 'grey') Material [source]#
Creates a steel material object with consistent units.
- Parameters:
- Raises:
ValueError – If the value of
units
is not in the list below.- Returns:
Steel material object.
- Return type:
Units
The value for
units
may be one of the following:"MPa"
: Newtons \([\textrm{N}]\) and millimetres \([\textrm{mm}]\).Elastic modulus: \(200 \times 10^3 \textrm{ MPa}\)
Poisson’s ratio: \(0.3\)
Density: \(7.85 \times 10^{-6} \textrm{ kg/mm}`^3\)
"SI"
: Newtons \([\textrm{N}]\) and metres \([\textrm{m}]\).Elastic modulus: \(200 \times 10^9 \textrm{ Pa}\)
Poisson’s ratio: \(0.3\)
Density: \(7.85 \times 10^3 \textrm{ kg/m}`^3\)
Example
TODO.