Files
FemLite/examples/two_arches/README.md
T
shenw 75d4e735b1
FemLite CI / build-test (push) Has been cancelled
Release FemLite 0.5.2 V5 closeout
2026-07-01 14:51:40 +08:00

64 lines
2.6 KiB
Markdown

# Two Arches Geometry/Contact Smoke
This folder contains the reference two-arches notes and a FemLite benchmark
input derived from `models.sme.two_arches.pdf`:
- `two_arches_benchmark.inp`
- `check_two_arches_results.py`
- `run_two_arches_reference_point.py`
- `check_two_arches_reference_point.py`
- `run_case.bat`
The model uses the published geometry parameters: upper radius 80 mm, lower
radius 100 mm, shell width/thickness 3 mm, upper segment 80 degrees, lower
segment 100 degrees, 30 mapped upper shell elements, and 75 mapped lower shell
elements. The two arches are modeled with frictionless shell contact.
The original COMSOL reference uses a parametric sweep. FemLite V5 does not add
a general parametric-sweep feature, and this example does not try to reproduce
the whole sweep. The default smoke case checks the completed bounded scope:
reference geometry, materials, mesh density, shell contact binding, lower end
fixity, upper end in-plane constraints and out-of-plane plane-strain
suppression.
The current input emulates the first continuation increment by prescribing the
upper midpoint displacement `60 mm * 0.02 = 1.2 mm` over two explicit
micro-steps. The micro-step time scale is numerical only; it avoids dynamic
overshoot and does not represent the stationary postcritical continuation path.
The single reference-point check remains separate from the default smoke run.
The optional `run_two_arches_reference_point.py` driver creates and runs a
displacement reference deck for the setting `para = 0.02`, where
`disp_upper = max_disp * para = 1.2 mm`. It writes
`two_arches_reference_point.csv` with `para`, `disp_upper`, contact activity,
contact force and solve status. This is not a parametric-sweep implementation,
and it does not use a static edge-load solve.
Run:
```bat
run_case.bat
```
Results are written to `results\auto_run`. The checker verifies node and
element counts, key reference coordinates, the prescribed upper midpoint
displacement, active contact output, and a millimeter-scale displacement bound
so accidental dynamic blow-up is caught.
Optional reference-point preparation:
```bat
python run_two_arches_reference_point.py ..\.. ..\..\build-codex-gcc\femlite.exe results\reference_point --prepare-only
```
Optional reference-point run:
```bat
python run_two_arches_reference_point.py ..\.. ..\..\build-codex-gcc\femlite.exe results\reference_point --para 0.02
python check_two_arches_reference_point.py results\reference_point
```
If a run fails before nodal output is written,
`two_arches_reference_point.csv` still records the solver status, accepted
reference mode and case directory.