jaxmat.materials.logarithmic_strain module#
Finite-strain behaviors from small-strain ones, in the logarithmic strain space.
LogarithmicStrain turns any small-strain behavior into a finite-strain behavior
following the modular kinematic framework of Miehe, Apel and Lambrecht (2002). The update
splits into a geometric pre-processing, the unchanged small-strain update and a geometric
post-processing:
From the deformation gradient \(\bF\), compute the right Cauchy-Green tensor \(\bC = \bF^\text{T}\bF\) and the Lagrangian logarithmic (Hencky) strain
\[\bE = \frac{1}{2}\log\bC\]Call the small-strain behavior with \(\bE\) in place of the linearized strain. It returns the stress \(\bT\) work-conjugate to \(\bE\) and updates its internal variables, so any small-strain model (elasticity, plasticity, viscoelasticity…) runs unchanged in the logarithmic strain space.
Pull the stress back to the second and first Piola-Kirchhoff stresses
\[\bS = 2\,\bT:\frac{\partial\bE}{\partial\bC}, \qquad \bP = \bF\bS\]
The derivative of the tensor logarithm is obtained by automatic differentiation of
logm(), whose first and second derivatives are exact
also at repeated eigenvalues (e.g. at \(\bF = \bI\) or for two equal principal stretches),
so the pull-back holds for anisotropic models as well and the consistent tangent is exact.
As the update only depends on \(\bC\), the behavior is objective: under a superposed rotation
\(\bF \to \bQ\bF\), the stress \(\bS\) and
the internal variables are unchanged and the Cauchy stress rotates as
\(\bsig \to \bQ\bsig\bQ^\text{T}\). For a hyperelastic small-strain model of energy
\(\psi(\beps)\), the result is the hyperelastic model of energy \(\psi(\bE)\).
References
Miehe, C., Apel, N., & Lambrecht, M. (2002). Anisotropic additive plasticity in the logarithmic strain space: modular kinematic formulation and implementation based on incremental minimization principles for standard materials. Computer Methods in Applied Mechanics and Engineering, 191(47-48), 5383-5425.
- class LogarithmicStrainState[source]#
Bases:
FiniteStrainStateState of a
LogarithmicStrainbehavior.On top of \(\bF\) and \(\bP\), it stores the strain and stress of the small-strain behavior in the logarithmic strain space, which the latter needs from one step to the next.
internalholds the internal variables of the small-strain behavior, exactly as when it is used directly, e.g.state.internal.pfor von Mises plasticity.-
log_strain:
SymmetricTensor2# Lagrangian logarithmic (Hencky) strain \(\bE = \frac{1}{2}\log\bC\).
-
log_stress:
SymmetricTensor2# Stress \(\bT\) work-conjugate to \(\bE\), computed by the small-strain behavior.
-
log_strain:
- class LogarithmicStrain[source]#
Bases:
FiniteStrainBehaviorFinite-strain behavior running a small-strain behavior in the logarithmic strain space.
The small-strain behavior is evaluated at the Hencky strain \(\bE = \frac{1}{2}\log\bC\) and its stress \(\bT\) is pulled back as \(\bS = 2\,\bT:\partial\bE/\partial\bC\).
Its state is a
LogarithmicStrainState:state.internalholds the internal variables of the small-strain behavior, as when the latter is used directly, whilestate.log_strainandstate.log_stressare \(\bE\) and \(\bT\).Example
small = jm.vonMisesIsotropicHardening(elasticity=..., yield_stress=...) material = jm.LogarithmicStrain(small) PK1, state = material.constitutive_update(F, material.init_state(), dt)
-
behavior:
SmallStrainBehavior# Small-strain behavior, evaluated in the logarithmic strain space.
- static log_strain(F)[source]#
Lagrangian logarithmic (Hencky) strain \(\bE = \frac{1}{2}\log(\bF^\text{T}\bF)\).
- Return type:
- Parameters:
F (Tensor2)
- constitutive_update(F, state, dt)[source]#
Perform the constitutive update for a given deformation gradient increment for a finite-strain behavior.
This abstract method defines the interface for advancing the material state over a time increment based on the provided strain tensor. Implementations should return the updated stress tensor and internal variables, along with any auxiliary information required for consistent tangent computation or subsequent analysis.
- Parameters:
F (array_like) – Deformation gradient tensor at the current integration point.
state (PyTree) – PyTree containing the current state variables (stress, strain and internal) of the material.
dt (float) – Time increment over which the update is performed.
- Returns:
PK1 (array_like) – Updated first Piola-Kirchhoff stress tensor.
new_state (PyTree) – Updated state variables after the constitutive update.
Notes
This method should be implemented by subclasses defining specific constitutive behaviors (elastic, plastic, viscoplastic, etc.).
-
behavior: