Integrating 3D Heat Equation into a PINN for Real-Time Aerospace Simulation (C++ WASM Engine)[P]
![Integrating 3D Heat Equation into a PINN for Real-Time Aerospace Simulation (C++ WASM Engine)[P]](/_next/image?url=https%3A%2F%2Fpreview.redd.it%2Fenkuqo7vg11h1.png%3Fwidth%3D140%26height%3D74%26auto%3Dwebp%26s%3Dfa91ed16898a6daec4307fd05bbe23d556342193&w=3840&q=75)
| Hey everyone, I’ve been exploring Physics-Informed Neural Networks (PINNs) to solve high-velocity thermal problems. I built Met-Shield, a re-entry simulator that uses a PINN to predict thermal gradients on a spacecraft shield. The PINN Phase:
The Performance Handoff: Once trained, I integrated the model logic into a custom C++ engine compiled to WebAssembly. This allows the simulation to run natively in the browser at 60fps, predicting metallurgical phase transitions (Alpha-to-Beta Titanium) on the fly. The Struggle: While the PINN's math is solid, I’m seeing some convergence issues when the heat flux spikes during the "Max Q" phase of re-entry. I’m also looking for advice on better ways to weight the physics-loss vs. the data-loss in the total loss function. I’ve open-sourced the repo and would love for some ML engineers to look at my training loop and architecture. Repo:[https://github.com/Lak23James/met-shield]() [link] [comments] |
Want to read more?
Check out the full article on the original site