Challenges when simulating fast flows with neural solvers
Modeling high-speed fluid flows such as supersonic fluids and hypersonic regimes presents unique challenges due to the rapid changes associated with shock waves and expansion fans. Unlike slow flows where fixed time steps work well, these rapid flows require adaptive time stepping to accurately capture small dynamics without incurring excessive computational costs. Adaptive time steps are adjusted based on the speed of flow change, improving both simulation efficiency and model training. This is especially important for neural solvers, as uniform steps can create imbalances in learning. However, traditional methods for selecting time steps do not apply directly to neural models, which often rely on coarse-speed space-time approximations.
Current research trends in time-resolved neuronal PDE solvers
A recent study investigated the learnable spatial reconstruction for solving PDE using both supervisors and augmented learning approaches. However, learning to adapt temporal resolution through time-resolved temporal reconstructions remains largely unexplored, especially in the context of high-speed fluid flows where it is important. Most existing methods rely on fixed time steps data. Some studies use techniques such as Taylor's extension and continuous-time neural fields to train models to predict time steps and interpolate uniform time points. Others use individual or shared models to adapt to multiple fixed step sizes. However, these approaches assume that time steps are known in advance, which is not realistic in the scenarios we deal with.
Introducing Shockcast: A two-phase machine learning framework
Researchers at Texas A&M University introduce Shockcast, a two-phase machine learning framework designed to model high-speed fluid flows using adaptive time steps. In the first phase, the neural model predicts the appropriate time steps based on the current flow conditions. In the second step, this time step, along with the flow field, is used to evolve the system forward. This approach integrates physics-inspired components for time-step prediction and employs strategies from a mixture of neural OD and experts to guide the learning process. To verify the Shockcast, the team created two ultrasound flow datasets to address scenarios such as explosion waves and coal dust explosions. The code is available in the Airs library.
Neural Conditioning Strategies for Time Step Adaptation
Shockcast is a two-phase neural framework designed to efficiently model high-performance liquid flow with a sharp gradient. Instead of using fixed time steps, neural CFL models employ an adaptive time step approach in which the optimum time step size is predicted based on current flow conditions, and neural solvers evolve the state accordingly. This adaptability ensures more uniform learning in both smooth and sharp flow regions. The authors investigate several time step condition strategies including time condition normalization, spectral embedding, Euler-inspired residuals, and mixture layers, allowing solvers to specialize in diverse temporal dynamics with effective and greater generalizations.
Experimental results of supersonic flow data sets
In this study, we evaluate Shockcasts in two supersonic flow settings. It's an explosion of coal dust and a circular explosion. In a coal dust scenario, the shock interacts with the dust layer, causing turbulence and mixing, and the circular blast mimics a 2D shock tube with pressure-driven radial shock. The model predicts velocity, temperature, and density (the former dust rate). Several neural solver backbones, including U-NET, F-FNO, CNO, and Transolver, have been tested with a variety of time-step conditioning strategies. The results show that NORM with time conditionality is superior at capturing long-term dynamics, but pairing with F-FNO, U-NET and MOE or Euler conditioning reduces turbulence and flow prediction errors.
Conclusion: Efficient and scalable modeling of fast flows
In conclusion, Shockcast is a machine learning framework designed to model high-speed fluid flow using adaptive time steps. Unlike traditional approaches that rely on fixed time intervals, ShockCast predicts the optimal time stage size based on current flow dynamics, allowing it to efficiently handle rapid changes such as shock waves. This method works in two phases. First, neural models predict the time step. The solver then uses this prediction to advance the flow state. This approach incorporates a physics-inspired time step conditioning strategy and is evaluated on two newly generated supersonic datasets. The results demonstrate the effectiveness of Shockcast and the potential to accelerate fast flow simulations.
Please check Paper and github. All credits for this study will be directed to researchers in this project. Also, please feel free to follow us Twitter And don't forget to join us 100k+ ml subreddit And subscribe Our Newsletter.
Sana Hassan, a consulting intern at MarkTechPost and a dual-level student at IIT Madras, is passionate about applying technology and AI to address real-world challenges. With a strong interest in solving real problems, he brings a new perspective to the intersection of AI and real solutions.

