SearcharxivSearch

arXiv subjects

Haixin Chen

Publications and source records attributed to Haixin Chen.

At least 19 recordsLinked to original sources

Reliable and efficient steady CFD from surrogate predictions through Newton-Krylov correction

Neural surrogates offer a promising route to accelerating computationally expensive simulations governed by partial differential equations across science and industry. Their practical deployment, however, is limited by unreliable predictions under out-of-distribution (OOD) conditions. We develop a solver-coupled surrogate-Newton framework that uses surrogate predictions as high-quality initial guesses for Newton-Krylov iterations, thereby combining rapid global flow-field prediction with high-accuracy numerical convergence at the terminal stage. On an OOD benchmark comprising geometries sampled from actual transonic airfoil optimization trajectories, the framework lowers the median residual L_2 ratio by over seven orders of magnitude while substantially reducing field and aerodynamic errors. In practical supercritical airfoil optimization, it improves online prediction reliability while achieving a 15.5-fold generation-level speedup over CFD. We further test the framework's extension to three dimensions using a flying-wing dataset. Together, these studies demonstrate the potential of surrogate-Newton coupling to deliver accurate, efficient and scalable steady CFD across industrial workflows.

physics.flu-dyn

Uncertainty-Aware Data-Based Method for Fast and Reliable Shape Optimization

Data-based optimization (DBO) offers a promising approach for efficiently optimizing shape for better aerodynamic performance by leveraging a pretrained surrogate model for offline evaluations during iterations. However, DBO heavily relies on the quality of the training database. Samples outside the training distribution encountered during optimization can lead to significant prediction errors, potentially misleading the optimization process. Therefore, incorporating uncertainty quantification into optimization is critical for detecting outliers and enhancing robustness. This study proposes an uncertainty-aware data-based optimization (UA-DBO) framework to monitor and minimize surrogate model uncertainty during DBO. A probabilistic encoder-decoder surrogate model is developed to predict uncertainties associated with its outputs, and these uncertainties are integrated into a model-confidence-aware objective function to penalize samples with large prediction errors during data-based optimization process. The UA-DBO framework is evaluated on two multipoint optimization problems aimed at improving airfoil drag divergence and buffet performance. Results demonstrate that UA-DBO consistently reduces prediction errors in optimized samples and achieves superior performance gains compared to original DBO. Moreover, compared to multipoint optimization based on full computational simulations, UA-DBO offers comparable optimization effectiveness while significantly accelerating optimization speed.

cs.LG

SuperWing: a comprehensive transonic wing dataset for data-driven aerodynamic design

Machine-learning surrogate models have shown promise in accelerating aerodynamic design, yet progress toward generalizable predictors for three-dimensional wings has been limited by the scarcity and restricted diversity of existing datasets. Here, we present SuperWing, a comprehensive open dataset of transonic swept-wing aerodynamics comprising 4,239 parameterized wing geometries and 28,856 Reynolds-averaged Navier-Stokes flow field solutions. The wing shapes in the dataset are generated using a simplified yet expressive geometry parameterization that incorporates spanwise variations in airfoil shape, twist, and dihedral, allowing for an enhanced diversity without relying on perturbations of a baseline wing. All shapes are simulated under a broad range of Mach numbers and angles of attack covering the typical flight envelope. To demonstrate the dataset's utility, we benchmark two state-of-the-art Transformers that accurately predict surface flow and achieve a 2.5 drag-count error on held-out samples. Models pretrained on SuperWing further exhibit strong zero-shot generalization to complex benchmark wings such as DLR-F6 and NASA CRM, underscoring the dataset's diversity and potential for practical usage.

cs.LG

QiMeng-Attention: SOTA Attention Operator is generated by SOTA Attention Algorithm

