Skip to content

DruckerPragerMaterial

DruckerPragerMaterial

DruckerPragerMaterial(user_name: str = 'Unnamed', *, k: float | None = None, G: float | None = None, sigmaY: float | None = None, rho: float | None = None, rhoBar: float | None = None, Kinf: float | None = None, Ko: float | None = None, delta1: float | None = None, delta2: float | None = None, H: float | None = None, theta: float | None = None, density: float | None = None, atmPressure: float | None = None, **_: Any)

Bases: Material

Pressure-sensitive elastoplastic solid with combined isotropic and kinematic hardening.

Maps to OpenSees DruckerPrager as an nDMaterial. The required arguments k, G, sigmaY, and rho correspond to the Tcl command slots for bulk modulus, shear modulus, initial yield intercept, and the material cohesion-like strength parameter rho. In this model, rho is not mass density; use density for mass density effects.

Tcl form

nDMaterial DruckerPrager <tag> k G sigmaY rho rhoBar Kinf Ko delta1 delta2 H theta density atmPressure; #

Note
  • rhoBar is constrained to [0, rho] by the current validation rules.
  • Coordinate atmPressure and density units with the bulk and shear modulus units used in the exported model.

Attributes:

Name Type Description
params

All validated Tcl arguments keyed by parameter name.

Example
from femora.core.model import Model

model = Model()
mat = model.material.nd.drucker_prager(
    user_name="dp_solid",
    k=2.0e5,
    G=9.6e4,
    sigmaY=2.5e3,
    rho=1.85,
    density=2100.0,
)
print(mat.tag)

Create a Drucker-Prager material object with validated inputs.

Parameters:

Name Type Description Default
user_name str

Stored in Tcl suffix comments and enforced unique among managed materials.

'Unnamed'
k float | None

Bulk modulus analogue in the Tcl command, strictly greater than zero.

None
G float | None

Shear modulus analogue in the Tcl command, strictly greater than zero.

None
sigmaY float | None

Initial yield intercept, strictly positive.

None
rho float | None

Cohesion-like Drucker-Prager strength parameter, strictly positive.

None
rhoBar float | None

Optional cap on dilatancy evolution. Defaults to rho and must satisfy 0 <= rhoBar <= rho.

None
Kinf float | None

Optional long-run isotropic strengthening magnitude, >= 0.

None
Ko float | None

Additional isotropic evolution parameter, >= 0.

None
delta1 float | None

Isotropic modulus expansion coefficient, >= 0.

None
delta2 float | None

Softening or decay coefficient, >= 0.

None
H float | None

Combined hardening modulus, >= 0.

None
theta float | None

Blend in [0, 1] between isotropic and kinematic mechanisms.

None
density float | None

Optional mass density, >= 0.

None
atmPressure float | None

Reference pressure for modulus updates, >= 0.

None
**_ Any

Unused keyword placeholders for forward compatibility.

{}

Raises:

Type Description
ValueError

If a required parameter is missing.

ValueError

If a numeric value cannot be converted to float.

ValueError

If any validated value falls outside the supported interval.