This repository contains the implementation of a Physics-Informed Neural Network (PINN) framework designed for the inverse identification of spatially-varying Young’s moduli in additively manufactured lattice structures. Go to detailed Math about this project
Traditional Digital Image Correlation (DIC) data assimilation often relies on Radial Basis Function (RBF) pre-interpolation, which can lead to non-physical displacement gradients (e.g., strains exceeding 26,000%) due to a lack of mechanical constraints.
The Direct Hybrid Collocation (DHC) paradigm eliminates RBF pre-processing by employing the neural network itself as the direct spatial interpolator. Sparse DIC blocks act as Dirichlet anchors, while a dense Sobol quasi-random collocation cloud enforces the 2D Cauchy Momentum PDE across the domain.
| Parameter | Value | Description | | :— | :— | :— | | Epochs | 10,000 | Total training iterations | | Collocation Points | 10,000 | Sobol quasi-random samples | | Optimizer | Adam | Primal/Dual learning rate of $10^{-3}$ | | Activation | SiLU | Smooth $C^{\infty}$ function for higher-order derivatives | | Physics | 2D Plane Stress | Cauchy Momentum Balance |
python -m venv venv
# Windows:
.\venv\Scripts\activate
# Linux/macOS:
source venv/bin/activate
pip install torch --index-url [https://download.pytorch.org/whl/cpu](https://download.pytorch.org/whl/cpu)
pip install pandas numpy scipy matplotlib
python A_DHC.py
The framework was validated on 80% Lines, 60% Gyroid, and 80% Gyroid specimens.
Van, V., et al. (2026). Direct Hybrid Collocation PINN (DHC-PINN/IE-PINN) for Inverse Identification of Spatially-Varying Elastic Moduli in Additively Manufactured Lattice Structures.