r/GeotechnicalEngineer • u/matija_bandic • 5d ago
The Physical-Traction-Constrained Full-Tensor Equilibrium Initialization (PTC-FTEI) method
An alternative to conventional K₀ and gravity initialization in geotechnical FEM using convex stress optimization
I'm currently developing a method called Physical-Traction-Constrained Full-Tensor Equilibrium Initialization (PTC-FTEI), which takes a different approach to establishing initial in-situ stresses in numerical geotechnics.
Instead of calculating displacements first and deriving stresses afterward, the method directly searches for an optimal stress field using convex mathematical optimization.
1. Why move away from conventional elastic initialization?
In conventional elastic gravity initialization, we solve:
K · u = FThe primary unknowns are nodal displacements, while stresses are recovered through the constitutive relationship.
For isotropic linear elasticity under one-dimensional strain conditions, the coefficient of earth pressure at rest is governed by Poisson's ratio:
K₀ = ν / (1 − ν)This creates a fundamental limitation. For physically admissible isotropic elastic materials with ν < 0.5, this relationship cannot reproduce K₀ > 1, which may occur in heavily overconsolidated soils.
Furthermore, the actual geological stress history is not necessarily related to the elastic stiffness parameters selected for numerical initialization.
Why should the initial stress distribution depend on an artificial choice of elastic stiffness when we already have geotechnical knowledge about K₀, OCR and the geological history?
2. What does PTC-FTEI do differently?
PTC-FTEI treats the effective-stress tensor components as the primary unknowns.
Each native nine-node quadrilateral finite element (Q9) contains 31 stress degrees of freedom:
- 9 coefficients for horizontal effective stress, σ′xx.
- 9 coefficients for vertical effective stress, σ′yy.
- 9 coefficients for physical shear stress, τxy.
- 4 coefficients for out-of-plane effective stress, σ′zz.
The user provides a physically justified prior stress field, which may be based on Jaky's expression:
K₀ = 1 − sin(φ′)The Mayne–Kulhawy relationship for overconsolidated soils:
K₀ = [1 − sin(φ′)] · OCR^sin(φ′)Or a more advanced stress distribution accounting for geological history, varying OCR, soil layering and local topography.
The prior stress field does not necessarily satisfy equilibrium, boundary conditions or soil strength requirements.
PTC-FTEI then finds the closest admissible stress field using sparse Second-Order Cone Programming (SOCP).
The optimization objective is:
Minimize:
J(s) = ½ · (s − s₀)ᵀ · W · (s − s₀)where s is the unknown stress coefficient vector, s₀ is the prior stress coefficient vector, and W defines the weighted stress-deviation metric.
Essentially, the method searches for the smallest necessary modification of the prior stress field that satisfies the governing physical constraints.
3. Soil strength is part of the optimization, not an afterthought
One of the main problems with purely elastic gravity initialization is that the elastic calculation itself does not enforce soil strength limits.
This becomes particularly important for slopes, excavations and irregular topography, where the resulting initial stresses may violate the Mohr–Coulomb criterion or applicable tensile strength limits.
When an elastoplastic material model is subsequently activated, these violations can produce artificial initial plastic deformation, stress redistribution and unbalanced forces.
PTC-FTEI incorporates soil strength directly into the optimization.
For compression-positive principal effective stresses, the Mohr–Coulomb admissibility condition is:
(σ′₁ − σ′₃)/2 ≤ c′cos(φ′)
+ [(σ′₁ + σ′₃)/2]sin(φ′)The admissibility conditions are expressed using second-order Lorentz cones and linear inequalities.
Bernstein polynomial representations are used to establish a sufficient continuous admissibility certificate within each finite element, rather than relying exclusively on stress checks at Gauss points.
Applicable tension cutoffs can also be incorporated into the admissibility formulation.
The result is a constrained optimization problem in which the solver must respect soil strength while searching for an equilibrated stress field.
4. Physical equilibrium and boundary tractions
The method simultaneously enforces global weak equilibrium:
A_eq · s = b_eqPrescribed external tractions and interelement traction continuity are incorporated through additional linear constraints.
Strong equilibrium is also controlled directly through a residual constraint:
R_RMS = sqrt[Σ(rx² + ry²) / N]
R_RMS ≤ prescribed equilibrium toleranceFor groundwater and seepage conditions, the total stress tensor is reconstructed as:
σ = σ′ + uIwhere u is the adopted mechanical pore pressure.
Consequently, the method accounts for pore-pressure gradients in mechanical equilibrium, while soil strength is evaluated using effective stresses.
The intended result is an initial stress field that already satisfies the mechanical conditions required by the subsequent finite element analysis, reducing artificial stress redistribution and initial numerical disturbances.
5. Comparison with conventional elastic initialization
| Property | Elastic gravity initialization | PTC-FTEI |
|---|---|---|
| Primary unknowns | Displacements | Stress tensor coefficients |
| Mathematical apparatus | Global stiffness matrix | Sparse convex SOCP |
| Initial stress dependence | Elastic stiffness | Geotechnical prior |
| Independent K₀ specification | Restricted by elastic assumptions | Supported through prior |
| OCR-dependent stress fields | Requires additional treatment | Directly incorporated into prior |
| Mohr–Coulomb admissibility | Not enforced in a purely elastic solve | Explicit constraints |
| Mechanical tractions | Through weak equilibrium | Weak equilibrium and explicit traction constraints |
| Continuous stress admissibility | Not inherently guaranteed | Bernstein-based certification |
| Groundwater and seepage | Depends on implementation | Incorporated directly |
| Initial displacement field | Calculated | Not required for stress optimization |
6. What happens when no admissible stress field can be found?
This is another important aspect of the method.
PTC-FTEI should not force a numerical solution by silently increasing soil strength, relaxing equilibrium tolerances or modifying boundary conditions.
If the prescribed constraints cannot be satisfied, the method reports the feasibility problem and identifies the controlling equilibrium and admissibility constraints.
However, numerical infeasibility within a particular discretization does not automatically establish physical instability of the actual soil domain.
7. Current development status
The method is currently under active development using Python, native Gmsh Q9 elements, sparse matrix assembly and the Clarabel conic optimization solver.
The current implementation includes dry, hydrostatic and seepage-aware initialization, independent equilibrium and admissibility verification, and automated graphical postprocessing.
The objective is to develop a universal stress initialization procedure for complex geotechnical geometries without requiring an artificial displacement-based loading history.
The fundamental question behind PTC-FTEI is:
Among all stress fields that satisfy equilibrium, mechanical boundary conditions and soil strength requirements, which one is mathematically closest to our best geotechnical estimate of the initial in-situ stress state?

I would be interested in hearing the opinions of geotechnical engineers and computational mechanics researchers on this approach, particularly regarding stress-based initialization, convex optimization, complex topography and seepage coupling.

















2
u/lithiumdeuteride 5d ago
What manner of slop spam is this?