Lab testing

The triaxial test, explained — CD, CU, UU step-by-step with Python

The triaxial test is the gold standard of soil-strength testing. Three procedures (CD, CU, UU) cover almost every drainage condition you will encounter in practice. Here's the apparatus, the recipe, and how to crunch the numbers — with an interactive simulation you can drive yourself.

Ripon Chandra Malo · · 14 min read

Soil strength depends on the effective stresses acting between mineral grains — not the total stresses. A direct shear box can only impose one stress path; a triaxial cell can impose almost any. That's why every modern geotechnical practice calibrates its design strengths on triaxial data.

This guide covers the three workhorse triaxial procedures — CD, CU, and UU — end-to-end. By the end, you will:

The apparatus

A triaxial cell is a thick-walled cylinder of clear acrylic or polycarbonate, sealed at top and bottom, filled with water (or silicone oil). The soil specimen sits inside:

Triaxial cell apparatus with stress-strain curves for CD, CU, UU
The triaxial cell with the three characteristic stress-strain responses (CD: peak + softening, CU: plateau, UU: short plateau).

Three procedures, three drainage states

All three procedures use the same apparatus. The difference is when the drainage valve is open. That single choice controls whether the specimen can change volume during loading, whether excess pore pressure builds up, and which strength parameters you measure.

UU — Unconsolidated-Undrained

The fastest test. The specimen is mounted, the cell pressure applied, and the specimen is sheared immediately. The drainage valve is closed the whole time. No consolidation, no measurement of pore pressure. The result is the undrained shear strength Su = (σ1f − σ3) / 2.

CU — Consolidated-Undrained (with pore-pressure measurement)

The specimen is mounted, the cell pressure applied, then the drainage valve is opened to allow the specimen to consolidate under the cell pressure. Once primary consolidation is complete (verified with a Δu = 0 reading on the transducer), the valve is closed, and the specimen is sheared while measuring pore pressure.

CD — Consolidated-Drained

Consolidation phase identical to CU. During shear the valve stays open, so the loading rate must be slow enough that excess pore pressure never develops (Δu = 0 throughout). The specimen is free to change volume — densifying or dilating as the stress state evolves.

Try it — run the three tests yourself

Pick a test type, set the confining pressure and the soil density, and hit ▶ Run test. The piston descends, the specimen deforms, and the stress–strain curve traces out in real time. The secondary plot shows volume change (for CD) or excess pore pressure (for CU and UU). When the test finishes, click + Add to envelope to drop a Mohr circle on the panel to the right. Repeat at three confining pressures and the failure envelope draws itself.

TRIAXIAL TEST
CU · DRAINAGE CLOSED DURING SHEAR
Live readout
cell σ₃'
axial σ₁
deviator q
B-value
axial strain ε_a
vol. strain ε_V
pore Δu
Stress–strain & strength response
Stress–strain curves and Mohr-circle envelope computed live from analytic hyperbolic / strain-softening models — consistent with the same Mohr-Coulomb closed forms used by ge.triaxial().

Lab procedure, step by step

The recipe below works for all three procedures. The branches at steps 5 and 7 show where they differ.

1. Prepare the specimen

  1. Trim a cylindrical specimen from the undisturbed sample at 2:1 height-to-diameter ratio (typically 38 × 76 mm).
  2. Measure the initial mass, height, and diameter to 0.1 mm.
  3. Take a moisture-content sample from the trimmings for parallel measurement of w0.

2. Mount the specimen

  1. Place a saturated porous stone on the base pedestal, then a filter-paper disc on top.
  2. Carefully set the specimen on the filter paper. Add another filter disc and the upper porous stone.
  3. Stretch a rubber membrane over the specimen using a membrane stretcher and seal it to the top cap and base pedestal with O-rings.
  4. Install the top cap with the loading-piston ball-seat.

3. Assemble the cell

  1. Lower the cell over the specimen and bolt the cell head to the base.
  2. Fill the cell with de-aired water. Bleed all air through the top vent.
  3. Connect the drainage line to the base pedestal port and the cell-pressure line to the cell-head port.

