Popis: |
Physics-Informed Neural Networks (PINN) has evolved into a powerful tool for solving partial differential equations, which has been applied to various fields such as energy, environment, en-gineering, etc. When utilizing PINN to solve partial differential equations, it is common to rely on Automatic Differentiation (AD) to compute the residuals of the governing equations. This can lead to certain precision losses, thus affecting the accuracy of the network prediction. This paper pro-poses a Finite Volume Physics-Informed Neural Network (FV-PINN), designed to address steady-state problems of incompressible flow. This method divides the solution domain into mul-tiple grids. Instead of calculating the residuals of the Navier-Stokes equations at collocation points within the grid, as is common in traditional PINNs, this approach evaluates them at Gaussian in-tegral points on the grid boundaries using Gauss's theorem. The loss function is constructed using the Gaussian integral method, and the differentiation order for velocity is reduced. To validate the effectiveness of this approach, we predict the velocity and pressure fields for two typical examples in fluid topology optimization. The results are compared with commercial software COMSOL, which indicates that FVI-PINN significantly improves the prediction accuracy of both the velocity and pressure fields while accelerating the training speed of the network. |