Conservation law flux Created 2026-10-07 Updated 2026-10-14
A conservation law flux transports the conserved density across a surface. In one dimension ; a moving discontinuity satisfies . For a stationary shock wave, each conserved flux has the same value on both sides.
Finite volume method Created 2026-10-07 Updated 2026-10-14
The finite volume method follows the amount of a conserved quantity inside each control volume. Its unknowns are cell averages, rather than values at isolated points: a cell's width times its stored average approximates that cell's total. A numerical flux transfers an amount across a face. Using one shared transfer for both neighboring cells makes the loss from one exactly the gain of the other, as explained in shared face flux cancellation.[ref]
For a one-dimensional scalar conservation law without sources, let , with conservation law flux . Fix cells of widths . Define the exact cell average and its numerical approximation by
The integral balance over one cell and one time interval of length is
For a smooth solution this follows by integration of the differential equation; with jump discontinuities, it expresses the conservation law in integral form, using appropriate face traces when they exist. Replacing each time-averaged face conservation law flux by a numerical flux gives
Thus the finite volume method implements a balance directly, without needing a pointwise derivative at a jump. The tube balance in Riemann Problems and Jupyter Solutions by David I. Ketcheson, Randall J. LeVeque, and Mauricio J. del Razo (Advection, §Conservation of mass) motivates this construction from conservation of mass.
This is useful for shock waves: their speed is constrained by the Rankine-Hugoniot condition, itself an integral balance. A nonconservative approximation can give a visibly plausible jump with the wrong speed. Conservation is one requirement; a nonlinear scalar conservation law also needs the correct entropy solution, and the chosen numerical flux and update need their own stability and accuracy analysis.[ref] The original periodic upwind finite volume advection example isolates the shared-transfer mechanism in a problem with a known translated solution.
For hindered settling with normalized particle volume fraction , upward coordinate and downward isolated settling velocity magnitude , the scalar conservation law has conservation law flux . For , its convexity changes at when this lies in the physical interval. This change distinguishes spreading rarefaction waves from compressing characteristic curves; a flux with an inflection can produce both a shock wave and a rarefaction wave in one transition. At the flux is linear and the profile simply translates.
Numerical flux Created 2026-10-07 Updated 2026-10-14
A numerical flux estimates the rate of transfer across a cell face from nearby states. In the finite volume method update, approximates the conservation law flux averaged over the time step; is the transferred amount. For a two-state numerical flux approximating a scalar conservation law with conservation law flux , consistency of a numerical method requires . Thus equal states recover the physical transfer rate. With constant equal-width cells, this also preserves a constant state because its incoming and outgoing numerical fluxes agree.[ref]
Consistency and shared face flux cancellation answer different questions: matching at equal states approximates the intended equation, while sharing one oriented face value preserves the total. The example periodic upwind finite volume advection uses for , so the arriving state comes from the left. The Godunov numerical flux uses an entropy solution of a local Riemann problem; the Engquist-Osher flux provides a different construction for a scalar conservation law. A monotone conservative scheme uses a numerical flux nondecreasing in its left state and nonincreasing in its right state, together with a time step that makes the complete update monotone. Neither two-state consistency nor conservation by itself supplies that time-step restriction or a general stability or order of a numerical method guarantee.
Let the original area be and the increased upstream area be . At , the conservation law flux is strictly convex. Characteristics behind the increase travel faster than those ahead, forming an admissible shock wave. Rankine-Hugoniot conditions give its speed
At the idealized hydrograph jumps from to at . With positive , the diffusion term spreads the rise over a finite interval. The hydrograph is rounded, with an earlier small response and a later approach to the new discharge, rather than an instantaneous jump.
The physical cause is the longitudinal pressure gradient: a local increase in depth influences neighbouring sections and redistributes water before pure downstream transport would deliver a discontinuity. For a small increase, linearization about has speed and diffusivity . The smooth curve in the figure is the exact half-line step response for this linearized advection-diffusion equation; it illustrates the shape without claiming to solve a large nonlinear jump exactly.
Figure 1.
Sharp and diffused downstream hydrographs, with subcritical and supercritical bed-surface phases
. Details.
For , , so the characteristic speed is and the conservation law flux is strictly convex. Let and let be the initial vertical position of a characteristic curve.
For the increasing ramp, the characteristic curves within its sloping part satisfy . They spread apart and never cross. The outer plateau characteristic speeds are and , so the complete entropy solution is
The transition widens linearly and its gradient decreases. At large time it approaches a rarefaction wave, with inside its expanding transition.
For the decreasing ramp, and the characteristic curves converge. Before they meet,
All the ramp characteristic curves meet at at
Thereafter a stationary sedimentation shock separates below from above. Indeed the Rankine-Hugoniot condition gives
and the incoming characteristic speeds satisfy , which makes it an admissible entropy shock. The discontinuity transports no net excess particle flux because both plateau fluxes equal . These are local solutions before a finite container's boundaries affect the transition.
Figure 1.
Spreading and shock formation for quadratic hindered-settling flux
. Details.
The dependence on is controlled by the hindered-settling flux inflection:
For any smooth initial profile, the characteristic flow map has derivative
This formula gives the first characteristic crossing: minimize the positive values of . At neither ramp changes shape; both move down at . For , the flux is convex throughout : the increasing ramp spreads and the decreasing ramp steepens, although its entire ramp generally no longer focuses simultaneously. For , the flux is concave throughout that interval and these roles reverse. At the endpoint values the curvature vanishes at one plateau; it does not reverse sign inside the interval.
For , the inflection lies between the plateau concentrations. Below the increasing ramp spreads, while above it that ramp compresses; the decreasing ramp has the opposite local behavior. After characteristic crossing, the entropy solution can contain both a shock wave and a rarefaction wave. Quantitatively, an increasing step is selected by the lower convex envelope of on the interval between its states: curved portions supply rarefaction waves, and straight portions supply shock waves. A decreasing step uses the upper concave envelope. A join between a fan and a shock wave at a state satisfies the tangent-chord relation , where is the other shock state. Thus curvature, not simply the magnitude of , decides the wave pattern; the envelope may reduce to one shock if the tangent lies outside the state interval.
Let be the total gas energy density, with . The one-dimensional continuity and momentum equations are
Using continuity to put the momentum equation into conservative form gives
The internal energy density satisfies
by the adiabatic pressure equation. Multiplying the momentum equation by and using continuity gives
Adding these equations combines the pressure work into . The conservation law variables and conservation law fluxes are therefore
The three rows express conservation of mass, momentum and total energy. Their integral conservation laws remain meaningful across a shock wave, where the differential pressure and velocity equations cannot be applied pointwise.
Integrating each conservation law across a vanishingly thin interval around the stationary shock wave leaves equal conservation law fluxes on its two sides. Hence
These are the Rankine-Hugoniot conditions for a perfect gas. Signed velocities may both be negative when the material travels from positive to negative ; no sign change is needed in the conservation law fluxes.
Put , and . Momentum conservation gives
Divide the energy condition by the nonzero mass flux. Equality of kinetic energy plus specific enthalpy gives
Substituting and multiplying by yields
The factor is the continuous, no-shock solution. On the nontrivial normal shock wave branch,
An admissible compressive gas shock wave has , so and . The algebraic jump equations alone also allow a reversed expansive discontinuity; the entropy production in a perfect-gas shock excludes that branch. At the nontrivial branch joins the continuous solution.
For the negative-flux Inviscid Burgers equation, the method of characteristics gives
The characteristic curve starting at therefore has , and hence
For smooth data this describes a single-valued classical solution as long as the characteristic flow map is invertible. Its Jacobian is ; after characteristic crossing, one must instead select a weak solution with the appropriate entropy solution condition.
The conservation form is , with conservation law flux . Integrating this scalar conservation law across a moving discontinuity, or differentiating its Heaviside representation as a distribution, yields the Rankine-Hugoniot condition
For distinct one-sided limits it simplifies to
This jump-speed relation is exact for the Burgers conservation law; an additional entropy condition is needed to distinguish a physical compressive shock wave from an expansion discontinuity.
The step gives the Burgers Riemann problem with negative flux. If , characteristic curves from the left have speed zero, while those from the right have speed : they converge. The entropy shock wave has speed and thus
Characteristics enter this shock from both sides, since .
If , the right-hand speed is positive and the two families separate. A smooth steep approximation to the initial step spreads into a rarefaction wave. In the fan, the self-similar characteristic curve relation is , giving
The endpoint values match continuously. The discontinuity moving at would satisfy the jump condition even for , but its characteristic curves leave the discontinuity and it fails entropy admissibility. For the solution is identically zero.
Figure 1.
Characteristics of the negative-flux Burgers step: compression gives a shock for positive U, while negative U gives a rarefaction fan
. Details.
A spherical bubble displaces liquid volume . Neglect its own weight compared with the liquid buoyancy, as required by the stated gas/liquid approximation. Equating with the quadratic drag gives
Retaining a nonnegligible gas density would add the factor . Let , so the upward slip is .
With constant phase densities, adding the two volume balances gives . The closed lower end fixes the total volume flux to zero. Solving it together with the slip relation yields
Individual bubbles move upward for , while small phase-fraction disturbances move at the characteristic speed . The latter is negative when : wave speed and bubble speed are different quantities.
A cleared region starts at the closed bottom, with and . Its Rankine-Hugoniot condition speed is . The intended clearing solution is therefore
It is an entropy shock for the concave conservation law flux, since . Its speed also equals the bubble speed on its uncleared side, so it follows the last layer of bubbles. Under this continuation the last bubble reaches the outlet when
after which throughout the pipe.
There is a boundary qualification for this dense initial mixture. The characteristics in the uncleared state point into the pipe from the top. To continue the displayed solution all the way to the stated clearance time, its incoming top trace must remain until clearing. Initial characteristics alone cover the shock only until , when its backward right-state characteristic first meets the top boundary. Atmospheric pressure by itself is not a boundary condition for this scalar phase-fraction equation. Thus the displayed formula and printed clearance time give the intended maintained-trace branch; a different top phase-fraction closure could change the later evolution. This is the incoming boundary condition in dense bubble clearing, and is separate from the local derivation of the conservation law.
Scalar conservation law Created 2026-09-24 Updated 2026-11-05
A one-dimensional scalar conservation law describes the balance of a scalar density and its conservation law flux :
The second identity follows from the first for smooth : the quantity inside a fixed interval changes only through its boundary fluxes. For a classical solution, the chain rule also gives the quasilinear partial differential equation , with characteristic speed .
The conservative form still defines a discontinuous weak solution. With initial condition , it requires
for every smooth compactly supported test function on . For , a jump from to travels at speed by the Rankine-Hugoniot condition, between incoming characteristic speeds and . Reversing those states still gives a conservative jump of speed , but entropy solution admissibility selects a rarefaction wave. Thus conservation determines jump balance while an entropy condition selects the continuation after characteristic crossing.[ref]
A travelling wave of the viscous Burgers equation can connect constant states through a smooth decreasing layer. Require , , , , and at both ends. Substitution and one integration give
The speed follows by evaluating the integration constant at both end states. It is precisely the Rankine-Hugoniot condition for conservation law flux . Choosing the center gives the displayed hyperbolic tangent profile. Its characteristic width scales as ; a smaller positive makes a thinner smooth layer.
For an original worked example in dimensionless quantities, take , and :
This is an exact classical solution on with its own smooth initial condition and limiting states . It is a family of moving profiles, not the finite- solution starting from an exact discontinuous step. For that different initial condition, the Cole-Hopf transformation supplies the evolution. At , this front starts from the same profile as the Burgers characteristic breaking example: positive diffusion maintains a smooth moving layer while the inviscid profile breaks at .
To check the partial differential equation explicitly, set and . Then
The independent Rankine-Hugoniot condition check gives , using and . At fixed , the vanishing viscosity approximation tends to the entropy shock for and for . At the center the smooth profiles stay at ; changing the value on the discontinuity does not change the limiting weak solution.
Figure 1.
Exact viscous fronts from 2 to 0: the speed stays 1 while the layer narrows with viscosity
. Details.
For , the same integrated ordinary differential equation has between the two states when , so it cannot supply an increasing connecting front. The inviscid admissible expansion is the rarefaction wave of the Burgers Riemann problem with positive flux.