A solver for subsonic flow around airfoils based on physics-informed neural networks and mesh transformation

Wenbo Cao,Jiahao Song,Weiwei Zhang
DOI: https://doi.org/10.1063/5.0188665
2024-01-15
Abstract:Physics-informed neural networks (PINNs) have recently become a new popular method for solving forward and inverse problems governed by partial differential equations (PDEs). However, in the flow around airfoils, the fluid is greatly accelerated near the leading edge, resulting in a local sharper transition, which is difficult to capture by PINNs. Therefore, PINNs are still rarely used to solve the flow around airfoils. In this study, we combine physical-informed neural networks with mesh transformation, using neural network to learn the flow in the uniform computational space instead of physical space. Mesh transformation avoids the network from capturing the local sharper transition and learning flow with internal boundary (wall boundary). We successfully solve inviscid flow and provide an open-source subsonic flow solver for arbitrary airfoils. Our results show that the solver exhibits higher-order attributes, achieving nearly an order of magnitude error reduction over second-order finite volume methods (FVM) on very sparse meshes. Limited by the learning ability and optimization difficulties of neural network, the accuracy of this solver will not improve significantly with mesh refinement. Nevertheless, it achieves comparable accuracy and efficiency to second-order FVM on fine meshes. Finally, we highlight the significant advantage of the solver in solving parametric problems, as it can efficiently obtain solutions in the continuous parameter space about the angle of attack.
Fluid Dynamics
What problem does this paper attempt to address?
The paper attempts to address the issue that in the subsonic flow field around a wing, Physics-Informed Neural Networks (PINNs) struggle to capture local intense variations in the flow (especially near the leading edge of the wing), resulting in poor performance when solving such problems. The authors propose an improved PINNs method combined with grid transformation techniques (named NNfoil), which utilizes neural networks to learn the flow field in a uniform computational space rather than in the physical space. This approach avoids the network directly capturing intense variations in the physical space and can effectively handle internal boundary conditions (such as wall boundaries). In this way, the authors successfully solve incompressible flow and provide a general subsonic flow solver that has comparable accuracy and efficiency to the second-order Finite Volume Method (FVM) on fine grids, while showing significant advantages in parametric problems, being able to efficiently obtain flow solutions at multiple angles of attack within a continuous parameter space. Additionally, the paper demonstrates the high-order characteristics of NNfoil on very sparse grids, showing an error reduction advantage compared to traditional methods.