arXiv:2610.32299physics.comp-phOct 2026

Manuscript Offprint

arXiv:2610.32299

CoPiT: A conditional Position-induced Transformer for aerodynamic field prediction on unstructured meshes

Junfeng Chen, Yongchen Fan, Zhonghua Qiao, Kailiang Wu

Abstract

High-fidelity Reynolds-averaged Navier–Stokes (RANS) simulations remain a standard tool for aerodynamic analysis, yet each solve on an unstructured mesh is computationally expensive, making many-query tasks such as design exploration, optimization, and multi-condition evaluation costly. Neural operators provide mesh-flexible surrogates for mapping geometry and operating conditions to flow fields; however, in many existing architectures, global parameters such as the freestream state and design variables are concatenated with pointwise inputs, leaving their influence on intermediate features implicit. This paper proposes CoPiT, a Conditional Position-induced Transformer that builds on the Position-induced Transformer (PiT) as its geometric backbone and injects a global condition vector through multi-stage feature-wise linear modulation (FiLM), thereby making parametric modulation explicit while preserving geometry-based attention weights. The model is evaluated on two-dimensional AirfRANS airfoil fields, including scarce-data and extrapolation regimes, and on three-dimensional BlendedNet++ blended-wing-body surfaces. On the AirfRANS full-data test set, CoPiT reduces surface and volume losses by approximately 54% and 24% relative to Transolver, respectively, and achieves the lowest overall normalized test MSE among the compared baselines on BlendedNet++. Matched ablations show that FiLM conditioning generally improves upon input concatenation, while the preferred placement is task-dependent. CoPiT thus provides a practical operator-learning surrogate for parametric aerodynamics on unstructured meshes.

Keywords: Neural operator, Aerodynamic surrogate, Transformer, Feature-wise linear modulation

1. Introduction

Parametric partial differential equations (PDEs) are central to fluid mechanics and aerospace applications [1, 2]. In particular, high-fidelity Reynolds-averaged Navier–Stokes (RANS) simulations yield velocity, pressure and wall-shear fields that are indispensable for aerodynamic analysis, yet each solve is computationally expensive. Many-query tasks—design exploration, optimization and multi-condition evaluation—therefore motivate surrogate models that approximate the map from geometry and freestream or design parameters to aerodynamic fields at a fraction of the CFD cost [3, 4]. Figure 1 illustrates this surrogate-assisted workflow.

Neural operators learn mappings between function spaces and, once trained, evaluate new inputs by a single forward pass [5, 6, 7]. Fourier Neural Operators (FNO) [5] and DeepONet [6] are representative neural-operator architectures, while Geo-FNO and GINO extend operator learning to

∗^{*}Corresponding authors

Email addresses: majfchen@ust.hk (Junfeng Chen), 23040781r@connect.polyu.hk (Yongchen Fan)

Figure

Same architecture; trained separately for the two datasets.

Figure 1. Schematic of a surrogate-assisted aerodynamic design workflow. Offline CFD generates training data; a learned operator then provides approximate evaluations during design exploration.

more general geometries [8, 9]. Graph networks and transformer-based solvers further address unstructured meshes [10, 11, 12, 13]. These developments make operator learning a natural framework for aerodynamic field prediction, where the surrogate must remain accurate across varying meshes and parametric regimes.

Aerodynamic field prediction on irregular geometries presents two coupled challenges. First, the discrete domain is geometry-dependent (unstructured meshes or surface triangulations) rather than a fixed Cartesian grid. Second, the solution depends jointly on local geometry and global parameters such as freestream speed, angle of attack and design variables [14, 15, 16, 17]. These two dependencies motivate distinct architectural roles for geometry-based spatial aggregation and condition-dependent feature modulation. Geometry-aware architectures (MeshGraphNets [10], Transolver [11], PiT [13]) capture spatial interactions effectively, but when global parameters such as the freestream state and design variables are supplied only through input concatenation, their influence on intermediate representations remains implicit. Such one-shot fusion does not explicitly distinguish geometry-driven aggregation from parametric response modulation. Whether explicit conditioning at intermediate stages improves field and integrated-load prediction, and how its placement affects different metrics, therefore remain empirical questions.

Feature-wise Linear Modulation (FiLM) offers a lightweight alternative: a small network maps a parameter vector to channel-wise scale and shift coefficients that modulate intermediate features [18, 19]. This provides a means of explicitly conditioning intermediate representations at multiple stages, rather than relying solely on input-level parameter injection.

We propose CoPiT, a Conditional Position-induced Transformer for aerodynamic field prediction. CoPiT retains PiT's latent-mesh encode–process–decode architecture, in which position-induced attention weights are determined by pairwise spatial distances rather than feature values [13]. It introduces multi-stage FiLM conditioning after instance normalization in every processor block and in the decoder, allowing global conditions to modulate intermediate features without altering the geometry-based attention weights. We evaluate CoPiT on AirfRANS [16] (two-dimensional

RANS airfoil fields; full-data, scarce-data, and extrapolation settings) and BlendedNet++ [17] (three-dimensional blended-wing-body surface fields). Dataset-specific encoder inputs and conditioning configurations are detailed in Section 5. We further analyze the properties of this conditioning mechanism, including its effect on position-attention and the dependence of predictions on global conditions.

The contributions of this work are as follows:

• Architecture. We propose CoPiT, which combines PiT’s geometry-based position-attention with multi-stage FiLM conditioning in the processor and decoder, enabling explicit modulation of intermediate features by global parameters.

• Analysis. We show that pointwise FiLM does not modify position-attention weights and preserves convergence of an already convergent attention output under bounded modulation. Under FiLM-only conditioning, the encoder features and all attention weights are independent of the condition for fixed geometric inputs, and the prediction is Lipschitz continuous in the condition, with an explicit bound depending on the FiLM generators and backbone components; see Propositions 2 and 3.

• Evaluation. We evaluate CoPiT on two-dimensional AirfRANS and three-dimensional BlendedNet++, including scarce-data and extrapolation settings on AirfRANS. On the AirfRANS full-data test set, CoPiT reduces surface and volume losses by approximately 54% and 24%, respectively, relative to Transolver; on BlendedNet++, it achieves the lowest overall normalized test MSE among the reimplemented baselines. Matched conditioning ablations show that FiLM generally outperforms input concatenation, while the preferred FiLM placement depends on the evaluation metric.

The remainder of the paper is organized as follows. Section 2 reviews related work. Section 3 states the learning problem and reviews position-induced attention. Section 4 introduces CoPiT. Section 5 reports numerical experiments. Section 6 concludes.

References (20)