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:
- 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.
- 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.
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
NaNerrors 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
NaNerrors. Incorporating the new continuous check completely eliminated element inversion.
- 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