Files
FemLite/examples/shell_shell_contact
shenw 2b7962eb96
FemLite CI / build-test (push) Has been cancelled
Release FemLite 0.5.3
2026-07-01 18:39:18 +08:00
..
2026-07-01 18:39:18 +08:00
2026-07-01 18:39:18 +08:00
2026-06-26 12:54:40 +08:00

shell_shell_contact

V5.3 shell-shell mortar contact benchmark.

Purpose:

  • Exercise shell element target contact without analytical rigid geometry.
  • Verify active contact, gap residual, augmented multiplier and VTK output for an S4-to-S4 pair.
  • Provide the shell-shell coverage item used by the V5.3 contact CTest matrix.

Model:

  • Lower S4 shell patch fixed in all degrees of freedom.
  • Upper S4 shell patch starts with 0.001 m penetration and is prescribed a short downward displacement.
  • Contact property: penalty = 1.0E7, damping = 1.0E2, augment = 0.20.

Run from the repository root:

Double-click run_case.bat in this directory, or run manually:

New-Item -ItemType Directory -Force examples\shell_shell_contact\results | Out-Null
build-win-gcc-16\femlite.exe examples\shell_shell_contact\shell_shell_contact.inp --output-dir examples\shell_shell_contact\results --output-interval 1 --run

Check:

.\Python\.venv\Scripts\python.exe examples\shell_shell_contact\check_contact_results.py examples\shell_shell_contact\results

The checker writes shell_shell_contact_profile.csv in the result directory. In 0.5.3 it also validates shared contact diagnostics: state/status fields, activation/release counts, active-set flip count, gap L2, failed projection count and augmentation factor/lambda.