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 finitevolume method which solves exact, or approximate Riemann problems at each intercell 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 higherorder methods.
Contents

Basic scheme 1

Linear problem 2

Threestep algorithm 3

See also 4

References 5

Further reading 6
Basic scheme
Following the classical Finitevolume method framework, we seek to track a finite set of discrete unknowns,

Q^{n}_i = \frac{1}{\Delta x} \int_{x_{i1/2}} ^ { x_{i+1/2} } q(t^n, x)\, dx
where the x_i = x_{\text{low}} + \left( i  1/2 \right) \Delta x and t^n = n \Delta t form a discrete set of points for the hyperbolic problem:

q_t + ( f( q ) )_x = 0.
If we integrate the hyperbolic problem over a control volume [x_{i1/2}, x_{i+1/2}], we obtain a Method of lines (MOL) formulation for the spatial cell averages:

\frac{\partial}{\partial t} Q_i( t ) = \frac{1}{\Delta x} \left( f( q( t, x_{i+1/2} ) )  f( q( t, x_{i1/2} ) ) \right),
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 = t^n to time t = t^{n+1} yields the exact update formula:

Q^{n+1}_i = Q^n_i  \frac{1}{\Delta x } \int_{ t^n }^{t^{n+1} } \left( f( q( t, x_{i+1/2} ) )  f( q( t, x_{i1/2} ) ) \right)\, dt.
Godunov's method replaces the time integral of each

\int_{t^n}^{t^{n+1} } f( q( t, x_{i1/2} ) )\, dt
with a Forward Euler method which yields a fully discrete update formula for each of the unknowns Q^n_i . That is, we approximate the integrals with

\int_{t^n}^{t^{n+1} } f( q( t, x_{i1/2} ) )\, dt \approx \Delta t f^\downarrow\left( Q^n_{i1}, Q^n_i \right),
where f^\downarrow\left( q_l, q_r \right) is an approximation to the exact solution of the Riemann problem. For consistency, one assumes that

f^\downarrow( q_l , q_r ) = f( q_l ) \quad \text{ if } \quad q_l = q_r,
and that f^\downarrow 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^\downarrow( q_l, q_r ) = f( q_l ) .
The full Godunov scheme requires the definition of an approximate, or an exact Riemann solver, but in its most basic form, is given by:

Q^{n+1}_i = Q^n_i  \lambda \left( \hat{f}^n_{i+1/2}  \hat{f}^n_{i1/2} \right), \quad \lambda = \frac{\Delta t}{\Delta x}, \quad \hat{f}^n_{i1/2} = f^\downarrow\left( Q^n_{i1}, Q^n_i \right)
Linear problem
In the case of a linear problem, where f(q) = a q , and without loss of generality, we'll assume that a > 0 , the upwinded Godunov method yields:

Q^{n+1}_i = Q^n_i  \nu \left( Q^{n}_i  Q^n_{i1} \right), \quad \nu = a \frac{\Delta t } {\Delta x },
which yields the classical firstorder, upwinded Finite Volume scheme whose stability requires \nu = \left a \frac{\Delta t}{\Delta x} \right \leq 1 .
Threestep algorithm
Following Hirsch, the scheme involves three distinct steps to obtain the solution at t = (n+1) \Delta t \, from the known solution at {t = n \Delta t} \,, as follows:
Step 1 Define piecewise constant approximation of the solution at {t = (n+1) \Delta t} \,. Since the piecewise constant approximation is an average of the solution over the cell of size {\Delta x} \,, the spatial error is of order {\Delta x} \, , and hence the resulting scheme will be firstorder 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 {\Delta 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 {\Delta t} \,. To be consistent, the time interval {\Delta 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  a_\max  \Delta t < \Delta x/2 \, where  a_\max  \, 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 secondorder spaceaccurate 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, SpringerVerlag.

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, SpringerVerlag.
This article was sourced from Creative Commons AttributionShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, EGovernment Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a nonprofit organization.