Several example cases are provided inDocumentation Index
Fetch the complete documentation index at: https://compflowlab.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
compflowlab/examples to help you become familiar with the input file formatting and the various solver outputs. The default input files are capable of running any of these cases out of the box; however, building a reliable and functional ROM from them may require some basic knowledge of reduced order modeling.
Sod Shock Tube
The Sod shock tube is a classical Riemann problem used to validate compressible flow solvers. It consists of a one-dimensional domain initially divided by a diaphragm at the center, with two regions of stationary gas at different pressures and densities:- Left region: high pressure and high density
- Right region: low pressure and low density
Sedov Blast Wave
The Sedov blast is a classical test case for compressible flow solvers that models a point explosion/detonation in a uniform medium. The problem consists of an instantaneous release of a finite amount of energy at a single point in an otherwise quiescent gas with uniform density. The initial condition is singular, with infinite pressure at the origin. The flow field consists of two strong shocks wave propagating outward from the origin, with a contact discontinuity trailing behind it. Behind the shock, the density drops sharply near the origin, creating a “void” region. The problem has an analytical self-similar solution derived by Sedov, von Neumann, and Taylor, making it an excellent benchmark for validating numerical schemes in highly compressible, strongly shocked flows. This test case is particularly useful for verifying the robustness of shock-capturing methods and the ability of the solver to handle strong discontinuities and near-vacuum conditions.Colliding Shocks
The two colliding shocks test case models the head-on collision of two strong shock waves propagating toward each other in a one-dimensional domain. Initially, two regions of high-pressure gas are separated by a low-pressure region at the center, with the left and right states moving inward. Upon collision, the shocks interact and generate a single, stronger shock that propagates outward in both directions, leaving behind a region of extremely high pressure and temperature at the center. This problem tests the solver’s ability to handle strong nonlinear wave interactions and the formation of new discontinuities. The collision produces a complex wave structure with multiple shock interactions, making it a challenging benchmark for assessing the robustness of Riemann solvers and the ability of the numerical scheme to maintain monotonicity and accuracy in the presence of extreme pressure and density gradients. Unlike the Sod shock tube or Sedov blast, this test case lacks an analytical solution and is typically evaluated against highly refined numerical reference solutions.Double Diaphragm Sod Shock Tube
The double diaphragm Sod shock tube is an extension of the classical Sod shock tube problem, featuring two diaphragms placed at different locations within the domain. The domain is divided into three distinct regions with varying pressure and density conditions, typically configured as high-pressure region in the middle with two low-pressure regions on either side, or vice versa. When both diaphragms are removed simultaneously, the resulting flow field exhibits complex wave interactions, including multiple rarefaction waves, contact discontinuities, and shocks that propagate outward and interact with one another. This test case provides a more stringent validation of compressible flow solvers than the single Sod shock tube, as the wave interactions create a richer structure with multiple discontinuities that can challenge the accuracy and robustness of numerical schemes and reduced order models.Free Standing Flame
The free standing flame test case models a premixed H2-O2 laminar flame propagating through a combustible gas mixture in a one-dimensional domain. The problem consists of a flame front separating unburned reactants on one side from burned products on the other, with the flame propagating at a characteristic laminar flame speed determined by the balance between chemical reaction and thermal diffusion. The solution captures the internal structure of the flame, including the preheat zone, reaction zone, and post-flame equilibrium region. This test case is used to validate solvers that couple compressible flow equations with reacting flow physics. It tests the ability of the numerical scheme to resolve stiff chemical source terms, maintain accurate temperature and species profiles, and capture the correct flame speed without introducing artificial numerical dissipation that can artificially thicken or stabilize the flame. Unlike purely hydrodynamic test cases, the free standing flame introduces additional challenges related to stiffness, chemical time scales, and the coupling between fluid dynamics and chemical kinetics, making it an essential benchmark for reacting flow simulations.