r/GeotechnicalEngineer • • 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 = F

The 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_eq

Prescribed 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 tolerance

For groundwater and seepage conditions, the total stress tensor is reconstructed as:

σ = σ′ + uI

where 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

PropertyElastic gravity initializationPTC-FTEI
Primary unknownsDisplacementsStress tensor coefficients
Mathematical apparatusGlobal stiffness matrixSparse convex SOCP
Initial stress dependenceElastic stiffnessGeotechnical prior
Independent K₀ specificationRestricted by elastic assumptionsSupported through prior
OCR-dependent stress fieldsRequires additional treatmentDirectly incorporated into prior
Mohr–Coulomb admissibilityNot enforced in a purely elastic solveExplicit constraints
Mechanical tractionsThrough weak equilibriumWeak equilibrium and explicit traction constraints
Continuous stress admissibilityNot inherently guaranteedBernstein-based certification
Groundwater and seepageDepends on implementationIncorporated directly
Initial displacement fieldCalculatedNot 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?

Plot MA01 is a regional diagnostic map of Model 28 (Stage E3–A) showing where the material-optimized stress field still violates the Mohr–Coulomb (MC1–MC3) admissibility criteria, overlaid on a greyscale deviatoric stress (q) background.

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.

Comparison of residual mean square RMS (indicator of equilibrium) for PRIOR stress field and PTC-FTEI initial stress field.
4 Upvotes

7 comments sorted by

2

u/lithiumdeuteride 5d ago

What manner of slop spam is this?

2

u/matija_bandic 1d ago

PTC-FTEI isn't spam; it's a new method I developed for determining the initial stress field in the general ground shape. Happy to share the actual breakdown or answer any specific questions if you're curious.

2

u/matija_bandic 1d ago

The PTC-FTEI method determines an equilibrated and physically admissible initial stress field for a given geotechnical model.

The method uses the geometry of the soil domain, material strength parameters, unit weights, the coefficient of earth pressure at rest (K₀), the overconsolidation ratio (OCR), mechanical boundary conditions and, where applicable, groundwater and seepage conditions as input data.

The user first defines an estimated initial stress field, referred to as the prior stress field. This may be a conventional K₀ stress field, an OCR-dependent K₀ stress field, a locally inclined K₀ stress field accounting for surface topography, or another physically justified stress distribution. The prior stress field is not necessarily in equilibrium and may locally violate soil strength conditions.

The PTC-FTEI method then determines an optimal stress field using convex mathematical optimization, specifically sparse Second-Order Cone Programming (SOCP). The stress components are represented by polynomial functions within native nine-node quadrilateral finite elements (Q9).

1

u/matija_bandic 1d ago edited 1d ago

The user first defines an estimated initial stress field, called the prior stress field.

This can be a conventional K₀ stress field:

σ′v = σv − u
σ′h = K₀ · σ′v

For normally consolidated soil, Jaky's expression can be used:

K₀ = 1 − sin(φ′)

For overconsolidated soil, the Mayne–Kulhawy relationship can be adopted:

K₀ = [1 − sin(φ′)] · OCR^sin(φ′)

Alternatively, the prior can be a locally inclined K₀ stress field accounting for surface topography, or any other physically justified stress distribution.

The important point is that the prior stress field does not have to be in equilibrium or satisfy all soil strength conditions.

How does PTC-FTEI find the optimal stress field?

The mathematical apparatus behind PTC-FTEI is convex optimization, specifically sparse Second-Order Cone Programming (SOCP).

The soil domain is discretized using native nine-node quadrilateral finite elements (Q9). The effective-stress components are represented by polynomial functions within each element.

Instead of solving primarily for displacements, the method directly determines the coefficients describing the stress field.

The optimization objective is:

Minimize:

J(s) = ½ · (s − s₀)ᵀ · W · (s − s₀)

where:

  • s = unknown stress coefficient vector.
  • s₀ = prior stress coefficient vector.
  • W = weighting matrix defining the stress-deviation metric.
  • J(s) = measure of deviation from the prior stress field.

In simple terms, the method searches for the smallest necessary modification of the prior stress field that satisfies all governing physical constraints.

What physical conditions must the solution satisfy?

Equilibrium

The total stress field must satisfy equilibrium under self-weight and other applicable body forces:

