Skip to content

UniaxialMaterialManager

UniaxialMaterialManager

UniaxialMaterialManager(manager: 'MaterialManager')

Create one-dimensional materials through model.material.uniaxial.

Returned objects belong to the parent MaterialManager and share its name and tag space with nD materials. A material definition does not create a section, element, mesh, or solver analysis.

Example
from femora import Model

model = Model()
steel = model.material.uniaxial.elastic(user_name="steel", E=200e6)
assert steel.tag is not None

Methods:

Name Description
elastic

Normalize moduli and damping tangent for OpenSees insertion.

steel01

Validate yield, stiffness, and optional isotropic hardening inputs.

Methods:

elastic

elastic(user_name: str = 'Unnamed', E: float = 1.0, eta: float = 0.0, Eneg: float | None = None, *, name: str | None = None) -> ElasticUniaxialMaterial

Normalize moduli and damping tangent for OpenSees insertion.

Parameters:

Name Type Description Default
user_name str

Comment key for Tcl plus manager uniqueness constraint.

'Unnamed'
E float

Primary tensile or loading stiffness, strictly positive.

1.0
eta float

Supplemental damping tangent, non-negative after coercion.

0.0
Eneg float | None

Compression-side stiffness. Falls back to E when omitted.

None

Raises:

Type Description
ValueError

If E is missing.

ValueError

If E, eta, or Eneg cannot be converted to numeric values.

ValueError

If E or Eneg is not positive, or if eta is negative.

Returns:

Name Type Description
material ElasticUniaxialMaterial

Registered material with a model-local tag.

Note

The keyword-only name alias overrides user_name when non-None. Unknown keywords are rejected; component validation remains authoritative.

steel01

steel01(user_name: str = 'Unnamed', *, Fy: float | None = None, E0: float | None = None, b: float | None = None, a1: float | None = None, a2: float | None = None, a3: float | None = None, a4: float | None = None, name: str | None = None) -> Steel01Material

Validate yield, stiffness, and optional isotropic hardening inputs.

Parameters:

Name Type Description Default
user_name str

Unique Femora and OpenSees material label surfaced in Tcl.

'Unnamed'
Fy float | None

Yield strength, strictly positive after coercion.

None
E0 float | None

Initial elastic modulus, strictly positive.

None
b float | None

Post-yield stiffness ratio E_ep / E0, non-negative.

None
a1 float | None

Isotropic coefficient for compression envelope widening.

None
a2 float | None

Isotropic exponent paired with a1.

None
a3 float | None

Isotropic coefficient for tension envelope widening.

None
a4 float | None

Isotropic exponent paired with a3.

None

Raises:

Type Description
ValueError

If Fy, E0, or b is missing.

ValueError

If a numeric parameter cannot be converted correctly.

ValueError

If a validated value falls outside the supported range.

ValueError

If only part of the isotropic hardening set is provided.

Returns:

Name Type Description
material Steel01Material

Registered material with a model-local tag.

Note

The keyword-only name alias overrides user_name when non-None. Unknown keywords are rejected; component validation remains authoritative.