Skip to content

Wrinkling benchmarks and solver options for tension-field studies - #32

Draft
hverhelst wants to merge 9 commits into
mainfrom
tft-membranes
Draft

hverhelst wants to merge 9 commits into
mainfrom
tft-membranes

Conversation

@hverhelst

@hverhelst hverhelst commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Summary

  • benchmark_Pillow is extended, and there is a new benchmark_TFTWrinkling. The benchmark drivers now cover:
    • linear state-of-the-art cases;
    • a KL-shell mode;
    • the cylinder with the Split model.
  • gsStaticNewton has an optional backtracking line search, and gsStaticBase gains SolverTol/SolverMaxIt for iterative linear solvers.
  • New driver flags --eta, --etatangent and --exactlocal. Drivers now exit nonzero on an early stop or invalid input.

Depends on gismo/gsKLShell#36.

🤖 Generated with Claude Code

hverhelst and others added 9 commits November 5, 2026 23:54
…studies

benchmark_Pillow:
- Material options --tftsplit, --eta, --exact, --midsurface.
- Solver options --solver, --tolNR, --warmstart, --drfirst.
- --out <dir> writes steps.csv (per-step diagnostics, documented in the
  doxygen block); --monitor tracks wrinkling-state changes
  between tangent assemblies.

benchmark_TFTWrinkling (new): shear sheet, Mooney-Rivlin sheet and
trapezoid benchmarks for TFT and the TFT split, with the same output and
monitor options, plus --newtondiag / --diagfrom: per-Newton-iterate
residual, update and state-flip records and dense spectral statistics of
the tangent (symmetric-part eigenvalues, singular values; O(n^3) per
tangent, intended for small windows).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015qurMNbDqCjWHyF4r7nicQ
- benchmark_Pillow: --nx uniform quarter mesh; displacements at the quarter
  corners and outer-edge midpoints and PK2 principal stresses at M in
  steps.csv (Zhang & Kiendl 2025 airbag tables).
- benchmark_TFTWrinkling: --tensionfield criterion switch; --npts/--nptssol
  ParaView sampling; --shell Kirchhoff-Love mode for the MR sheet and the
  trapezoid (displacement control, clamps, seeded imperfection, DR->NR,
  shell torque from the BC-free residual).
- benchmark_SteinHedgepeth (new): in-plane bending of a prestressed membrane
  (Zhang & Kiendl 2025 Sec. 5.1) with analytic wrinkle-band profiles.
- benchmark_HangingBlanket (new): blanket under self-weight with rigid and
  penalty-spring corner supports (Zhang & Kiendl 2025 Sec. 5.5).
- benchmark_cylinder_DC: Split model, --tftlinear, --tensionfield, --out,
  steps.csv with torque Mz and axial force Fz; l2Projection for the moment
  fields on the unstructured-spline basis; solver exceptions halve the step;
  Moment2 evaluated at the current load with the components in order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ion is usable

After the last allowed halving, a returned non-converged solution was accepted
unconditionally. A Newton solve that diverged through an inverted element left
a non-finite solution, which crashed fullSolutionVector (seen as a
thread-count-dependent segfault on the annulus with --maxbisect 0). The
solution is now accepted only if it is finite and has the size of the free
DOFs; otherwise the run stops with the usual failure message and exit code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…exit nonzero on early stop

gsStaticNewton gets an Armijo backtracking line search on the residual norm (options LineSearch, off by default,
LineSearchC 1e-4, LineSearchRho 0.5, LineSearchMaxRed 8). A trial whose residual evaluation throws or is non-finite
(e.g. an inverted element) is rejected; the accepted trial's residual is reused, so alpha = 1 costs no extra
assembly. If no step length is accepted the iteration reports NotConverged, so the drivers' step halving applies.
With the option off, results and output are bit-identical. On the 32x32 p2 cylinder membrane (TFT), whose first
step diverged before, the first step now converges with alpha down to 0.125.

Benchmarks Pillow, HangingBlanket, TFTWrinkling, SteinHedgepeth and cylinder_DC: `--linesearch` switch; cylinder_DC
also `--solver` (default CGDiagonal, the solver it used implicitly). Each driver now prints
"FINAL LOAD NOT REACHED: last converged <x> of <target>" and returns EXIT_FAILURE when the run ends before the
final load (in the load coordinate of the phase in which it stopped), after writing all output. Before, e.g.
benchmark_Pillow exited 0 after giving up, and cylinder_DC exited 0 when capped by -N.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pass Eta and EtaTangentOnly to the gsMaterialMatrixTFT decorator in
benchmark_TFTWrinkling, Pillow, HangingBlanket, cylinder_DC and
SteinHedgepeth. Default eta 0 leaves the TFT runs unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- options applied to the CG/BiCGSTAB solvers built by gsSparseSolver::get;
  defaults leave the solver untouched
- benchmark_cylinder_DC: --lintol, --linmaxit, --exacttol, --exactstagtol,
  --exactmaxit; Split counters per step in steps.csv

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant