Finite volume method explained

The finite volume method (FVM) is a method for representing and evaluating partial differential equations in the form of algebraic equations.[1] 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."Finite volume" refers to the small volume surrounding each node point on a mesh.[2]

Finite volume methods can be compared and contrasted with the finite difference methods, which approximate derivatives using nodal values, or finite element methods, 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.[3] [4]

Example

Consider a simple 1D advection problem:

Here,

\rho=\rho\left(x,t\right)

represents the state variable and

f=f\left(\rho\left(x,t\right)\right)

represents the flux or flow of

\rho

. Conventionally, positive

f

represents flow to the right while negative

f

represents flow to the left. If we assume that equation represents a flowing medium of constant area, we can sub-divide the spatial domain,

x

, into finite volumes or cells with cell centers indexed as

i

. For a particular cell,

i

, we can define the volume average value of

{\rho}i\left(t\right)=\rho\left(x,t\right)

at time

{t=t1}

and

{x\in\left[xi-1/2,xi+1/2\right]}

, as

and at time

t=t2

as,

where

xi-1/2

and

xi+1/2

represent locations of the upstream and downstream faces or edges respectively of the

ith

cell.

Integrating equation in time, we have:

where

f
x=\partialf
\partialx
.

To obtain the volume average of

\rho\left(x,t\right)

at time

t=t2

, we integrate

\rho\left(x,t2\right)

over the cell volume,

\left[xi-1/2,xi+1/2\right]

and divide the result by

\Deltaxi=xi+1/2-xi-1/2

, i.e.

We assume that

f

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

fx\triangleq\nablaf

, we can apply the divergence theorem, i.e.

\ointv\nablafdv=\ointSfdS

, and substitute for the volume integral of the divergence with the values of

f(x)

evaluated at the cell surface (edges

xi-1/2

and

xi+1/2

) of the finite volume as follows:

where

fi=f\left(xi,t\right)

.

We can therefore derive a semi-discrete numerical scheme for the above problem with cell centers indexed as

i

, and with cell edge fluxes indexed as

i\pm1/2

, by differentiating with respect to time to obtain:

where values for the edge fluxes,

fi

, can be reconstructed by interpolation or extrapolation 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 problem, represented by the following PDE,

Here,

u

represents a vector of states and

f

represents the corresponding flux tensor. Again we can sub-divide the spatial domain into finite volumes or cells. For a particular cell,

i

, we take the volume integral over the total volume of the cell,

vi

, which gives,

On integrating the first term to get the volume average and applying the divergence theorem to the second, this yields

where

Si

represents the total surface area of the cell and

{n}

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 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 always another cell's gain!

See also

Further reading

External links

Notes and References

  1. Book: LeVeque, Randall. 2002. Finite Volume Methods for Hyperbolic Problems. 9780511791253.
  2. Wanta . D. . Smolik . W. T. . Kryszyn . J. . Wróblewski . P. . Midura . M. . October 2021 . A Finite Volume Method using a Quadtree Non-Uniform Structured Mesh for Modeling in Electrical Capacitance Tomography . Proceedings of the National Academy of Sciences, India Section A: Physical Sciences . 92 . 3 . 443–452 . en. 10.1007/s40010-021-00748-7 . free.
  3. Fallah. N. A.. Bailey. C.. Cross. M.. Taylor. G. A.. 2000-06-01. Comparison of finite element and finite volume methods application in geometrically nonlinear stress analysis. Applied Mathematical Modelling. en. 24. 7. 439–455. 10.1016/S0307-904X(99)00047-5. 0307-904X. free.
  4. Book: Ranganayakulu, C. (Chennu). Compact heat exchangers : analysis, design and optimization using FEM and CFD approach. Seetharamu, K. N.. 978-1-119-42435-2. Hoboken, NJ. Chapter 3, Section 3.1. 2 February 2018 . 1006524487.