Structure-Preserving Digital Twins via Conditional Neural Whitney Forms

Brooks Kinch, Benjamin Shaffer, Elizabeth Armstrong, Michael Meehan, John Hewson +1 more
8/9/2025
cs.LGmath.NAphysics.comp-ph

No official code found. Best implementation: PIMILab/cnwf (3 stars, MIT, last commit 2025-10-30).

Abstract

We present a framework for constructing real-time digital twins based on structure-preserving reduced finite element models conditioned on a latent variable Z. The approach uses conditional attention mechanisms to learn both a reduced finite element basis and a nonlinear conservation law within the framework of finite element exterior calculus (FEEC). This guarantees numerical well-posedness and exact preservation of conserved quantities, regardless of data sparsity or optimization error. The conditioning mechanism supports real-time calibration to parametric variables, allowing the construction of digital twins which support closed loop inference and calibration to sensor data. The framework interfaces with conventional finite element machinery in a non-invasive manner, allowing treatment of complex geometries and integration of learned models with conventional finite element techniques. Benchmarks include advection diffusion, shock hydrodynamics, electrostatics, and a complex battery thermal runaway problem. The method achieves accurate predictions on complex geometries with sparse data (25 LES simulations), including capturing the transition to turbulence and achieving real-time inference ~0.1s with a speedup of 3.1x10^8 relative to LES. An open-source implementation is available on GitHub.

View on arXivView PDF

Code Implementations(1)

PIMILab/cnwfCommunity68%
MIT

Code and examples for "Structure-Preserving Digital Twins via Conditional Neural Whitney Forms" by Kinch et al.

32Python, Jupyter NotebookJul 18, 202511 months agoMIT

Similar Papers

Cite this paper

@article{kinch2025structurepreserving,
  title  = {Structure-Preserving Digital Twins via Conditional Neural Whitney Forms},
  author = {Brooks Kinch and Benjamin Shaffer and Elizabeth Armstrong and Michael Meehan and John Hewson and Nathaniel Trask},
  year   = {2025},
  eprint = {2508.06981},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.06981v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.06981.svg)](https://codeofpaper.com/paper/2508.06981)

Discussion