Introduction
A neural surrogate for steady RANS aerodynamics is trained on solutions over a limited range of freestream conditions and is then asked to predict flows at conditions outside that range. Two geometries share the same model: 2D airfoils of varying shape, where velocity, pressure and eddy viscosity are predicted on a volume mesh, and a 3D transport-aircraft surface with deflected control surfaces, where surface pressure and the skin-friction vector are predicted. The quantities that matter most are not the fields themselves but what is integrated from the wall, lift and drag.
Three properties make this hard. First, extrapolation in the conditioning variable: a network that sees Reynolds number, incidence or Mach number only as raw inputs to an MLP learns some smooth function of them over the training range, and nothing constrains what that function does beyond it. Second, the forces are small differences of large quantities. Drag is a near-cancellation of pressure forces around the body plus a thin viscous contribution, so a pressure field with a small relative error can carry a large relative drag error, and a wall-shear stress computed from a near-wall velocity is only as good as the velocity in the first cell. Third, the physics changes character across regimes: at high incidence an airfoil stalls and its lift rolls off, and at high Mach number a shock forms on the wing and moves aft as the Mach number grows, so the field outside the training range is not a smooth continuation of the field inside it.
The field's answer has mostly been better geometric backbones. Point and graph models [1, 2] and geometry-aware message passing [3] aggregate locally; Transolver and its successors pool the mesh into learned physical slices and attend between them [4, 5, 6], and related work revisits that attention as linear or low-rank [7, 8]; tree and anchor-based transformers scale to large meshes [9, 10]; neural fields serve large aerodynamic simulations [11]. Unisolver conditions a Transolver backbone on the PDE's parameters [12], and the ML4CFD competition compared many of these designs on airfoil flows [13]. Our starting point is different: classical aerodynamics already knows how most quantities scale with Reynolds number, incidence and Mach number, so we put those scalings into the model's inputs, its conditioning and, above all, its outputs, and leave the network to learn corrections to them.
Method
Our model, which we call AeroBMO (an aerodynamic boundary-measure operator), has four parts: a freestream representation built from similarity variables, a conditioner that extrapolates those variables linearly, a backbone of six blocks that mix global, local and boundary-panel attention, and an output layer that writes physical fields through laws that hold by construction. All of it is one model family for both geometries; the 2D and 3D variants differ in which physical laws they use and in their input features.
The freestream state as similarity variables
We do not feed the freestream velocity or Mach number to the network as a raw number. In 2D we recover the incidence and speed from the inflow vector, form the Reynolds number with a unit chord, and normalise it by a reference, . The regime vector then contains the harmonics , , and ; and the power laws for , which are the exponents with which skin friction, boundary-layer thickness and wake quantities scale; and a few section-aware terms. Among these are a leading-edge loading , where is a camber incidence from Glauert's quadrature of the camber slope and the thickness, two softplus stall indicators that become large once exceeds 1.35, and a thin-airfoil lift estimate
with a flap-like camber term computed by Glauert's Chebyshev quadrature of the camber slope. The 2D vector is concatenated with a 12-dimensional shape vector of camber, camber slope and thickness, giving a 30-dimensional regime vector .
sigma_le = (sa + iota0) / tmax0
tau_stall_pos = 0.5 * F.softplus(2.0 * (sigma_le - 1.35))
tau_stall_neg = 0.5 * F.softplus(2.0 * (-sigma_le - 1.35))
sigma_le_sq = 0.25 * sigma_le * sigma_le
cl_thin = (sa + iota0 + dflap0) * (1.0 + 0.77 * tmax0) / 0.15
log_re_le = 0.5 * torch.log(torch.clamp(re_tilde * ((tmax0 / 0.12) ** 2), min=1e-4))
c_aero = torch.stack([
sa,
ca - 1.0,
2.0 * sa * ca,
sa * sa,
aoa / 0.25,
torch.log(re_tilde),
torch.pow(re_tilde, -0.15) - 1.0,
torch.pow(re_tilde, -0.20) - 1.0,
torch.pow(re_tilde, -0.50) - 1.0,
torch.pow(re_tilde, -0.26) - 1.0,
(u_inf - 60.0) / 30.0,
torch.pow(re_tilde, -0.32) - 1.0,
0.5 * sigma_le,
tau_stall_pos,
tau_stall_neg,
sigma_le_sq,
cl_thin,
log_re_le,
], dim=0)In 3D the corresponding vector is built from the Mach number and incidence: the swept Prandtl-Glauert factor , the stagnation pressure coefficient and the sonic pressure coefficient from isentropic relations, softplus hinges in that switch on near the transonic range, Korn-type criticality terms that combine Mach number with incidence, and terms that combine Mach number with control-surface deflection.
A conditioner that extrapolates linearly
The two normalisations of every block and the output normalisation are modulated by the regime vector in the AdaLN-Zero manner, and the modulation is the sum of an affine map and a bounded nonlinear residual,
with , and initialised to zero, so every block starts unmodulated, independent of . The reasoning is about what happens outside the training range: if moves beyond the values seen in training, the affine path continues the trend it learned, the nonlinear path saturates because of the , and the modulation cannot develop the arbitrary curvature an unconstrained MLP would. Since the regime vector already contains the physically right functions of , and , a linear response to it is a reasonable default.
class AeroRegimeConditioner(nn.Module):
"""
Structured non-saturating linear aerodynamic basis path + bounded tanh residual path.
Prevents uncontrolled nonlinear drift under out-of-distribution regime extrapolation
while preserving exact analytical scaling trends (sin(alpha), Re^-0.18, 1/beta_PG, Cp*).
"""
def __init__(self, regime_dim: int, dim: int, num_mod_chunks: int = 6,
bottleneck: int = 64, resid_scale: float = 0.25, max_mod: float = None):
super().__init__()
self.num_mod_chunks = num_mod_chunks
self.resid_scale = resid_scale
self.max_mod = max_mod
out_dim = num_mod_chunks * dim
self.linear_basis = nn.Linear(regime_dim, out_dim, bias=True)
self.nl_in = nn.Sequential(
nn.Linear(regime_dim, bottleneck),
nn.SiLU(),
nn.Linear(bottleneck, bottleneck),
)
self.nl_out = nn.Linear(bottleneck, out_dim, bias=False)
self.reset_zero()
def reset_zero(self):
nn.init.zeros_(self.linear_basis.weight)
nn.init.zeros_(self.linear_basis.bias)
nn.init.zeros_(self.nl_out.weight)
def forward(self, c_regime: torch.Tensor):
c_f = c_regime.to(self.linear_basis.weight.dtype)
mod = self.linear_basis(c_f) + self.resid_scale * self.nl_out(torch.tanh(self.nl_in(c_f)))
if self.max_mod is not None:
mod = self.max_mod * torch.tanh(mod / self.max_mod)
return mod.chunk(self.num_mod_chunks, dim=-1)The backbone
Each of the six blocks combines three messages, weighted per token by a learned gate that starts at 1 for the first two and lower for the third:
- Measure-weighted slice attention. As in Transolver [4], tokens are softly assigned to 64 learned slices and the slices attend to each other. Our change is in the pooling: the assignment softmax adds the log of each token's measure (its share of wall arc length in 2D or of estimated surface area in 3D, or, for a volume point, its share of the mesh points it stands for) to the logits, so a slice is pooled by the measure it covers rather than by the number of mesh points in it, and the slice logits are refined once by the token's distance, direction and normal alignment relative to each slice's measure-weighted centroid.
- Local attention on a lifted metric. Each token attends to 8 nearest and 6 dilated neighbours (ranks 9 to 23) found in a lifted coordinate space that adds to the position a Glauert square-root chord coordinate, the wall normal and, in 2D, a viscous wall-distance coordinate, with edge features of relative position and normal alignment.
- Cross-attention to boundary panels. The wall is partitioned into 128 panels of equal share of a blend of measure and point count, and every token attends to the panel summaries, with an attention bias computed from analytic kernel features of the token-to-panel offset: in 2D the logarithmic source potential, doublet- and vortex-like terms and a wake term; in 3D a distance stretched by the Prandtl-Glauert factor and a horseshoe-wake downwash term. This gives every point in the domain a direct, physically shaped channel to the boundary.
Two further couplings are added to the mix. Wall points on the upper and lower surfaces are paired with their nearest partner on the opposite sheet, and the pair's difference and sum enter through a zero-initialised projection, so that the pressure jump across the lifting surface, which carries the lift, is represented explicitly. In 2D every volume token also receives the state of its nearest wall point (its footpoint), again through a zero-initialised projection.
local_msg = self.local_attn(h_norm, h_norm, knn_idx, edge_feat)
rg = 2.0 * torch.sigmoid(self.route_gate(h_norm))
mix = rg[:, 0:1] * global_msg + rg[:, 1:2] * local_msg + rg[:, 2:3] * panel_msg
if conj_meta is not None:
h_conj = h_norm.index_select(0, conj_meta["conj_idx"])
conj_in = torch.cat([
h_norm - h_conj,
h_norm + h_conj,
conj_meta["conj_feat"].to(h_norm.dtype),
], dim=-1)
mix = mix + conj_meta["conj_gate"].to(h_norm.dtype).unsqueeze(-1) * self.conj_proj(conj_in)
if self.foot_proj is not None and foot_idx is not None and bl_gates is not None:
if cached_global is not None and cached_global.get("h_surf") is not None:
h_foot = cached_global["h_surf"].index_select(0, foot_idx)
else:
h_foot = h_norm.index_select(0, foot_idx)
if n_surf is not None:
new_cache["h_surf"] = h_norm[:n_surf]
foot_in = torch.cat([h_norm - h_foot, h_foot, bl_gates.to(h_norm.dtype)], dim=-1)
mix = mix + self.foot_proj(foot_in)
h = h + (1.0 + gate1) * mix
h_norm2 = self.ln2(h) * (1.0 + scale2) + shift2
h = h + (1.0 + gate2) * self.ffn(h_norm2)All query/key projections are RMS-normalised per head and the attention temperatures are clamped, which bounds the logits when the inputs move outside their training range.
Outputs written through physical laws
The output layer predicts dimensionless corrections and assembles physical fields from them. In 2D the velocity is built in a wall-attached frame. With the wall distance, a viscous length with learned , and ,
where , are the freestream and cross-stream directions and , their projections onto the local wall tangent. The velocity therefore vanishes exactly at the wall, the near-wall layer thins with Reynolds number as a wall law says it should, and far from the wall the prediction is a correction to the freestream. Pressure is , and eddy viscosity is a positive function of a logit times and a wake factor that grows with the predicted drag.
delta_0 = torch.clamp(torch.exp(self.log_delta_v.float()), min=2.0e-5, max=8.0e-4)
delta_v = delta_0 * torch.pow(re_tilde, -0.85)
psi_1 = 1.0 - torch.exp(-d_wall / delta_v)
psi_2 = psi_1 * psi_1
near_damp = torch.exp(-d_wall / 0.02)
u_shear_vec = (psi_1 * near_damp).unsqueeze(-1) * (
(0.8 + u_tau1).unsqueeze(-1) * meta["d1"]
+ u_tau2.unsqueeze(-1) * meta["d2"]
)
u_outer_vec = psi_2.unsqueeze(-1) * (
(1.0 + du_par).unsqueeze(-1) * meta["e_par"].unsqueeze(0)
+ du_perp.unsqueeze(-1) * meta["e_perp"].unsqueeze(0)
)
u_phys = u_inf * (u_shear_vec + u_outer_vec)In 3D the surface pressure coefficient is written as a swept Prandtl-Glauert law, with the Mach number normal to the local sweep,
and above Mach 0.80 the suction in excess of the sonic value is attenuated on the forward part of the chord by a learned power of the ratio , an Oswatitsch-style freezing of the local Mach number. A shock term gated by the Korn criticality and a small viscous term are added, and the result passes through a smooth box between a lower bound at 0.88 of the vacuum value, , and the stagnation value plus 0.12. Below Mach 0.80 the clamped sonic-pressure ratio equals 1 and the Oswatitsch term vanishes exactly, so apart from the shock term and the smooth bound the pressure stays linear in the network's output , and the law adds no curvature in incidence where thin-airfoil theory says lift is linear. Skin friction is a learned scale times a combination of the three surface-tangent projections of the freestream, cross-stream and spanwise directions.
mach = meta["mach"]
m2 = mach * mach
cos_sw = torch.clamp(meta.get("cos_sweep", torch.ones_like(q_0)).float(), min=0.55, max=1.0)
mn2 = m2 * (cos_sw * cos_sw)
beta_sw = torch.sqrt(torch.clamp(1.0 - mn2, min=0.0) + 0.09)
cp_sg = q_0 / beta_sw
cp_star_sw = (2.0 / (1.4 * m2)) * (torch.pow((2.0 + 0.4 * mn2) / 2.4, 3.5) - 1.0)
m_ref_sq = 0.64 # 0.80^2
mn2_ref = m_ref_sq * (cos_sw * cos_sw)
cp_star_ref = (2.0 / (1.4 * m_ref_sq)) * (torch.pow((2.0 + 0.4 * mn2_ref) / 2.4, 3.5) - 1.0)
w_osw = torch.sigmoid(35.0 * (mach - 0.80))
gamma_osw = 0.60 * torch.sigmoid(self.oswatitsch_logit.float())
ratio_star = torch.clamp(torch.abs(cp_star_sw) / (torch.abs(cp_star_ref) + 1.0e-6), min=0.10, max=1.0)
g_osw = (1.0 - w_osw) + w_osw * torch.pow(ratio_star, gamma_osw)
sup_excess = F.softplus(12.0 * (cp_star_sw - cp_sg)) / 12.0
xc_surf = meta.get("xc", torch.zeros_like(q_0)).float()
fore_osw = torch.sigmoid((0.42 - xc_surf) / 0.07)
chi_tr = 0.5 * (
meta.get("chi_korn_iso", meta.get("chi_korn_swept", mach - 0.78))
+ meta.get("chi_korn_loc", mach - 0.78)
)
tau_tr = F.softplus(15.0 * chi_tr) / 15.0
cp_lin = (cp_sg + fore_osw * (1.0 - g_osw) * sup_excess) + tau_tr * q_shock + 0.25 * dcp_visc
cp_lo = -0.88 * (2.0 / (1.4 * m2))
cp_stag = meta.get(
"cp_stag",
(2.0 / (1.4 * m2)) * (torch.pow(1.0 + 0.2 * m2, 3.5) - 1.0),
)
cp_hi = cp_stag + 0.12
cp_mid = cp_lo + 0.10 * F.softplus(10.0 * (cp_lin - cp_lo))
cp_phys = cp_hi - 0.10 * F.softplus(10.0 * (cp_hi - cp_mid))The 3D input coordinates are also adapted to the shock. On the wing, the chordwise coordinate is remapped, with the leading edge fixed, by an amount that grows with the Korn criticality and one learned gain, so that a shock that moves aft with Mach number sits at a similar remapped coordinate across the range; a learned monotone chord warp, conditioned on the regime, is applied on top.
Drag reconciliation on the 2D wall
In 2D, a separate head reads a detached summary of the wall representation (measure-weighted means over the whole wall, the leading edge and the trailing edge) together with the regime vector, and predicts a drag polar: a viscous drag , a form drag scaled by Hoerner's thickness factor , and a blending weight . Its pressure-drag target is , a mix of the pressure drag integrated from the backbone's own wall pressure (kept above a floor) and the polar's form-drag estimate.
The wall pressure is then corrected to meet that target exactly. With and the quadrature vectors that integrate into pressure drag and lift, we remove from its mean and its component along the centred , call the result , and add
Because is orthogonal to a constant and to the lift quadrature vector, this correction has zero mean, leaves the integrated lift unchanged, and sets the pressure drag integrated with our wall quadrature to . It is spread a short distance into the volume with a Gaussian in wall distance. The correction is computed from detached quantities, and the field losses are applied to the uncorrected pressure, so the drag head cannot distort the backbone's fields; the corrected wall pressure is supervised only through the polar's own loss.
q_d = -(w_seg_f * meta["e_par"].float().unsqueeze(0)).sum(dim=-1)
q_l = -(w_seg_f * meta["e_perp"].float().unsqueeze(0)).sum(dim=-1)
a_d = float(nb) * q_d
a_l = float(nb) * q_l
cdp_nf_det = (cp_b_det * q_d).sum()
cdp_nf_safe = cdp_floor + (1.0 / 500.0) * F.softplus(500.0 * (cdp_nf_det - cdp_floor))
cdp_target = (1.0 - gamma_rec) * cdp_nf_safe + gamma_rec * cdp_ff
a_l_c = a_l - a_l.mean()
u_l = a_l_c * torch.rsqrt(a_l_c.pow(2).mean() + 1.0e-12)
a_d_orth = a_d - a_d.mean() - (a_d * u_l).mean() * u_l
denom_d = a_d_orth.pow(2).mean() + 1.0e-8
delta_cp_b = (cdp_target - cdp_nf_det) * (a_d_orth / denom_d)
cp_b_proj_pol = cp_b_det + delta_cp_b
cp_hat = cp_raw.clone()
cp_hat[:nb] = cp_b_raw + delta_cp_bTraining and inference
The 2D loss combines normalised field errors, dimensionless field errors weighted toward the wake, a relative error of the wall pressure, a pressure-gradient term along the wall, an opposite-sheet pressure-jump term weighted toward the trailing edge, a wall-shear loss computed from the first near-wall velocity, and a force loss on lift, pressure drag, viscous drag and total drag, each relative to its true value with a floor. The 3D loss is analogous on the surface, with area-weighted errors and a force loss computed with area quadrature. Training uses a stratified subset of each mesh: all wall points, the first layer of volume points above the wall, and one point drawn from each small cell of a space-filling ordering, with Horvitz-Thompson weights; at inference on large meshes every cell is visited in successive passes and the wall predictions are averaged. In 2D, training alternates each simulation between its original and its mirror image (vertical coordinate, inflow angle and camber reversed), and at inference the prediction is averaged with the mirrored prediction of the mirrored input. The weights used for evaluation are an exponential moving average. The configuration sets the hidden width to 256, 64 slices, bf16 precision, a peak learning rate of 1e-3 with weight decay 1e-4, and a gradient-norm clip of 2.0 for the 2D geometry and 5.0 for the 3D one.
Results
| Method | ① | ② | ③ | ④ | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lift coefficient error ↓ | drag error ↓ | Drag rank correlation ↑ | Surface field MSE ↓ | Volume field MSE ↓ | Lift coefficient error ↓ | drag error ↓ | Drag rank correlation ↑ | Surface field MSE ↓ | Volume field MSE ↓ | Lift coefficient error ↓ | drag error ↓ | Drag rank correlation ↑ | Surface field MSE ↓ | Volume field MSE ↓ | Drag rank correlation ↑ | Lift coefficient MAE ↓ | Drag coefficient MAE ↓ | Surface Cp relative L2 ↓ | |
| Gemini 4 Carbon | 0.008 | 1.000 | 0.030 | 0.977 | 0.004 | 0.109 | 0.011 | 0.999 | 2.16e-4 | 0.004 | 0.981 | 0.031 | 21.85 | 0.157 | |||||
| PointNet | 0.052 | 1.195 | 0.295 | 0.001 | 0.005 | 0.211 | 1.610 | 0.193 | 0.037 | 0.110 | 0.121 | 2.260 | -0.025 | 0.007 | 0.016 | 0.874 | 0.034 | 59.28 | 0.318 |
| GraphSAGE | 0.038 | 0.950 | 0.738 | 7.88e-4 | 0.003 | 0.373 | 1.312 | 0.705 | 0.042 | 0.133 | 0.232 | 2.490 | 0.239 | 0.022 | 0.038 | 0.885 | 0.043 | 49.68 | 0.209 |
| Transolver | 0.029 | 0.418 | 0.786 | 8.97e-4 | 0.001 | 0.159 | 0.569 | 0.779 | 0.074 | 0.132 | 0.119 | 0.679 | 0.453 | 0.011 | 0.013 | 0.924 | 0.023 | 33.41 | 0.162 |
| Transolver++ | 0.030 | 0.469 | 0.761 | 8.48e-4 | 0.002 | 0.152 | 0.558 | 0.811 | 0.078 | 0.133 | 0.094 | 0.634 | 0.238 | 0.010 | 0.011 | 0.927 | 0.021 | 33.92 | 0.158 |
| LinearNO | 0.023 | 0.278 | 0.918 | 7.75e-4 | 0.001 | 0.140 | 1.205 | 0.672 | 0.060 | 0.151 | 0.117 | 1.855 | 0.283 | 0.009 | 0.021 | 0.946 | 0.017 | 23.43 | 0.155 |
| LRSA | 0.018 | 1.254 | 0.715 | 0.001 | 0.001 | 0.288 | 1.636 | 0.869 | 0.090 | 0.191 | 0.079 | 1.881 | 0.341 | 0.010 | 0.011 | 0.945 | 0.018 | 28.72 | 0.153 |
| GeoTransolver | 0.028 | 0.262 | 0.508 | 0.001 | 0.001 | 0.116 | 0.779 | 0.740 | 0.060 | 0.091 | 0.166 | 0.715 | 0.522 | 0.006 | 0.007 | 0.918 | 0.038 | 40.73 | 0.157 |
| Unisolver | 0.025 | 0.256 | 0.825 | 3.87e-4 | 0.001 | 0.126 | 0.539 | 0.726 | 0.049 | 0.152 | 0.071 | 0.573 | 0.439 | 0.004 | 0.012 | 0.908 | 0.017 | 41.58 | 0.157 |
| GeoMPNN | 0.034 | 0.154 | 0.785 | 0.002 | 0.002 | 0.200 | 0.500 | 0.754 | 0.053 | 0.126 | 0.096 | 0.382 | 0.701 | 0.009 | 0.011 | ||||
| Erwin | 0.028 | 2.142 | 0.689 | 0.001 | 0.003 | 0.109 | 1.610 | 0.691 | 0.031 | 0.105 | 0.099 | 1.969 | 0.493 | 0.010 | 0.017 | 0.958 | 0.026 | 30.03 | 0.161 |
| AB-UPT | 0.012 | 0.124 | 0.871 | 4.00e-5 | 3.35e-4 | 0.044 | 2.391 | 0.602 | 0.026 | 0.078 | 0.055 | 0.244 | 0.761 | 0.001 | 0.004 | 0.958 | 0.010 | 18.67 | 0.128 |
| MARIO | 0.139 | 1.310 | 0.635 | 0.001 | 0.002 | 0.342 | 0.914 | 0.730 | 0.015 | 0.089 | 0.268 | 0.967 | 0.382 | 0.005 | 0.009 | 0.784 | 0.037 | 83.18 | 0.313 |
| OB-GNN | 0.028 | 0.131 | 0.820 | 1.37e-4 | 0.004 | 0.054 | 0.161 | 0.857 | 0.011 | 0.102 | 0.038 | 0.248 | 0.721 | 0.001 | 0.011 | 0.875 | 0.074 | 77.04 | 0.436 |
- ① 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
AirfRANS-Re is the clearest result: AeroBMO is ahead of every published baseline on all four measures. Its lift error is 0.011 against 0.038 for the best baseline, OB-GNN [13]; its drag rank is 0.999 against 0.761; its surface MSE is 0.000 against 0.001 (AB-UPT [10]); and its volume MSE is 0.004 against 0.004 (AB-UPT [10]), the narrowest of the four margins.
On AirfRANS, where the table reports two measures for our run, both are the best: a lift error of 0.008 against 0.012 (AB-UPT [10]) and a drag rank of 1.000 against 0.918 (LinearNO [7]).
On AirfRANS-AoA AeroBMO is the best on three of the four measures, a lift error of 0.030 against 0.044 (AB-UPT [10]), a drag rank of 0.977 against 0.869 (LRSA [8]) and a surface MSE of 0.004 against 0.011 (OB-GNN [13]). Its volume MSE, 0.109, is not: five of the thirteen published baselines are lower, the best being AB-UPT [10] at 0.078. Our wall and force quantities on AirfRANS-AoA are thus clearly ahead while the field away from the wall is only mid-table.
On NASA-CRM, the 3D surface setting, the picture is mixed. The drag rank, 0.981, is the best in the table (the next is 0.958, Erwin [9]), and the drag MAE, 21.85, is second to AB-UPT [10] at 18.67. The pressure error, 0.157, is behind four baselines, with AB-UPT [10] best at 0.128. The lift MAE, 0.031, is our weakest result: seven of the twelve baselines with a value there are lower, and AB-UPT [10] reaches 0.010.
Across the table, the drag rank is where the method is most consistent: it is the best in every setting. We attribute this to the parts of the design that act directly on drag, the 2D drag reconciliation and the force losses in both geometries, but we did not run an ablation that separates their contributions on the evaluated settings.
How we got here
We began by reading the provided baselines and running several of them on development splits that hold out ranges of one freestream parameter (for the 2D geometry, splits we drew from the training data ourselves), so that every later version could be compared against them on extrapolation, not only in distribution. In the literature, the idea we took most directly was a measure-weighted slice transformer for boundary-driven PDEs, whose diagnosis was that standard slice attention pools tokens by count rather than by boundary measure; this is the origin of our measure-weighted slices. The rest of the design grew over about nineteen numbered versions, and the trace records the following turns.
- Rescaling the force loss. An early force loss on lift and drag had gradients of a very different size from the field losses; our diagnosis was that it contaminated the optimiser's second-moment estimates, which the field losses share. Our fourth version sharply reduced the force loss's weight relative to the field losses; the final code keeps a relative force loss, each force error divided by its true value with a floor. On a Mach-number development split for the 3D geometry, that version reached a surface MSE 12.9 times lower than the version before it in our development measurements; it changed more than the force loss, so the gain belongs to the version as a whole.
- Reflection symmetry. Our fifth version introduced mirrored training pairs and mirrored test-time averaging in 2D, which we verified to be equivariant to a maximum deviation of 4.02e-9 on a full mesh in our development checks.
- A readout shortcut that broke stall. At one stage the output layer had a shallow linear path that bypassed the backbone. Decomposing the 2D lift readout on stalling airfoils in a held-out incidence range, we found that the backbone's readouts rolled off as they should (from +0.826 to +0.437 in our development measurement) while the shortcut stayed fixed at +0.718 and produced a linear lift overshoot at high incidence. We removed it in our fourteenth version, leaving as the global linear path the surface-measure RMS readout of the current output layer, which normalises the hidden state by one wall-averaged scale per mesh.
- Keeping subsonic pressure linear. We tried replacing the subsonic pressure law with concave isentropic pressure charts. In a probe on a held-out incidence range for the 3D geometry this raised the relative lift error from 0.0487 to 0.1213 in our development measurements, which we read as the circulation being linear in at moderate Mach number. The final law is therefore exactly linear below Mach 0.80 and departs from linearity only above it.
- Transonic pressure. An audit of training simulations at matched incidence across Mach numbers, which we read as the Mach-number freeze Oswatitsch described, led to the attenuation of supercritical suction in our fifteenth version; on a high-transonic development split its relative drag error was 16.1% lower than version 14's in our development measurements. Inspecting the predictions on that split, we had also found that the models placed the shock at fixed chordwise positions, because the aft part of the chord never experienced supersonic flow in training. The characteristic chord shift that moves the rooftop aft (version 17) and the restriction of the learned chord warp to subcritical conditions (version 18) came from that diagnosis; version 18 reached a relative drag error of 0.05485 on the same split in our development measurements, against 0.07533 for version 15.
- Stall-bounded leading-edge suction. The final version scales the 2D leading-edge suction feature down by the stall indicators, which in our development measurements on a held-out incidence range gave our best 2D relative drag error, 0.06069. Shortly before, a later version had lost the 2D deep-stall stability of version 14, and we restored it.
We closed the run by retraining the code in the workspace end to end with a different seed, on one development split for each geometry, as a check that the gains were not specific to one initialisation.
Limitations
- Not uniformly ahead. On NASA-CRM seven baselines have a lower lift MAE, four a lower pressure error and one a lower drag MAE, and on AirfRANS-AoA five have a lower volume MSE. The method's advantage is concentrated in drag and in the 2D wall quantities; the fields away from the wall and the 3D lift are not where it wins.
- Many hand-set constants. The regime features, power-law exponents, Mach thresholds (0.78, 0.80), Korn offsets, stall onset at 1.35 and loss weights are fixed numbers chosen during development, on development splits of the same data. Each is physically motivated, but the set as a whole is tuned rather than derived, and we did not measure how sensitive the results are to them.
- Geometry-specific physics. The 2D path uses NACA camber and thickness formulas when the section parameters are supplied (and estimates them from the wall points otherwise), and the 3D path assumes a wing whose span lies along one coordinate axis. The model is one family across both geometries, but carrying it to a new configuration would require rewriting these parts.
- No ablation on the evaluated settings. The design decisions above rest on our development measurements, which were made on development splits and, for most versions, with one training run each. We cannot attribute the published results to individual components.
- Complexity and cost. The four submitted files add well over two thousand lines, and inference runs several passes per mesh and, in 2D, repeats all of them for the mirrored input. A simpler model with part of this machinery might reach most of the gain; we did not find out.
References
- 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.
- Jacob Helwig, Xuan Zhang, Haiyang Yu et al. (2024). A Geometry-Aware Message Passing Neural Network for Modeling Aerodynamics over Airfoils.
- 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.
- Corey Adams, Rishikesh Ranade, Ram Cherukuri et al. (2025). GeoTransolver: Learning Physics on Irregular Domains Using Multi-scale Geometry Aware Physics Attention Transformer.
- 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.
- Maksim Zhdanov, Max Welling, Jan-Willem van de Meent (2025). Erwin: A Tree-based Hierarchical Transformer for Large-scale Physical Systems. ICML.
- 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.
- Hang Zhou, Yuezhou Ma, Haixu Wu et al. (2025). Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers. ICML.
- Mouadh Yagoubi, David Danan, Milad Leyli-Abadi et al. (2025). NeurIPS 2024 ML4CFD Competition: Results and Retrospective Analysis.