Technical Papers
Feb 5, 2024

Randomized Neural Networks with Petrov–Galerkin Methods for Solving Linear Elasticity and Navier–Stokes Equations

Publication: Journal of Engineering Mechanics
Volume 150, Issue 4

Abstract

We develop randomized neural networks (RNNs) with Petrov–Galerkin (RNN-PG) methods to solve linear elasticity and Navier–Stokes equations. RNN-PGs use the Petrov–Galerkin variational framework, where the solution is approximated by randomized neural networks and the test functions are piecewise polynomials. Unlike conventional neural networks, the parameters of the hidden layers of randomized neural networks are fixed randomly while the parameters of the output layer are determined by the least-squares method, which can effectively approximate the solution. We also develop mixed RNN-PG (M-RNN-PG) methods for linear elasticity problems to ensure symmetry of the stress tensor and avoid locking effects. For the Stokes problem, we present various M-RNN-PG methods that enforce the divergence-free constraint by different techniques. For the Navier–Stokes equations, we propose a space-time M-RNN-PG that uses Picard or Newton iteration to deal with the nonlinear term. Using several examples, we compare RNN-PG methods with the finite-element method, the mixed discontinuous Galerkin method, and the physics-informed neural network. The numerical results demonstrate that RNN-PG methods achieve higher accuracy and efficiency.

Get full access to this article

View all available purchase options and get full access to this article.

Data Availability Statement

All data, models, or code that support the findings of this study are available from the corresponding author upon reasonable request.

Acknowledgments

We thank the anonymous referees for their valuable comments and suggestions. This work was partially supported by the National Natural Science Foundation of China (Grant No. 12171383).

References

