Introduction
In numerical simulations such as Computational Fluid Dynamics (CFD) and Finite Element Analysis (FEA), the quality of the mesh—the grid used to discretize physical space—is a primary determinant of accuracy and computational efficiency. Structured meshes, characterized by regular grid-like connectivity, are particularly valued for their superior numerical properties and compatibility with parallel processing hardware. However, generating high-quality structured meshes for complex, curved geometries remains a significant challenge. Traditional algebraic methods are computationally efficient but often produce "tangled" or overlapping cells in regions of high curvature. Conversely, partial differential equation (PDE)-based methods, while producing smoother meshes, are computationally expensive. This paper presents an improved mesh generation method leveraging Physics-Informed Neural Networks (PINNs) to combine the quality of PDE solvers with the speed of neural network inference.
Methodology
The proposed method treats mesh generation as a mapping problem, transforming a simple square computational domain $(\xi, \eta)$ into a complex physical domain $(x, y)$.
PINN Framework and Architecture
The core of the approach is a PINN framework where the loss function incorporates the governing elliptic PDEs (Laplace or Poisson equations). This ensures that the generated mesh adheres to physical principles of smoothness and orthogonality. To enhance the network's capacity to represent complex coordinate transformations without excessive depth, the authors employ a shortcut-based architecture.
As shown in Figure 1, the model utilizes sub-networks with residual-style shortcut connections and point-wise multiplication. This lightweight design (typically 4 layers with 30 neurons each) ensures high efficiency, making it suitable for standard CPU environments.
Auxiliary Line Strategy
A significant innovation introduced in this work is the "auxiliary line strategy." Purely unsupervised PINNs often struggle with convergence or get trapped in poor local minima when dealing with complex geometries. To mitigate this, the authors manually define auxiliary lines within the physical domain—such as lines parallel to boundaries.
By sampling points along these lines and providing them as "ground truth" data, a supervised $L_{data}$ term is added to the loss function. Figure 2 illustrates how these lines act as "guide rails" during training, preventing mesh collapse or overlap in challenging regions. The optimization process follows a two-stage approach: initial training with the Adam optimizer followed by fine-tuning using L-BFGS-B for high-precision convergence.
Results and Discussion
The proposed method was evaluated against traditional Transfinite Interpolation (TFI), standard PDE solvers, and the previous state-of-the-art neural generator, MGNet.
Key findings include:
- Mesh Quality: The method successfully eliminated cell overlap and "sliver cells" common in previous unsupervised neural approaches.
- Orthogonality: In a standard "bump" geometry test, the proposed method achieved a Maximum Included Angle of 161.4°, a marked improvement over MGNet's 174°.
- Convergence Stability: The composite loss reached $1.74 \times 10^{-2}$, demonstrating more stable convergence, particularly at the boundaries, compared to existing benchmarks.
Qualitatively, the resulting meshes are indistinguishable from those produced by expensive traditional PDE solvers but are generated significantly faster via a feedforward pass once the network is trained.
Conclusion
This research demonstrates that integrating a priori geometric knowledge through an auxiliary line strategy significantly enhances the robustness and quality of PINN-based mesh generation. While currently limited to 2D geometries and requiring some manual intervention for line placement, the method offers a promising path toward efficient, high-quality automated meshing. Future work will focus on extending the framework to 3D domains and automating the auxiliary line selection process.
Summary updated