Stress Recovery and Derived Stress Fields

Implemented in: results_stress_recovery.py

1. Base Stress Recovery: σ = D ε

Once the smooth nodal strain array ε (N, 3) has been obtained via SPR-C (see Strain Recovery), nodal stress is computed by applying the per-node constitutive law:

σi = Di εi     ⇒     [σxx, σyy, τxy]i = Di ⋅ [εxx, εyy, γxy]i

where Di is the 3×3 constitutive matrix for node i (plane stress or plane strain, depending on the material formulation assigned to that node's entity). The vectorised implementation uses:

np.einsum("nij,nj->ni", D_per_node, strain)

which is equivalent to a batched matrix-vector product: σ[n] = D[n] ⋅ ε[n] for each node n.

Units: Stress is in MPa (N/mm²), consistent with Young's modulus in MPa and displacement in mm. Strain is dimensionless.

2. Von Mises Equivalent Stress

The Von Mises equivalent stress for plane analysis (2D, Voigt stress [σxx, σyy, τxy]) is:

σVM = √(σxx2 + σyy2 − σxxσyy + 3τxy2)

This is the standard Von Mises criterion for yielding under combined stress states. It reduces to |σxx| for uniaxial stress and to √3 |τxy| for pure shear.

Note on the out-of-plane component: Since σzz is not zero for plane strain, the formula above is an approximation in the plane-strain case. For plane stress, σzz = 0 and the formula is exact.

3. Principal Stresses

The in-plane principal stresses are the eigenvalues of the 2D stress tensor:

σ1,2 = (σxx + σyy) / 2  ±  √[ ((σxx − σyy) / 2)2 + τxy2 ]

with σ1 ≥ σ2 (maximum and minimum principal stresses). The radius R = √[(Δσ/2)2 + τxy2] is the radius of the Mohr's circle.

4. Signed Von Mises Stress

The standard Von Mises stress is always non-negative. To distinguish tensile from compressive stress states, GearMaster provides the signed Von Mises stress:

σVM,signed = sign(σ1 + σ2) ⋅ σVM

The sign is determined by the hydrostatic component σh = (σ1 + σ2)/2: positive (tensile) when the average principal stress is positive, negative (compressive) otherwise.

5. Maximum In-Plane Shear Stress and Stress Intensity

QuantityFormulaFunction
Maximum shear stress τmax = (σ1 − σ2) / 2 max_shear_stress()
Stress intensity SI = σ1 − σ2 stress_intensity()

τmax is the half-range of the Mohr's circle, and SI = 2τmax (stress intensity, also called Tresca equivalent stress) is the diameter.

6. Summary Table of All Derived Stress Quantities

QuantitySymbolFormulaFunction
Voigt stress[σxx, σyy, τxy]σ = D εcompute_nodal_stress()
Von MisesσVM√(σxx2 + σyy2 − σxxσyy + 3τxy2)von_mises_stress()
Signed Von MisesσVM,signedsign(σ1+σ2) ⋅ σVMsigned_von_mises_stress()
Principal 1σ1(σxx+σyy)/2 + Rprincipal_stresses()
Principal 2σ2(σxx+σyy)/2 − Rprincipal_stresses()
Max shearτmax(σ1−σ2)/2max_shear_stress()
Stress intensitySIσ1−σ2stress_intensity()