Skip to content

ElasticIsotropicMaterial

ElasticIsotropicMaterial

ElasticIsotropicMaterial(user_name: str = 'Unnamed', *, E: float | None = None, nu: float | None = None, rho: float = 0.0, **_: Any)

Bases: Material

Homogeneous isotropic elastic material for continuum nD analysis.

This class represents the OpenSees ElasticIsotropic nD material model. The constitutive response is defined by Young's modulus and Poisson's ratio, with optional density for analyses that require material mass.

Tcl form

nDMaterial ElasticIsotropic <tag> <E> <nu> <rho>; # user_name

Note
  • Coordinate E, nu, and rho with the unit system used by the mesh and exported Tcl model.
  • rho defaults to 0.0 for stiffness-only definitions.

Attributes:

Name Type Description
tag Optional[int]

Manager-assigned identifier after registration with the owning material manager.

params Dict[str, float]

Validated parameter values keyed by E, nu, and rho.

Example
from femora.core.model import Model

model = Model()
mat = model.material.nd.elastic_isotropic(
    user_name="sand",
    E=3.0e7,
    nu=0.3,
    rho=2000.0,
)
print(mat.tag)

Create an elastic isotropic material with validated parameters.

Parameters:

Name Type Description Default
user_name str

Label included in the emitted Tcl comment and stored by the owning material manager.

'Unnamed'
E float | None

Young's modulus. Must be a positive numeric value.

None
nu float | None

Poisson's ratio. Must be numeric and in the range [0, 0.5).

None
rho float

Mass density. Must be a non-negative numeric value.

0.0
**_ Any

Additional keyword arguments accepted and ignored for forward-compatible factory calls.

{}

Raises:

Type Description
ValueError

If E or nu is missing, if any numeric parameter cannot be converted to float, if E is not positive, if nu is outside [0, 0.5), or if rho is negative.