arXiv:2610.39072physics.comp-phOct 2026

Manuscript Offprint

arXiv:2610.39072

PhysicsNeMo-Mesh: GPU-Native Meshes and Simulation Cases for Physics AI

Peter D. Sharpe, Corey Adams, Negin Sobhani, Sanjay Choudhry

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

PhysicsNeMo-Mesh is the mesh module of the open-source PhysicsNeMo library. It provides mesh processing similar to PyVista, but on the GPU, in batches, and inside PyTorch's automatic differentiation. Like xarray for unstructured meshes, it attaches semantics to data: fields on points, cells, and whole meshes have names and shapes, and a simulation case keeps the complete PDE problem specification, including boundary conditions and their prescribed values. It addresses three problems that plague machine learning for physical simulation. First, GPU utilization is bottlenecked by I/O, because samples are very large relative to the compute per forward pass. Second, because traditional preprocessing is expensive, it is necessarily done once, during curation, rather than differently for each model and workflow at the point of use. Finally, advanced equivariant and mesh-native architectures require information that curation ordinarily discards. Fast GPU mesh processing makes it practical to preprocess at the point of use: on one GB200 GPU, mesh operations run 6.2–1,068× faster than VTK with 72 threads, and loading a whole case is 8.0–88× faster than reading its VTK files (8.0× when both read the same fields). Overlapped with training, this preprocessing costs 2.1% of throughput for a 127 ms Transolver step. So one dataset serves many models and workflows: in PhysicsNeMo's public recipe, one stored DrivAerML dataset feeds Transolver, GeoTransolver, and GLOBE. PhysicsNeMo-Mesh combines the speed of an intermediate array store with the flexibility of an archival format such as VTK. When shapes and wall conditions both vary, per-boundary conditions cut a heat-conduction error from 87% to 6–9%. And by keeping field ranks and named boundaries, it retains the semantic structure that next-generation architectures will need.

1 Introduction

Machine-learning surrogates for physical simulation train on solver output: volume and surface meshes with fields attached, written as VTK, CGNS, or solver-native files. Before a model can use these files, a curation step typically converts each case into model-specific arrays. That workflow leads to three problems that plague machine learning for physical simulation:

  1. I/O-bound training. GPU utilization is bottlenecked by I/O, because samples are very large relative to the processing done on them in a forward pass. The volume mesh of one DrivAerML case is 49 GB, while a Transolver training step on 100,000 surface points takes 23 ms to 127 ms on one GPU, depending on model size (Section 4.4). Reading only the car surface of one DrivAerML case from its VTK file takes 5.2 s from local NVMe, about 40 steps of 127 ms; the whole case takes about 6.5 minutes, almost all of it spent parsing (Section 4.1). CPU preprocessing, such as point sampling, normal computation, and signed-distance evaluation, adds further overhead. Pre-computing these features into flat arrays avoids the read bottleneck only by locking the dataset

Preprint.

to a single model, raising the question of whether on-the-fly GPU preprocessing from the stored mesh can keep pace with training.

  1. Curation for one model. Because traditional preprocessing is expensive, it is necessarily done once, during curation, rather than differently for each model and workflow at the point of use. Each pipeline flattens solver output into custom arrays and retains only the fields that one model consumes. Supporting a new architecture, or adding an input feature to an existing one, requires another pass over the raw data, and DrivAerML alone is about 31 TB of VTK files for 500 cars [Ashton et al., 2024]. Whatever the initial curation drops, such as named boundaries, operating conditions, or which columns form a vector, is lost to every downstream model.

  2. Discarded structure. Advanced equivariant and mesh-native architectures require information that curation ordinarily discards. Rotation augmentation and equivariant networks must know which channels form a vector and how each field transforms, and mesh-native models such as GLOBE [Sharpe, 2026a] take the boundary meshes themselves as input. A flat feature array records none of this: after concatenation, only column position identifies each quantity, and lengths, velocities, and pressures sit side by side in whatever dimensional units the solver used. Key obstacles to out-of-distribution generalization are thus baked in during data curation, before any architecture is chosen (Section 6).

We present PhysicsNeMo-Mesh, the mesh module of the open-source PhysicsNeMo library. A Mesh holds points, simplicial cells, and named fields on points, on cells, and on the whole mesh, as PyTorch tensors on any device. A DomainMesh holds one simulation case: an interior mesh, named boundary meshes, and case-wide data. The aim is for a case to hold a complete, well-posed PDE problem specification, with the data that uniquely map from the PDE formulation to its solution and nothing more: the domain, each boundary's condition type and values, and the parameters of the governing equations (Section 3). PhysicsNeMo-Mesh provides mesh processing similar to PyVista [Sullivan and Kaszynski, 2019], with similar method names, but on the GPU, in batches, and inside PyTorch's automatic differentiation. Like xarray [Hoyer and Hamman, 2017] for unstructured meshes, it attaches semantics to data: fields have names and tensor shapes, nest hierarchically by physics discipline, and use interchangeable on-disk formats.

The answer to the first problem enables the answer to the second. Fast mesh processing on the GPU (Section 4) makes it practical to preprocess at load time, at the point of use, rather than when the dataset is generated. That, in turn, lets one dataset serve many models and workflows, instead of a re-curation into an intermediate format for every setup (Section 5). An intermediate array store loads fast, but it bakes in model-specific choices, such as which fields are kept. An archival format such as VTK keeps everything, but it is slow to read. A stored DomainMesh is itself a tree of memory-mapped arrays, combining the speed of the first with the flexibility of the second.

Addressing the third problem prepares datasets for the foreseeable future. We already know that next-generation equivariant and mesh-native architectures require geometric and physical structure that flat arrays discard. Retaining named boundaries and each field's tensor rank preserves that information from the outset (Section 6).

This paper makes four contributions:

  1. Two classes: Mesh for one mesh of any dimension (Section 2), and DomainMesh for a complete simulation case, with named boundaries, fields of any rank, and nested fields for multiphysics (Section 3).

  2. Measurements of the data path that show it is fast enough to preprocess at the point of use (Section 4): whole-case loads 8.0−88×8.0-88\times faster than from VTK files ( 8.0×8.0\times when both read the same fields), 23 mesh operations on one GB200 GPU against the strongest batch VTK filter, size sweeps to 336 million triangles, and the throughput cost of preprocessing overlapped with training.

  3. One dataset for many models and workflows (Section 5): each model computes its features on the fly from the stored mesh, using the same code across curation, training, and inference. In PhysicsNeMo's public external-aerodynamics training example (its recipe), one stored DrivAerML dataset is configured to feed Transolver [Wu et al., 2024], GeoTransolver [Adams et al., 2025], and GLOBE. In a synthetic heat-conduction study in which the geometry and the wall conditions both vary, models given only the geometry remain at the theoretical error floor of geometry alone, a global vector of wall summaries roughly halves their error, and the per-boundary conditions that a DomainMesh stores bring it to 2–10%.

  4. Named fields that keep their tensor rank in their trailing shape, and explicit geometric transforms

Figure

Figure 1: One Mesh class for all four manifold dimensions, so each operation is written once: points (Mesh[0, 3]), line segments (Mesh[1, 3]), triangles (Mesh[2, 3]), and tetrahedra (Mesh[3, 3]). Each holds points, simplicial cells, and named fields.

that respect it, which data augmentation and equivariant architectures such as GLOBE use directly (Section 6).

References (49)