Cichoń's diagram

From formulasearchengine
Revision as of 18:25, 15 August 2013 by en>Ntsimp (Undid revision 568679300 by 109.186.107.76 (talk), since CH implies MA)
Jump to navigation Jump to search

In numerical analysis and computational fluid dynamics, Godunov's scheme is a conservative numerical scheme, suggested by S. K. Godunov in 1959, for solving partial differential equations. One can think of this method as a conservative Finite-volume method which solves exact, or approximate Riemann problems at each inter-cell boundary. In its basic form, Godunov's method is first order accurate in both space, and time, yet can be used as a base scheme for developing higher-order methods.

Basic Scheme

Following the classical Finite-volume method framework, we seek to track a finite set of discrete unknowns,

Qin=1Δxxi1/2xi+1/2q(tn,x)dx

where the xi=xlow+(i1/2)Δx and tn=nΔt form a discrete set of points for the hyperbolic problem:

qt+(f(q))x=0.

If we integrate the hyperbolic problem over a control volume [xi1/2,xi+1/2], we obtain a Method of lines (MOL) formulation for the spatial cell averages:

tQi(t)=1Δx(f(q(t,xi+1/2))f(q(t,xi1/2))),

which is a classical description of the first order, upwinded finite volume method. (c.f. Leveque - Finite Volume Methods for Hyperbolic Problems )

Exact time integration of the above formula from time t=tn to time t=tn+1 yields the exact update formula:

Qin+1=Qin1Δxtntn+1(f(q(t,xi+1/2))f(q(t,xi1/2)))dt.

Godunov's method replaces the time integral of for each

tntn+1f(q(t,xi1/2))dt

with a Forward Euler method which yields a fully discrete update formula for each of the unknowns Qin. That is, we approximate the integrals with

tntn+1f(q(t,xi1/2))dtΔtf(Qi1n,Qin),

where f(ql,qr) is an approximation to the exact solution of the Riemann problem. For consistency, one assumes that

f(ql,qr)=f(ql) if ql=qr,

and that f is increasing in the first argument, and decreasing in the second argument. For scalar problems where f(q)>0, one can use the simple Upwind scheme, which defines f(ql,qr)=f(ql).

The full Godunov scheme requires the definition of an approximate, or an exact Riemann solver, but in its most basic form, is given by:

Qin+1=Qinλ(f^i+1/2nf^i1/2n),λ=ΔtΔx,f^i1/2n=f(Qi1n,Qin)

Linear Problem

In the case of a linear problem, where f(q)=aq, and without loss of generality, we'll assume that a>0, the upwinded Godunov method yields:

Qin+1=Qinν(QinQi1n),ν=aΔtΔx,

which yields the classical first-order, upwinded Finite Volume scheme whose stability requires ν=|aΔtΔx|1.

Three Step Algorithm

Following Hirsch, the scheme involves three distinct steps to obtain the solution at t=(n+1)Δt from the known solution at t=nΔt, as follows:

Step 1 Define piecewise constant approximation of the solution at t=(n+1)Δt. Since the piecewise constant approximation is an average of the solution over the cell of size Δx, the spatial error is of order Δx, and hence the resulting scheme will be first-order accurate in space. Note that this approximation corresponds to a finite volume method representation whereby the discrete values represent averages of the state variables over the cells. Exact relations for the averaged cell values can be obtained from the integral conservation laws.

Step 2 Obtain the solution for the local Riemann problem at the cell interfaces. This is the only physical step of the whole procedure. The discontinuities at the interfaces are resolved in a superposition of waves satisfying locally the conservation equations. The original Godunov method is based upon the exact solution of the Riemann problems. However, approximate solutions can be applied as an alternative.

Step 3 Average the state variables after a time interval Δt. The state variables obtained after Step 2 are averaged over each cell defining a new piecewise constant approximation resulting from the wave propagation during the time interval Δt. To be consistent, the time interval Δt should be limited such that the waves emanating from an interface do not interact with waves created at the adjacent interfaces. Otherwise the situation inside a cell would be influenced by interacting Riemann problems. This leads to the CFL condition |amax|Δt<Δx/2 where |amax| is the maximum wave speed obtained from the cell eigenvalue(s) of the local Jacobian matrix.

The first and third steps are solely of a numerical nature and can be considered as a projection stage, independent of the second, physical step, the evolution stage. Therefore, they can be modified without influencing the physical input, for instance by replacing the piecewise constant approximation by a piecewise linear variation inside each cell, leading to the definition of second-order space-accurate schemes, such as the MUSCL scheme.

See also

References

  • Godunov, S. 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.
  • Hirsch, C. (1990), Numerical Computation of Internal and External Flows, vol 2, Wiley.
  • Leveque, Randy J. (2002), "Finite Volume Methods for Hyperbolic Problems", Cambridge University Press.

Further reading

  • 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.
  • Wesseling, Pieter (2001), Principles of Computational Fluid Dynamics, Springer-Verlag.

Template:Numerical PDE