Automated dimensional analysis for PDEs
Michal Habera, Andreas Zilian

TL;DR
This paper introduces a systematic framework for integrating physical units into finite element methods, enabling automated nondimensionalization and improved numerical stability across various PDE systems.
Contribution
It presents a symbolic Quantity class and a graph-based traversal for automatic dimensional analysis within UFL, enhancing stability and error detection in PDE solvers.
Findings
Improved condition number for Navier--Stokes saddle-point systems.
Detection of floating-point cancellation errors in hyperelasticity.
Effective handling of coupled multiphysics problems with scaling.
Abstract
Physical units are fundamental to scientific computing. However, many finite element frameworks lack built-in support for dimensional analysis. In this work, we present a systematic framework for integrating physical units into the Unified Form Language (UFL). We implement a symbolic Quantity class to track units within variational forms. The implementation exploits the abelian group structure of physical dimensions. We represent them as vectors in to simplify operations and improve performance. A graph-based visitor pattern traverses the expression tree to automate consistency checks and factorization. We demonstrate that this automated nondimensionalization functions as the simplest form of Full Operator Preconditioning. It acts as a physics-aware diagonal preconditioner that equilibrates linear systems prior to assembly. Numerical experiments with the Navier--Stokes…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsModel Reduction and Neural Networks · Advanced Numerical Methods in Computational Mathematics · Parallel Computing and Optimization Techniques