Arnold, D., G. Awanou, and R. Winther. 2008. “Finite elements for symmetric tensors in three dimensions.” Math. Comput. 77 (263): 1229–1251. https://doi.org/10.1090/S0025-5718-08-02071-1.
Arnold, D., R. Falk, and R. Winther. 2007. “Mixed finite element methods for linear elasticity with weakly imposed symmetry.” Math. Comput. 76 (260): 1699–1724. https://doi.org/10.1090/S0025-5718-07-01998-9.
Arnold, D. N., and R. Winther. 2002. “Mixed finite elements for elasticity.” Numer. Math. 92 (Sep): 401–419. https://doi.org/10.1007/s002110100348.
Babuška, I., and M. Suri. 1992. “On locking and robustness in the finite element method.” SIAM J. Numer. Anal. 29 (5): 1261–1293. https://doi.org/10.1137/0729075.
Cai, S., Z. Wang, S. Wang, P. Perdikaris, and G. E. Karniadakis. 2021. “Physics-informed neural networks for heat transfer problems.” J. Heat Transfer 143 (6): 060801. https://doi.org/10.1115/1.4050542.
Carrero, J., B. Cockburn, and D. Schötzau. 2006. “Hybridized globally divergence-free LDG methods. Part I: The Stokes problem.” Math. Comput. 75 (254): 533–563. https://doi.org/10.1090/S0025-5718-05-01804-1.
Chen, J., X. Chi, E. Weinan, and Z. Yang. 2022. “Bridging traditional and machine learning-based algorithms for solving PDEs: The random feature method.” Preprint, submitted July 27, 2022. https://arxiv.org/abs/2207.13380.
Cheng, C., and G.-T. Zhang. 2021. “Deep learning method based on physics informed neural network with resnet block for solving fluid flow problems.” Water 13 (4): 423. https://doi.org/10.3390/w13040423.
Cockburn, B., and J. Gopalakrishnan. 2005. “Incompressible finite elements via hybridization. Part I: The Stokes system in two space dimensions.” SIAM J. Numer. Anal. 43 (4): 1627–1650. https://doi.org/10.1137/04061060X.
Cockburn, B., J. Gopalakrishnan, and J. Guzmán. 2010. “A new elasticity element made for enforcing weak stress symmetry.” Math. Comput. 79 (271): 1331–1349. https://doi.org/10.1090/S0025-5718-10-02343-4.
Cockburn, B., G. Kanschat, and D. Schötzau. 2005. “A locally conservative LDG method for the incompressible Navier–Stokes equations.” Math. Comput. 74 (251): 1067–1096. https://doi.org/10.1090/S0025-5718-04-01718-1.
Dong, S., and Z. Li. 2021. “Local extreme learning machines and domain decomposition for solving linear and nonlinear partial differential equations.” Comput. Methods Appl. Mech. Eng. 387 (Dec): 114129. https://doi.org/10.1016/j.cma.2021.114129.
Eivazi, H., M. Tahani, P. Schlatter, and R. Vinuesa. 2022. “Physics-informed neural networks for solving Reynolds-averaged Navier–Stokes equations.” Phys. Fluids 34 (7): 075117. https://doi.org/10.1063/5.0095270.
Glowinski, R., and O. Pironneau. 1992. “Finite element methods for Navier–Stokes equations.” Annu. Rev. Fluid Mech. 24 (1): 167–204. https://doi.org/10.1146/annurev.fl.24.010192.001123.
Goda, K. 1979. “A multistep technique with implicit difference schemes for calculating two- or three-dimensional cavity flows.” J. Comput. Phys. 30 (1): 76–95. https://doi.org/10.1016/0021-9991(79)90088-3.
Goswami, S., C. Anitescu, S. Chakraborty, and T. Rabczuk. 2020. “Transfer learning enhanced physics informed neural network for phase-field modeling of fracture.” Theor. Appl. Fract. Mech. 106 (Apr): 102447. https://doi.org/10.1016/j.tafmec.2019.102447.
Guo, M., and E. Haghighat. 2022. “Energy-based error bound of physics-informed neural network solutions in elasticity.” J. Eng. Mech. 148 (8): 04022038. https://doi.org/10.1061/(ASCE)EM.1943-7889.0002121.
Haghighat, E., M. Raissi, A. Moure, H. Gomez, and R. Juanes. 2021. “A physics-informed deep learning framework for inversion and surrogate modeling in solid mechanics.” Comput. Methods Appl. Mech. Eng. 379 (Jun): 113741. https://doi.org/10.1016/j.cma.2021.113741.
Hansbo, P., and M. G. Larson. 2002. “Discontinuous Galerkin methods for incompressible and nearly incompressible elasticity by Nitsche’s method.” Comput. Methods Appl. Mech. Eng. 191 (17–18): 1895–1908. https://doi.org/10.1016/S0045-7825(01)00358-9.
Hu, J. 2015. “Finite element approximations of symmetric tensors on simplicial grids in n: The higher order case.” J. Comput. Math. 33 (3): 283–296. https://doi.org/10.4208/jcm.1412-m2014-0071.
Hu, J., and S. Zhang. 2015. “A family of symmetric mixed finite elements for linear elasticity on tetrahedral grids.” Sci. China Math. 58 (Feb): 297–307. https://doi.org/10.1007/s11425-014-4953-5.
Hu, J., and S. Zhang. 2016. “Finite element approximations of symmetric tensors on simplicial grids in ℝn: The lower order case.” Math. Models Methods Appl. Sci. 26 (9): 1649–1669. https://doi.org/10.1142/S0218202516500408.
Huang, G.-B., Q.-Y. Zhu, and C.-K. Siew. 2006. “Extreme learning machine: Theory and applications.” Neurocomputing 70 (1–3): 489–501. https://doi.org/10.1016/j.neucom.2005.12.126.
Jin, X., S. Cai, H. Li, and G. E. Karniadakis. 2021. “NSFnets (Navier–Stokes flow nets): Physics-informed neural networks for the incompressible Navier–Stokes equations.” J. Comput. Phys. 426 (Feb): 109951. https://doi.org/10.1016/j.jcp.2020.109951.
Kadeethum, T., T. M. Jørgensen, and H. M. Nick. 2020. “Physics-informed neural networks for solving nonlinear diffusivity and Biot’s equations.” PLoS One 15 (5): e0232683. https://doi.org/10.1371/journal.pone.0232683.
Kouhia, R., and R. Stenberg. 1995. “A linear nonconforming finite element method for nearly incompressible elasticity and Stokes flow.” Comput. Methods Appl. Mech. Eng. 124 (3): 195–212. https://doi.org/10.1016/0045-7825(95)00829-P.
Lagaris, I. E., A. Likas, and D. I. Fotiadis. 1998. “Artificial neural networks for solving ordinary and partial differential equations.” IEEE Trans. Neural Networks 9 (5): 987–1000. https://doi.org/10.1109/72.712178.
Langtangen, H. P., and A. Logg. 2017. Solving PDEs in Python: The FEniCS tutorial I. Cham, Switzerland: Springer.
Liu, X., S. Lin, J. Fang, and Z. Xu. 2014. “Is extreme learning machine feasible? A theoretical assessment (Part I).” IEEE Trans. Neural Networks Learn. Syst. 26 (1): 7–20. https://doi.org/10.1109/TNNLS.2014.2335212.
Mao, Z., A. D. Jagtap, and G. E. Karniadakis. 2020. “Physics-informed neural networks for high-speed flows.” Comput. Methods Appl. Mech. Eng. 360 (Mar): 112789. https://doi.org/10.1016/j.cma.2019.112789.
Oldenburg, J., F. Borowski, A. Öner, K.-P. Schmitz, and M. Stiehm. 2022. “Geometry aware physics informed neural network surrogate for solving Navier–Stokes equation (GAPINN).” Adv. Model. Simul. Eng. Sci. 9 (1): 8. https://doi.org/10.1186/s40323-022-00221-z.
Pao, Y.-H., G.-H. Park, and D. J. Sobajic. 1994. “Learning and generalization characteristics of the random vector functional-link net.” Neurocomputing 6 (2): 163–180. https://doi.org/10.1016/0925-2312(94)90053-1.
Raissi, M., P. Perdikaris, and G. E. Karniadakis. 2019. “Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations.” J. Comput. Phys. 378 (Feb): 686–707. https://doi.org/10.1016/j.jcp.2018.10.045.
Ranade, R., C. Hill, and J. Pathak. 2021. “DiscretizationNet: A machine-learning based solver for Navier–Stokes equations using finite volume discretization.” Comput. Methods Appl. Mech. Eng. 378 (May): 113722. https://doi.org/10.1016/j.cma.2021.113722.
Rao, C., H. Sun, and Y. Liu. 2020. “Physics-informed deep learning for incompressible laminar flows.” Theor. Appl. Mech. Lett. 10 (3): 207–212. https://doi.org/10.1016/j.taml.2020.01.039.
Rao, C., H. Sun, and Y. Liu. 2021. “Physics-informed deep learning for computational elastodynamics without labeled data.” J. Eng. Mech. 147 (8): 04021043. https://doi.org/10.1061/(ASCE)EM.1943-7889.0001947.
Rezaei, S., A. Harandi, A. Moeineddin, B.-X. Xu, and S. Reese. 2022. “A mixed formulation for physics-informed neural networks as a potential solver for engineering problems in heterogeneous domains: Comparison with finite element method.” Comput. Methods Appl. Mech. Eng. 401 (Nov): 115616. https://doi.org/10.1016/j.cma.2022.115616.
Roy, A. M., and R. Bose. 2023. “Physics-aware deep learning framework for linear elasticity.” Preprint, submitted February 19, 2023. https://arxiv.org/abs/2302.09668.
Samaniego, E., C. Anitescu, S. Goswami, V. M. Nguyen-Thanh, H. Guo, K. Hamdia, X. Zhuang, and T. Rabczuk. 2020. “An energy approach to the solution of partial differential equations in computational mechanics via machine learning: Concepts, implementation and applications.” Comput. Methods Appl. Mech. Eng. 362 (Apr): 112790. https://doi.org/10.1016/j.cma.2019.112790.
Shang, Y., F. Wang, and J. Sun. 2023. “Randomized neural network with Petrov–Galerkin methods for solving linear and nonlinear partial differential equations.” Commun. Nonlinear Sci. Numer. Simul. 127 (Dec): 107518. https://doi.org/10.1016/j.cnsns.2023.107518.
Sheu, T. W., and P. Chiu. 2007. “A divergence-free-condition compensated method for incompressible Navier–Stokes equations.” Comput. Methods Appl. Mech. Eng. 196 (45–48): 4479–4494. https://doi.org/10.1016/j.cma.2007.05.015.
Sirignano, J., and K. Spiliopoulos. 2018. “DGM: A deep learning algorithm for solving partial differential equations.” J. Comput. Phys. 375 (Dec): 1339–1364. https://doi.org/10.1016/j.jcp.2018.08.029.
Sun, J., S. Dong, and F. Wang. 2022. “Local randomized neural networks with discontinuous Galerkin methods for partial differential equations.” Preprint, submitted June 11, 2022. https://arxiv.org/abs/2206.05577.
Sun, J., and F. Wang. 2024. “Local randomized neural networks with discontinuous Galerkin methods for diffusive-viscous wave equation.” Comput. Math. Appl. 154 (Jan): 128–137. https://doi.org/10.1016/j.camwa.2023.11.023.
Sun, L., H. Gao, S. Pan, and J.-X. Wang. 2020. “Surrogate modeling for fluid flows based on physics-constrained deep learning without simulation data.” Comput. Methods Appl. Mech. Eng. 361 (Apr): 112732. https://doi.org/10.1016/j.cma.2019.112732.
Vahab, M., E. Haghighat, M. Khaleghi, and N. Khalili. 2022. “A physics-informed neural network approach to solution and identification of biharmonic equations of elasticity.” J. Eng. Mech. 148 (2): 04021154. https://doi.org/10.1061/(ASCE)EM.1943-7889.0002062.
Wang, F., S. Wu, and J. Xu. 2020. “A mixed discontinuous Galerkin method for linear elasticity with strongly imposed symmetry.” J. Sci. Comput. 83 (1): 2. https://doi.org/10.1007/s10915-020-01191-3.
Weinan, E., and B. Yu. 2018. “The deep Ritz method: A deep learning-based numerical algorithm for solving variational problems.” Commun. Math. Stat. 6 (1): 1–12. https://doi.org/10.1007/s40304-018-0127-z.
Wu, S., S. Gong, and J. Xu. 2017. “Interior penalty mixed finite element methods of any order in any dimension for linear elasticity with strongly symmetric stress tensor.” Math. Models Methods Appl. Sci. 27 (14): 2711–2743. https://doi.org/10.1142/S0218202517500567.
Zhang, E., M. Dao, G. E. Karniadakis, and S. Suresh. 2022. “Analyses of internal structures and defects in materials using physics-informed neural networks.” Sci. Adv. 8 (7): eabk0644. https://doi.org/10.1126/sciadv.abk0644.

Information & Authors

Information

Published In

Go to Journal of Engineering Mechanics
Journal of Engineering Mechanics
Volume 150Issue 4April 2024

History

Received: Jul 12, 2023
Accepted: Nov 21, 2023
Published online: Feb 5, 2024
Published in print: Apr 1, 2024
Discussion open until: Jul 5, 2024

Permissions

Request permissions for this article.

Authors

Affiliations

School of Mathematics and Statistics, Xi’an Jiaotong Univ., Xi’an, Shaanxi 710049, PR China. Email: [email protected]
Professor, School of Mathematics and Statistics & State Key Laboratory of Multiphase Flow in Power Engineering, Xi’an Jiaotong Univ., Xi’an, Shaanxi 710049, PR China (corresponding author). ORCID: https://orcid.org/0000-0002-9745-1195. Email: [email protected]

Metrics & Citations

Metrics

Citations

Download citation

If you have the appropriate software installed, you can download article citation data to the citation manager of your choice. Simply select your manager software from the list below and click Download.

View Options

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Media

Figures

Other

Tables

Share

Share

Copy the content Link

Share with email

Email a colleague

Share