Comparative Evaluation of Periodic Boundary Condition Approaches in PINNs
Paper in proceeding, 2025

This study investigates the enforcement of periodic boundary conditions (PBCs) in physics-informed neural networks (PINNs), a key challenge in fluid dynamics. Both soft and hard constraint approaches are examined, comparing their theoretical foundations and practical implications. For soft PBCs, the One-Period approach is shown to be the most effective, preventing convergence to suboptimal solutions. For hard PBCs, various functions are evaluated. Additionally, the required number of neurons in the periodic layer is analyzed, confirming that at least two neurons are necessary for proper optimization and convergence across all tested functions. The linear surface wave problem serves as a benchmark, providing a comprehensive assessment of these strategies. The findings offer valuable insights optimal design choices for PINNs in periodic problems, guiding their application in fluid dynamics and related fields.

Soft Constraints

Physics-Informed Neural Networks (PINNs)

Periodic Boundary Conditions

Hard Constraints

Author

Mohammad Sheikholeslami

Chalmers, Mechanics and Maritime Sciences (M2), Marine Technology

Saeed Salehi

Stiftelsen Chalmers Industriteknik

Chalmers, Mechanics and Maritime Sciences (M2), Fluid Dynamics

Wengang Mao

Chalmers, Mechanics and Maritime Sciences (M2), Marine Technology

Arash Eslamdoost

Chalmers, Mechanics and Maritime Sciences (M2), Marine Technology

Håkan Nilsson

Chalmers, Mechanics and Maritime Sciences (M2), Fluid Dynamics

Proceedings of the 1st International Symposium on AI and Fluid Mechanics

S11 P3

Proceedings of the 1st international Symposium on AI and Fluid Mechanics Paper No S11 P3
Chania, Greece,

Artificial intelligence for enhanced hydraulic turbine lifetime

Energiforsk AB (VKU33020), 2023-01-01 -- 2027-06-30.

Swedish Energy Agency (VKU33020), 2023-01-01 -- 2027-06-30.

PINNs -- Multi-Fidelity Physics-Informed Neural Network to Solve Partial Differential Equations

Chalmers, 2023-01-01 -- 2027-06-30.

Subject Categories (SSIF 2025)

Computer Sciences

Mechanical Engineering

More information

Latest update

8/24/2026