Introduction
A steady-flow surrogate is trained on CFD solutions over a limited range of flow conditions and is then asked about conditions outside that range. The data are 2D solutions around airfoils of varying shape and 3D surface solutions of a transport-aircraft configuration; the held-out conditions lie outside the training range in one or more freestream parameters. What has to be right is not only the fields but the design quantities integrated from the wall: lift and drag, from the predicted surface pressure and wall shear stress. The metrics reported are lift and drag errors (lower is better), a rank correlation of predicted with true drag (higher is better) and field errors (lower is better); which of them a setting reports differs from setting to setting.
The published answers on this task are better neural operators over irregular meshes: physics-attention transformers for general geometries and large meshes [1, 2], hierarchical, linear-attention and low-rank-attention variants [3, 4, 5], a geometry-aware physics-attention transformer [6], anchored universal-physics transformers for automotive aerodynamics [7], neural fields for large aerodynamic meshes [8] and geometry-aware message passing over airfoils [9]; conditioning a transformer on PDE parameters is a further direction [10]. Our submission differs in what it asks the network to do. It takes three properties of the problem and handles each outside the learned field.
Part of the effect of the freestream on the solution is a known transformation, which a network need not learn. Rotating the frame to the wind, and scaling velocity by the freestream speed and pressure by its dynamic head, is meant to remove the part of the change between flow conditions that is known in closed form; the network is left with the remainder.
Forces are a handful of numbers per case, and are integrals of a field. A regression from geometry and freestream features to the six numbers (total, pressure and viscous lift and drag) can be fitted in closed form, and its structure can be constrained, for instance by restricting which feature products enter. A force integrated from the field depends on every local error of the field.
A field and a force that disagree can be reconciled. The wall pressure that is integrated can be changed by the smallest amount that makes the integral agree with another estimate of the force.
Method
The method is a single replacement file for the library's Custom model. The starter is an input
encoder followed by an output decoder, with no interaction between mesh points; everything below is
what the submission added. The file serves both geometries (2D volume meshes, 3D aircraft surface
meshes) with one Model class and a switch on args.geometry.
Wind-frame similarity transform
For the 2D fields the target is not but its similarity form. With the freestream speed and angle , the network predicts
where rotates the velocity into the wind frame, standardised by statistics of the training
set. The inverse is applied inside forward, so the model's output stays in the harness's normalised
physical variables. On the 3D branch the pressure coefficient is passed through unchanged, the first two
skin-friction components are rotated by the wind angle (the angle of attack) and the third is left as is. The code also
carries a remap of the pressure coefficient using behind a kt flag, which is off by
default.
def _similarity(self, y, phi, a, speed):
c, s = torch.cos(a)[..., None], torch.sin(a)[..., None]
if self.aircraft:
cp = y[..., :1]
if self.kt:
beta = torch.sqrt(torch.clamp(1 - speed[..., None] ** 2, min=1e-4))
cp = beta * cp / torch.clamp(1 - (1 - beta) * cp / 2, min=.05)
fx, fy, fz = y[..., 1:2], y[..., 2:3], y[..., 3:4]
return torch.cat([cp, c * fx + s * fy, -s * fx + c * fy, fz], -1)
u = y[..., 0:1] / speed[..., None]
v = y[..., 1:2] / speed[..., None]
up = c * u + s * v
vp = -s * u + c * v
cp = 2 * y[..., 2:3] / speed[..., None] ** 2
nut = y[..., 3:4] / speed[..., None]
return torch.cat([up, vp, cp, nut], -1)The inputs are matched to it. Mesh coordinates and normals enter both raw and rotated into the wind
frame; the wall distance enters as together with four boundary-layer features
for ; and a vector of geometry descriptors is
appended at every node. For the 2D shapes the descriptors are computed in _lift_geometry: the code
accepts two shape parameterisations (distinguished by a flag), builds the camber line of either on
, and reduces it to three Fourier-type integrals of its slope against
, and , its mean height and the thickness, so
that both parameterisations land in the same five coordinates.
The condition enters as a linear expansion
The flow condition is summarised by a feature vector . In 2D it is
; in 3D it is built from the Mach number
and angle of attack,
with (clamped). The 2D model by default concatenates to the node
features (early); the 3D model always does that and also adds a late path, in which the hidden
state at each node produces a base prediction plus a linear expansion in :
The expansion's weights are initialised to near zero (standard deviation ), so at initialisation the expansion contributes almost nothing and the output is that of the base head, to which condition dependence is added through the expansion (in the 3D model the condition is also an input to ).
if self.mode in ('late', 'hybrid'):
z = self.base(h)
if self.mode in ('late', 'hybrid'):
modes = self.modes(h).reshape(*h.shape[:-1], 4, self.n_phi)
z = z + (modes * phi[..., :self.n_phi, None].transpose(-1, -2)).sum(-1)
elif self.mode == 'mlp_late':
z = self.late(torch.cat([h, phi[..., :self.n_phi]], -1))
else:
z = self.base(h)The backbone is a stack of at most six blocks of the library's Physics-Attention layer (the sliced
attention of Transolver [1]) with width 256 and 32 slices as set in the file's
CONFIG_OVERRIDES; a field backbone (a residual MLP on sine and cosine features of the coordinates and rotated
coordinates) is available behind a switch. On 2D meshes the forward pass also imposes the wall condition exactly:
when the wall mask is given, the two velocity channels and the eddy viscosity at wall nodes are set to
zero in similarity space, leaving only the pressure to be predicted there.
The loss is the mean squared error in similarity space on volume nodes plus a surface term (weight
surf_weight, default 1), and, in 2D, a term of default weight 0.1 (grad_weight) on the near-wall gradient: for non-wall volume nodes
with wall distance , the error of scaled by its training
r.m.s. On the 3D branch the optimiser is a small AdamW subclass that clips the gradient norm of
each of two sub-models to 1 separately; the file sets the harness's own clipping to None on that
branch.
Force heads: closed-form ridge regressions fitted to integrated training forces
At fit time the code integrates the six force numbers from every training simulation. The pressure part is with a wall length (2D) or, in 3D, the supplied cell area (an area proxy from local point spacing at inference); the viscous part is, in 2D, a wall shear stress from a local least-squares velocity gradient on the eight nearest nodes of each wall node, and in 3D the sum of the skin-friction vector times area. A feature vector of geometry descriptors and flow features is expanded to its linear terms and all pairwise products (squares included) and fitted by ridge regression (unit penalty on standardised features): drag in log space on 2D, in square-root space on 3D, with a bounded fallback to an average of the eight nearest training cases, weighted by in the mean squared distance of the standardised features, when the 2D drag prediction leaves its plausible range.
Lift on the 2D data gets a structure-restricted basis. The basis keeps only single features, pairs and triples of the 10 features whose number of odd-parity factors is odd, with a parity vector over the features:
def _odd_poly(z):
parity = np.array([1, 1, 1, 1, 0, 0, 1, 0, 0, 1], dtype=np.int8)
parts = []
for i in range(z.shape[1]):
if parity[i]:
parts.append(z[:, i:i + 1])
for i in range(z.shape[1]):
for j in range(i, z.shape[1]):
if parity[i] ^ parity[j]:
parts.append((z[:, i] * z[:, j])[:, None])
for i in range(z.shape[1]):
for j in range(i, z.shape[1]):
for k in range(j, z.shape[1]):
if parity[i] ^ parity[j] ^ parity[k]:
parts.append((z[:, i] * z[:, j] * z[:, k])[:, None])
return np.concatenate(parts, axis=1)Our reason, which we reached by checking the learned load head's trends in development, is a symmetry argument: lift should be odd under simultaneous mirroring of the section and of the incidence, so a basis that keeps only odd terms and has no intercept gives exactly zero lift for a symmetric section at zero incidence (we describe how we found the need for it in Section 4). The first four geometry descriptors, and are marked odd, the thickness, , and even. With at least three training cases the polynomial degree (1, 2 or 3) is chosen by leave-one-out median absolute error (otherwise it is 3); the lift ridge uses a penalty of 0.01 on features scaled by their r.m.s.
On the 3D branch the drag head is not one regression but a vote. Two ridge fits, one on and one on its pairwise expansion, are each given a model of its squared error (its risk) in the leverage of the query, fitted by non-negative least squares to their squared leave-one-out errors over 2048 bootstrap resamples; the fraction of resamples in which the quadratic model's predicted risk is lower at the query is the quadratic model's weight , and the drag is in the square-root space. When no training case has a partner with the same geometry the lift head gets a similar vote between its linear and quadratic fits, applied with a weight that grows with the distance of the query outside the training range in Mach number and (zero inside it, where the quadratic head is kept).
Force-consistent wall pressure
At inference predict_mesh makes the predicted wall pressure agree with the head. Let have rows
(divided by a constant reference area 383.69 on 3D), let
be the predicted pressure force and the head's target (on 3D the third component of the force is left unchanged). The correction is the minimum-norm
change of that moves the force by :
On 2D the target is the head's pressure lift and drag; with the optional total projection it is the
head's totals minus the predicted viscous load. On 3D the drag is corrected to the head's total minus
the predicted viscous drag, and lift is handled separately below.
target = torch.as_tensor(target_p, dtype=physical.dtype, device=physical.device)
current = rot @ (cp[:, None] * g).sum(0)[:2]
if self.aircraft and self.mode == 'hybrid':
target[1] = current[1]
delta = rot.transpose(0, 1) @ (target - current)
if self.aircraft:
delta = F.pad(delta, (0, 1))
a = g.transpose(0, 1) @ g
a = a + torch.eye(a.shape[0], dtype=a.dtype, device=a.device) * 1e-12
correction = g @ torch.linalg.solve(a, delta)
cp = cp + correction
if self.aircraft:
physical[wall, 0] = cp
else:
physical[wall, 2] = .5 * speed ** 2 * cp
return (physical - self.y_mean) / (self.y_std + 1e-8)3D branch: pair-difference training, residual transfer and a trusted-lift weight
The 3D Model holds two sub-models of the same architecture whose outputs are averaged. The second
(pair) has an extra training term. For a training simulation it finds a partner , the training case of the same geometry and mesh with the nearest (Mach, ); when no geometry is repeated it takes
the nearest case in flow and geometry together, and then reads the partner's fields at 's nodes by
inverse-distance interpolation. It evaluates the model at the partner's condition and penalises the
disagreement between the predicted difference and the true difference of the two simulations:
where is the mean square over nodes and the penalised channels.
For the same-geometry case only the pressure-coefficient channel is penalised, for the interpolated case all four channels with a per-channel scale.
self._mesh_gp = self._train_gps[j]
try:
out2 = self.forward(self._pair_pos[None], xn2[None], surf=surf)[0]
delta = out.reshape(out2.shape) - out2
target_delta = y.reshape(out2.shape) - yn2
if self._unpaired:
scale = torch.as_tensor(self._pair_delta_scale, dtype=out.dtype, device=out.device)
pair_loss = (((delta - target_delta) / scale) ** 2).mean()
else:
pair_loss = F.mse_loss(delta[..., 0], target_delta[..., 0])
loss = loss + pair_lossThree more devices act on this branch. Predictions use an exponential moving average of the weights (decay , with the number of epochs times the number of training simulations). The eval-time forward pass averages the prediction with its reflection across the third coordinate (flipping the coordinate, its normal component and the corresponding skin-friction component). And when a training simulation has the same geometry and mesh as the query, the model's own residual on the (up to) two nearest training conditions (inverse-distance weighted) is added to the prediction. When no geometry is repeated, the averaged output of the two sub-models is used only in proportion to the same out-of-support weight as above, and the base sub-model alone inside the training range.
The last piece decides how far to trust the field-integrated lift. With the total lift of the base sub-model's corrected field and the head's lift, the final lift target is . The weight is the minimum-variance combination of two estimators from their error variances and covariance, estimated on the training simulations (the head's error leave-one-out, the field's from the trained network with residual transfer taken from other cases of the same geometry), and set to zero unless it exceeds one half:
field_variance = float(np.mean(errors[0] * errors[1]))
head_error = head - target
head_variance = float(np.mean(head_error ** 2))
covariance = float(np.mean(errors.mean(axis=0) * head_error))
denominator = field_variance + head_variance - 2 * covariance
weight = float(np.clip((field_variance - covariance) / max(denominator, 1e-16), 0, 1))
return weight if weight > .5 else 0.The field's error variance is estimated as the mean product of its errors on two different random node subsets. Our own reading is that it keeps the sampling noise of a single subset out of the estimate.
Results
| Method | ① | ② | ③ | ④ | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lift coefficient error ↓ | Drag rank correlation ↑ | Volume field MSE ↓ | Surface field MSE ↓ | drag error ↓ | Lift coefficient error ↓ | Drag rank correlation ↑ | Volume field MSE ↓ | Surface field MSE ↓ | drag error ↓ | Lift coefficient error ↓ | Drag rank correlation ↑ | Volume field MSE ↓ | Surface field MSE ↓ | drag error ↓ | Drag rank correlation ↑ | Surface Cp relative L2 ↓ | Lift coefficient MAE ↓ | Drag coefficient MAE ↓ | |
| Kimi K3.1 Pro | 0.009 | 0.986 | 0.043 | 0.035 | 0.949 | 0.066 | 0.005 | 0.077 | 0.018 | 0.963 | 0.064 | 0.431 | 0.253 | 0.026 | 81.16 | ||||
| PointNet | 0.052 | 0.295 | 0.005 | 0.001 | 1.195 | 0.211 | 0.193 | 0.110 | 0.037 | 1.610 | 0.121 | -0.025 | 0.016 | 0.007 | 2.260 | 0.874 | 0.318 | 0.034 | 59.28 |
| GraphSAGE | 0.038 | 0.738 | 0.003 | 7.88e-4 | 0.950 | 0.373 | 0.705 | 0.133 | 0.042 | 1.312 | 0.232 | 0.239 | 0.038 | 0.022 | 2.490 | 0.885 | 0.209 | 0.043 | 49.68 |
| Transolver | 0.029 | 0.786 | 0.001 | 8.97e-4 | 0.418 | 0.159 | 0.779 | 0.132 | 0.074 | 0.569 | 0.119 | 0.453 | 0.013 | 0.011 | 0.679 | 0.924 | 0.162 | 0.023 | 33.41 |
| Transolver++ | 0.030 | 0.761 | 0.002 | 8.48e-4 | 0.469 | 0.152 | 0.811 | 0.133 | 0.078 | 0.558 | 0.094 | 0.238 | 0.011 | 0.010 | 0.634 | 0.927 | 0.158 | 0.021 | 33.92 |
| LinearNO | 0.023 | 0.918 | 0.001 | 7.75e-4 | 0.278 | 0.140 | 0.672 | 0.151 | 0.060 | 1.205 | 0.117 | 0.283 | 0.021 | 0.009 | 1.855 | 0.946 | 0.155 | 0.017 | 23.43 |
| LRSA | 0.018 | 0.715 | 0.001 | 0.001 | 1.254 | 0.288 | 0.869 | 0.191 | 0.090 | 1.636 | 0.079 | 0.341 | 0.011 | 0.010 | 1.881 | 0.945 | 0.153 | 0.018 | 28.72 |
| GeoTransolver | 0.028 | 0.508 | 0.001 | 0.001 | 0.262 | 0.116 | 0.740 | 0.091 | 0.060 | 0.779 | 0.166 | 0.522 | 0.007 | 0.006 | 0.715 | 0.918 | 0.157 | 0.038 | 40.73 |
| Unisolver | 0.025 | 0.825 | 0.001 | 3.87e-4 | 0.256 | 0.126 | 0.726 | 0.152 | 0.049 | 0.539 | 0.071 | 0.439 | 0.012 | 0.004 | 0.573 | 0.908 | 0.157 | 0.017 | 41.58 |
| GeoMPNN | 0.034 | 0.785 | 0.002 | 0.002 | 0.154 | 0.200 | 0.754 | 0.126 | 0.053 | 0.500 | 0.096 | 0.701 | 0.011 | 0.009 | 0.382 | ||||
| Erwin | 0.028 | 0.689 | 0.003 | 0.001 | 2.142 | 0.109 | 0.691 | 0.105 | 0.031 | 1.610 | 0.099 | 0.493 | 0.017 | 0.010 | 1.969 | 0.958 | 0.161 | 0.026 | 30.03 |
| AB-UPT | 0.012 | 0.871 | 3.35e-4 | 4.00e-5 | 0.124 | 0.044 | 0.602 | 0.078 | 0.026 | 2.391 | 0.055 | 0.761 | 0.004 | 0.001 | 0.244 | 0.958 | 0.128 | 0.010 | 18.67 |
| MARIO | 0.139 | 0.635 | 0.002 | 0.001 | 1.310 | 0.342 | 0.730 | 0.089 | 0.015 | 0.914 | 0.268 | 0.382 | 0.009 | 0.005 | 0.967 | 0.784 | 0.313 | 0.037 | 83.18 |
| OB-GNN | 0.028 | 0.820 | 0.004 | 1.37e-4 | 0.131 | 0.054 | 0.857 | 0.102 | 0.011 | 0.161 | 0.038 | 0.721 | 0.011 | 0.001 | 0.248 | 0.875 | 0.436 | 0.074 | 77.04 |
- ① AirfRANS full split · in-distribution · fields, lift and drag
- ② AirfRANS · angle-of-attack extrapolation
- ③ AirfRANS · Reynolds-number extrapolation (ML4CFD 2024 OOD set)
- ④ NASA-CRM · 3D flight-envelope extrapolation in Mach number and angle of attack · surface fields, lift and drag
Metrics are not all reported on every setting, and our run has no entry for the volume and surface MSE on AirfRANS and AirfRANS-Re, so nothing can be said about those cells.
On AirfRANS our lift error is 0.009 against 0.012 for the strongest baseline, AB-UPT [7], and our drag rank correlation is 0.986 against 0.918 (LinearNO [4]). On AirfRANS-AoA we are ahead of every baseline on each of these four metrics: lift error 0.035 (best baseline 0.044), drag rank correlation 0.949 (0.869), volume MSE 0.066 (0.078) and surface MSE 0.005 (0.011). On AirfRANS-Re the lift error is 0.018 against 0.038 (OB-GNN [13]) and the drag rank correlation is 0.963 against 0.761 (AB-UPT [7]). Lift error and drag rank correlation, two of the force metrics those settings share, are therefore ahead of every published baseline on AirfRANS, AirfRANS-AoA and AirfRANS-Re.
NASA-CRM is where the method does not work. The drag rank correlation is 0.431, below every baseline that reports it (the lowest is 0.784, MARIO [8]; the best is 0.958, Erwin [3]). The surface pressure error is 0.253 against 0.128 for AB-UPT [7]; we beat only three of the published baselines on it, PointNet (0.318), MARIO (0.313) and OB-GNN (0.436). The lift MAE is 0.026, just behind Erwin's 0.026 and well behind the best, 0.010. The drag MAE is 81.16 against 18.67 for the best baseline, and only MARIO (83.18) is worse than us. We cannot tell why NASA-CRM is so much worse than the others, nor which of the two geometry branches it exercises. What the code shows is that drag and lift are set at test time by closed-form regressions and, on the 3D branch, by corrections that rely on training cases sharing geometry with the query; whether either is what fails here we did not measure.
How we got here
It covers the first stretch of the work in detail and ends while an earlier version of the file, which we call version 14 below, was still the working submission. The 3D pair-difference branch, the residual transfer, the moving average of the weights, the leverage-weighted drag vote, the reflection averaging of the 3D branch and the trusted-lift weight do not appear in it, so for those we can say only what the final file contains. Every number in this section is a development measurement of our own, made on splits we built from public data (held-out development splits of the 2D data; a small public blended-wing-body aircraft surface set for the 3D branch; and, at the end, held-out airfoil families). They are not evaluation results and they are not comparable to the table above.
The starting diagnosis. After reading the starter and the published baselines' implementations, our first note was that the interface offered two levers beyond another attention variant: control over how outputs are normalised, and a custom objective and training set access. We suspected the bottleneck was not the backbone but that the freestream scaling was left to be learned and that nothing supervised the wall integrals that make up lift and drag. The literature scan we ran at the start (for flow-condition conditioning of operators, for extrapolation across parameters and for force-aware losses) made us ask whether the condition should modulate early features or only a late decoder, and whether physical similarity could make the late dependence extrapolate. A note from the first pass observed that the 2D dataset's own paper warns that field error is not a proxy for forces. Our first two-scale design was: a geometry operator predicting dimensionless fields, a low-dimensional decoder predicting loads, and a minimum-norm projection so that the wall field agrees with the load decoder. We later wrote the projection down in closed form, as the minimum- pressure correction onto the target load.
What the first controlled runs showed. Our first comparison held the backbone fixed and varied the representation. Similarity outputs cut field error by about 2.4 times and pressure-lift error by about 4 times, but drag rank stayed poor. Separately, a compact regression on physical features alone gave a drag error of about 0.00062 with a rank correlation of about 0.97 on a held-out development split, far better than integrating the network's own fields; that is what made us keep the closed-form heads instead of rejecting the projection early. A bug in our own development parser (the airfoil thickness was left out of the geometry descriptors) explained part of the early shape-conditioning weakness; we fixed it before drawing architectural conclusions.
Whole-mesh inference and the near-wall term. Evaluating on full meshes exposed that attention pooling over sequential chunks corrupted both and wall shear. Random partitions and whole-mesh inference agreed, so it was a train-test shift in the node distribution, not chunk order, and we corrected our training sampler. As a test of whether global attention was worth its resolution sensitivity, we trained a pointwise Fourier neural field with no pooling; it trained fast but underperformed the physics-attention model, so we kept the latter (the field backbone remains in the file as a switch). The full-mesh viscous term showed the real drag bottleneck: a reasonable wall with badly wrong velocity gradients. This is why the 2D loss has a near-wall derivative term; at a moderate weight it reduced projected drag error on a held-out development split from about 0.019 to about 0.006, and a stronger weight helped drag slightly more while hurting the fields, so we kept the moderate weight. We checked a mesh-free wall-shear estimate against an exact gradient on the development meshes and found that a least-squares fit on eight uniform neighbours agreed to about 0.0002 in drag coefficient, which is what let the 2D force labels and the projection use only the point cloud available at prediction time.
Projection and what we tried to add to it. Against the identical unprojected checkpoint, the projection reduced drag error on the joint (several-conditions-shifted) split from about 0.0151 to about 0.0016. A capacity-matched Transolver [1] trained on the same split reached about 0.164 against 0.00161, with worse ; ablating the derivative term raised the joint drag error from about 0.00117 to about 0.065, and removing the wind-frame rotation also hurt drag and rank, so both stayed. Several additions failed. A velocity correction that makes the wall-normal derivative supply the missing shear did no better than the pressure projection; scaling the near-wall velocity by the predicted shear deficit helped one held-out parameter and hurt the other, and gating it on a 50 percent mismatch did not make it neutral, so the projection stayed pressure-only. Averaging the weights of independently trained seeds failed badly, and we said at the time that we would not add a moving average on that evidence; the final file nonetheless uses an exponential moving average of the weights on the 3D branch. A two-sided mirror average of the 2D field degraded and drag and improved lift slightly, so we removed that code; the final file's reflection average applies to the 3D branch only. Targeting the head's total load minus the predicted viscous load was slightly better on the joint split and worse on one of the single-condition splits, which is why pressure is the default and total an option.
Early conditioning won in 2D; the late path stayed in the code. We tried a hybrid conditioner with physical features at the encoder and a compact late bilinear decoder, so that the model would not depend on which parameter was held out. With longer training, late fusion overfit one held-out regime and degraded out-of-range while early conditioning improved it, so we simplified the 2D default to early conditioning; the other modes survive as switches. For the 3D branch the same question came up on the aircraft stand-in set: late conditioning improved the field error on one held-out flow-condition split and substantially worsened it on another, so we did not take it as a general fix at that point. The final file nonetheless hard-wires the 3D model to hybrid.
The lift head: from an edge case to a symmetry argument. A trend diagnostic on the learned load head found a failure the aggregate metrics could not show: a symmetric airfoil at zero incidence got nearly zero drag and nonzero lift. The aggregate test sets contained no exactly symmetric shapes. We tried an intercept-free basis that keeps only terms odd under simultaneous mirroring of the section and of the incidence, which gives exactly zero lift in that limit, and found it better on every aggregate split: combined lift error fell from about 0.0735 to about 0.0481. That is the origin of the parity-restricted basis in the file. The same diagnostic led to a series of guards on drag for out-of-geometry queries. A broad lower bound on log drag still allowed unrealistically small drag, and the smallest positive training load was too weak because some of our development viscous labels were outliers at the log floor. A 5th-percentile floor was the wrong fix for the same reason, so we replaced it by a bounded local fallback: the polynomial is used inside its reliable range, and otherwise a distance-weighted average of the nearest training conditions, restricted to simulations with positive total and viscous drag. That fallback gave about 0.0071 drag and exactly zero lift for the symmetric case at zero incidence, and left ordinary cases unchanged. Both the percentile and the fallback survive in the final file.
Geometry, a large gain. A held-out airfoil-family split showed that categorical shape parameters did not transfer: lift error there was 1.945. One hypothesis, that the family flag becomes an out-of-support feature at test time, was refuted by a null ablation (the flag normalises to zero either way within a family-only training set). We then replaced family labels by thin-airfoil camber geometry: Fourier-type integrals of the camber slope and the thickness, which put four- and five-digit shapes into the same coordinates. Used as the lift head's descriptors, this took lift error on our full-mesh development tests from about 0.0221 to 0.00410, 0.0240 to 0.00654 and 0.0309 to 0.00985 on our three splits, and the family-shift error from 1.945 to 0.0145. The unified coordinates also helped drag on most shifts and were adopted for the nearest-neighbour fallback. As a global field embedding (our version 14) they were the first field-level geometry change that clearly helped: on a full-mesh control drag error fell from about 0.00167 to about 0.00101 and the error from about 0.0854 to about 0.0562, and on the family-shift split drag error fell from 0.01024 to 0.00213. The file's _lift_geometry is this reduction.
3D: stand-in data and an area bug. We could not obtain the task's own aircraft data: the public record we found was pressure-only, and direct downloads were not available. We therefore tested the 3D path with interface-faithful synthetic meshes and, later, a small public blended-wing-body aircraft surface set with pressure, skin friction and areas, which let us validate the covariance-based area estimator (about 0.4 to 0.9 percent integrated-force error on most cases) and the force convention. The first 3D projection on those cases failed badly: drag rank was excellent but projected biases were enormous, because we had calibrated the area proxy on small node subsets and then multiplied by the full-mesh node count. Calibrating on full training meshes fixed it, and a conservative check that starts from exact CFD fields and requires the projection to leave their forces unchanged showed the 12-neighbour covariance estimator beating a tangent-plane fan. Projecting to the total aircraft load, leaving the predicted skin friction untouched (the aircraft's friction is predicted directly, so no separate viscous target is needed), reduced drag error on the geometry-held-out split from 0.00487 to 0.00383 and on one of the flow-condition-held-out splits from 0.0228 to 0.0146 with lift preserved. Removing the wind-frame rotation was worse, so it stayed; a compressibility transform in the Karman-Tsien style was rejected because it worsened the field error on a held-out flow-condition split, which is why kt is a switch that is off. On the 3D regime splits we saw a sample-complexity problem in the aircraft load head: the full quadratic basis has 77 terms against about 62 or 63 training flows in the regime splits. A stronger prior helped one flow-condition split and hurt the geometry split; selecting the penalty by internal tail cross-validation was not robust; capping the pressure correction removed the worst failures but no cap helped lift and drag together. The final file's leverage-weighted vote between a linear and a quadratic ridge is in the same spirit.
Rejected in the last stretch we can see. A signed-mean near-wall derivative term improved drag on one held-out parameter at full data and worsened it on the other (incidence drag about 0.00333 against 0.00210), and a streamwise-only variant worsened drag relative to version 13 on one held-out parameter and gave only a rank tradeoff with worse fields on the other, so neither entered. Keeping the raw shape parameters alongside the Fourier ones worsened drag on one held-out control (about 0.00151 against 0.00101) and surface error on the other held-out control (about 0.0234 against 0.0161) and, on the joint split, was decisively worse on drag (about 0.00516), so we rejected it. The Fourier embedding itself carried a cost we kept: on the joint split drag error rose from about 0.00213 to about 0.00285 while lift and fields improved, within what we measured as seed variation of the older model (about 0.00247 to 0.00363). We tested whether larger training batches would explain this and did not find that they did on their own; a derivative-first warm-up curriculum and a full-mesh joint run were still training, and we do not know how they turned out.
What we can and cannot say about the final file. The final file's constants (the 2048 bootstrap resamples with a fixed seed and the one-half threshold on the lift weight) are not explained in the trace.
Limitations
- NASA-CRM is far behind. Drag rank correlation is behind every published baseline that reports it, drag MAE is behind all but one, lift MAE is behind seven of the twelve baselines that report it (Erwin narrowly), and the pressure error is ahead of only three. The advantages on AirfRANS, AirfRANS-AoA and AirfRANS-Re do not carry over to this setting.
- Ablations exist only for an earlier version. The method has many parts (a similarity transform, a condition expansion, ridge heads, a parity-restricted lift basis, a force projection, a pair-difference branch, residual transfer, an ensemble with reflection, a moving average and a trusted-lift weight). Our development measurements, quoted above, isolate several of the 2D parts and some 3D parts on our own splits and stand-in data, for versions before the final file; the pair-difference branch, residual transfer, the moving average, the leverage vote and the trusted-lift weight were never measured alone in anything visible to us. We cannot attribute the gain on AirfRANS, AirfRANS-AoA and AirfRANS-Re to any piece of the final file.
- The 3D branch was developed without the task's own 3D data. Our development used synthetic meshes and a small public aircraft surface set that differs from the task's configuration, so the visible evidence for the 3D devices is indirect. Which setting exercises which branch we cannot tell.
- Experiments that were still running when it ends (a derivative-first warm-up, a full-mesh joint run) have no visible outcome, and we cannot say whether anything in the final file came from them.
- Constants of one data set are hard-coded. The kinematic viscosity used for the 2D wall shear (1.549814829e-5) and the reference area (383.69) are fixed in the code, and the heads depend on the geometry parameterisations the code knows (two 2D shape families, a 3D configuration with up to four parameters). The method would need rework for other meshes or conventions.
- The heads need geometry parameters at test time. The wall-force heads and the descriptors are
functions of the shape parameters passed through
set_mesh_geometry_params; if none is given the code falls back to the first training geometry, a placeholder rather than the query's geometry. - Closed-form heads have the same extrapolation limit as any regression. The 3D leverage vote, support-distance weight and one-half rule are hand-set rules for which the file gives no derivation; with fewer than three training simulations the code skips the vote and the support-distance weight, and with fewer than two the lift weight is zero.
- Missing metrics. There is no volume or surface MSE for our run on AirfRANS and AirfRANS-Re, so field accuracy there is unreported.
- Only the model file was changed. The method is one file of 1229 lines; reproducing
it requires the harness's hooks (
set_training_set,set_mesh_geometry_params,predict_mesh,training_loss,configure_optimizers) to be present.
References
- Haixu Wu, Huakun Luo, Haowen Wang et al. (2024). Transolver: A Fast Transformer Solver for PDEs on General Geometries. ICML.
- Huakun Luo, Haixu Wu, Hang Zhou et al. (2025). Transolver++: An Accurate Neural Solver for PDEs on Million-Scale Geometries. ICML.
- Maksim Zhdanov, Max Welling, Jan-Willem van de Meent (2025). Erwin: A Tree-based Hierarchical Transformer for Large-scale Physical Systems. ICML.
- Wenjie Hu, Sidun Liu, Peng Qiao et al. (2025). Transolver is a Linear Transformer: Revisiting Physics-Attention through the Lens of Linear Attention.
- Zherui Yang, Haiyang Xin, Tao Du et al. (2026). Simple yet Effective: Low-Rank Spatial Attention for Neural Operators. ICML.
- Corey Adams, Rishikesh Ranade, Ram Cherukuri et al. (2025). GeoTransolver: Learning Physics on Irregular Domains Using Multi-scale Geometry Aware Physics Attention Transformer.
- Benedikt Alkin, Maurits Bleeker, Richard Kurle et al. (2025). AB-UPT: Scaling Neural CFD Surrogates for High-Fidelity Automotive Aerodynamics Simulations via Anchored-Branched Universal Physics Transformers. TMLR.
- Giovanni Catalani, Jean Fesquet, Xavier Bertrand et al. (2025). Towards scalable surrogate models based on Neural Fields for large scale aerodynamic simulations.
- Jacob Helwig, Xuan Zhang, Haiyang Yu et al. (2024). A Geometry-Aware Message Passing Neural Network for Modeling Aerodynamics over Airfoils.
- Hang Zhou, Yuezhou Ma, Haixu Wu et al. (2025). Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers. ICML.
- Charles R. Qi, Hao Su, Kaichun Mo et al. (2017). PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation. CVPR.
- William L. Hamilton, Rex Ying, Jure Leskovec (2017). Inductive Representation Learning on Large Graphs. NeurIPS.
- Mouadh Yagoubi, David Danan, Milad Leyli-Abadi et al. (2025). NeurIPS 2024 ML4CFD Competition: Results and Retrospective Analysis.