Next: Roe Solver
Up: Finite volume methods for
Previous: Conservative Reconstruction, Conservative Averaging
Contents
A system of equations n conservation form generically give rise
to shocks (discontinuities on the
variables describing the state of the fluid) even starting from smooth initial data. This
implies that discretizations based on the continuity of the functions, like finite difference
methods, will fail. There are different approaches we could take
to solve this system. Here we will take a finite volume approach, we will assume that
we have a mesh of grid points that define a cell structure of our space-time (see Figure 10).
Figure 10:
Grid Discretization
|
|
In the presence of discontinuities the only way to make sense of our system of equations
is to consider the average over a finite volume of the space-time. Therefore to find the discretization
we take the average of equation (32) over a grid cell
.
 |
(66) |
where
is the region of space-time defined by
,
and
is its volume.
The resulting equation can be written as:
 |
(67) |
We can integrate the different terms of the equation using Gauss theorem:
 |
(68) |
Here we have used the following definitions: the spatial averages of
the conservation variables,
 |
(69) |
the temporal average for the fluxes, also referred as the numerical fluxes,
 |
(70) |
and the total average over the space-time cell for the sources,
 |
(71) |
The idea now is to use equation (70) to calculate
assuming we know the values
.
However the calculation of the numerical fluxes
is not as straight
forward as one may think,
these fluxes are averages on time so in order to explicitly calculate them
we need to know the solution before hand. In addition to that, and more importantly,
the values for the fluid quantities on the left side of the cell boundary
and on the
right side
won't agree in general. The values have discontinuities and
a priori is not clear which values to use in order to compute the numerical fluxes.
One way to solve these problems is to use an idea due to Godunov which implies
solving a Riemann problem at every cell boundary in order to calculate
.
For more information about Godunov methods see [5].
In the following section we explain one of this methods.
Subsections
Next: Roe Solver
Up: Finite volume methods for
Previous: Conservative Reconstruction, Conservative Averaging
Contents
Benjamin Gutierrez
2005-07-23