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]
Riemann Problems and Jupyter Solutions by David I. Ketcheson, Randall J. LeVeque, and Mauricio J. del Razo. Approximate solvers, §Finite volume methods, equation FVupdate and the following cancellation argument
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 byThe integral balance over one cell and one time interval of length isFor 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 givesThus 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]
Riemann Problems and Jupyter Solutions by David I. Ketcheson, Randall J. LeVeque, and Mauricio J. del Razo. Approximate solvers, §§Finite volume methods, Godunov's method, High-resolution methods: wrong shock speeds, time-step restrictions and smeared jumps
The original periodic upwind finite volume advection example isolates the shared-transfer mechanism in a problem with a known translated solution.The Finite Volume Method (FVM) is a numerical technique used for solving partial differential equations (PDEs) that arise in various fields, including fluid dynamics, heat transfer, and other continuum mechanics problems. The method is particularly well-suited for problems involving conservation laws because it inherently conserves quantities over finite volumes, making it a powerful tool for simulating transport phenomena.
New to topics? Read the docs here!