A modular Scientific Machine Learning framework for physics-informed modeling, equation discovery, and uncertainty-aware prediction of nanofluid transport phenomena.
Nanofluid boundary layer systems are governed by nonlinear differential equations representing:
- Momentum transport
- Heat transfer
- Mass diffusion
Traditional methods like CFD are computationally expensive, while purely data-driven ML models often violate physical laws and fail to generalize.
This repository implements a Scientific Machine Learning (SciML) framework integrating:
- Physics-Informed Neural Networks (PINNs)
- Sparse Identification of Nonlinear Dynamical Systems (SINDy)
- Data-driven baseline (XGBoost)
- Noise robustness analysis
- Generalization testing
- Uncertainty quantification
The framework enables physically consistent, interpretable, and robust modeling.
flowchart TD
A[Raw Dataset] --> B[Preprocessing & Normalization]
B --> C1[Data-Driven Model<br/>XGBoost]
B --> C2[Physics-Informed Model<br/>PINN]
B --> C3[Sparse Identification<br/>SINDy]
C2 --> D1[Automatic Differentiation]
D1 --> D2[Physics Residuals]
D2 --> D3[Physics Loss]
C2 --> D4[Data Loss]
D3 --> E[Total Loss Optimization]
D4 --> E
E --> F[Trained PINN]
C3 --> G[Discovered Equations]
F --> H[Evaluation Framework]
C1 --> H
G --> H
H --> I1[Noise Injection Test]
H --> I2[Domain Generalization]
F --> I3[Uncertainty Estimation<br/>MC Dropout]
I1 --> J[Performance Metrics]
I2 --> J
I3 --> J
- Computational Fluid Dynamics acceleration
- Nanofluid heat transfer modeling
- Scientific Machine Learning research
- Physics-informed AI systems
- Equation discovery
This work models a steady, laminar nanofluid boundary layer flow governed by a system of nonlinear ordinary differential equations obtained via similarity transformation.
The dimensionless equations describing momentum, energy, and concentration transport are:
The system satisfies the following boundary conditions:
At the wall (
As
The governing PDEs are reduced to ODEs using a similarity variable:
where:
-
$y$ = normal coordinate -
$x$ = streamwise coordinate -
$\nu$ = kinematic viscosity -
$U$ = free-stream velocity
A neural network approximates the solution:
where
Derivatives are computed using automatic differentiation:
Similarly:
The physics residuals are defined as:
The total loss function is composed of:
The training objective is:
The system dynamics are approximated as:
where:
$X = [f, \theta, \phi]$ -
$\Theta(X)$ = library of candidate functions (polynomials, nonlinear terms) -
$\Xi$ = sparse coefficient matrix
The optimization is:
Using Monte Carlo Dropout, predictions are:
Final prediction:
- Nonlinearity due to convective terms
- Coupling between momentum, heat, and mass transfer
- Stiffness near boundary layer region
- High sensitivity to boundary conditions
- 2D / 3D PDE PINNs
- Turbulence modeling
- Reinforcement learning integration
- Multi-physics systems
- Real-time scientific AI
Contributions are welcome!
You can contribute by:
- Improving PINNs
- Extending SINDy
- Adding new physics
- Improving evaluation
Open an issue or submit a pull request 🚀
@software{sciml_nanofluid_pinn_sindy,
title = {SciML for Nanofluid Boundary Layer Modeling using PINN and SINDy},
author = {SciML Research Lab},
year = {2026},
url = {https://github.com/your-repo/sciml-nanofluid-pinn-sindy}
}MIT License
Inspired by research in:
- Scientific Machine Learning
- Physics-Informed Neural Networks
- Sparse System Identification
- Computational Fluid Dynamics