Y. Xiao , L.M. Yang , C. Shu , H. Dong , Y.J. Du , Y.X. Song
{"title":"基于最小二乘法有限差分的不可压缩稳定流物理信息神经网络","authors":"Y. Xiao , L.M. Yang , C. Shu , H. Dong , Y.J. Du , Y.X. Song","doi":"10.1016/j.camwa.2024.08.035","DOIUrl":null,"url":null,"abstract":"<div><p>In this work, a least-square finite difference-based physics-informed neural network (LSFD-PINN) is proposed to simulate steady incompressible flows. The original PINN employs the automatic differentiation (AD) method to compute differential operators. However, the AD method, which is essentially based on the chain rule, requires a series of matrix operations to obtain derivatives during the training process. This may reduce computational efficiency, especially for large-scale networks. Additionally, the AD method still needs to compute lower-order derivative terms even if the partial differential equation (PDE) involves only higher-order derivatives, leading to unnecessary calculations. Although conventional finite difference (FD) methods can effectively mitigate these limitations, they only consider information in a single direction. Moreover, they require introducing extra virtual collocation points for each collocation point to assist in computing differential operators when using randomly distributed collocation points. This increases the computational effort and storage requirements, especially in scenarios involving high-order discretization schemes or a large number of collocation points. To address these issues, we introduced the least squares finite difference (LSFD) method to calculate the differential operators required in PINN. Compared to the AD method, the LSFD method relies only on the network's output for calculating derivatives, thus avoiding a series of matrix operations. In comparison to the FD method, the LSFD not only considers multi-directional information but also can be applied to random point distributions without the need for introducing virtual points. To demonstrate its effectiveness, LSFD-PINN is tested on representative problems such as lid-driven cavity flow, flow around a backward-facing step, and flow around a circular cylinder in a pipe. Numerical results indicate that LSFD-PINN achieves satisfactory accuracy without any labeled data, significantly outperforming AD-PINN and FD-PINN, especially in high Reynolds number flows. Additionally, the computational efficiency of LSFD-PINN is superior to that of AD-PINN.</p></div>","PeriodicalId":55218,"journal":{"name":"Computers & Mathematics with Applications","volume":null,"pages":null},"PeriodicalIF":2.9000,"publicationDate":"2024-09-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Least-square finite difference-based physics-informed neural network for steady incompressible flows\",\"authors\":\"Y. Xiao , L.M. Yang , C. Shu , H. Dong , Y.J. Du , Y.X. Song\",\"doi\":\"10.1016/j.camwa.2024.08.035\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>In this work, a least-square finite difference-based physics-informed neural network (LSFD-PINN) is proposed to simulate steady incompressible flows. The original PINN employs the automatic differentiation (AD) method to compute differential operators. However, the AD method, which is essentially based on the chain rule, requires a series of matrix operations to obtain derivatives during the training process. This may reduce computational efficiency, especially for large-scale networks. Additionally, the AD method still needs to compute lower-order derivative terms even if the partial differential equation (PDE) involves only higher-order derivatives, leading to unnecessary calculations. Although conventional finite difference (FD) methods can effectively mitigate these limitations, they only consider information in a single direction. Moreover, they require introducing extra virtual collocation points for each collocation point to assist in computing differential operators when using randomly distributed collocation points. This increases the computational effort and storage requirements, especially in scenarios involving high-order discretization schemes or a large number of collocation points. To address these issues, we introduced the least squares finite difference (LSFD) method to calculate the differential operators required in PINN. Compared to the AD method, the LSFD method relies only on the network's output for calculating derivatives, thus avoiding a series of matrix operations. In comparison to the FD method, the LSFD not only considers multi-directional information but also can be applied to random point distributions without the need for introducing virtual points. To demonstrate its effectiveness, LSFD-PINN is tested on representative problems such as lid-driven cavity flow, flow around a backward-facing step, and flow around a circular cylinder in a pipe. Numerical results indicate that LSFD-PINN achieves satisfactory accuracy without any labeled data, significantly outperforming AD-PINN and FD-PINN, especially in high Reynolds number flows. Additionally, the computational efficiency of LSFD-PINN is superior to that of AD-PINN.</p></div>\",\"PeriodicalId\":55218,\"journal\":{\"name\":\"Computers & Mathematics with Applications\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":2.9000,\"publicationDate\":\"2024-09-11\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computers & Mathematics with Applications\",\"FirstCategoryId\":\"100\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0898122124004024\",\"RegionNum\":2,\"RegionCategory\":\"数学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"MATHEMATICS, APPLIED\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Mathematics with Applications","FirstCategoryId":"100","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0898122124004024","RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MATHEMATICS, APPLIED","Score":null,"Total":0}
Least-square finite difference-based physics-informed neural network for steady incompressible flows
In this work, a least-square finite difference-based physics-informed neural network (LSFD-PINN) is proposed to simulate steady incompressible flows. The original PINN employs the automatic differentiation (AD) method to compute differential operators. However, the AD method, which is essentially based on the chain rule, requires a series of matrix operations to obtain derivatives during the training process. This may reduce computational efficiency, especially for large-scale networks. Additionally, the AD method still needs to compute lower-order derivative terms even if the partial differential equation (PDE) involves only higher-order derivatives, leading to unnecessary calculations. Although conventional finite difference (FD) methods can effectively mitigate these limitations, they only consider information in a single direction. Moreover, they require introducing extra virtual collocation points for each collocation point to assist in computing differential operators when using randomly distributed collocation points. This increases the computational effort and storage requirements, especially in scenarios involving high-order discretization schemes or a large number of collocation points. To address these issues, we introduced the least squares finite difference (LSFD) method to calculate the differential operators required in PINN. Compared to the AD method, the LSFD method relies only on the network's output for calculating derivatives, thus avoiding a series of matrix operations. In comparison to the FD method, the LSFD not only considers multi-directional information but also can be applied to random point distributions without the need for introducing virtual points. To demonstrate its effectiveness, LSFD-PINN is tested on representative problems such as lid-driven cavity flow, flow around a backward-facing step, and flow around a circular cylinder in a pipe. Numerical results indicate that LSFD-PINN achieves satisfactory accuracy without any labeled data, significantly outperforming AD-PINN and FD-PINN, especially in high Reynolds number flows. Additionally, the computational efficiency of LSFD-PINN is superior to that of AD-PINN.
期刊介绍:
Computers & Mathematics with Applications provides a medium of exchange for those engaged in fields contributing to building successful simulations for science and engineering using Partial Differential Equations (PDEs).