The attention operator remains a critical performance bottleneck in large language models (LLMs), particularly for long-context scenarios. While FlashAttention is the most widely used and effective GPU-aware acceleration algorithm, it must require time-consuming and hardware-specific manual implementation, limiting adaptability across GPU architectures. Existing LLMs have shown a lot of promise in code generation tasks, but struggle to generate high-performance attention code. The key challenge is it cannot comprehend the complex data flow and computation process of the attention operator and utilize low-level primitive to exploit GPU performance. To address the above challenge, we propose an LLM-friendly Thinking Language (LLM-TL) to help LLMs decouple the generation of high-level optimization logic and low-level implementation on GPU, and enhance LLMs' understanding of attention operator. Along with a 2-stage reasoning workflow, TL-Code generation and translation, the LLMs can automatically generate FlashAttention implementation on diverse GPUs, establishing a self-optimizing paradigm for generating high-performance attention operators in attention-centric algorithms. Verified on A100, RTX8000, and T4 GPUs, the performance of our methods significantly outshines that of vanilla LLMs, achieving a speed-up of up to 35.16x. Besides, our method not only surpasses human-optimized libraries (cuDNN and official library) in most scenarios but also extends support to unsupported hardware and data types, reducing development time from months to minutes compared with human experts.

cs.LG

QiMeng-TensorOp: Automatically Generating High-Performance Tensor Operators with Hardware Primitives

Computation-intensive tensor operators constitute over 90\% of the computations in Large Language Models (LLMs) and Deep Neural Networks.Automatically and efficiently generating high-performance tensor operators with hardware primitives is crucial for diverse and ever-evolving hardware architectures like RISC-V, ARM, and GPUs, as manually optimized implementation takes at least months and lacks portability.LLMs excel at generating high-level language codes, but they struggle to fully comprehend hardware characteristics and produce high-performance tensor operators. We introduce a tensor-operator auto-generation framework with a one-line user prompt (QiMeng-TensorOp), which enables LLMs to automatically exploit hardware characteristics to generate tensor operators with hardware primitives, and tune parameters for optimal performance across diverse hardware. Experimental results on various hardware platforms, SOTA LLMs, and typical tensor operators demonstrate that QiMeng-TensorOp effectively unleashes the computing capability of various hardware platforms, and automatically generates tensor operators of superior performance. Compared with vanilla LLMs, QiMeng-TensorOp achieves up to $1291 \times$ performance improvement. Even compared with human experts, QiMeng-TensorOp could reach $251 \%$ of OpenBLAS on RISC-V CPUs, and $124 \%$ of cuBLAS on NVIDIA GPUs. Additionally, QiMeng-TensorOp also significantly reduces development costs by $200 \times$ compared with human experts.

cs.LG

Machine-learning-based multipoint optimization of fluidic injection parameters for improving nozzle performance

Fluidic injection offers a promising solution to improve the performance of the overexpanded single expansion ramp nozzles (SERNs) during vehicle acceleration. However, determining the injection parameters that yield the best overall performance across multiple nozzle operating conditions remains a challenge. The gradient-based optimization method requires gradients of injection parameters at each design point, which can lead to high computational costs when using computational fluid dynamics (CFD) simulations. This paper uses a pretrained neural network to replace CFD during optimization, enabling quick calculation of the nozzle flow field at multiple design points. Considering the physical characteristics of the nozzle flow field, a prior-based prediction strategy is adopted to enhance the model's accuracy. In addition, the neural network's back-propagation algorithm computes gradients quickly by running the computation only once, thereby greatly reducing gradient computation time compared to the finite difference method. As a test case, the average nozzle thrust coefficient of an SERN at seven design points is optimized, resulting in a 1.14\% improvement. The time cost is greatly reduced compared with traditional optimization methods, even when the time required to establish the training database is included.

physics.flu-dyn

Rapid aerodynamic prediction of swept wings via physics-embedded transfer learning

Machine learning-based models provide a promising way to rapidly acquire transonic swept wing flow fields but suffer from large computational costs in establishing training datasets. Here, we propose a physics-embedded transfer learning framework to efficiently train the model by leveraging the idea that a three-dimensional flow field around wings can be analyzed with two-dimensional flow fields around cross-sectional airfoils. An airfoil aerodynamics prediction model is pretrained with airfoil samples. Then, an airfoil-to-wing transfer model is fine-tuned with a few wing samples to predict three-dimensional flow fields based on two-dimensional results on each spanwise cross section. Sweep theory is embedded when determining the corresponding airfoil geometry and operating conditions, and to obtain the sectional airfoil lift coefficient, which is one of the operating conditions, the low-fidelity vortex lattice method and data-driven methods are proposed and evaluated. Compared to a nontransfer model, introducing the pretrained model reduces the error by 30%, while introducing sweep theory further reduces the error by 9%. When reducing the dataset size, less than half of the wing training samples are need to reach the same error level as the nontransfer framework, which makes establishing the model much easier.

