Skip to main content

Solving Sparse Linear Systems on Large Unstructured Grids with Graph Neural Networks: Application to Solve the Poisson’s Equation in Hall-Effect Thrusters Simulations

  • Conference paper
  • First Online:
Computational Science – ICCS 2024 (ICCS 2024)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14834))

Included in the following conference series:

  • 768 Accesses

Abstract

The following work presents a new method to solve Poisson’s equation and, more generally, sparse linear systems using graph neural networks. We propose a supervised approach to solve the discretized representation of Poisson’s equation at every time step of a simulation. This new method will be applied to plasma physics simulations for Hall-Effect Thruster’s modeling, where the electric potential gradient must be computed to get the electric field necessary to model the plasma’s behavior. Solving Poisson’s equation using classical iterative methods represents a major part of the computational costs in this setting. This is even more critical for unstructured meshes, increasing the problem’s complexity. To accelerate the computational process, we propose a graph neural network to give an initial guess of Poisson’s equation solution. The new method introduced in this article has been designed to handle any meshing structure, including structured and unstructured grids and sparse linear systems. Once trained, the neural network would be used inside a numerical simulation in inference to give an initial guess of the solution for each simulation time step for all right-hand sides of the linear system and all previous time step solutions. In most industrial cases, Hall-Effect thrusters’ modeling requires a large unstructured mesh that one single processor cannot hold regarding memory capacity. We then propose a partitioning strategy to tackle the challenge of solving linear systems on large unstructured grids when they cannot be on a single processor.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Luz, I., Galun, M., Maron, H., Basri, R., Yavneh, I.: Learning algebraic multigrid using graph neural networks. In: International Conference on Machine Learning, pp. 6489–6499. PMLR (2020)

    Google Scholar 

  2. Jiang, Z., Jiang, J., Yao, Q., et al.: A neural network-based PDE solving algorithm with high precision. Sci. Rep. 13, 4479 (2023). https://doi.org/10.1038/s41598-023-31236-0

    Article  Google Scholar 

  3. Paszke, A., et al.: PyTorch: an imperative style, high-performance deep learning library. In Advances in Neural Information Processing Systems, vol. 32, pp. 8024–8035. Curran Associates, Inc. (2019)

    Google Scholar 

  4. Li, S. et al.: PyTorch distributed: experiences on accelerating data parallel training, In: VLDB Endowment, vol. 13, no. 12 (2020). https://doi.org/10.14778/3415478.3415530

  5. Fey, M., Lenssen, J.E.: Fast graph representation learning with PyTorch geometric. In: ICLR Workshop on Representation Learning on Graphs and Manifolds (2019)

    Google Scholar 

  6. Pfaff, T., Fortunato, M., Sanchez-Gonzalez, A., Battaglia, P.: Learning mesh-based simulation with graph networks. In: the International Conference on Learning Representations (2020)

    Google Scholar 

  7. Raissi, M., Perdikaris, P., Karniadakis, G.E.: Physics informed neural networks: a deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J. Comput. physi. 378, 686–707 (2019). https://doi.org/10.1016/j.jcp.2018.10.045

    Article  MathSciNet  Google Scholar 

  8. Saad, Y., Zhang, J.: Enhanced multi-level block ILU preconditioning strategies for general sparse linear systems. J. Comput. Appl. Math. 130(1), 99–118 (2001). ISSN 0377-0427, https://doi.org/10.1016/S0377-0427(99)00388-X

  9. Chen, J., Schäfer, F., Huang, J., Desbrun, M.: Multiscale Cholesky preconditioning for ill-conditioned problems. ACM Trans. Graph. 40(4), (2021). ISSN 0730-0301, https://doi.org/10.1145/3450626.3459851

  10. Balay, S., Gropp, W.D., Curfman McInnes, L., Smith, B.F.: Efficient management of parallelism in object oriented numerical software libraries, In: Modern Software Tools in Scientific Computing, pp. 163–202 (1997). https://doi.org/10.1007/978-1-4612-1986-6_8

  11. Agullo, E., Giraud, L., Guermouche, A., Roman, J.: Parallel hierarchical hybrid linear solvers for emerging computing platforms. C. R. Mécanique 339(2–3), 96–103 (2011). ISSN 1631-072, https://doi.org/10.1016/j.crme.2010.11.005

  12. Gourdain, N.: Prediction of the unsteady turbulent flow in an axial compressor stage. Comput. Fluids (2015). https://doi.org/10.1016/j.compfluid.2014.09.052

    Article  Google Scholar 

  13. Sanchez-Gonzalez, A., Godwin, J., Pfaff, T., Ying, R., Leskovec, J., Battaglia, P.: Learning to simulate complex physics with graph networks. In: International Conference on Machine Learning, pp. 8459–8468. PMLR (2020)

    Google Scholar 

  14. Sappl, J., Seiler, L., Harders, M., Rauch, W.: Deep learning of preconditioners for conjugate gradient solvers in urban water related problems (2019). https://arxiv.org/abs/1906.06925

  15. Schäfer, F., Katzfuss, M., Owhadi, H.: Sparse Cholesky factorization by Kullback-Leibler minimization. SIAM J. Sci. Comput. 43(3), A2019–A2046 (2021). https://doi.org/10.1137/20M1336254

    Article  MathSciNet  Google Scholar 

  16. Kopaničáková, A., Karniadakis, G.E.: DeepOnet based preconditioning strategies for solving parametric linear systems of equations (2024). arXiv:2401.02016

  17. Li, Y., Chen, P.Y., Du, T., Matusik, W.: Learning preconditioner for conjugate gradient PDE solvers. In: International Conference on Machine Learning Computer Science, Mathematics, Engineering (2023). https://proceedings.mlr.press/v202/li23e.html

  18. Stanziola, A., Arridge, S.R., Cox, B.T., Treeby, B.E.: A Helmholtz equation solver using unsupervised learning: application to transcranial ultrasound. J. Comput. Phys. 441 (2021). https://doi.org/10.1016/j.jcp.2021.110430

  19. Hamilton, W.L., Ying, R., Leskovec, J.: Inductive representation learning on Large graphs. In: 31st International Conference on Neural Information Processing Systems (NIPS) (2017)

    Google Scholar 

  20. He, K., Zhang, X., Ren, S., Sun, J.: Delving deep into rectifiers: surpassing human-level performance on ImageNet classification. In: International Conference on Computer Vision (2015). https://doi.org/10.1109/ICCV.2015.123

  21. Ba, J.L., Kiros, J.R., Hinton, G.E.: Layer normalization. In: Neural Information Processing System (2016)

    Google Scholar 

  22. Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization, arXiv preprint arXiv:1412.6980 (2014)

  23. Glorot, X., Bengio, Y.: Understanding the difficulty of training deep feedforward neural networks, In: Proceedings of the thirteenth international conference on artificial intelligence and statistics, JMLR Workshop and Conference Proceedings, pp. 249–256 (2010)

    Google Scholar 

  24. Chiang, W.L., Liu, X., Si, S., Li, Y., Bengio, S., Hsieh, C.J.: Cluster-GCN: an efficient algorithm for training deep and large graph convolutional networks, In: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 257–266 (July 2019). https://doi.org/10.1145/3292500.3330925

  25. Karypis, G., Kumar, V.: A fast and high-quality multilevel scheme for partitioning irregular graphs. SIAMJ. Sci. Comput. 20(1), 359–392 (1998). https://doi.org/10.1137/S1064827595287997

    Article  MathSciNet  Google Scholar 

  26. Villafana, W., et al.: 2D radial-azimuthal particle-in-cell benchmark for E\(\times \)B discharges, In: Plasma Sources Science and Technology, vol. 30, no. 7 (2021). https://doi.org/10.1088/1361-6595/ac0a4a

  27. Villafana, W., Fubiani, G., Garrigues, L., Vigot, G., Cuenot, B., Vermorel, O.: 3D Particle-In-Cell modeling of anomalous transport driven by the electron drift instability in hall thrusters, In: \(37^{th}\) International Electric Propulsion Conference, MIT (2022)

    Google Scholar 