4. Saturate (B-test)

For clay specimens or any case where suction may be present, run a back-pressure saturation cycle:

  1. Apply a small cell pressure (10–20 kPa) and an equal back pressure to the drainage line.
  2. Open the drainage valve and let the specimen draw in water until any air bubbles dissolve.
  3. Close the valve. Increment cell pressure by a known step Δσ3 (say 50 kPa) and read the resulting Δu.
  4. Compute Skempton's B-coefficient: B = Δu / Δσ3.
  5. Saturation is acceptable when B ≥ 0.95. If B is lower, raise back pressure by another 50 kPa and repeat.

5. Consolidate (CD & CU only — skip for UU)

  1. Set the confining pressure σ3 to the target value for the test.
  2. Open the drainage valve.
  3. Record the volume change (CD) or the dissipating pore pressure (CU) over time.
  4. Wait for primary consolidation to complete — typically when t90 on a √t plot is reached, or Δu ≤ 5% of the increment.

6. Set the shear rate

The right rate depends on the procedure and the specimen drainage path:

7. Shear the specimen

  1. CD: drainage valve open. Start the piston. Record axial force, axial strain, and volume change. Continue until εa ≈ 15 % or until a clear peak followed by post-peak strain-softening is observed.
  2. CU: drainage valve closed. Same recordings plus pore-water pressure. Continue until εa ≈ 15 % or peak is reached.
  3. UU: drainage valve closed. Same as CU but skip the consolidation phase entirely.

8. Unload and document

  1. Stop the loading. Drain the cell.
  2. Remove the specimen, measure its post-test height and weigh it.
  3. Cut and photograph the failure plane. Document the failure mode (single shear plane, conical, barrel).

From data to parameters

At failure, the principal stresses are σ1f = σ3 + qf (axial) and σ3 (radial). The Mohr circle of stress at failure has:

Run three tests at three different confining pressures, draw all three Mohr circles, and the Mohr-Coulomb failure envelope is the common tangent. Its slope is tan φ′ and its τ-axis intercept is c′.

For CU tests, you can plot two envelopes — one using total stresses (gives ccu, φcu) and one using effective stresses (gives c′, φ′). The effective-stress envelope is the "real" strength of the soil; the total-stress envelope is a shortcut for undrained loading analyses.

Working it in Python with GeoEq

GeoEq's ge.triaxial() takes the confining pressures and deviator stresses at failure for three (or more) tests and returns c′ and φ′ — exactly the operation you'd do by hand with Mohr circles and a straight-edge.

import geoeq as ge

# Three CD triaxial tests on the same soil at increasing sigma_3
sigma3       = [100, 200, 300]                  # kPa
delta_sigma  = [180, 280, 380]                  # q_f at each test

res = ge.triaxial(sigma3=sigma3,
                    delta_sigma=delta_sigma,
                    kind="CD")

print(res)
# {'c': 10.0, 'phi': 28.5, 'sigma1': [280, 480, 680]}

For a UU test on a saturated clay, the deviator stress at failure is nearly identical regardless of σ3 (because all the increased cell pressure goes straight into pore pressure):

# A UU test directly gives undrained shear strength
res = ge.unconfined(qu=180)
print(res)
# {'Su': 90.0}     -- equivalent to q_u / 2

For a complete bearing-capacity or settlement analysis that feeds these results back into a footing design, see the bearing-capacity methods comparison.

When to pick which test

Design scenarioBest testWhy
Sand foundation (always drained)CDEffective-stress strength is the only thing that matters; no pore-pressure complications.
Fast embankment loading on clayUUThe undrained Su controls. Construction happens too fast for drainage.
Long-term slope stability on clayCD or CUEffective-stress envelope governs years after construction.
Earthquake liquefaction screeningCyclic CUNeed to measure pore-pressure build-up under cyclic loading.
Triaxial as input to FEACUProvides both total and effective parameters from one specimen set.

Common pitfalls

What to read next

Share this article