The finite volume method (FVM) is a method for representing and evaluating
partial differential equation
In mathematics, a partial differential equation (PDE) is an equation which imposes relations between the various partial derivatives of a Multivariable calculus, multivariable function.
The function is often thought of as an "unknown" to be sol ...
s in the form of algebraic equations.
In the finite volume method, volume integrals in a partial differential equation that contain a
divergence
In vector calculus, divergence is a vector operator that operates on a vector field, producing a scalar field giving the quantity of the vector field's source at each point. More technically, the divergence represents the volume density of the ...
term are converted to
surface integral
In mathematics, particularly multivariable calculus, a surface integral is a generalization of multiple integrals to integration over surfaces. It can be thought of as the double integral analogue of the line integral. Given a surface, one may ...
s, using the
divergence theorem
In vector calculus, the divergence theorem, also known as Gauss's theorem or Ostrogradsky's theorem, reprinted in is a theorem which relates the ''flux'' of a vector field through a closed surface to the ''divergence'' of the field in the vol ...
.
These terms are then evaluated as fluxes at the surfaces of each finite volume. Because the flux entering a given volume is identical to that leaving the adjacent volume, these methods are
conservative
Conservatism is a cultural, social, and political philosophy that seeks to promote and to preserve traditional institutions, practices, and values. The central tenets of conservatism may vary in relation to the culture and civilization i ...
. Another advantage of the finite volume method is that it is easily formulated to allow for unstructured meshes. The method is used in many
computational fluid dynamics
Computational fluid dynamics (CFD) is a branch of fluid mechanics that uses numerical analysis and data structures to analyze and solve problems that involve fluid flows. Computers are used to perform the calculations required to simulate th ...
packages.
"Finite volume" refers to the small volume surrounding each node point on a mesh.
Finite volume methods can be compared and contrasted with the
finite difference methods
In numerical analysis, finite-difference methods (FDM) are a class of numerical techniques for solving differential equations by approximating Derivative, derivatives with Finite difference approximation, finite differences. Both the spatial dom ...
, which approximate derivatives using nodal values, or
finite element methods
The finite element method (FEM) is a popular method for numerically solving differential equations arising in engineering and mathematical modeling. Typical problem areas of interest include the traditional fields of structural analysis, heat t ...
, which create local approximations of a solution using local data, and construct a global approximation by stitching them together. In contrast a finite volume method evaluates exact expressions for the ''average'' value of the solution over some volume, and uses this data to construct approximations of the solution within cells.
Example
Consider a simple 1D
advection
In the field of physics, engineering, and earth sciences, advection is the transport of a substance or quantity by bulk motion of a fluid. The properties of that substance are carried with it. Generally the majority of the advected substance is al ...
problem:
Here,
represents the state variable and
represents the
flux
Flux describes any effect that appears to pass or travel (whether it actually moves or not) through a surface or substance. Flux is a concept in applied mathematics and vector calculus which has many applications to physics. For transport ph ...
or flow of
. Conventionally, positive
represents flow to the right while negative
represents flow to the left. If we assume that equation () represents a flowing medium of constant area, we can sub-divide the spatial domain,
, into ''finite volumes'' or ''cells'' with cell centers indexed as
. For a particular cell,
, we can define the ''volume average'' value of
at time
and
, as
and at time
as,
where
and
represent locations of the upstream and downstream faces or edges respectively of the
cell.
Integrating equation () in time, we have:
where
.
To obtain the volume average of
at time
, we integrate
over the cell volume,
and divide the result by
, i.e.
We assume that
is well behaved and that we can reverse the order of integration. Also, recall that flow is normal to the unit area of the cell. Now, since in one dimension
, we can apply the
divergence theorem
In vector calculus, the divergence theorem, also known as Gauss's theorem or Ostrogradsky's theorem, reprinted in is a theorem which relates the ''flux'' of a vector field through a closed surface to the ''divergence'' of the field in the vol ...
, i.e.
, and substitute for the volume integral of the
divergence
In vector calculus, divergence is a vector operator that operates on a vector field, producing a scalar field giving the quantity of the vector field's source at each point. More technically, the divergence represents the volume density of the ...
with the values of
evaluated at the cell surface (edges
and
) of the finite volume as follows:
where
.
We can therefore derive a ''semi-discrete'' numerical scheme for the above problem with cell centers indexed as
, and with cell edge fluxes indexed as
, by differentiating () with respect to time to obtain:
where values for the edge fluxes,
, can be reconstructed by
interpolation
In the mathematical field of numerical analysis, interpolation is a type of estimation, a method of constructing (finding) new data points based on the range of a discrete set of known data points.
In engineering and science, one often has a n ...
or
extrapolation
In mathematics, extrapolation is a type of estimation, beyond the original observation range, of the value of a variable on the basis of its relationship with another variable. It is similar to interpolation, which produces estimates between know ...
of the cell averages. Equation () is ''exact'' for the volume averages; i.e., no approximations have been made during its derivation.
This method can also be applied to a
2D situation by considering the north and south faces along with the east and west faces around a node.
General conservation law
We can also consider the general
conservation law
In physics, a conservation law states that a particular measurable property of an isolated physical system does not change as the system evolves over time. Exact conservation laws include conservation of energy, conservation of linear momentum, c ...
problem, represented by the following
PDE,
Here,
represents a vector of states and
represents the corresponding
flux
Flux describes any effect that appears to pass or travel (whether it actually moves or not) through a surface or substance. Flux is a concept in applied mathematics and vector calculus which has many applications to physics. For transport ph ...
tensor. Again we can sub-divide the spatial domain into finite volumes or cells. For a particular cell,
, we take the volume integral over the total volume of the cell,
, which gives,
On integrating the first term to get the ''volume average'' and applying the ''divergence theorem'' to the second, this yields
where
represents the total surface area of the cell and
is a unit vector normal to the surface and pointing outward. So, finally, we are able to present the general result equivalent to (), i.e.
Again, values for the edge fluxes can be reconstructed by interpolation or extrapolation of the cell averages. The actual numerical scheme will depend upon problem geometry and mesh construction.
MUSCL reconstruction is often used in
high resolution scheme
High-resolution schemes are used in the numerical solution of partial differential equations where high accuracy is required in the presence of shocks or discontinuities. They have the following properties:
*Second- or higher-Order of accuracy, ...
s where shocks or discontinuities are present in the solution.
Finite volume schemes are conservative as cell averages change through the edge fluxes. In other words, ''one cell's loss is always another cell's gain''!
See also
*
Finite element method
The finite element method (FEM) is a popular method for numerically solving differential equations arising in engineering and mathematical modeling. Typical problem areas of interest include the traditional fields of structural analysis, heat ...
*
Flux limiter
Flux limiters are used in high resolution schemes – numerical schemes used to solve problems in science and engineering, particularly fluid dynamics, described by partial differential equations (PDEs). They are used in high resolution schemes, su ...
*
Godunov's scheme In numerical analysis and computational fluid dynamics, Godunov's scheme is a conservative numerical scheme, suggested by S. K. Godunov in 1959, for solving partial differential equations. One can think of this method as a conservative finite-vol ...
*
Godunov's theorem In numerical analysis and computational fluid dynamics, Godunov's theorem — also known as Godunov's order barrier theorem — is a mathematical theorem important in the development of the theory of high resolution schemes for the numerical solutio ...
*
High-resolution scheme
High-resolution schemes are used in the numerical solution of partial differential equations where high accuracy is required in the presence of shocks or discontinuities. They have the following properties:
*Second- or higher-Order of accuracy, ...
*
KIVA (Software)
*
MIT General Circulation Model
The MIT General Circulation Model (MITgcm) is a numerical computer code that solves the equations of motion governing the ocean or Earth's atmosphere using the finite volume method. It was developed at the Massachusetts Institute of Technology and ...
*
MUSCL scheme In the study of partial differential equations, the MUSCL scheme is a finite volume method that can provide highly accurate numerical solutions for a given system, even in cases where the solutions exhibit shocks, discontinuities, or large gradients ...
*
Sergei K. Godunov
Sergei Konstantinovich Godunov (russian: Серге́й Константи́нович Годуно́в; born July 17, 1929) is a Soviet and Russian professor at the Sobolev Institute of Mathematics of the Russian Academy of Sciences in Novosibirs ...
*
Total variation diminishing In numerical methods, total variation diminishing (TVD) is a property of certain discretization schemes used to solve hyperbolic partial differential equations. The most notable application of this method is in computational fluid dynamics. The conc ...
*
Finite volume method for unsteady flow Unsteady flows are characterized as flows in which the properties of the fluid are time dependent. It gets reflected in the governing equations as the time derivative of the properties are absent.
For Studying Finite-volume method for unsteady flow ...
References
Further reading
*Eymard, R. Gallouët, T. R.,
Herbin, R. (2000) ''The finite volume method'' Handbook of Numerical Analysis, Vol. VII, 2000, p. 713–1020. Editors: P.G. Ciarlet and J.L. Lions.
*Hirsch, C. (1990), ''Numerical Computation of Internal and External Flows, Volume 2: Computational Methods for Inviscid and Viscous Flows'', Wiley.
*Laney, Culbert B. (1998), ''Computational Gas Dynamics'', Cambridge University Press.
*LeVeque, Randall (1990), ''Numerical Methods for Conservation Laws'', ETH Lectures in Mathematics Series, Birkhauser-Verlag.
*LeVeque, Randall (2002), ''Finite Volume Methods for Hyperbolic Problems'', Cambridge University Press.
*Patankar, Suhas V. (1980), ''Numerical Heat Transfer and Fluid Flow'', Hemisphere.
*Tannehill, John C., et al., (1997), ''Computational Fluid mechanics and Heat Transfer'', 2nd Ed., Taylor and Francis.
*Toro, E. F. (1999), ''Riemann Solvers and Numerical Methods for Fluid Dynamics'', Springer-Verlag.
*Wesseling, Pieter (2001), ''Principles of Computational Fluid Dynamics'', Springer-Verlag.
External links
Finite volume methodsby R. Eymard, T Gallouët and
R. Herbin, update of the article published in Handbook of Numerical Analysis, 2000
* , available under the
GFDL
The GNU Free Documentation License (GNU FDL or simply GFDL) is a copyleft license for free documentation, designed by the Free Software Foundation (FSF) for the GNU Project. It is similar to the GNU General Public License, giving readers the r ...
.
FiPy: A Finite Volume PDE Solver Using Pythonfrom NIST.
CLAWPACK a software package designed to compute numerical solutions to hyperbolic partial differential equations using a wave propagation approach
{{Differential equations topics
Numerical differential equations
Computational fluid dynamics
Numerical analysis