Download references

Acknowledgments

This research has been realized under the supervision of Bénédicte Cuenot and Olivier Vermorel (senior researchers at CERFACS). Gabriel Vigot acknowledges the support of Luciano Drozda (senior researcher at CERFACS) in conceiving and validating this present article for the machine learning part. Gabriel Vigot also acknowledges the support of Luc Giraud (senior researcher at INRIA) in conceiving and validating this present article for the part concerning linear algebra.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gabriel Vigot .

Editor information

Editors and Affiliations

Ethics declarations

Disclosure of Interests

The present authors have no competing interests with the participants of this article. Gabriel Vigot acknowledges the financial support from Safran Spacecraft Propulsion, under the supervision of Benjamin Laurent, and the French Space Agency (CNES: Centre National d’Études Spatiales), under the supervision of Ulysse Weller, under the EPIC convention. This work is introduced within the CHEOPS project.

6 Appendix

6 Appendix

Fig. 6.
figure 6

(a) 2D map along the simulation time line t in microseconds. From the first to the fourth row is the update \(\mathrm {\Phi }\), the solution of reference \(\mathrm {\Phi _{ref}}\), the absolute difference \(|\mathrm {\Phi - \Phi _{ref}}|\), and \(\textrm{RHS}\) the right-hand side of the Poisson’s equation.

(b) Neural network predictions \(\mathrm {\Phi }\) with the same variable order as in Fig. (6a)

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Vigot, G., Cuenot, B., Vermorel, O. (2024). Solving Sparse Linear Systems on Large Unstructured Grids with Graph Neural Networks: Application to Solve the Poisson’s Equation in Hall-Effect Thrusters Simulations. In: Franco, L., de Mulatier, C., Paszynski, M., Krzhizhanovskaya, V.V., Dongarra, J.J., Sloot, P.M.A. (eds) Computational Science – ICCS 2024. ICCS 2024. Lecture Notes in Computer Science, vol 14834. Springer, Cham. https://doi.org/10.1007/978-3-031-63759-9_41

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-63759-9_41

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-63758-2

  • Online ISBN: 978-3-031-63759-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics