PINN with Python: An Introduction

G. R. Liu
Author
Gui-Rong Liu received his Ph.D. from Tohoku University, Japan, in 1991. He was a Postdoctoral Fellow at Northwestern University, USA, from 1991–1993. He was a Professor at the National University of Singapore until He is currently a Professor at the Department of Aerospace Engineering and Engineering Mechanics, University of Cincinnati, USA. He was the Founder of the Association for Computational Mechanics (Singapore) (SACM) and served as the President of SACM until He served as the President of the Asia-Pacific Association for Computational Mechanics (APACM) (2010–2013) and an Executive Council Member of the International Association for Computational Mechanics (IACM) (2005–2010; 2020–2026). He authored a large number of journal papers and books including two bestsellers: Mesh Free Method: Moving Beyond the Finite Element Method and Smoothed Particle Hydrodynamics: A Meshfree Particle Methods. He is the Editor-in-Chief of the International Journal of Computational Methods and served as an Associate Editor for IPSE and MANO. He is the recipient of numerous awards, including the Singapore Defence Technology Prize, NUS Outstanding University Researcher Award, NUS Best Teacher Award, APACM Computational Mechanics Award, JSME Computational Mechanics Award, ASME Ted Belytschko Applied Mechanics Award, Zienkiewicz Medal from APACM, the AJCM Computational Mechanics Award, and the Humboldt Research Award. SACM Medal from the Association of Computational Mechanics (Singapore). He has been listed as one among the world’s top 1% most influential scientists (Highly Cited Researchers) by Thomson Reuters for a number of years.

Synopsis

Physics-Informed Neural Networks (PINNs) transforming how we solve complex scientific and engineering problems. This book is your essential guide to understanding this powerful technique, which elegantly combines the flexibility of neural networks with the fundamental rigor of physical laws.   PINNs embed partial differential equations (PDEs) and their associated boundary and initial conditions directly into a neural network's training process via a custom loss function. This means the neural network itself learns to obey the laws of physics! The solution function becomes a neural network model—a smooth, differentiable function built from affine transformations and nonlinear activation functions, allowing it to intrinsically satisfy strong-form PDEs. Crucially, the derivatives needed to enforce these physical constraints are computed with "autograd," a lightning-fast, machine-precision method inherent to modern machine learning libraries.   This comprehensive and practical book delivers: Core Theory & Formulations:Understand the foundational principles that make PINNs work. Essential Techniques:Learn the practical methods for building, training, and applying PINN models. Step-by-Step PyTorch Implementations:Get hands-on with Python code to implement PINNs from scratch. Collocation vs. Energy-Based PINNs:Discover the nuances between these two primary approaches, their strengths, and when to use each.   The book dives deep into applications across key PDE types critical to science and engineering: Static Problems:Tackle Poisson equations. Time-Dependent Systems:Solve Heat equations (parabolic) and Wave equations (hyperbolic). Eigenvalue Challenges:Solve Helmholtz equations. Beyond theoretical concepts, you'll explore in-depth case studies demonstrating how to construct effective PINN models for various PDE types and geometries. We also confront real-world hurdles, including how to construct the loss function, the normalization of equation systems, resolving convergence issues, and developing robust training strategies. Benefit directly from the author's research experiences, insights, and practical utility codes, all integrated into this invaluable resource.   Whether you're a researcher pushing boundaries, a student eager to grasp cutting-edge computational methods, or a practitioner seeking advanced solutions, this book will equip you with the basic tools and understanding to deploy PINNs effectively across a vast array of PDE-driven challenges.
Cover for PINN with Python: An Introduction

Details about this monograph

ISBN-13 (15)
978-1-946018-03-8
Date of first publication (11)
2025-07-10
Hijri Calendar