# Stress Dependent Elasticity This folder follows the COMSOL reference note `models.sme.stress_dependent_elasticity.pdf` as a nonlinear FemLite example: - `generate_stress_dependent_elasticity.py`: regenerates the structured solid beam deck and consistent right-end moment loads. - `stress_dependent_elasticity.inp`: 0.10 m x 0.01 m unit-thickness cantilever with a stress-dependent elastic modulus. The generated verification mesh uses `NX=20, NY=1, NZ=10` C3D8 elements. - `check_stress_dependent_results.py`: runs FemLite and checks the neutral-axis shift and compression/tension stress asymmetry. - `run_case.bat`: convenience launcher for local runs. The material uses a pressure-dependent Young's modulus: 300 MPa in tension, 700 MPa in compression, Poisson ratio 0.30, and a 1 kPa transition zone. The right end carries the reference bending moment `-5/3 N*m`; the left end is fixed. The checker verifies that the computed bending stress crosses zero away from the mid-height line and that the stiffer compression band is thinner and has the larger peak axial stress. The nonlinear run uses automatic cutback, `--max-newton 80`, and `--newton-tol 1e-4`; those settings keep the pressure-dependent modulus switch stable while preserving the reference bending response. Run: ```bat run_case.bat ``` Results are written to `results\auto_run`.