Skip to content

Add the adaptive metric theory, user guide and tutorial pages - #235

Merged
bmunguia merged 9 commits into
su2code:developfrom
bmunguia:docs/adaptive_metric
Nov 28, 2026
Merged

bmunguia merged 9 commits into
su2code:developfrom
bmunguia:docs/adaptive_metric

Conversation

@bmunguia

Copy link
Copy Markdown
Member

Documentation for the adaptive metric added in su2code/SU2#2613.

Theory:

  • Metric fields and the continuous mesh framework (unit mesh, sizes, complexity)
  • The error minimization problem and its resulting optimal metric
  • Green-Gauss Hessian recovery
  • The unsteady (time-integrated) Hessian-metric over sub-intervals
  • What SU2 implements (eigenvalue floor, size and aspect ratio limits)

Users Guide:

  • Limitations (currently rejections)
  • Workflow
  • Options (linking the generated Option Reference)
  • Built-in and custom (Python wrapper) sensors
  • Choice of norm (p = 4 for RANS, following Park, Balan et al. 2019 and Alauzet and Frazza 2021)
  • Size limits, steady and unsteady flows, output fields

Tutorials:

  • Adaptive Metric with Built-In Sensors (inviscid NACA0012)
  • Adaptive Metric with a Custom Sensor (RANS NACA0012, total pressure vs. Mach), with ParaView figures of the requested vertex density and of the requested cells drawn as ellipses

The tutorial resources are in su2code/Tutorials#89.

- Theory: metric-based anisotropic mesh adaptation (metric fields, Lp-optimal metric, Hessian recovery, unsteady Hessian-metric, implementation in SU2)
- Users Guide: adaptive metric limitations, options, built-in and custom sensors, choice of norm, size and aspect ratio limits, steady and unsteady flows, and output fields
- Tutorials: new Mesh Adaptation section with the built-in sensor and custom sensor tutorials, and their ParaView figures
…he ellipse figures

- Write the eigendecomposition, the optimization problem, the optimal metric, the Hessian absolute value and the unsteady metric as aligned equations, one definition per line
- Integrate G over x-hat in the steady and unsteady metrics, as in the thesis notation
- Note that Figures 4 and 5 of the custom sensor tutorial use MIN_DENSITY = 100 to hide the large, randomly oriented ellipses far from the airfoil
- Regenerate the ellipse figures of both tutorials with a line width of 1.5, and the custom sensor ones with MIN_DENSITY = 100
@bmunguia
bmunguia merged commit 7bfbc3a into su2code:develop Nov 28, 2026
2 checks passed
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.

2 participants