Machine Learning and PINNs
1 ML Roles in Thermofluids
Machine learning can be used for:
- surrogate modeling,
- parameter identification,
- reduced-order modeling,
- closure modeling,
- inverse heat-transfer problems.
2 PINN Concept
A physics-informed neural network approximates the solution:
[ T(x,t)T_(x,t) ]
The loss includes the PDE residual:
[ _{PDE} = _i ^2 ]
plus initial and boundary condition losses.
3 Example: Coffee ODE PINN
Newton cooling:
[ + (T-T_)=0 ]
Residual:
[ r(t)= + (T_-T_) ]
4 Project Mapping
| Project | ML Task | PINN Task |
|---|---|---|
| Steel cube | surrogate for final temperature | 1D heat equation PINN |
| Coffee | fit cooling parameters | ODE-PINN |
| L-pipe | surrogate for outlet temperature | plug-flow ODE-PINN |
| Cavity | (Nu(Ra)) model | advection-diffusion PINN |
| Flat plate | learn Nusselt correlation | boundary-layer PINN |
5 Practical Advice
- Non-dimensionalize variables.
- Start with simple ODEs.
- Compare with analytical or classical numerical solutions.
- Avoid using PINNs as a black box.
- Be careful with loss weighting.