Mesh generation and deformation are critical elements in gradient-based aerodynamic shape optimization (ASO). Improperly generated or deformed meshes may contain bad-quality cells that degrade the accuracy of computational fluid dynamics (CFD) solvers. Moreover, an inefficient mesh deformation method can become the bottleneck for the entire ASO process. To perform practical ASO, mesh generation and deformation methods need to be automated, scalable, robust, and computationally efficient. This paper tackles these challenges by developing an efficient approach for generating high-quality structured meshes in a semi-automatic manner. An automatic mesh generation approach is also proposed to handle intersections of multiple structured meshes with the overset mesh approach. In addition to mesh generation, a flexible mesh deformation method is developed, along with an efficient approach for computing mesh deformation derivatives using automatic differentiation. Finally, the performance of the proposed approaches is evaluated in terms of speed, scalability, and robustness. The mesh generation approach scales up to 100 million cells and 256 CPU cores. In addition, the robust mesh deformation approach enables a large range of valid mesh deformations, which gives more freedom to explore the design space in ASO. Moreover, the mesh deformation and the computation of its derivatives require only 0.1% of the CFD runtime. The mesh generation and deformation approaches have been implemented in the pyHyp and IDWarp software packages, which are publicly available under open-source licenses. The proposed approaches are useful tools to handle general ASO problems for aircraft, turbomachinery, and ground vehicles.
Read full abstract