Professional Documents
Culture Documents
V&V Home
Archive
http://www.grc.nasa.gov/WWW/wind/valid/tut...
Tutorial
29.09.2015 12:20
http://www.grc.nasa.gov/WWW/wind/valid/tut...
29.09.2015 12:20
http://www.grc.nasa.gov/WWW/wind/valid/tut...
The order of convergence p can be obtained from the slope of the curve
of log(E) versus log(h). If such data points are available, the slope can
be read from the graph or the slope can be computed from a leastsquares t of the data. The least-squares will likely be inaccurate if there
are only a few data points.
A more direct evaluation of p can be obtained from three solutions using a
constant grid renement ratio r,
Richardson Extrapolation
Richardson extrapolation is a method for obtaining a higher-order
estimate of the continuum value (value at zero grid spacing) from a series
of lower-order discrete values.
A simulation will yield a quantity f that can be expressed in a general form
by the series expansion:
3 von 11
29.09.2015 12:20
http://www.grc.nasa.gov/WWW/wind/valid/tut...
f = fh=0 + g1 h + g2 h2 + g3 h3 + ...
where h is the grid spacing and the functions g 1, g2, and g3 are
independent of the grid spacing. The quantity f is considered "secondorder" if g1 = 0.0. The fh=0 is the continuum value at zero grid spacing.
If one assumes a second-order solution and has computed f on two grids
of spacing h1 and h2 with h1 being the ner (smaller) spacing, then one
can write two equations for the above expansion, neglect third-order and
higher terms, and solve for fh=0 to estimate the continuum value,
29.09.2015 12:20
http://www.grc.nasa.gov/WWW/wind/valid/tut...
understand the caveats mentioned above that go along with that value.
The other use of fh=0 is to obtain an estimate of the discretization error
that bands f obtained from the CFD. This use will now be examined.
The dierence between f1 and fh=0 is one error estimator; however, this
requires consideration of the caveats attached to f h=0.
We will focus on using f1 and f2 to obtain an error estimate. Examining
the generalized Richardson extrapolation equation above, the second
term on the right-hand side can be considered to be an an error estimator
of f1. The equation can be expressed as:
A1 = E1 + O( hp+1, E12)
where A1 is the actual fractional error dened as:
A1 = ( f1 - fh=0 ) / fh=0
and E1 is the estimated fractional error for f1 dened as:
This quantity should not be used as an error estimator since it does not
take into account r or p. This may lead to an underestimation or
overestimation of the error. One could make this quantity articially small
by simply using a grid renement ratio r close to 1.0.
The estimated fractional error E1 is an ordered error estimator and a good
approximation of the discretization error on the ne grid if f 1 and f2 were
obtained with good accuracy (i.e. E1<1). The value of E1 may be
meaningless if f1 and fh=0 are zero or very small relative to f2-f1. If such
is the case, then another normalizing value should be used in place of f 1.
If a large number of CFD computations are to be performed (i.e for a DOE
study), one may wish to use the coarser grid with h 2. We will then want to
estimate the error on the coarser grid. The Richardson extrapolation can
be expressed as:
5 von 11
29.09.2015 12:20
http://www.grc.nasa.gov/WWW/wind/valid/tut...
29.09.2015 12:20
http://www.grc.nasa.gov/WWW/wind/valid/tut...
The GCI is a measure of the percentage the computed value is away from
the value of the asymptotic numerical value. It indicates an error band on
how far the solution is from the asymptotic value. It indicates how much
the solution would change with a further renement of the grid. A small
value of GCI indicates that the computation is within the asymptotic
range.
The GCI on the ne grid is dened as:
It is important that each grid level yield solutions that are in the
asymptotic range of convergence for the computed solution. This can be
checked by observing two GCI values as computed over three grids,
GCI23 = rp GCI12
29.09.2015 12:20
http://www.grc.nasa.gov/WWW/wind/valid/tut...
also time t for time-dependent solutions. If this is not the case, then the
grid convergence indices can be computed for each direction
independently and then added to give the overall grid convergence index,
where N is the total number of grid points used for the grid and D is the
dimension of the ow domain. This eective grid renement ratio can also
be used for unstructured grids.
29.09.2015 12:20
http://www.grc.nasa.gov/WWW/wind/valid/tut...
9 von 11
29.09.2015 12:20
http://www.grc.nasa.gov/WWW/wind/valid/tut...
10 von 11
Grid Size
Quantity
1.000000
2.000000
4.000000
0.970500
0.968540
0.961780
29.09.2015 12:20
http://www.grc.nasa.gov/WWW/wind/valid/tut...
Refinement
Ratio, r
2.000000
2.000000
GCI(%)
0.103080
0.356244
11 von 11
29.09.2015 12:20