Finite volume method
From Wikipedia, the free encyclopedia
The finite volume method is a method for representing and evaluating partial differential equations as algebraic equations. Similar to the finite difference method, values are calculated at discrete places on a meshed geometry. "Finite volume" refers to the small volume surrounding each node point on a mesh. In the finite volume method, volume integrals in a partial differential equation that contain a divergence term are converted to surface integrals, using the divergence theorem. 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. 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 packages.
Contents |
[edit] 1D example
Consider a simple 1D conservative system defined by the following partial differential equation
Here, represents the state variable and represents the flux or flow of . Conventionally, positive represents flow to the right whilst negative represents flow to the left. If we assume that (1) represents a flowing medium of constant area, we can sub-divide the spatial domain, , into finite volumes or cells. For a particular cell, , we can define the volume average value of at time and , as,
and at time as,
where and represent the faces of the cell.
Integrating equation (1) in time, we have:
Since in one dimension , we can apply the divergence theorem and substitute the divergence with the values of f(x) at the extreme points x1 and x2 of the finite volume as follows:
We can therefore derive a semi-discrete numerical scheme for the above problem with cell centres indexed as , and with cell fluxes defined at the cell edges, by differentiating (4) w.r.t. time to obtain,
where values for the edge fluxes, , can be reconstructed by interpolation or extrapolation of the cell averages.
[edit] General hyperbolic problem
We can also consider a general hyperbolic problem, represented by the following PDE,
Here, represents a vector of states and represents the corresponding flux vector. 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. So, finally, we are able to present the general result equivalent to (5), 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 schemes 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 another cell's gain!
[edit] See also
- Flux limiter
- Godunov's theorem
- High-resolution scheme
- MUSCL scheme
- Sergei K. Godunov
- Total variation diminishing
- Finite element method
[edit] External links
- The Finite Volume Method (FVM) - An introduction by Oliver Rübenkönig of Albert Ludwigs University of Freiburg, available under the GFDL.