| title: Combined Loading — Circular (Solid/Hollow) | |
| emoji: 🏗️ | |
| colorFrom: indigo | |
| colorTo: blue | |
| sdk: gradio | |
| sdk_version: "4.44.0" | |
| app_file: app.py | |
| pinned: false | |
| # Combined Loading Calculator — Circular (Solid/Hollow) | |
| Computes **axial + bending + torsion** stresses for circular sections (solid/hollow): | |
| - normal stress at the outer fiber, shear from torsion, **von Mises** equivalent, and **FoS** vs. yield. | |
| - explicit arithmetic shown (with `*`) so students can **see the math**. | |
| ## Run locally | |
| ```bash | |
| pip install -r requirements.txt | |
| python app.py | |
| ``` | |
| ## Notes | |
| - LLM is optional; app falls back to a deterministic one-liner if Transformers/Torch aren't available. | |
| - Educational demo; ignores stress concentrations, transverse shear, and buckling. | |