physics.flu-dyn

Mesh-Agnostic Decoders for Supercritical Airfoil Prediction and Inverse Design

Mesh-agnostic models have advantages in terms of processing unstructured spatial data and incorporating partial differential equations. Recently, they have been widely studied for constructing physics-informed neural networks, but they need to be trained on a case-by-case basis and require large training times. On the other hand, fast prediction and design tools are desired for aerodynamic shape designs, and data-driven mesh-based models have achieved great performance. Therefore, this paper proposes a data-driven mesh-agnostic decoder that combines the fast prediction ability of data-driven models and the flexibility of mesh-agnostic models. The model is denoted by an implicit decoder, which consists of two subnetworks, i.e., ShapeNet and HyperNet. ShapeNet is based on implicit neural representation, and HyperNet is a simple neural network. The implicit decoder is trained for the fast prediction of supercritical airfoils. Different activation functions are compared, and a spatial constraint is proposed to improve the interpretability and generalization ability of the model. Then, the implicit decoder is used together with a mesh-based encoder to build a generative model, which is used for the inverse design of supercritical airfoils with specified physical features.

physics.flu-dyn

Fast buffet onset prediction and optimization method based on a pre-trained flowfield prediction model

The transonic buffet is a detrimental phenomenon occurs on supercritical airfoils and limits aircraft's operating envelope. Traditional methods for predicting buffet onset rely on multiple computational fluid dynamics simulations to assess a series of airfoil flowfields and then apply criteria to them, which is slow and hinders optimization efforts. This article introduces an innovative approach for rapid buffet onset prediction. A machine-learning flowfield prediction model is pre-trained on a large database and then deployed offline to replace simulations in the buffet prediction process for new airfoil designs. Unlike using a model to directly predict buffet onset, the proposed technique offers better visualization capabilities by providing users with intuitive flowfield outputs. It also demonstrates superior generalization ability, evidenced by a 32.5% reduction in average buffet onset prediction error on the testing dataset. The method is utilized to optimize the buffet performance of 11 distinct airfoils within and outside the training dataset. The optimization results are verified with simulations and proved to yield improved samples across all cases. It is affirmed the pre-trained flowfield prediction model can be applied to accelerate aerodynamic shape optimization, while further work still needs to raise its reliability for this safety-critical task.

physics.flu-dyn

An iterative data-driven turbulence modeling framework based on Reynolds stress representation

Data-driven turbulence modeling studies have reached such a stage that the fundamental framework is basically settled, but several essential issues remain that strongly affect the performance, including accuracy, smoothness, and generalization capacity. Two problems are studied in the current research: (1) the processing of the Reynolds stress tensor and (2) the coupling method between the machine learning turbulence model and flow solver. The first determines the form of predicting targets and the resulting physical completeness and interpretability. The second determines the training process and intrinsic relevance between the mean flow features and Reynolds stress. For the Reynolds stress processing issue, we perform the theoretical derivation to extend the relevant tensor arguments of Reynolds stress in addition to the strain rate and rotation rate. Then, the tensor representation theorem is employed to give the complete irreducible invariants and integrity basis. In addition, an adaptive regularization term is employed to enhance the representation performance. For the coupling issue, an iterative coupling data-driven turbulence modeling framework with consistent convergence is proposed. The training data preparation, predicting target selection, and computation platform are illustrated. The framework is then applied to a canonical separated flow for verification. The mean flow results obtained by coupling computation of the trained machine learning model and flow solver have high consistency with the direct numerical simulation true values, which proves the validity of the current approach.

physics.flu-dyn

Study of transfer learning from 2D supercritical airfoils to 3D transonic swept wings

