28 Compressible boundaries and a verification ladder
Boundaries complete the conservative balance; they are not a display mask added after the fluid step. A production compressible branch would need compatible geometry, characteristic flow boundaries, wall stress and heat, coherent accepted states, and quantitative verification. The program below is a proposed qualification sequence. An executed Euler teaching fixture qualifies only its declared cells, flux, EOS and boundary model.
Prescribe information on incoming characteristics
Let point out of the fluid domain and , where is the velocity of the boundary/control surface. The inviscid characteristic speeds relative to that surface are . A negative speed carries information into the domain. For a nonsonic ideal-gas Euler boundary in three dimensions the count is:
| Local regime | Incoming fields | Physical data to supply |
|---|---|---|
| Supersonic inflow, | 5 | A complete compatible state |
| Subsonic inflow, | 4 | Four independent data, with one acoustic field obtained from the interior |
| Subsonic outflow, | 1 | One incoming acoustic datum, often associated with target pressure |
| Supersonic outflow, | 0 | Interior extrapolation, with no independent downstream state |
This is a local inviscid count. Sonic points, stagnation, corners, recirculation and mixed regimes need explicit handling. Total pressure, total temperature and flow direction are one common subsonic-inlet parameterization; they must combine with the outgoing interior information and EOS to produce a valid state. Prescribing density, all velocity components and pressure independently at a subsonic inlet generally imposes too much information. A changing outflow can develop inflow, requiring an appropriate exterior entropy and tangential state rather than continuing an outflow-only rule.
NASA’s Wind-US documentation uses characteristic theory for freestream boundaries and identifies one physical condition at a subsonic outflow. It also reports reflection from a constant-pressure outlet. A boundary described as “nonreflecting” therefore needs a measured reflection error for the incidence angles, frequencies and mean flow actually claimed. NASA flow-boundary documentation
Viscous Navier–Stokes additionally requires compatible velocity/stress and temperature/heat conditions. The hyperbolic table alone does not specify those parabolic data. An impermeable stationary Euler wall sets and allows slip. A moving Euler wall sets . A no-slip Newtonian wall sets , with either an adiabatic condition , a prescribed wall temperature, or another explicitly modelled thermal relation. These are different wall models. NASA wall conditions
Shared solid geometry owns volumes and fluxes
For a stationary solid intersecting a background grid, the fluid geometry should publish one versioned description: fluid volumes, open fluid-fluid areas, oriented wall patches, connectivity and face quadrature. A triangle hit distance alone does not provide this description. A velocity collision response followed by an unchanged full-cell flux update cannot claim conservative arbitrary-solid compressible flow.
The boundary of each valid cut control volume must close geometrically. For planar area quadrature this includes
Neighbouring fluid cells share the same open face geometry with opposite normals. The same wall normals and areas supply pressure forces, viscous traction, heat flux and solid reaction. A uniform static pressure then has zero resultant on a closed surface when its quadrature closes. An imbalance can produce spurious momentum even though all fluid-fluid fluxes cancel. The original metric study of Nolasco and colleagues connects geometry identities with freestream preservation; its smooth mapped-grid analysis does not prove arbitrary polyhedral clipping or topology assembly. Geometry identities and freestream preservation
For an inviscid impermeable stationary wall, the outward conservative flux is
The pressure is the boundary/Riemann pressure, with a declared reconstruction. In a ghost-state implementation, reflect the velocity component relative to wall motion while keeping the selected density and internal energy compatible with the EOS. Recompute total energy for the reflected velocity. A generic primitive-state copy does not enforce wall impermeability.
Small cut cells introduce a real stability cost: a flux acts on the fluid volume , potentially far below the background cell volume. The local explicit time-scale estimate is . Holding the full-cell step while shrinking the fluid volume can violate the selected CFL or positivity condition. Cell merging, conservative redistribution or local stepping can address this, but each needs a specified exchange, admissibility and accuracy argument. Clamping the volume fraction changes geometry and content. Report the smallest fluid fraction, the controlling cell and any stabilization transfers.
Moving solids require swept geometry and wall work
For a moving control volume, Reynolds transport gives
The ALE flux is therefore . Its acoustic speeds use fluid velocity relative to the face. At an inviscid impermeable solid wall , it reduces to
The outward energy flux removes energy at rate per area. With outward from the fluid, an inward-moving piston has , adding energy to the fluid. Omitting this term loses pressure work even when mass leakage is zero. For a no-slip viscous wall, the total outward energy flux is . Prescribed wall motion uses an external actuator; a two-way solid calculation needs the opposite force and work on the solid. The ALE derivation in Benoit and Nadarajah provides the moving-face subtraction from which these wall expressions follow. ALE Euler balance, §2.1
One necessary discrete geometric conservation law is
Use the same time-integrated swept geometry in the volume change and the ALE content update. A freestream on compatible moving control volumes should remain a freestream; stale areas or a different velocity quadrature can manufacture density and pressure. The moving-grid study explicitly analyses integrated face velocities and tests freestream preservation. That evidence is necessary for moving geometry, but does not by itself qualify newly uncovered cells, disappearing cells or cut-cell redistribution. Moving geometry and GCL, §§3–4
A moving physical piston need not preserve a uniform pressure: it compresses the fluid. Use a compatible translating fluid/wall configuration or free moving-mesh problem for a freestream test, and a separate piston work test for compression. Topology changes must transfer conservative contents over swept regions without duplicating or discarding fluid. Publish geometry, conservative state, material parameters and accepted time together. If assembly, EOS inversion or a stage fails, retain the previous coherent state and report the failure.
Turbulence is a separate modelling choice
Euler shock capture does not establish a turbulence model. Compressible Navier–Stokes with molecular stress specifies a continuum; a simulation only qualifies as DNS when its resolution and time sampling resolve the relevant dissipative motion for the claimed regime. LES evolves filtered quantities and needs a stated subgrid stress and heat-flux treatment, explicit or implicit, with a filter/grid interpretation. RANS evolves mean quantities and closes Reynolds/Favre stresses, turbulent heat transport and any additional model equations. LES, RANS and hybrid methods introduce model-form uncertainty beyond discretization error. NASA’s primary Wind-US model documentation exposes separate laminar, RANS, LES and hybrid options and their coefficients. NASA turbulence-model documentation
State the closure variant, coefficients, turbulent Prandtl treatment, inflow turbulence, transition assumptions and calibration data. Matching one drag value after retuning coefficients is calibration, not independent validation. For a wall model report , with , its evaluation convention in variable-density flow, and the full first-cell distribution. Also report streamwise/spanwise spacing and wall-normal layer counts. A universal target does not cover wall-resolved LES, wall-function RANS and DNS equally. Near-wall shear and heat flux can remain wrong while a bulk velocity plot looks smooth.
A reproducible verification ladder
Use analytical solutions and conservation identities for verification of equations and code; reserve physical validation for comparisons with independent experiments and their uncertainty. NASA distinguishes verification of a code from verification of a calculation and requires convergence and consistency checks. NASA verification, NASA validation
Every case should retain the EOS and nondimensionalization, initial conservative cell averages, physical boundary data, geometry version, reconstruction/flux/time integrator, all grid sizes and actual accepted steps, final time, reference method and its error, norms, conservation residuals, minimum density/pressure/internal energy and limiter/fallback counts. Save machine-readable values and original plotting scripts. Thresholds should follow a declared error budget; the case names below supply no universal pass percentage.
The separate computed reference and reproduction instructions document the bounded first-order periodic ideal-gas experiments used by the three-dimensional lab. Its planar Sod data end at ; periodicity introduces a second jump, so the central exact-reference comparison is restricted to . Its initial smooth fields are sampled at cell centres, and its acoustic viewer uses two nonparallel finite-amplitude modes. These are distinct from the proposed open-tube , pulse and smooth-vortex cases below. Periodic momentum conservation and open-tube pressure-force momentum change are both correct within their respective boundary models. The README records numerical checks and limitations; the lab displays their saved fields.
V0 Local algebra and negative cases
Before a flow animation, check conservative/primitive round trips, units, uniform-state flux, orientation reversal and shared-face cancellation. Check the normal-shock ratios in Chapter 26 and their jump residuals. Present inadmissible input and excessive-CFL cases as explicit rejected operations. For solids, exercise closed area-normal sums, zero mass leakage, wall work and a GCL freestream reference separately. Exact finite proofs establish their assumptions and algebra only; they do not prove floating-point EOS evaluation or arbitrary-mesh assembly.
V1 Sod shock tube
Use ideal gas , , discontinuity at , left primitive state , right state , and final time . The remaining two velocities are zero. Choose grids with even cell counts, for example 100, 200, 400 and 800, so the initial jump lies on a face. Keep endpoint data at their undisturbed states through this time; the wave fan has not reached the ends. Use unit cross-section, or report the actual extruded volume factor.
Derive the exact ideal-gas Riemann reference by solving , where a rarefaction branch uses
and a shock branch uses , , . Bracket the positive root and retain the root tolerance. Approximate checkpoints are , , , ; independently recompute them rather than treating rounded prose as the oracle. Wang and Li give the Riemann matching construction, including its ideal-gas limit. Riemann reference, §2
Compare conservative cell averages of the exact solution, integrating across wave breaks, with numerical cell averages. For primitive-field comparisons, derive the reference primitives from those conservative averages, or explicitly report a different primitive-average convention: nonlinear conversion and averaging do not commute. Record density, velocity and pressure L1 errors, shock/contact locations and widths, and overshoots. Initial integrated mass is 0.5625 and total energy 1.375 in these nondimensional units. Momentum changes by the net endpoint pressure flux: its integral should be at , not zero. Do not demand conservation of momentum in a tube with unequal boundary pressure forces. Smooth-region order and discontinuity-dominated norms need different interpretations. This case verifies one-dimensional wave structure; it says little about turbulence or multidimensional shock instability.
V2 Small acoustic pulse and outlet reflection
Set , , , and a Gaussian on . Initialize , , , with other velocities zero and total energy recovered from the EOS. For compare with the right-travelling linear reference , away from boundary contamination. Sweep and at least three grids resolving the pulse, such as 256, 512 and 1024 cells.
Measure propagation-speed/phase error, amplitude loss and the acoustic combinations . The unwanted left-travelling component measures a different error from damping. The linear reference has nonlinear Euler discrepancy of order over fixed pre-steepening time; refinement at fixed amplitude can plateau for that reason. Repeat with the pulse leaving a characteristic outlet, then compare with a longer-domain computation at the same resolution and time to estimate reflected amplitude. State probe location, time window and amplitude normalization. A planar pulse cannot qualify oblique-wave absorption.
V3 Smooth isentropic vortex convergence
Use , background , convection velocity , and vortex strength . With , , , define
These equations specify this fixture independently. Use , periodic , analytic exterior states/compatible incoming data in , and . A truncated Gaussian vortex is not exactly periodic in ; do not call a wrapped seam an exact smooth periodic solution. Compare 64², 128² and 256² grids with a declared extruded resolution. Integrate initial and reference conservative cell averages with quadrature more accurate than the expected numerical error. Nolasco and colleagues use an analytical three-dimensional isentropic vortex to assess metric accuracy, providing a primary reference for this type of smooth test. Vortex study, §5.1
For , report volume-weighted L1/L2/L∞ errors and the observed refinement rate . Refine time independently so spatial and temporal orders can be distinguished. First-order LLF should not be advertised as a second-order method because the reference is smooth. A z-invariant extrusion exercises three momentum components but does not verify fully three-dimensional vortex interaction or turbulence.
V4 Oblique shock and inclined wall
Use a calorically perfect gas with , , , zero attack angle and a stationary slip wedge turning the flow through . Then . Solve the weak attached-shock root of
Use upstream normal Mach , apply the normal-shock ratios, and obtain . The weak root is approximately . Retain branch, bracket and angular units in the reference. NASA’s oblique-shock equations state the turning relation and normal/tangential decomposition and link to the original NACA report. NASA oblique shocks, NACA 1135
Publish domain extents, wedge location, wall representation, farfield/outlet data and convergence criteria. Compare shock angle, pressure and density ratios, wall impermeability and global boundary-flux budgets under grid and boundary-distance refinement. An embedded wedge needs the same shared-geometry checks as other cut cells. Add a perturbed grid-aligned strong-shock case before claiming immunity to carbuncle instability. This inviscid attached-shock reference excludes separation, viscous wall heating and detached shocks beyond the attachment limit.
V5 Laminar boundary layer, then heat and turbulence
A first viscous check can use the NASA low-Mach flat-plate study: , static pressure 6.0 psia, temperature 700 Rankine, plate length 1 ft and reported . Its documented grid, inlet/outlet and wall choices make the case reproducible. Record the selected viscosity law and exact resulting Reynolds number; do not obtain a desired Reynolds number by silently changing material parameters. No archive code or figures are included here. NASA laminar flat plate, Study 1
For the incompressible, constant-property, zero-pressure-gradient approximation, independently solve Blasius’ boundary-value problem
Its reference values give local and . Compare velocity profiles, displacement thickness and wall shear at declared downstream stations, excluding the leading-edge singular region. Refine streamwise and wall-normal resolution separately and demonstrate steady convergence. At finite Mach this incompressible comparison is an approximation; for a tighter compressible claim use a compressible similarity/reference solution with the same thermal boundary and viscosity law. Adiabatic low-Mach agreement cannot qualify high-Mach heat transfer. Add heat-conduction/thermal-wall tests before claiming conductivity, then independent transition and turbulent-wall evidence before claiming a calibrated turbulence closure.
What the ladder establishes
Passing V1–V3 can support a bounded inviscid algorithm claim for the documented domains and regimes. V4 adds inclined-wall and shock evidence; V5 adds molecular-stress evidence under a declared thermal model. Arbitrary moving solids, EOS mixtures, shock–boundary-layer interaction, high-temperature gas and turbulence remain additional questions. Original reference data, checked finite identities and a three-dimensional teaching visualization are useful evidence with distinct scopes; none alone establishes a general production compressible solver.