fbpx
Wikipedia

Finite volume method

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 edit

Consider a simple 1D advection problem:

 

 

 

 

 

(1)

Here,   represents the state variable and   represents the flux 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,  , 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

 

 

 

 

 

(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 the divergence theorem, i.e.  , and substitute for the volume integral of the divergence with the values of   evaluated at the cell surface (edges   and  ) of the finite volume as follows:

 

 

 

 

 

(6)

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 (6) with respect to time to obtain:

 

 

 

 

 

(7)

where values for the edge fluxes,  , can be reconstructed by interpolation or extrapolation of the cell averages. Equation (7) 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 edit

We can also consider the general conservation law problem, represented by the following PDE,

 

 

 

 

 

(8)

Here,   represents a vector of states and   represents the corresponding flux 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 the volume average and applying the divergence 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 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 edit

References edit

  1. ^ LeVeque, Randall (2002). Finite Volume Methods for Hyperbolic Problems. ISBN 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. doi:10.1007/s40010-021-00748-7.
  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. 24 (7): 439–455. doi:10.1016/S0307-904X(99)00047-5. ISSN 0307-904X.
  4. ^ Ranganayakulu, C. (Chennu) (2 February 2018). "Chapter 3, Section 3.1". Compact heat exchangers : analysis, design and optimization using FEM and CFD approach. Seetharamu, K. N. Hoboken, NJ. ISBN 978-1-119-42435-2. OCLC 1006524487.{{cite book}}: CS1 maint: location missing publisher (link)

Further reading edit

  • 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 edit

  • Finite volume methods by R. Eymard, T Gallouët and R. Herbin, update of the article published in Handbook of Numerical Analysis, 2000
  • Rübenkönig, Oliver. . Archived from the original on 2009-10-02., available under the GFDL.
  • FiPy: A Finite Volume PDE Solver Using Python from NIST.
  • CLAWPACK: a software package designed to compute numerical solutions to hyperbolic partial differential equations using a wave propagation approach

finite, volume, method, finite, volume, method, method, representing, evaluating, partial, differential, equations, form, algebraic, equations, finite, volume, method, volume, integrals, partial, differential, equation, that, contain, divergence, term, convert. 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 Contents 1 Example 2 General conservation law 3 See also 4 References 5 Further reading 6 External linksExample editConsider a simple 1D advection problem r t f x 0 t 0 displaystyle frac partial rho partial t frac partial f partial x 0 quad t geq 0 nbsp 1 Here r r x t displaystyle rho rho left x t right nbsp represents the state variable and f f r x t displaystyle f f left rho left x t right right nbsp represents the flux or flow of r displaystyle rho nbsp Conventionally positive f displaystyle f nbsp represents flow to the right while negative f displaystyle f nbsp 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 x displaystyle x nbsp into finite volumes or cells with cell centers indexed as i displaystyle i nbsp For a particular cell i displaystyle i nbsp we can define the volume average value of ri t r x t displaystyle rho i left t right rho left x t right nbsp at time t t1 displaystyle t t 1 nbsp and x xi 12 xi 12 displaystyle x in left x i frac 1 2 x i frac 1 2 right nbsp as r i t1 1xi 12 xi 12 xi 12xi 12r x t1 dx displaystyle bar rho i left t 1 right frac 1 x i frac 1 2 x i frac 1 2 int x i frac 1 2 x i frac 1 2 rho left x t 1 right dx nbsp 2 and at time t t2 displaystyle t t 2 nbsp as r i t2 1xi 12 xi 12 xi 12xi 12r x t2 dx displaystyle bar rho i left t 2 right frac 1 x i frac 1 2 x i frac 1 2 int x i frac 1 2 x i frac 1 2 rho left x t 2 right dx nbsp 3 where xi 12 displaystyle x i frac 1 2 nbsp and xi 12 displaystyle x i frac 1 2 nbsp represent locations of the upstream and downstream faces or edges respectively of the ith displaystyle i text th nbsp cell Integrating equation 1 in time we have r x t2 r x t1 t1t2fx x t dt displaystyle rho left x t 2 right rho left x t 1 right int t 1 t 2 f x left x t right dt nbsp 4 where fx f x displaystyle f x frac partial f partial x nbsp To obtain the volume average of r x t displaystyle rho left x t right nbsp at time t t2 displaystyle t t 2 nbsp we integrate r x t2 displaystyle rho left x t 2 right nbsp over the cell volume xi 12 xi 12 displaystyle left x i frac 1 2 x i frac 1 2 right nbsp and divide the result by Dxi xi 12 xi 12 displaystyle Delta x i x i frac 1 2 x i frac 1 2 nbsp i e r i t2 1Dxi xi 12xi 12 r x t1 t1t2fx x t dt dx displaystyle bar rho i left t 2 right frac 1 Delta x i int x i frac 1 2 x i frac 1 2 left rho left x t 1 right int t 1 t 2 f x left x t right dt right dx nbsp 5 We assume that f displaystyle f nbsp 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 f displaystyle f x triangleq nabla cdot f nbsp we can apply the divergence theorem i e v fdv SfdS displaystyle oint v nabla cdot fdv oint S f dS nbsp and substitute for the volume integral of the divergence with the values of f x displaystyle f x nbsp evaluated at the cell surface edges xi 12 displaystyle x i frac 1 2 nbsp and xi 12 displaystyle x i frac 1 2 nbsp of the finite volume as follows r i t2 r i t1 1Dxi t1t2fi 12dt t1t2fi 12dt displaystyle bar rho i left t 2 right bar rho i left t 1 right frac 1 Delta x i left int t 1 t 2 f i frac 1 2 dt int t 1 t 2 f i frac 1 2 dt right nbsp 6 where fi 12 f xi 12 t displaystyle f i pm frac 1 2 f left x i pm frac 1 2 t right nbsp We can therefore derive a semi discrete numerical scheme for the above problem with cell centers indexed as i displaystyle i nbsp and with cell edge fluxes indexed as i 12 displaystyle i pm frac 1 2 nbsp by differentiating 6 with respect to time to obtain dr idt 1Dxi fi 12 fi 12 0 displaystyle frac d bar rho i dt frac 1 Delta x i left f i frac 1 2 f i frac 1 2 right 0 nbsp 7 where values for the edge fluxes fi 12 displaystyle f i pm frac 1 2 nbsp can be reconstructed by interpolation or extrapolation of the cell averages Equation 7 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 editWe can also consider the general conservation law problem represented by the following PDE u t f u 0 displaystyle frac partial mathbf u partial t nabla cdot mathbf f left mathbf u right mathbf 0 nbsp 8 Here u displaystyle mathbf u nbsp represents a vector of states and f displaystyle mathbf f nbsp represents the corresponding flux tensor Again we can sub divide the spatial domain into finite volumes or cells For a particular cell i displaystyle i nbsp we take the volume integral over the total volume of the cell vi displaystyle v i nbsp which gives vi u tdv vi f u dv 0 displaystyle int v i frac partial mathbf u partial t dv int v i nabla cdot mathbf f left mathbf u right dv mathbf 0 nbsp 9 On integrating the first term to get the volume average and applying the divergence theorem to the second this yields vidu idt Sif u n dS 0 displaystyle v i d mathbf bar u i over dt oint S i mathbf f left mathbf u right cdot mathbf n dS mathbf 0 nbsp 10 where Si displaystyle S i nbsp represents the total surface area of the cell and n displaystyle mathbf n nbsp 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 du idt 1vi Sif u n dS 0 displaystyle d mathbf bar u i over dt 1 over v i oint S i mathbf f left mathbf u right cdot mathbf n dS mathbf 0 nbsp 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 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 editFinite element method Flux limiter Godunov s scheme Godunov s theorem High resolution scheme KIVA Software MIT General Circulation Model MUSCL scheme Sergei K Godunov Total variation diminishing Finite volume method for unsteady flowReferences edit LeVeque Randall 2002 Finite Volume Methods for Hyperbolic Problems ISBN 9780511791253 Wanta D Smolik W T Kryszyn J Wroblewski 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 doi 10 1007 s40010 021 00748 7 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 24 7 439 455 doi 10 1016 S0307 904X 99 00047 5 ISSN 0307 904X Ranganayakulu C Chennu 2 February 2018 Chapter 3 Section 3 1 Compact heat exchangers analysis design and optimization using FEM and CFD approach Seetharamu K N Hoboken NJ ISBN 978 1 119 42435 2 OCLC 1006524487 a href Template Cite book html title Template Cite book cite book a CS1 maint location missing publisher link Further reading editEymard R Gallouet 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 editFinite volume methods by R Eymard T Gallouet and R Herbin update of the article published in Handbook of Numerical Analysis 2000 Rubenkonig Oliver The Finite Volume Method FVM An introduction Archived from the original on 2009 10 02 available under the GFDL FiPy A Finite Volume PDE Solver Using Python from NIST CLAWPACK a software package designed to compute numerical solutions to hyperbolic partial differential equations using a wave propagation approach Retrieved from https en wikipedia org w index php title Finite volume method amp oldid 1213770106, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.