Addressing discontinuities in fluid flow problems is inherently difficult, especially when shocks arise due to the nonlinear nature of the flow. While handling discontinuities is a well-established practice in computational fluid dynamics (CFD), it remains a major challenge when applying physics-informed neural networks (PINNs). In this study, we compare the shock-resolving capabilities of traditional CFD methods with those of PINNs, highlighting the advantages of the latter. Our findings show that PINNs exhibit less dissipative behavior compared to conventional techniques. We evaluated the performance of both PINNs and traditional methods on linear and nonlinear test cases, demonstrating that PINNs offer superior shock-resolving properties. Notably, PINNs can accurately resolve inviscid shocks with just three grid points, whereas traditional methods require at least seven points. This suggests that PINNs are more effective at resolving shocks and discontinuities when using the same grid for both PINN and CFD simulations. However, it’s important to note that PINNs, in this context, are computationally more expensive than traditional methods on a given grid.
Read full abstract