4.1.1.6.1.4. pyfem.materials.Dummy module
- class Dummy(props)[source]
Bases:
BaseMaterialDummy material model for interface elements.
This is a simple linear elastic material model used primarily for testing and interface elements. It provides a diagonal stiffness matrix scaled by a material parameter D.
- H
Material stiffness matrix (diagonal).
- Type:
ndarray
- outLabels
Labels for output variables (normal and tangential tractions).
- Type:
list of str
- D
Material stiffness parameter (inherited from props).
- Type:
float
Notes
The material supports 2D (rank=2) and 3D (rank=3) interface elements with normal and tangential traction components.
- getStress(deformation) Tuple[ndarray, ndarray][source]
Compute stress (traction) and material tangent matrix.
- Parameters:
deformation (object) – Deformation object containing the strain field. Must have a strain attribute (ndarray).
- Returns:
sigma (ndarray) – Stress (traction) vector.
H (ndarray) – Material tangent stiffness matrix.