[Paper Review] Physics-Informed Neural Networks for Mesh Deformation with Exact Boundary Enforcement
This paper proposes a physics-informed neural network (PINN) framework for mesh deformation that enforces Dirichlet boundary conditions exactly using a two-stage training approach: first a soft-boundary PINN learns a particular solution, then a hard-boundary PINN refines it using a distance function. The method achieves finite element method (FEM)-level accuracy in deformation tests while preserving mesh connectivity and preventing element distortion.
In this work, we have applied physics-informed neural networks (PINN) for solving mesh deformation problems. We used the collocation PINN method to capture the new positions of the vertex nodes while preserving the connectivity information. We use linear elasticity equations for mesh deformation. To prevent vertex collisions or edge overlap, the mesh movement in this work is conducted in steps with relatively small movements. For moving boundary problems, the exact position of the boundary is essential for having an accurate solution. However, PINNs are frequently unable to satisfy Dirichlet boundary conditions exactly. To overcome this issue, we have used hard boundary condition enforcement to automatically satisfy Dirichlet boundary conditions. Specifically, we first trained a PINN with soft boundary conditions to obtain a particular solution. Then, this solution was tuned with exact boundary positions and a proper distance function by using a new PINN considering only the equation residual. To assess the accuracy of our approach, we used the classical translation and rotation tests and compared them with a proper mesh quality metric considering the change in the element area and shape. The results show the accuracy of this approach is comparable with that of finite element solutions. We also solved different moving boundary problems, resembling commonly used fluid-structure interaction problems. This work provides insight into using PINN for mesh-deformation problems without needing a discretization scheme with reasonable accuracy.
Motivation & Objective
- To develop a PINN-based approach for mesh deformation that maintains mesh connectivity and avoids remeshing.
- To address the common PINN limitation of inexact Dirichlet boundary condition enforcement in moving boundary problems.
- To ensure high mesh quality during dynamic deformations by enforcing exact boundary positions and limiting step size.
- To validate the method against classical finite element solutions using standard mesh quality metrics.
- To demonstrate applicability to complex, real-world fluid-structure interaction problems with moving boundaries.
Proposed method
- Uses the collocation PINN method to solve the linear elasticity PDE governing mesh deformation, predicting new vertex positions.
- Applies a two-stage training strategy: first train a PINN with soft boundary conditions to obtain an initial solution.
- Second, train a new PINN that enforces exact Dirichlet boundary conditions using the true boundary positions and a distance function.
- Implements incremental deformation steps with small movements to prevent vertex collisions and edge overlaps.
- Employs mesh quality metrics—maximum area and shape change (|f_A|∞ and |f_AR|∞)—to quantitatively assess solution fidelity.
- Uses a distance function to guide the residual loss minimization in the hard-boundary PINN, ensuring exact satisfaction of boundary constraints.

Experimental results
Research questions
- RQ1Can PINNs with exact boundary enforcement achieve accuracy comparable to finite element methods in mesh deformation problems?
- RQ2How does incremental deformation in small steps affect mesh quality and prevent element distortion?
- RQ3To what extent does hard boundary enforcement improve solution accuracy compared to soft enforcement in PINNs?
- RQ4How well does the proposed method handle complex moving boundary problems such as flexible beam deformation?
- RQ5Can the PINN framework be extended to other PDE-based mesh deformation models like Laplacian or biharmonic equations?
Key findings
- The PINN approach with exact boundary enforcement achieves mesh quality metrics comparable to finite element solutions in translation and rotation tests.
- For the translation test, |f_A|∞ reached 1.998 and |f_AR|∞ reached 2.258 at Δy = 0.5, indicating moderate area and shape distortion.
- In the rotation test, |f_A|∞ peaked at 1.324 and |f_AR|∞ at 2.573 at Δθ = 0.25π, showing higher distortion under rotational motion.
- The flexible beam test demonstrated that elements near the moving tip and outer boundaries experienced the highest area and shape changes due to stretching and squeezing.
- After one full cycle of motion (8 steps), the mesh did not fully recover, indicating irreversible distortion in highly deformed regions.
- The method successfully prevented vertex collisions and edge overlaps by using small incremental deformations and exact boundary enforcement.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.