Files
shenw 255c7caf4f
FemLite CI / build-test (push) Has been cancelled
Advance V4 contact search and parallelism
2026-06-25 08:59:14 +08:00

37 lines
1.4 KiB
Markdown

# contact_block_sliding
Small V4.3 sliding-friction example for two C3D8 elastic blocks.
Purpose:
- Exercise face-to-face contact with Coulomb friction.
- Exercise `FRICTION_REGULARIZATION` inheritance from `*SURFACE INTERACTION`.
- Check contact CSV friction work, accumulated slip and tangential force output.
- Provide a compact sliding case for future contact history and tangent work.
Model:
- Two 0.10 m x 0.10 m x 0.05 m C3D8 blocks.
- The upper block starts with 0.001 m initial penetration into the lower block.
- The lower block is fixed, while the upper block is driven by a horizontal
nodal force and compressed by the prescribed top-face z displacement.
- Contact property: penalty = 1.0E7, damping = 1.0E2, friction = 0.30,
friction regularization = 1.0E-4, augment = 0.20.
Run from the repository root:
Double-click `run_case.bat` in this directory, or run manually:
```powershell
New-Item -ItemType Directory -Force examples\contact_block_sliding\results | Out-Null
build-win-gcc-16\femlite.exe examples\contact_block_sliding\block_sliding_friction.inp --output-dir examples\contact_block_sliding\results --output-interval 10 --run
```
Check:
```powershell
.\Python\.venv\Scripts\python.exe examples\contact_block_sliding\check_contact_results.py examples\contact_block_sliding\results
```
The double-click script writes repeatable output to `results\auto_run`.