In
numerical analysis
Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic computation, symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of ...
and
computational fluid dynamics
Computational fluid dynamics (CFD) is a branch of fluid mechanics that uses numerical analysis and data structures to analyze and solve problems that involve fluid dynamics, fluid flows. Computers are used to perform the calculations required ...
, Godunov's scheme is a
conservative
Conservatism is a cultural, social, and political philosophy and ideology that seeks to promote and preserve traditional institutions, customs, and values. The central tenets of conservatism may vary in relation to the culture and civiliza ...
numerical scheme, suggested by
Sergei Godunov in 1959, for solving
partial differential equations
In mathematics, a partial differential equation (PDE) is an equation which involves a multivariable function and one or more of its partial derivatives.
The function is often thought of as an "unknown" that solves the equation, similar to how ...
. One can think of this method as a conservative
finite volume method
The finite volume method (FVM) is a method for representing and evaluating partial differential equations in the form of algebraic equations.
In the finite volume method, volume integrals in a partial differential equation that contain a divergen ...
which solves exact, or approximate
Riemann problem
A Riemann problem, named after Bernhard Riemann, is a specific initial value problem composed of a conservation equation together with piecewise constant initial data which has a single discontinuity in the domain of interest. The Riemann prob ...
s 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
The finite volume method (FVM) is a method for representing and evaluating partial differential equations in the form of algebraic equations.
In the finite volume method, volume integrals in a partial differential equation that contain a divergen ...
framework, we seek to track a finite set of discrete unknowns,
where the
and
form a discrete set of points for the hyperbolic problem:
where the indices
and
indicate the derivatives in time and space, respectively. If we integrate the
hyperbolic
Hyperbolic may refer to:
* of or pertaining to a hyperbola, a type of smooth curve lying in a plane in mathematics
** Hyperbolic geometry, a non-Euclidean geometry
** Hyperbolic functions, analogues of ordinary trigonometric functions, defined u ...
problem over a control volume
we obtain a
method of lines (MOL) formulation for the spatial cell averages:
which is a classical description of the first order, upwinded finite volume method.
Exact time integration of the above formula from time
to time
yields the exact update formula:
Godunov's method replaces the time integral of each
with a forward
Euler method
In mathematics and computational science, the Euler method (also called the forward Euler method) is a first-order numerical analysis, numerical procedure for solving ordinary differential equations (ODEs) with a given Initial value problem, in ...
which yields a fully discrete update formula for each of the unknowns
. That is, we approximate the integrals with
where
is an approximation to the exact solution of the Riemann problem. For consistency, one assumes that
and that
is increasing in the first argument, and decreasing in the second argument. For scalar problems where
, one can use the simple
Upwind scheme
In computational physics, the term advection scheme refers to a class of numerical discretization methods for solving hyperbolic partial differential equations. In the so-called upwind schemes ''typically'', the so-called upstream variables are use ...
, which defines
.
The full Godunov scheme requires the definition of an approximate, or an exact
Riemann solver
A Riemann solver is a numerical method used to solve a Riemann problem
A Riemann problem, named after Bernhard Riemann, is a specific initial value problem composed of a conservation equation together with piecewise constant initial data whi ...
, but in its most basic form, is given by:
Linear problem
In the case of a linear problem, where
, and without loss of generality, we'll assume that
, the upwinded Godunov method yields:
which yields the classical first-order, upwinded Finite Volume scheme whose stability requires
.
Three-step algorithm
Following Hirsch,
the scheme involves three distinct steps to obtain the solution at
from the known solution at
, as follows:
#Define piecewise constant approximation of the solution at
. Since the piecewise constant approximation is an average of the solution over the cell of size
, the spatial error is of order
, and hence the resulting scheme will be first-order accurate in space. Note that this approximation corresponds to a
finite volume method
The finite volume method (FVM) is a method for representing and evaluating partial differential equations in the form of algebraic equations.
In the finite volume method, volume integrals in a partial differential equation that contain a divergen ...
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.
#Obtain the solution for the local
Riemann problem
A Riemann problem, named after Bernhard Riemann, is a specific initial value problem composed of a conservation equation together with piecewise constant initial data which has a single discontinuity in the domain of interest. The Riemann prob ...
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.
#Average the state variables after a time interval
. 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
. To be consistent, the time interval
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
The Canadian Football League (CFL; , LCF) is a professional Canadian football league in Canada. It comprises nine teams divided into two divisions, with four teams in the East Division and five in the West Division. The CFL is the highest pr ...
condition
where
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
*
Godunov's theorem
*
High-resolution scheme
High-resolution schemes are used in the numerical solution of partial differential equations where high accuracy is required in the presence of shocks or discontinuities. They have the following properties:
*Second- or higher-order
Order, ORDER ...
*
Lax–Friedrichs method
*
MUSCL scheme
*
Sergei Godunov
*
Total variation diminishing
*
Lax–Wendroff theorem
*
Advection upstream splitting method
References
Further reading
*
*
*
*
{{Numerical PDE
Computational fluid dynamics
Conservation equations
Numerical differential equations