elastic_isotropic
elastic_isotropic
Isotropic linear elastic continuum material for OpenSees nD elements.
Attributes
Classes
Material
Bases: ABC
Abstract base class for manager-owned OpenSees material objects.
Material instances do not self-register and do not assign their own tags.
A :class:~femora.core.material_manager.MaterialManager owns lifecycle
operations, tag assignment, removal, and retagging for a local model context.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
material_type
|
str
|
OpenSees material category (e.g. |
required |
material_name
|
str
|
Concrete OpenSees material name (e.g. |
required |
user_name
|
str
|
User-specified label for this material instance. |
required |
Attributes:
| Name | Type | Description |
|---|---|---|
tag |
Optional[int]
|
Manager-assigned OpenSees material tag. Remains |
_owner |
object | None
|
Reference to the owning manager, or |
Methods:
to_tcl
abstractmethod
Render the OpenSees material definition command as a Tcl string.
updateMaterialStage
Return an updateMaterialStage Tcl command, or empty string.
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, andrhowith the unit system used by the mesh and exported Tcl model. rhodefaults to0.0for 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 |
Example
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 |
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 |
Methods:
to_tcl
Render the OpenSees nDMaterial ElasticIsotropic command.
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
Tcl command defining this material with its assigned tag and
validated parameters, ending with |
Raises:
| Type | Description |
|---|---|
ValueError
|
If this instance has no manager-assigned tag yet. |