Sharp-PINNs: staggered hard-constrained physics-informed neural networks for phase field modelling of corrosion

Nanxi Chen, Chuanjie Cui, Rujin Ma, Airong Chen, Sifan Wang
2/17/2025
cs.LGphysics.comp-ph

No official code found. Best implementation: NanxiiChen/sharp-pinns (16 stars, GPL-3.0, last commit 2025-02-19).

Abstract

Physics-informed neural networks have shown significant potential in solving partial differential equations (PDEs) across diverse scientific fields. However, their performance often deteriorates when addressing PDEs with intricate and strongly coupled solutions. In this work, we present a novel Sharp-PINN framework to tackle complex phase field corrosion problems. Instead of minimizing all governing PDE residuals simultaneously, the Sharp-PINNs introduce a staggered training scheme that alternately minimizes the residuals of Allen-Cahn and Cahn-Hilliard equations, which govern the corrosion system. To further enhance its efficiency and accuracy, we design an advanced neural network architecture that integrates random Fourier features as coordinate embeddings, employs a modified multi-layer perceptron as the primary backbone, and enforces hard constraints in the output layer. This framework is benchmarked through simulations of corrosion problems with multiple pits, where the staggered training scheme and network architecture significantly improve both the efficiency and accuracy of PINNs. Moreover, in three-dimensional cases, our approach is 5-10 times faster than traditional finite element methods while maintaining competitive accuracy, demonstrating its potential for real-world engineering applications in corrosion prediction.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Staggered HARd-constrained Physics-Informed Neural Networks for Phase-field modelling of corrosion

165PythonDec 3, 20241 years agoGPL-3.0

Similar Papers

Cite this paper

@article{chen2025sharppinns,
  title  = {Sharp-PINNs: staggered hard-constrained physics-informed neural networks for phase field modelling of corrosion},
  author = {Nanxi Chen and Chuanjie Cui and Rujin Ma and Airong Chen and Sifan Wang},
  year   = {2025},
  eprint = {2502.11942},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.11942v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.11942.svg)](https://codeofpaper.com/paper/2502.11942)

Discussion