Files
2026-06-24 17:29:36 +08:00

74 lines
2.9 KiB
Markdown

# rigid_sphere_impact_plate
FemLite explicit dynamic shell contact benchmark for a rigid spherical
indenter impacting a clamped square plate.
This example uses FemLite's contact-pair penalty path through the input keyword
```text
*CONTACT PAIR, SLAVE=SPHERE, MASTER=PLATE, PENALTY=..., DAMPING=..., SEARCH=..., FRICTION=...
```
The keyword is a FemLite input subset that maps directly to the internal
`contact_pair_*` database arrays. It accepts element-set names, element ids, or
`ALL` for `SLAVE` and `MASTER`.
Benchmark data:
- Plate geometry: 0.40 m x 0.40 m square shell plate in the global x-y plane.
- Plate thickness: 0.004 m.
- Plate material: E = 70.0E9 Pa, nu = 0.30, density = 2700 kg/m3.
- Boundary condition: all four plate edges clamped, DOFs 1..6 fixed.
- Indenter: rigid spherical cap approximation, radius = 0.05 m.
- Initial gap at sphere center point: 0.001 m above the plate.
- Indenter motion: prescribed vertical displacement to -0.006 m at
t = 1.5E-4 s, then held to t = 3.0E-4 s.
- Contact pair: `SPHERE` as slave and `PLATE` as master.
- Contact penalty: 5.0E9.
- Contact damping: 2.0E4.
- Search distance: 0.02 m.
- Friction: 0.0.
- Explicit step: dt = 2.0E-7 s, total time = 3.0E-4 s.
- Output interval used for the recorded results: 50 steps.
Generated decks:
- `rigid_sphere_impact_plate_s3.inp`: S3 plate, S4 spherical cap.
- `rigid_sphere_impact_plate_s4.inp`: S4 plate, S4 spherical cap.
Regenerate input decks:
```powershell
wsl python3 examples/rigid_sphere_impact_plate/generate_rigid_sphere_impact_plate.py
```
Run from the repository root:
```powershell
New-Item -ItemType Directory -Force examples\rigid_sphere_impact_plate\results\s3 | Out-Null
build-win-gcc-16\femlite.exe examples\rigid_sphere_impact_plate\rigid_sphere_impact_plate_s3.inp --output-dir examples\rigid_sphere_impact_plate\results\s3 --output-interval 50 --run
```
```powershell
New-Item -ItemType Directory -Force examples\rigid_sphere_impact_plate\results\s4 | Out-Null
build-win-gcc-16\femlite.exe examples\rigid_sphere_impact_plate\rigid_sphere_impact_plate_s4.inp --output-dir examples\rigid_sphere_impact_plate\results\s4 --output-interval 50 --run
```
Check the results:
```powershell
wsl python3 examples/rigid_sphere_impact_plate/check_rigid_sphere_impact_results.py --case s3
wsl python3 examples/rigid_sphere_impact_plate/check_rigid_sphere_impact_results.py --case s4
```
The checker verifies that the run reaches the requested final time, writes VTK
and contact CSV output, records active contact, and produces downward plate
center deflection.
Current result:
| Deck | Final step | Max displacement | Max active contact | Max penetration | Max contact force norm | Center uz min |
|---|---:|---:|---:|---:|---:|---:|
| `rigid_sphere_impact_plate_s3.inp` | 1500 | 6.000000E-03 m | 70 | 4.013372E-03 m | 1.412011E+04 N | -1.905616E-03 m |
| `rigid_sphere_impact_plate_s4.inp` | 1500 | 6.000000E-03 m | 48 | 4.074941E-03 m | 1.447397E+04 N | -1.599396E-03 m |