Machine learning has been widely utilized in fluid mechanics studies and aerodynamic optimizations. However, most applications, especially flow field modeling and inverse design, involve two-dimensional flows and geometries. The dimensionality of three-dimensional problems is so high that it is too difficult and expensive to prepare sufficient samples. Therefore, transfer learning has become a promising approach to reuse well-trained two-dimensional models and greatly reduce the need for samples for three-dimensional problems. This paper proposes to reuse the baseline models trained on supercritical airfoils to predict finite-span swept supercritical wings, where the simple swept theory is embedded to improve the prediction accuracy. Two baseline models for transfer learning are investigated: one is commonly referred to as the forward problem of predicting the pressure coefficient distribution based on the geometry, and the other is the inverse problem that predicts the geometry based on the pressure coefficient distribution. Two transfer learning strategies are compared for both baseline models. The transferred models are then tested on the prediction of complete wings. The results show that transfer learning requires only approximately 500 wing samples to achieve good prediction accuracy on different wing planforms and different free stream conditions. Compared to the two baseline models, the transferred models reduce the prediction error by 60% and 80%, respectively.

physics.flu-dyn

Data augmented turbulence modeling for three-dimensional separation flows

Field inversion and machine learning are implemented in this study to describe three-dimensional separation flow around an axisymmetric hill and augment the Spart-Allmaras model. The discrete adjoint method is used to solve the field inversion problem, and an artificial neural network is used as the machine learning model. A validation process for field inversion is proposed to adjust the hyperparameters and obtain a physically acceptable solution. The field inversion result shows that the non-equilibrium turbulence effects in the boundary layer upstream of the mean separation line and in the separating shear layer dominate the flow structure in the 3-D separating flow, which agrees with prior physical knowledge. However, the effect of turbulence anisotropy on the mean flow appears to be limited. Two approaches are proposed and implemented in the machine learning stage to overcome the problem of sample imbalance while reducing the computational cost during training. The results are all satisfactory, which proves the effectiveness of the proposed approaches.

physics.flu-dyn

Flowfield prediction of airfoil off-design conditions based on a modified variational autoencoder

Airfoil aerodynamic optimization based on single-point design may lead to poor off-design behaviors. Multipoint optimization that considers the off-design flow conditions is usually applied to improve the robustness and expand the flight envelope. Many deep learning models have been utilized for the rapid prediction or reconstruction of flowfields. However, the flowfield reconstruction accuracy may be insufficient for cruise efficiency optimization, and the model generalization ability is also questionable when facing airfoils different from the airfoils with which the model has been trained. Because a computational fluid dynamic evaluation of the cruise condition is usually necessary and affordable in industrial design, a novel deep learning framework is proposed to utilize the cruise flowfield as a prior reference for the off-design condition prediction. A prior variational autoencoder is developed to extract features from the cruise flowfield and to generate new flowfields under other free stream conditions. Physical-based loss functions based on aerodynamic force and conservation of mass are derived to minimize the prediction error of the flowfield reconstruction. The results demonstrate that the proposed model can reduce the prediction error on test airfoils by 30% compared to traditional models. The physical-based loss function can further reduce the prediction error by 4%. The proposed model illustrates a better balance of the time cost and the fidelity requirements of evaluation for cruise and off-design conditions, which makes the model more feasible for industrial applications.

physics.flu-dyn

Physically Interpretable Feature Learning and Inverse Design of Supercritical Airfoils

Machine-learning models have demonstrated a great ability to learn complex patterns and make predictions. In high-dimensional nonlinear problems of fluid dynamics, data representation often greatly affects the performance and interpretability of machine learning algorithms. With the increasing application of machine learning in fluid dynamics studies, the need for physically explainable models continues to grow. This paper proposes a feature learning algorithm based on variational autoencoders, which is able to assign physical features to some latent variables of the variational autoencoder. In addition, it is theoretically proved that the remaining latent variables are independent of the physical features. The proposed algorithm is trained to include shock wave features in its latent variables for the reconstruction of supercritical pressure distributions. The reconstruction accuracy and physical interpretability are also compared with those of other variational autoencoders. Then, the proposed algorithm is used for the inverse design of supercritical airfoils, which enables the generation of airfoil geometries based on physical features rather than the complete pressure distributions. It also demonstrates the ability to manipulate certain pressure distribution features of the airfoil without changing the others.

physics.flu-dyn

Data-driven turbulence modeling in separated flows considering physical mechanism analysis

