Explicit and Implicit Finite Difference Solvers Implemented in JAX for Shock Wave Physics
Avinash Potluri, Arturo Rodriguez, Taylor N. Garcia, Chelsea M. Caballero, Katrina I. Sanchez, Payal Helambe, Vineeth V. Kumar, Francisco O. Aguirre Ortega

TL;DR
This paper develops explicit and implicit finite-difference solvers for shock wave modeling using JAX, demonstrating their accuracy, stability, and portability across hardware, and providing a benchmark dataset for CFD and machine learning applications.
Contribution
It introduces a novel JAX-based implementation of finite-difference solvers for shock physics, enabling portable, scalable, and high-performance CFD simulations.
Findings
Explicit scheme captures shocks accurately under strict time steps.
Implicit scheme offers greater stability and accuracy at higher computational cost.
JAX implementation performs well across CPUs, GPUs, and TPUs.
Abstract
Shock dynamics and nonlinear wave propagation are fundamental to computational fluid dynamics (CFD) and high-speed flow modeling. In this study, we developed explicit and implicit finite-difference solvers for the one-dimensional Burgers viscous equation to model shock formation, propagation, and dissipation. The governing equation, which incorporates convective and diffusive effects, serves as a simplified analogue of the Navier-Stokes equations. Using the Finite-JAX framework, each solver is implemented with upwind and central finite-difference schemes for the convective and diffusive terms, respectively. Time integration is performed using explicit forward Euler and implicit backward-time central space (BTCS) schemes under periodic and Dirichlet boundary conditions. Stability is ensured by the Courant-Friedrichs-Lewy (CFL) criteria for the convective and diffusive components.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsModel Reduction and Neural Networks · Lattice Boltzmann Simulation Studies · Computational Fluid Dynamics and Aerodynamics
