# Sand box Approximation Schemes

### From CFD-Wiki

(6 intermediate revisions not shown) | |||

Line 1: | Line 1: | ||

+ | This content is retrieved from Wikipedia and will be modified | ||

+ | |||

+ | Please excuse any mistakes "[[User:Michail|Michail]] 13:19, 7 November 2011 (MST)" | ||

+ | |||

== S.K. Godunov's theorem == | == S.K. Godunov's theorem == | ||

Line 137: | Line 141: | ||

[[Category:Theorems in analysis]] | [[Category:Theorems in analysis]] | ||

[[Category:Computational fluid dynamics]] | [[Category:Computational fluid dynamics]] | ||

+ | |||

+ | == Total variation diminishing == | ||

+ | |||

+ | In [[numerical method]]s, '''total variation diminishing''' (TVD) is a property of certain [[discretization]] schemes used to solve [[hyperbolic partial differential equation]]s. The concept of TVD was introduced by [[Ami Harten]].<ref>{{Citation | ||

+ | | surname = Harten | ||

+ | | given = Ami | ||

+ | | title = High resolution schemes for hyperbolic conservation laws | ||

+ | | journal = J. Comput. Phys. | ||

+ | | volume = 49 | ||

+ | | year = 1983 | ||

+ | | pages = 357–393 | ||

+ | | id = {{doi|10.1006/jcph.1997.5713}} | ||

+ | }}</ref> | ||

+ | |||

+ | In systems described by [[partial differential equation]]s, such as the following hyperbolic [[advection equation]], | ||

+ | |||

+ | :<math>\frac{\part u}{\part t} + a\frac{\part u}{\part x} = 0, </math> | ||

+ | |||

+ | the [[total variation]] (TV) is given by, | ||

+ | |||

+ | :<math>TV = \int \left| \frac{\part u}{\part x} \right| dx ,</math> | ||

+ | |||

+ | and the [[total variation]] for the discrete case is, | ||

+ | |||

+ | :<math>TV = \sum_j \left| u_{j+1} - u_j \right| .</math> | ||

+ | |||

+ | A numerical method is said to be '''total variation diminishing''' (TVD) if, | ||

+ | |||

+ | :<math>TV \left( u^{n+1}\right) \leq TV \left( u^{n}\right) .</math> | ||

+ | |||

+ | A system is said to be monotonicity preserving if the following properties are maintained as a function of ''t'': | ||

+ | |||

+ | *No new local extrema can be created within the solution spatial domain, | ||

+ | *The value of a local minimum is non-decreasing, and the value of a local maximum is non-increasing. | ||

+ | |||

+ | {{Harvnb|Harten|1983}} proved the following properties for a numerical scheme, | ||

+ | |||

+ | *A [[monotone scheme]] is TVD, and | ||

+ | |||

+ | *A TVD scheme is [[Monotonic function|monotonicity]] preserving. | ||

+ | |||

+ | Monotone schemes are attractive for solving engineering and scientific problems because they do not provide non-physical solutions. | ||

+ | |||