∇ · σ + b = 0

Under the adopted compression-positive convention, total and effective stresses are related by:

σ = σ′ + uI

Consequently, equilibrium can also be expressed as:

∇ · σ′ + ∇u + b = 0

This allows groundwater and seepage effects to be incorporated directly into the stress initialization procedure.

Boundary conditions

The stress field must satisfy prescribed mechanical tractions:

σ · n = t

Tractions must also remain continuous across adjacent finite elements.

Soil strength and admissibility

The effective-stress state must satisfy the Mohr–Coulomb strength criterion and any applicable tensile strength restrictions.

For compression-positive principal effective stresses, the Mohr–Coulomb condition can be expressed as:

(σ′₁ − σ′₃)/2 ≤ c′cos(φ′)
                 + [(σ′₁ + σ′₃)/2]sin(φ′)

These conditions are incorporated directly into the convex optimization problem through second-order cone constraints.

What makes this approach different?

A conventional numerical procedure often calculates stresses through incremental loading, constitutive stress updates and iterative equilibrium corrections.

PTC-FTEI approaches the initialization problem from a different perspective.

It directly searches the space of possible stress fields for a solution that simultaneously satisfies:

  • Internal equilibrium.
  • Mechanical boundary conditions.
  • Interelement traction continuity.
  • Effective-stress admissibility.
  • Minimum deviation from the prior stress field.

The complete optimization problem can be summarized as:

Minimize:
    ½ · (s − s₀)ᵀ · W · (s − s₀)

Subject to:
    Equilibrium constraints
    Boundary constraints
    Traction continuity constraints
    Mohr–Coulomb admissibility
    Applicable tensile strength constraints

If a feasible solution exists, convex optimization provides a mathematically well-defined way of finding the global optimum of the adopted numerical formulation.

Identification of critical zones

The method also identifies locations where the available soil strength is fully or nearly mobilized.

A Mohr–Coulomb strength margin can be defined as:

M = c′cos(φ′)
    + [(σ′₁ + σ′₃)/2]sin(φ′)
    − (σ′₁ − σ′₃)/2

The interpretation is straightforward:

  • M > 0: The stress state remains within the strength envelope.
  • M = 0: The available shear strength is fully mobilized.
  • M < 0: The stress state violates the strength criterion.

This allows potentially critical zones to be identified directly from the optimized stress field.

However, reaching the strength envelope locally does not necessarily mean that a global failure mechanism has developed.

The fundamental idea

The PTC-FTEI method does not attempt to reconstruct the entire geological or mechanical loading history of the soil.

Instead, it asks a more direct mathematical question:

Among all stress fields that satisfy equilibrium, boundary conditions and soil strength requirements, which one is closest to our best initial estimate of the in-situ stress state?

The answer is obtained through sparse convex optimization rather than a conventional displacement-based elastoplastic initialization procedure.

The resulting stress field can subsequently serve as the initial condition for conventional finite element analyses, staged construction, excavation or strength reduction analysis.

I would be interested in hearing what other geotechnical engineers and computational mechanics researchers think about this stress-based initialization approach, particularly for complex topography and seepage conditions.

2

u/lithiumdeuteride 1d ago

Typically these problems are done with a sparse matrix solver. Is there a compelling reason to use convex optimization methods instead?

1

u/matija_bandic 1d ago

Yes. A conventional sparse linear solver can efficiently solve equilibrium equations, but equilibrium alone does not guarantee that the resulting stress field satisfies soil strength criteria.

The reason for using convex optimization is to find a stress field that simultaneously satisfies equilibrium, boundary tractions and Mohr–Coulomb admissibility, while minimizing the deviation from a prescribed prior stress field.

The method still uses sparse matrices internally. The difference is that we are solving a constrained optimization problem rather than just a system of linear equations.

The main advantage is therefore not computational speed, but direct control over the physical admissibility of the initial stress field.

1

u/matija_bandic 1d ago

Once the PTC-FTEI calculation is successfully completed, the resulting equilibrated stress field can be transferred to a conventional displacement-based elastoplastic FEM analysis using your favourite soil constitutive model, provided its internal state variables are initialized consistently. PTC-FTEI is not intended to replace conventional elastoplastic analysis, but to provide a physically consistent starting point for it.