# 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 = 1000` - `nu = 0.25` - `c = 10` - `phi = 30 deg` - `psi = 5 deg` - `tension 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 factors `1` and `2`. - `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.