Accurate simulation of turbulent flow with separation is an important but challenging problem. In this paper, a data-driven Reynolds-averaged turbulence modeling approach, field inversion and machine learning is implemented to modify the Spalart-Allmaras model separately on three cases, namely, the S809 airfoil, a periodic hill and the GLC305 airfoil with ice shape 944. Field inversion based on a discrete adjoint method is used to quantify the model-form uncertainty with limited experimental data. An artificial neural network is trained to predict the model corrections with local flow features to extract generalized modeling knowledge. Physical knowledge of the nonequilibrium turbulence in the separating shear layer is considered when setting the prior model uncertainty. The results show that the model corrections from the field inversion demonstrate strong consistency with the underlying physical mechanism of nonequilibrium turbulence. The quantity of interest from the observation data can be reproduced with relatively high accuracy by the augmented model. In addition, the validation in similar flow conditions shows a certain extent of generalization ability.

physics.flu-dyn

Aerodynamic Prediction of High-Lift Configuration Using k-(v^2 )-ω Turbulence Model

The aerodynamic performance of the high-lift configuration greatly influences the safety and economy of commercial aircraft. Accurately predicting the aerodynamic performance of the high-lift configuration, especially the stall behavior, is important for aircraft design. However, the complex flow phenomena of high-lift configurations pose substantial difficulties to current turbulence models. In this paper, a three-equation k-(v^2)-ω turbulence model for the Reynolds-averaged Navier-Stokes equations is used to compute the stall behavior of high-lift configurations. A separated shear layer fixed function is implemented in the turbulence model to better capture the nonequilibrium characteristics of turbulence. Different high-lift configurations, including the two-dimensional multielement NLR7301 and Omar airfoils and a complex full-configuration model (JAXA Standard Model), are numerically tested. The results indicate that the effect of the nonequilibrium characteristics of turbulence is significant in the free shear layer, which is key to accurately predicting the stall behavior of high-lift devices. The modified SPF k-(v^2 )-ω model is more accurate in predicting stall behavior than the Spalart-Allmaras, shear stress transport, and original k-(v^2)-ω models for the full high-lift configuration. The relative errors in the predicted maximum lift coefficients are within 3% of the experimental data.

physics.flu-dyn

Learning the aerodynamic design of supercritical airfoils through deep reinforcement learning

The aerodynamic design of modern civil aircraft requires a true sense of intelligence since it requires a good understanding of transonic aerodynamics and sufficient experience. Reinforcement learning is an artificial general intelligence that can learn sophisticated skills by trial-and-error, rather than simply extracting features or making predictions from data. The present paper utilizes a deep reinforcement learning algorithm to learn the policy for reducing the aerodynamic drag of supercritical airfoils. The policy is designed to take actions based on features of the wall Mach number distribution so that the learned policy can be more general. The initial policy for reinforcement learning is pretrained through imitation learning, and the result is compared with randomly generated initial policies. The policy is then trained in environments based on surrogate models, of which the mean drag reduction of 200 airfoils can be effectively improved by reinforcement learning. The policy is also tested by multiple airfoils in different flow conditions using computational fluid dynamics calculations. The results show that the policy is effective in both the training condition and other similar conditions, and the policy can be applied repeatedly to achieve greater drag reduction.

cs.CE

Numerical Simulation of Iced Wing Using Separating Shear Layer Fixed Turbulence Models

Aerodynamic prediction of glaze ice accretion on airfoils and wing is studied using the Reynolds-averaged Navier-Stokes method. Two separation fixed turbulence models are developed considering the nonequilibrium characteristics of turbulence. The key ad hoc fix is a term of the local ratio of turbulent production to dissipation, which is used to amplify the destruction term of the ω-equation to increase the eddy viscosity in a separating shear layer of the fully turbulent region. A shear stress limiter is adopted to appropriately simulate the beginning process of the shear layer transition when the turbulence is under development. The proposed separation fixed terms can be easily implemented into current solvers. Two airfoils and a three-dimensional swept wing with ice accretions are numerically tested using the modified models. The results indicate that the separating shear layer fixes improve the ability of the models in predicting the stall behavior at large angles of attack. The simulated averaged flow field and turbulence intensity distribution are consistent with experimental data.

physics.flu-dyn