| Differential equations | |||||
|---|---|---|---|---|---|
| Scope | |||||
| Classification | |||||
Types
| |||||
Relation to processes | |||||
| Solution | |||||
Solution methods | |||||
| People | |||||
| Specific equations | |||||
Named equations | |||||
Thefinite volume method (FVM) is a method for representing and evaluatingpartial differential equations in the form of algebraic equations.[1]In the finite volume method, volume integrals in a partial differential equation that contain adivergence term are converted tosurface integrals, using thedivergence 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 areconservative. Another advantage of the finite volume method is that it is easily formulated to allow for unstructured meshes. The method is used in manycomputational 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 thefinite difference methods, which approximate derivatives using nodal values, orfinite 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 theaverage value of the solution over some volume, and uses this data to construct approximations of the solution within cells.[3][4]
Consider a simple 1Dadvection problem:
| 1 |
Here, represents the state variable and represents theflux or flow of. Conventionally, positive represents flow to the right while negative represents flow to the left. If we assume that equation (1) represents a flowing medium of constant area, we can sub-divide the spatial domain,, intofinite volumes orcells with cell centers indexed as. For a particular cell,, we can define thevolume average value of at time and, as
| 2 |
and at time as,
| 3 |
where and represent locations of the upstream and downstream faces or edges respectively of the cell.
Integrating equation (1) in time, we have:
| 4 |
where.
To obtain the volume average of at time, we integrate over the cell volume, and divide the result by, i.e.
| 5 |
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 thedivergence theorem, i.e., and substitute for the volume integral of thedivergence with the values of evaluated at the cell surface (edges and) of the finite volume as follows:
| 6 |
where.
We can therefore derive asemi-discrete numerical scheme for the above problem with cell centers indexed as, and with cell edge fluxes indexed as, by differentiating (6) with respect to time to obtain:
| 7 |
where values for the edge fluxes,, can be reconstructed byinterpolation orextrapolation of the cell averages. Equation (7) isexact for the volume averages; i.e., no approximations have been made during its derivation.
This method can also be applied to a2D situation by considering the north and south faces along with the east and west faces around a node.
We can also consider the generalconservation law problem, represented by the followingPDE,
| 8 |
Here, represents a vector of states and represents the correspondingflux 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,
| 9 |
On integrating the first term to get thevolume average and applying thedivergence theorem to the second, this yields
| 10 |
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 (8), i.e.
| 11 |
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 inhigh 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!
{{cite book}}: CS1 maint: location missing publisher (link)