Mohr-Coulomb Yield Surface Benchmark
This example validates the production Mohr-Coulomb constitutive yield envelope
without using a structural mesh as the primary result source. The benchmark
driver samples the triaxial compression/extension envelope and the tension
cutoff, then evaluates representative stress points against the production
material_mc_yield_values and fem_material_mc_envelope helpers.
Material:
E = 1000nu = 0.25c = 10phi = 30 degpsi = 5 degtension cutoff = 2
Files:
mc_yield_surface_material.inp: minimal material-definition input that keeps the example layout concrete and documents the benchmark material.check_mc_yield_surface_results.py: runs the benchmark executable and checks the generated CSV files against independent analytic formulas.run_case.bat: double-click runner.
Generated outputs:
yield_surface.csv: confining stress samples for the compression envelope, extension envelope and tension cap for strength factors1and2.yield_points.csv: elastic, shear, tension and mixed branch stress-point classifications with yield functions, margins and safety ratio.yield_summary.csv: row counts, branch counts and maximum formula error.
Acceptance checks:
- Compression envelope follows
sigma_c = N_phi sigma_3 + 2 c sqrt(N_phi). - Extension branch and tension cutoff follow the same reduced material parameters.
- Strength reduction lowers compression and tension capacity.
- Representative stress points activate elastic, shear, tension and mixed branches.