High-Order Continuous Geometrical Validity

Federico Sichetti, Zizhou Huang, Marco Attene, Denis Zorin, Enrico Puppo, Daniele PanozzoarXiv 2024 · DOI

TL;DR

This paper introduces the first provably conservative algorithm to guarantee the continuous geometrical validity of high-order mesh elements (such as quadratic or cubic triangles, tetrahedra, and hexahedra) as they deform over time. By combining adaptive Bézier refinement, bisection search, and interval arithmetic, the method reliably detects element inversion during simulations, preventing simulation-breaking configurations even when implemented using standard floating-point math.

What Problem Does This Paper Address?

In computer graphics and mechanical engineering, physical objects are typically simulated using meshes made of simple elements like triangles or tetrahedra. To achieve high accuracy, modern finite element analysis (FEA) often employs high-order elements, where the edges and interiors of elements can curve during deformation.

A critical requirement for these simulations is that the elements must remain geometrically valid—meaning they cannot invert or self-intersect locally. Mathematically, this means the determinant of the element's Jacobian ($|J_x|$) must remain positive everywhere.

Existing validation methods suffer from two fatal flaws:

  1. Discrete Sampling Gaps: Most simulators only check validity at specific time steps or at fixed quadrature points. An element can easily flip and un-flip between time steps or hide an inversion between quadrature points, leading to unphysical behavior or sudden solver crashes.
  2. Numerical Inexactness: Prior continuous checks are largely restricted to simple 2D linear triangles and fail to account for floating-point rounding errors, making them unreliable in practice.

Methods

The authors propose a generic, robust framework that treats element validation as a root-finding problem over a joint space-time domain.

Key components include:

  • Bézier Form & Convex Hull Property: The algorithm converts the Jacobian determinant polynomial into a Bézier representation. This allows them to exploit the convex hull property: the minimum and maximum values of the polynomial over a domain are strictly bounded by its Bézier coefficients.
  • Decoupled Space-Time Bisection: To find the exact moment an element inverts ($t^*$), the algorithm recursively splits the space-time domain. Crucially, it decouples the dimensions, primarily bisecting along the time axis and only refining the spatial dimensions when necessary to resolve ambiguous configurations. This prevents an exponential explosion of sub-domains.
  • Interval Arithmetic: To ensure the method is strictly conservative, all floating-point operations are replaced with interval arithmetic. If a rounding error occurs, the interval widens, ensuring that the true mathematical value is never missed.
  • Invalidity-Aware Quadrature Rules: When an element approaches inversion, standard fixed integration rules fail to capture the exploding energy potential. The algorithm outputs the exact spatial subdivision sequence where the inversion occurs, constructing a custom adaptive quadrature rule that forces the simulation's energy function to correctly diverge, naturally steering the solver away from invalid states.
Fig. 4. (a): A 2D quadratic element with linear trajectories is valid at the start and end positions but locally inverted during the transition. (b): Its parametric domain is an upright triangular prism, where the vertical axis represents time and each horizontal slice represents the space domain at a given time. The red region denotes the portion of the domain in which the determinant |𝐽¯𝑥| is not positive. The dynamic element’s Jacobian determinant is a trivariate polynomial in 𝜉1, 𝜉2,𝑡of order 2 in its space variables and order 2 in the time variable. (c): The root finding algorithm bisects the time domain and quadrisects the spatial domain to isolate a thin slice [𝑡∗,𝑡∗+ 𝛿] containing the critical time of inversion 𝑡∗. In the first step, both space and time dimensions are refined, generating eight sub-domains, which are pushed into a priority queue. (d): For clarity we show a side view for the following steps. Only the time dimension is bisected: the analysis of sub-domains that do not intersect the invalid region increases the value of 𝑡∗while the analysis of sub-domains that do intersect the invalid region decreases the value of 𝑡∗until convergence. (e): If all dimensions were refined at all steps, many more sub-domains would be generated, thus killing performance.

Datasets

The authors evaluated their algorithm on a comprehensive new benchmark dataset consisting of 2D and 3D time-dependent queries extracted from challenging elastodynamic simulations (using Incremental Potential Contact and Neo-Hookean elasticity models):

  • Kangaroo (2D): 172,000 queries using triangular elements ranging from 1st to 4th polynomial orders.
  • Bar (2D): 130,291 linear quad queries and 31,879 quadratic quad queries.
  • Armadillo & Bunny (3D): 54,985 and 19,800 tetrahedral queries respectively, spanning orders 1 to 3.
  • Bar (3D): 56,031 hexahedral and 82,403 prism queries.

Ground truth inversion times were established using highly expensive symbolic root-finding via Mathematica (limited to lower-order elements due to performance constraints).

Key Insights and Ideas

  • Quadrature Points are a Blind Spot: The paper demonstrates that checking validity solely at quadrature points routinely misses severe element inversions, leading to non-physical states and NaN errors in stress calculations.
  • Decoupling Saves Performance: A naive approach that refines space and time equally takes ~260$\mu$s per element. By decoupling them and prioritizing time bisection, the authors cut this down to just ~14$\mu$s per element.
  • The Energy Singularity Paradox: Standard hyperelastic material models (like Neo-Hookean) theoretically possess infinite energy at the point of inversion. However, because standard numerical integration cannot evaluate a singular point perfectly, simulators often "jump" right through the inversion zone. Coupling the validity check with adaptive quadrature is essential to make the solver aware of this energy barrier.

Key Results

The algorithm was integrated into the PolyFEM open-source finite element library.

  • 100% Robustness: The method successfully detected every single invalid element within the benchmark dataset, matching or conservatively bounding the symbolic ground truth.
  • Simulation Stability: In highly distorted simulations (e.g., twisting a 3D beam or a 2D fat ring), the baseline PolyFEM simulator produced dozens of inverted elements and NaN errors. Incorporating the new continuous check completely eliminated element inversion.
Fig. 1. Soft body simulations [Ferguson et al. 2023] of twisting a beam in 3D (left) and twisting the inner circle of a fat ring in 2D (right), without (top) and with (bottom) our continuous validity check. The high-order invalid elements are marked in red, and the scaled Jacobian distribution is shown on the right. Without our method, the Twist-beam example has 1 and 161 invalid elements at t=3 s and t=7 s respectively; the Twist-ring example has 11 and 31 invalid elements at t=0.4 s and t=1 s respectively. With our validity check and adaptive quadrature refinement scheme, the simulations do not contain any invalid elements.
  • Efficiency: The average check time per element scales gracefully with the polynomial degree: from $\sim 1.5\mu$s for order 1 elements up to $\sim 300\mu$s for order 3 elements in 3D.

Limitations and Future Work

  • Scalability to Ultra-High Orders: The number of polynomial terms in the Jacobian grows combinatorially. While highly practical for common graphics and engineering use cases (up to cubic tets or linear hexes), the method cannot currently scale to very high-order FEM applications (e.g., order 20+).
  • Memory Constraints on Tensor Products: For highly complex tensor-product elements (like certain hexahedra and prisms), the algorithm occasionally hit the maximum recursion depth limit ($l_{max}$) due to memory constraints, though it still safely returned a conservative answer.

Future research directions include designing better subdivision heuristics to accelerate convergence on tensor-product elements and porting the architecture to GPUs for massive parallelization.

Summary updated

BibTeX
@misc{sichetti2024high,
  author = {Federico Sichetti and Zizhou Huang and Marco Attene and Denis Zorin and Enrico Puppo and Daniele Panozzo},
  title = {{High-Order Continuous Geometrical Validity}},
  year = {2024},
  eprint = {2406.03756},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.03756},
}
Figure