+ | [[Godunov's theorem]] proves that only first order linear schemes preserve monotonicity and are therefore TVD. Higher order linear schemes, although more accurate for smooth solutions, are not TVD and tend to introduce spurious oscillations (wiggles) where discontinuities or shocks arise. To overcome these drawbacks, various [[high-resolution scheme|high-resolution]], [[non-linear]] techniques have been developed, often using [[flux limiter|flux/slope limiter]]s. | ||

+ | |||

+ | ==See also== | ||

+ | * [[Flux limiters]] | ||

+ | * [[Godunov's theorem]] | ||

+ | * [[High-resolution scheme]] | ||

+ | * [[MUSCL scheme]] | ||

+ | * [[Sergei K. Godunov]] | ||

+ | * [[Total variation]] | ||

+ | |||

+ | ==References== | ||

+ | {{reflist}} | ||

+ | |||

+ | ==Further reading== | ||

+ | |||

+ | *Hirsch, C. (1990), ''Numerical Computation of Internal and External Flows'', Vol 2, Wiley. | ||

+ | *Laney, C. B. (1998), ''Computational Gas Dynamics'', Cambridge University Press. | ||

+ | *Toro, E. F. (1999), ''Riemann Solvers and Numerical Methods for Fluid Dynamics'', Springer-Verlag. | ||

+ | *Tannehill, J. C., [[Dale A. Anderson|Anderson, D. A.]], and Pletcher, R. H. (1997), ''Computational Fluid Mechanics and Heat Transfer'', 2nd Ed., Taylor & Francis. | ||

+ | *Wesseling, P. (2001), ''Principles of Computational Fluid Dynamics'', Springer-Verlag. | ||

+ | |||

+ | [[Category:Numerical differential equations]] | ||

+ | [[Category:Computational fluid dynamics]] | ||

+ | |||

+ | == Flux limiters == | ||

+ | |||

+ | '''Flux limiters''' are used in [[high resolution scheme]]s — numerical schemes used to solve problems in science and engineering, particularly [[fluid dynamics]], described by [[partial differential equations]] (PDE's). They are used in high resolution schemes, such as the [[MUSCL scheme]], to avoid the spurious oscillations (wiggles) that would otherwise occur with high order spatial discretization schemes due to shocks, discontinuities or sharp changes in the solution domain. Use of flux limiters, together with an appropriate high resolution scheme, make the solutions [[total variation diminishing]] (TVD). | ||

+ | |||

+ | Note that flux limiters are also referred to as '''slope limiters''' because they both have the same mathematical form, and both have the effect of limiting the solution gradient near shocks or discontinuities. In general, the term flux limiter is used when the limiter acts on system ''[[flux]]es'', and slope limiter is used when the limiter acts on system ''states''. | ||

+ | |||

+ | ==How they work== | ||

+ | The main idea behind the construction of flux limiter schemes is to limit the spatial derivatives to realistic values - for scientific and engineering problems this usually means physically realisable values. They are used in [[high resolution scheme]]s for solving problems described by PDEs and only come into operation when sharp wave fronts are present. For smoothly changing waves, the flux limiters do not operate and the spatial derivatives can be represented by higher order approximations without introducing non-real oscillations. Consider the 1D [[semi-discrete scheme]] below, | ||

+ | |||

+ | :<math>\frac{d u_i}{d t} + \frac{1}{\Delta x_i} \left[ | ||

+ | F \left( u_{i + \frac{1}{2}} \right) - F \left( u_{i - \frac{1}{2}} \right) \right] =0, </math> | ||

+ | |||

+ | where, <math> F \left( u_{i + \frac{1}{2}} \right) \ </math> and <math> F \left( u_{i - \frac{1}{2}} \right) \ </math> represent edge fluxes for the ''ith'' cell. If these edge fluxes can be represented by ''low'' and ''high'' resolution schemes, then a flux limiter can switch between these schemes depending upon the gradients close to the particular cell, as follows, | ||

+ | |||

+ | :<math>F \left( u_{i + \frac{1}{2}} \right) = f^{low}_{i + \frac{1}{2}} - \phi\left( r_i \right) | ||

+ | \left( f^{low}_{i + \frac{1}{2}} - f^{high}_{i + \frac{1}{2}} \right)</math>, | ||

+ | :<math>F \left( u_{i - \frac{1}{2}} \right) = f^{low}_{i - \frac{1}{2}} - \phi\left( r_{i-1} \right) | ||

+ | \left( f^{low}_{i - \frac{1}{2}} - f^{high}_{i - \frac{1}{2}} \right)</math>, | ||

+ | |||

+ | where | ||

+ | |||

+ | :<math>f^{low} = \ </math> low resolution flux, | ||

+ | :<math>f^{high} = \ </math> high resolution flux, | ||

+ | :<math> \phi\ (r) = \ </math> flux limiter function, | ||

+ | |||

+ | and <math> r\ </math> represents the ratio of successive gradients on the solution mesh, i.e., | ||

+ | |||

+ | :<math> r_{i} = \frac{u_{i} - u_{i-1}}{u_{i+1} - u_{i}} </math>. | ||

+ | |||

+ | The limiter function is constrained to be greater than or equal to zero, i.e., <math>r \ge 0 </math>. Therefore, when the limiter is equal to zero (sharp gradient, opposite slopes or zero gradient), the flux is represented by a ''low resolution scheme''. Similarly, when the limiter is equal to 1 (smooth solution), it is represented by a ''high resolution scheme''. The various limiters have differing switching characteristics and are selected according to the particular problem and solution scheme. No particular limiter has been found to work well for all problems, and a particular choice is usually made on a trial and error basis. | ||

+ | |||

+ | ==Limiter functions== | ||

+ | |||

+ | The following are common forms of flux/slope limiter function, <math> \phi\ (r) </math>: | ||

+ | |||

+ | '''CHARM''' [not 2nd order TVD] (Zhou, 1995) | ||

+ | |||

+ | :<math> | ||

+ | \phi_{cm}(r)=\left\{ \begin{array}{ll} | ||

+ | \frac{r\left(3r+1\right)}{\left(r+1\right)^{2}}, \quad r>0, \quad\lim_{r\rightarrow\infty}\phi_{cm}(r)=3 \\ | ||

+ | 0 \quad \quad\, , \quad r\le 0 | ||

+ | \end{array}\right. | ||

+ | </math> | ||

+ | |||

+ | '''HCUS''' [not 2nd order TVD] (Waterson & Deconinck, 1995) | ||

+ | |||

+ | :<math> \phi_{hc}(r) = \frac{ 1.5 \left(r+\left| r \right| \right)}{ \left(r+2 \right)} ; \quad \lim_{r \rightarrow \infty}\phi_{hc}(r) = 3</math>. | ||

+ | |||

+ | '''HQUICK''' [not 2nd order TVD] (Waterson & Deconinck, 1995) | ||

+ | |||

+ | :<math> \phi_{hq}(r) = \frac{2 \left(r + \left|r \right| \right)}{ \left(r+3 \right)} ; \quad \lim_{r \rightarrow \infty}\phi_{hq}(r) = 4</math>. | ||

+ | |||

+ | '''Koren''' (Koren, 1993) | ||

+ | |||

+ | :<math> \phi_{kn}(r) = \max \left[ 0, \min \left(2 r, \left(2 + r \right)/3, 2 \right) \right]; \quad \lim_{r \rightarrow \infty}\phi_{kn}(r) = 2</math>. | ||

+ | |||

+ | '''minmod''' - symmetric ([[Philip L. Roe|Roe]], 1986) | ||

+ | |||

+ | :<math> \phi_{mm} (r) = \max \left[ 0 , \min \left( 1 , r \right) \right] ; \quad \lim_{r \rightarrow \infty}\phi_{mm}(r) = 1</math>. | ||

+ | |||

+ | '''monotonized central (MC)''' - symmetric (van Leer, 1977) | ||

+ | |||

+ | :<math> \phi_{mc} (r) = \max \left[ 0 , \min \left( 2 r, 0.5 (1+r), 2 \right) \right] ; \quad \lim_{r \rightarrow \infty}\phi_{mc}(r) = 2</math>. | ||

+ | |||

+ | '''Osher''' (Chatkravathy and [[Stanley Osher|Osher]], 1983) | ||

+ | |||

+ | :<math> \phi_{os} (r) = \max \left[ 0 , \min \left( r, \beta \right) \right], \quad \left(1 \leq \beta \leq 2 \right) ; \quad \lim_{r \rightarrow \infty}\phi_{os} (r) = \beta</math>. | ||

+ | |||

+ | '''ospre''' - symmetric (Waterson & Deconinck, 1995) | ||

+ | |||

+ | :<math> \phi_{op} (r) = \frac{1.5 \left(r^2 + r \right) }{\left(r^2 + r +1 \right)} ; \quad \lim_{r \rightarrow \infty}\phi_{op} (r) = 1.5</math>. | ||

+ | |||

+ | '''smart''' [not 2nd order TVD] (Gaskell & Lau, 1988) | ||

+ | |||

+ | :<math> \phi_{sm}(r) = \max \left[ 0, \min \left(2 r, \left(0.25 + 0.75 r \right), 4 \right) \right] ; \quad \lim_{r \rightarrow \infty}\phi_{sm}(r) = 4</math>. | ||

+ | |||

+ | '''superbee''' - symmetric (Roe, 1986) | ||

+ | |||

+ | :<math> \phi_{sb} (r) = \max \left[ 0, \min \left( 2 r , 1 \right), \min \left( r, 2 \right) \right] ; \quad \lim_{r \rightarrow \infty}\phi_{sb} (r) = 2</math>. | ||

+ | |||

+ | '''Sweby''' - symmetric (Sweby, 1984) | ||

+ | |||

+ | :<math> \phi_{sw} (r) = \max \left[ 0 , \min \left( \beta r, 1 \right), \min \left( r, \beta \right) \right], \quad \left(1 \leq \beta \leq 2 \right) ; \quad \lim_{r \rightarrow \infty}\phi_{sw} (r) = \beta</math>. | ||

+ | |||

+ | '''UMIST''' (Lien & Leschziner, 1994) | ||

+ | |||

+ | :<math> \phi_{um}(r) = \max \left[ 0, \min \left(2 r, \left(0.25 + 0.75 r \right), \left(0.75 + 0.25 r \right), 2 \right) \right] ; \quad \lim_{r \rightarrow \infty}\phi_{um}(r) = 2</math>. | ||

+ | |||

+ | '''van Albada 1''' - symmetric (van Albada, et al., 1982) | ||

+ | |||

+ | :<math> \phi_{va1} (r) = \frac{r^2 + r}{r^2 + 1 } ; \quad \lim_{r \rightarrow \infty}\phi_{va1} (r) = 1</math>. | ||

+ | |||

+ | '''van Albada 2''' Alternative form [not 2nd order TVD] used on high spatial order schemes (Kermani, 2003) | ||

+ | |||

+ | :<math> \phi_{va2} (r) = \frac{2 r}{r^2 + 1} ; \quad \lim_{r \rightarrow \infty}\phi_{va2} (r) = 0</math>. | ||

+ | |||

+ | '''van Leer''' - symmetric ([[Bram van Leer|van Leer]], 1974) | ||

+ | |||

+ | :<math> \phi_{vl} (r) = \frac{r + \left| r \right| }{1 + \left| r \right| } ; \quad \lim_{r \rightarrow \infty}\phi_{vl} (r) = 2</math>. | ||

+ | |||

+ | All the above limiters indicated as being ''symmetric'', exhibit the following symmetry property, | ||

+ | |||

+ | :<math>\frac{ \phi \left( r \right)}{r} = \phi \left( \frac{1}{r} \right) </math>. | ||

+ | |||

+ | This is a desirable property as it ensures that the limiting actions for forward and backward gradients operate in the same way. | ||

+ | |||

+ | [[Image:LimiterRegion.png|thumb|Admissible limiter region for second-order TVD schemes.|200px|right|Admissible limiter region for second-order TVD schemes.]] | ||

+ | |||

+ | Unless indicated to the contrary, the above limiter functions are second order [[total variation diminishing|TVD]]. This means that they are designed such that they pass through a certain region of the solution, known as the TVD region, in order to guarantee stability of the scheme. Second-order, TVD limiters satisfy at least the following criteria: | ||

+ | |||

+ | *<math> r \le \phi(r) \le 2r, \left( 0 \le r \le 1 \right) \ </math>, | ||

+ | *<math> 1 \le \phi(r) \le r, \left( 1 \le r \le 2 \right) \ </math>, | ||

+ | *<math> 1 \le \phi(r) \le 2, \left( r > 2 \right) \ </math>, | ||

+ | *<math> \phi(1) = 1 \ </math>, | ||

+ | |||

+ | The admissible limiter region for second-order TVD schemes is shown in the ''Sweby Diagram'' opposite (Sweby, 1984), and plots showing limiter functions overlaid onto the TVD region are shown below. In this image, plots for the Osher and Sweby limiters have been generated using <math> \beta = 1.5 </math>. | ||

+ | |||

+ | === Generalised minmod limiter === | ||

+ | |||

+ | An additional limiter that has an interesting form is the van-Leer's one-parameter family of minmod limiters (van Leer, 1979; Harten and Osher, 1987; Kurganov and Tadmor, 2000). It is defined as follows | ||

+ | |||

+ | :<math> \phi_{mg}(u,\theta)=\textrm{minmod}\left(\theta\frac{u_{i}-u_{i-1}}{\Delta x},\;\frac{u_{i+1}-u_{i-1}}{2\Delta x},\;\theta\frac{u_{i+1}-u_{i}}{\Delta x}\right),\quad\theta\in\left[1,2\right], </math> | ||

+ | |||

+ | where the multivariable minmod limiter is defined as | ||

+ | |||

+ | :<math> \textrm{minmod}\left(z_{1},z_{2},\cdots\right):=\left\{ \begin{array}{cc} | ||

+ | \min_{j}\quad & \textrm{if}\quad z_{j}>0\quad \forall j\\ | ||

+ | \max_{j\quad} & \textrm{if}\quad z_{j}<0\quad \forall j\\ | ||

+ | 0 & \textrm{otherwise}\end{array}\right. . </math> | ||

+ | '''Note:''' <math> \phi_{mg} \ </math> is most dissipative for <math> \theta=1, \ </math> when it reduces to <math>\phi_{mm}, \ </math> and is least dissipative for <math> \theta=2 \ </math>. | ||

+ | |||

+ | ==See also== | ||

+ | |||

+ | *[[Godunov's theorem]] | ||

+ | *[[High resolution scheme]] | ||

+ | *[[MUSCL scheme]] | ||

+ | *[[Sergei K. Godunov]] | ||

+ | *[[Total variation diminishing]] | ||

+ | |||

+ | ==References== | ||

+ | |||

+ | *{{citation |last1=Chakravarthy |first1=S.R. |last2=Osher |first2=S. |year=1983 |contribution=High resolution applications of the Osher upwind scheme for the Euler equations |id=AIAA Paper 83-1943 | title=Proc. AIAA 6th Computational Fluid Dynamics Conference |pages=363–373 |url=http://www.aiaa.org/content.cfm?pageid=406&gTable=mtgpaper&gID=55466 }} | ||

+ | *{{citation |last1=Gaskell |first1=P.H. |first2=A.K.C. |last2=Lau |year=1988 |title=Curvature-compensated convective transport: SMART, a new boundedness-preserving transport algorithm |journal=Int. J. Num. Meth. Fluids |volume=8 |page=617–641 |doi=10.1002/fld.1650080602 |issue=6|bibcode = 1988IJNMF...8..617G }} | ||

+ | *{{citation |last1=Harten |first1=A. |first2=S. |last2=Osher |year=1987 |title=Uniformly high-order accurate nonoscillatory schemes. I |journal=SIAM J. Numer. Anal. |volume=24 |pages=279–309 |doi=10.1137/0724022 |issue=2 |bibcode = 1987SJNA...24..279H }} | ||

+ | *{{citation |last=Hirsch |first=C. |year=1990 |title=Numerical Computation of Internal and External Flows. Volume 2: Computational Methods for Inviscid and Viscous Flows |publisher=Wiley }} | ||

+ | *{{citation |last1=Kermani |first1=M.J. |last2=Gerber |first2=A.G. |last3=Stockie |first3=J.M. |year=2003 |contribution=Thermodynamically Based Moisture Prediction Using Roe’s Scheme |title=4th Conference of Iranian AeroSpace Society |location=Amir Kabir University of Technology, Tehran, Iran, January 27–29 }} | ||

+ | *{{citation |last=Koren |first=B. |year=1993 |contribution=A robust upwind discretisation method for advection, diffusion and source terms |title=Numerical Methods for Advection-Diffusion Problems |editor1-first=C.B. |editor1-last=Vreugdenhil |editor2-first=B. |editor2-last=Koren |publisher=Vieweg |location=Braunschweig |page=117 |isbn=3528076453 }} | ||

+ | *{{citation |last1=Kurganov |first1=A. |first2=E. |last2=Tadmor |year=2000 |title=Solution of Two-Dimensional Riemann problems for Gas Dynamics without Riemann Problem Solvers |publisher=Report by Dept. of Mathematics, Univ. Michigan }} Available on-line at: [http://citeseer.ist.psu.edu/410715.html CiteSeer]. | ||

+ | *{{citation |last1=Lien |first1=F.S. |first2=M.A. |last2=Leschziner |year=1994 |title=Upstream monotonic interpolation for scalar transport with application to complex turbulent flows |journal=Int. J. Num. Meth. Fluids |volume=19 |pages=527–548 |doi=10.1002/fld.1650190606 |issue=6 |bibcode = 1994IJNMF..19..527L }} | ||

+ | *{{citation |last1=Leonard |first1=B.P. |first2=M.A. |last2=Leschziner |first3=J. |last3=McGuirk |year=1978 |contribution=The QUICK algorithm: a uniformly 3rd-order finite-difference method for highly convective flows |title=Proc. 1st Conf. on Numerical Methods in Laminar & Turbulent Flow |location=Swansea |page=807 }} | ||

+ | *{{citation |last=Roe |first=P.L. |year=1986 |title=Characteristic-based schemes for the Euler equations |journal=Ann. Rev. Fluid Mech. |volume=18 |pages=337–365 |doi=10.1146/annurev.fl.18.010186.002005 |bibcode = 1986AnRFM..18..337R }} | ||

+ | *{{citation |last=Sweby |first=P.K. |year=1984 |title=High resolution schemes using flux-limiters for hyperbolic conservation laws |journal=SIAM J. Num. Anal.| volume=21 |pages=995–1011 |doi=10.1137/0721062 |issue=5 |bibcode = 1984SJNA...21..995S }} | ||

+ | *{{citation |last1=Van Albada |first1=G.D. |first2=B. |last2=Van Leer |first3=W.W. |last3=Roberts |year=1982 |title=A comparative study of computational methods in cosmic gas dynamics |journal=Astron. Astrophysics |volume=108 |pages=76–84 |bibcode=1982A&A...108...76V }} | ||

+ | *{{citation |last=Van Leer |first=B. |year=1974 |title=Towards the ultimate conservative difference scheme II. Monotonicity and conservation combined in a second order scheme |journal=J. Comp. Phys. |volume=14 |pages=361–370 |doi=10.1016/0021-9991(74)90019-9 |issue=4 |bibcode = 1974JCoPh..14..361V }} | ||

+ | *{{citation |last=Van Leer |first=B. |year=1977 |title=Towards the ultimate conservative difference scheme III. Upstream-centered finite-difference schemes for ideal compressible flow |journal=J. Comp. Phys. |volume=23 |pages=263–275 |doi=10.1016/0021-9991(77)90094-8 |issue=3 |bibcode = 1977JCoPh..23..263V }} | ||

+ | *{{citation |last=Van Leer |first=B. |year=1979 |title=Towards the ultimate conservative difference scheme V. A second order sequel to Godunov's method |journal=J. Comp. Phys. |volume=32 |pages=101–136 |doi=10.1016/0021-9991(79)90145-1 |bibcode = 1979JCoPh..32..101V }} | ||

+ | *{{citation |last1=Waterson |first1=N.P. |first2=H. |last2=Deconinck |year=1995 |title=A unified approach to the design and application of bounded higher-order convection schemes |type=[[Von Karman Institute|VKI]] Preprint 1995-21 }} | ||

+ | *{{citation |last=Zhou |first=G. |year=1995 |title=Numerical simulations of physical discontinuities in single and multi-fluid flows for arbitrary Mach numbers |type=PhD Thesis |publisher=Chalmers Univ. of Tech. |location=Goteborg, Sweden }} | ||

+ | |||

+ | ==Further reading== | ||

+ | |||

+ | *{{citation |last=Hirsch |first=C. |year=1990 |title=Numerical Computation of Internal and External Flows, Volume 2: Computational Methods for Inviscid and Viscous Flows |publisher=Wiley |isbn=978-0-471-92452-4 }} | ||

+ | *{{citation |last=Laney |first=Culbert B. |year=1998 |title=Computational Gasdynamics |publisher=Cambridge University Press |doi=10.2277/0521570697 |isbn=9780521570695 }} | ||

+ | *{{citation |last=LeVeque |first=Randall |year=1990 |title=Numerical Methods for Conservation Laws |series=ETH Lectures in Mathematics Series |publisher=Birkhauser-Verlag |isbn=3764324643 }} | ||

+ | *{{citation |last=LeVeque |first=Randall |year=2002 |title=Finite Volume Methods for Hyperbolic Problems |publisher=Cambridge University Press |isbn=0-521-00924-3 }} | ||

+ | *{{citation |last=Toro |first=E.F. |year=1999 |title=Riemann Solvers and Numerical Methods for Fluid Dynamics |publisher=Springer-Verlag |edition=2nd |isbn=3540659668 }} | ||

+ | *{{citation | last1=Tannehill |first1=John C. |first2=Dale Arden |last2=Anderson |first3=Richard H. |last3=Pletcher |year=1997 |title=Computational Fluid Mechanics and Heat Transfer |edition=2nd |publisher=Taylor and Francis |isbn=156032046X }} | ||

+ | *{{citation |last=Wesseling |first=Pieter |year=2001 |title=Principles of Computational Fluid Dynamics |publisher=Springer-Verlag |isbn=3540678530 }} | ||

+ | |||

+ | [[Category:Computational fluid dynamics]] | ||

+ | [[Category:Numerical differential equations]] |

## Latest revision as of 20:19, 7 November 2011

This content is retrieved from Wikipedia and will be modified

Please excuse any mistakes "Michail 13:19, 7 November 2011 (MST)"

## Contents |

## S.K. 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 solution of partial differential equations.

The theorem states that:

*Linear numerical schemes for solving partial differential equations (PDE's), having the property of not generating new extrema (monotone scheme), can be at most first-order accurate.*

Professor Sergei K. Godunov originally proved the theorem as a Ph.D. student at Moscow State University. It is his most influential work in the area of applied and numerical mathematics and has had a major impact on science and engineering, particularly in the development of methodologies used in computational fluid dynamics (CFD) and other computational fields. One of his major contributions was to prove the theorem (Godunov, 1954; Godunov, 1959), that bears his name.

## The theorem

We generally follow Wesseling (2001).

**Aside**

Assume a continuum problem described by a PDE is to be computed using a numerical scheme based upon a uniform computational grid and a one-step, constant step-size, *M* grid point, integration algorithm, either implicit or explicit. Then if and , such a scheme can be described by

It is assumed that determines uniquely. Now, since the above equation represents a linear relationship between and we can perform a linear transformation to obtain the following equivalent form,

**Theorem 1:** *Monotonicity preserving*

The above scheme of equation (2) is monotonicity preserving if and only if

*Proof* - Godunov (1959)

**Case 1: (sufficient condition)**

Assume (3) applies and that is monotonically increasing with .

Then, because it therefore follows that because

This means that monotonicity is preserved for this case.

**Case 2: (necessary condition)**

For the same monotonically increasing , assume that for some and choose

Then from equation (2) we get

Now choose , to give

which implies that is **NOT** increasing, and we have a contradiction. Thus, monotonicity is **NOT** preserved for , which completes the proof.

**Theorem 2:** *Godunov’s Order Barrier Theorem*

Linear one-step second-order accurate numerical schemes for the convection equation

cannot be monotonicity preserving unless

where is the signed Courant–Friedrichs–Lewy condition (CFL) number.

*Proof* - Godunov (1959)

Assume a numerical scheme of the form described by equation (2) and choose

The exact solution is

If we assume the scheme to be at least second-order accurate, it should produce the following solution exactly

Substituting into equation (2) gives:

Suppose that the scheme **IS** monotonicity preserving, then according to the theorem 1 above, .

Now, it is clear from equation (15) that

Assume and choose such that . This implies that and .

It therefore follows that,

which contradicts equation (16) and completes the proof.

The exceptional situation whereby is only of theoretical interest, since this cannot be realised with variable coefficients. Also, integer CFL numbers greater than unity would not be feasible for practical problems.

## See also

## References

**Godunov, Sergei K.**(1954),*Ph.D. Dissertation: Different Methods for Shock Waves*, Moscow State University.**Godunov, Sergei K.**(1959), A Difference Scheme for Numerical Solution of Discontinuous Solution of Hydrodynamic Equations,*Math. Sbornik, 47, 271-306*, translated US Joint Publ. Res. Service, JPRS 7226, 1969.**Wesseling, Pieter**(2001),*Principles of Computational Fluid Dynamics*, Springer-Verlag.

## Further reading

**Hirsch, C.**(1990),*Numerical Computation of Internal and External Flows*, vol 2, Wiley.**Laney, Culbert B.**(1998),*Computational Gas Dynamics*, Cambridge University Press.**Toro, E. F.**(1999),*Riemann Solvers and Numerical Methods for Fluid Dynamics*, Springer-Verlag.**Tannehill, John C., et al.,**(1997),*Computational Fluid mechanics and Heat Transfer*, 2nd Ed., Taylor and Francis.

## 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 concept of TVD was introduced by Ami Harten.^{[1]}

In systems described by partial differential equations, such as the following hyperbolic advection equation,

the total variation (TV) is given by,

and the total variation for the discrete case is,

A numerical method is said to be **total variation diminishing** (TVD) if,

A system is said to be monotonicity preserving if the following properties are maintained as a function of *t*:

- No new local extrema can be created within the solution spatial domain,
- The value of a local minimum is non-decreasing, and the value of a local maximum is non-increasing.

Template:Harvnb proved the following properties for a numerical scheme,

- A monotone scheme is TVD, and

- A TVD scheme is monotonicity preserving.

Monotone schemes are attractive for solving engineering and scientific problems because they do not provide non-physical solutions.

Godunov's theorem proves that only first order linear schemes preserve monotonicity and are therefore TVD. Higher order linear schemes, although more accurate for smooth solutions, are not TVD and tend to introduce spurious oscillations (wiggles) where discontinuities or shocks arise. To overcome these drawbacks, various high-resolution, non-linear techniques have been developed, often using flux/slope limiters.

## See also

- Flux limiters
- Godunov's theorem
- High-resolution scheme
- MUSCL scheme
- Sergei K. Godunov
- Total variation

## References

- ↑ Harten, Ami (1983), "High resolution schemes for hyperbolic conservation laws",
*J. Comput. Phys.***49**: 357–393, Template:Doi

## Further reading

- Hirsch, C. (1990),
*Numerical Computation of Internal and External Flows*, Vol 2, Wiley. - Laney, C. B. (1998),
*Computational Gas Dynamics*, Cambridge University Press. - Toro, E. F. (1999),
*Riemann Solvers and Numerical Methods for Fluid Dynamics*, Springer-Verlag. - Tannehill, J. C., Anderson, D. A., and Pletcher, R. H. (1997),
*Computational Fluid Mechanics and Heat Transfer*, 2nd Ed., Taylor & Francis. - Wesseling, P. (2001),
*Principles of Computational Fluid Dynamics*, Springer-Verlag.

## Flux limiters

**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 (PDE's). They are used in high resolution schemes, such as the MUSCL scheme, to avoid the spurious oscillations (wiggles) that would otherwise occur with high order spatial discretization schemes due to shocks, discontinuities or sharp changes in the solution domain. Use of flux limiters, together with an appropriate high resolution scheme, make the solutions total variation diminishing (TVD).

Note that flux limiters are also referred to as **slope limiters** because they both have the same mathematical form, and both have the effect of limiting the solution gradient near shocks or discontinuities. In general, the term flux limiter is used when the limiter acts on system *fluxes*, and slope limiter is used when the limiter acts on system *states*.

## How they work

The main idea behind the construction of flux limiter schemes is to limit the spatial derivatives to realistic values - for scientific and engineering problems this usually means physically realisable values. They are used in high resolution schemes for solving problems described by PDEs and only come into operation when sharp wave fronts are present. For smoothly changing waves, the flux limiters do not operate and the spatial derivatives can be represented by higher order approximations without introducing non-real oscillations. Consider the 1D semi-discrete scheme below,

where, and represent edge fluxes for the *ith* cell. If these edge fluxes can be represented by *low* and *high* resolution schemes, then a flux limiter can switch between these schemes depending upon the gradients close to the particular cell, as follows,

- ,
- ,

where

- low resolution flux,
- high resolution flux,
- flux limiter function,

and represents the ratio of successive gradients on the solution mesh, i.e.,

- .

The limiter function is constrained to be greater than or equal to zero, i.e., . Therefore, when the limiter is equal to zero (sharp gradient, opposite slopes or zero gradient), the flux is represented by a *low resolution scheme*. Similarly, when the limiter is equal to 1 (smooth solution), it is represented by a *high resolution scheme*. The various limiters have differing switching characteristics and are selected according to the particular problem and solution scheme. No particular limiter has been found to work well for all problems, and a particular choice is usually made on a trial and error basis.

## Limiter functions

The following are common forms of flux/slope limiter function, :

**CHARM** [not 2nd order TVD] (Zhou, 1995)

**HCUS** [not 2nd order TVD] (Waterson & Deconinck, 1995)

- .

**HQUICK** [not 2nd order TVD] (Waterson & Deconinck, 1995)

- .

**Koren** (Koren, 1993)

- .

**minmod** - symmetric (Roe, 1986)

- .

**monotonized central (MC)** - symmetric (van Leer, 1977)

- .

**Osher** (Chatkravathy and Osher, 1983)

- .

**ospre** - symmetric (Waterson & Deconinck, 1995)

- .

**smart** [not 2nd order TVD] (Gaskell & Lau, 1988)

- .

**superbee** - symmetric (Roe, 1986)

- .

**Sweby** - symmetric (Sweby, 1984)

- .

**UMIST** (Lien & Leschziner, 1994)

- .

**van Albada 1** - symmetric (van Albada, et al., 1982)

- .

**van Albada 2** Alternative form [not 2nd order TVD] used on high spatial order schemes (Kermani, 2003)

- .

**van Leer** - symmetric (van Leer, 1974)

- .

All the above limiters indicated as being *symmetric*, exhibit the following symmetry property,

- .

This is a desirable property as it ensures that the limiting actions for forward and backward gradients operate in the same way.

Unless indicated to the contrary, the above limiter functions are second order TVD. This means that they are designed such that they pass through a certain region of the solution, known as the TVD region, in order to guarantee stability of the scheme. Second-order, TVD limiters satisfy at least the following criteria:

- ,
- ,
- ,
- ,

The admissible limiter region for second-order TVD schemes is shown in the *Sweby Diagram* opposite (Sweby, 1984), and plots showing limiter functions overlaid onto the TVD region are shown below. In this image, plots for the Osher and Sweby limiters have been generated using .

### Generalised minmod limiter

An additional limiter that has an interesting form is the van-Leer's one-parameter family of minmod limiters (van Leer, 1979; Harten and Osher, 1987; Kurganov and Tadmor, 2000). It is defined as follows

where the multivariable minmod limiter is defined as

**Note:** is most dissipative for when it reduces to and is least dissipative for .

## See also

## References

- Chakravarthy, S.R. & S. Osher (1983), "High resolution applications of the Osher upwind scheme for the Euler equations",
*Proc. AIAA 6th Computational Fluid Dynamics Conference*, AIAA Paper 83-1943, at 363–373 - Gaskell, P.H. & A.K.C. Lau (1988), "Curvature-compensated convective transport: SMART, a new boundedness-preserving transport algorithm",
*Int. J. Num. Meth. Fluids***8**(6): 617–641, DOI:10.1002/fld.1650080602 - Harten, A. & S. Osher (1987), "Uniformly high-order accurate nonoscillatory schemes. I",
*SIAM J. Numer. Anal.***24**(2): 279–309, DOI:10.1137/0724022 - Hirsch, C. (1990),
*Numerical Computation of Internal and External Flows. Volume 2: Computational Methods for Inviscid and Viscous Flows*, Wiley - Kermani, M.J.; A.G. Gerber & J.M. Stockie (2003), "Thermodynamically Based Moisture Prediction Using Roe’s Scheme",
*4th Conference of Iranian AeroSpace Society*, Amir Kabir University of Technology, Tehran, Iran, January 27–29 - Koren, B. (1993), "A robust upwind discretisation method for advection, diffusion and source terms", in Vreugdenhil, C.B. & B. Koren,
*Numerical Methods for Advection-Diffusion Problems*, Braunschweig: Vieweg, ISBN 3528076453, at 117 - Kurganov, A. & E. Tadmor (2000),
*Solution of Two-Dimensional Riemann problems for Gas Dynamics without Riemann Problem Solvers*, Report by Dept. of Mathematics, Univ. Michigan Available on-line at: CiteSeer. - Lien, F.S. & M.A. Leschziner (1994), "Upstream monotonic interpolation for scalar transport with application to complex turbulent flows",
*Int. J. Num. Meth. Fluids***19**(6): 527–548, DOI:10.1002/fld.1650190606 - Leonard, B.P.; M.A. Leschziner & J. McGuirk (1978), "The QUICK algorithm: a uniformly 3rd-order finite-difference method for highly convective flows",
*Proc. 1st Conf. on Numerical Methods in Laminar & Turbulent Flow*, Swansea, at 807 - Roe, P.L. (1986), "Characteristic-based schemes for the Euler equations",
*Ann. Rev. Fluid Mech.***18**: 337–365, DOI:10.1146/annurev.fl.18.010186.002005 - Sweby, P.K. (1984), "High resolution schemes using flux-limiters for hyperbolic conservation laws",
*SIAM J. Num. Anal.***21**(5): 995–1011, DOI:10.1137/0721062 - Van Albada, G.D.; B. Van Leer & W.W. Roberts (1982), "A comparative study of computational methods in cosmic gas dynamics",
*Astron. Astrophysics***108**: 76–84 - Van Leer, B. (1974), "Towards the ultimate conservative difference scheme II. Monotonicity and conservation combined in a second order scheme",
*J. Comp. Phys.***14**(4): 361–370, DOI:10.1016/0021-9991(74)90019-9 - Van Leer, B. (1977), "Towards the ultimate conservative difference scheme III. Upstream-centered finite-difference schemes for ideal compressible flow",
*J. Comp. Phys.***23**(3): 263–275, DOI:10.1016/0021-9991(77)90094-8 - Van Leer, B. (1979), "Towards the ultimate conservative difference scheme V. A second order sequel to Godunov's method",
*J. Comp. Phys.***32**: 101–136, DOI:10.1016/0021-9991(79)90145-1 - Waterson, N.P. & H. Deconinck (1995),
*A unified approach to the design and application of bounded higher-order convection schemes* - Zhou, G. (1995),
*Numerical simulations of physical discontinuities in single and multi-fluid flows for arbitrary Mach numbers*, Goteborg, Sweden: Chalmers Univ. of Tech.

## Further reading

- Hirsch, C. (1990),
*Numerical Computation of Internal and External Flows, Volume 2: Computational Methods for Inviscid and Viscous Flows*, Wiley, ISBN 978-0-471-92452-4 - Laney, Culbert B. (1998),
*Computational Gasdynamics*, Cambridge University Press, ISBN 9780521570695, DOI:10.2277/0521570697 - LeVeque, Randall (1990),
*Numerical Methods for Conservation Laws*, Birkhauser-Verlag, ISBN 3764324643 - LeVeque, Randall (2002),
*Finite Volume Methods for Hyperbolic Problems*, Cambridge University Press, ISBN 0-521-00924-3 - Toro, E.F. (1999),
*Riemann Solvers and Numerical Methods for Fluid Dynamics*(2nd ed.), Springer-Verlag, ISBN 3540659668 - Tannehill, John C.; Dale Arden Anderson & Richard H. Pletcher (1997),
*Computational Fluid Mechanics and Heat Transfer*(2nd ed.), Taylor and Francis, ISBN 156032046X - Wesseling, Pieter (2001),
*Principles of Computational Fluid Dynamics*, Springer-Verlag, ISBN 3540678530