Professional Documents
Culture Documents
Estimating Uncertainty in Computations of 2d Separeted Flows
Estimating Uncertainty in Computations of 2d Separeted Flows
Computations of Two-Dimensional
Ayodeji 0. Demuren
Mem. ASME.
Separated Flows
The present paper investigates sources of uncertainties in two-dimensional flow
Robert V. Wilson computations and presents methods for estimating them. A sample problem is used
for illustration. The following categories are explored in detail: (/) Uncertainty due
to truncation error in numerical schemes; (ii) Uncertainty due to discretization
Department of Mechanical Engineering,
Old Dominion University,
error; (Hi) Uncertainty due to outflow boundary conditions; (iv) Uncertainty due
Norfolk, VA 23529 to incomplete iterative convergence; (v) Uncertainty due to computational grid
aspect ratio. The error estimates are based on requirements for internal consistencies
in computed results. Therefore, they provide better judgement of the numerical
solution integrity than comparisons to experimental data or "benchmark"solutions
whose reliability may sometimes be questionable. Ideally, both approaches should
be employed. Anew method is presented for estimating the optimum grid-cell aspect
ratio for computational accuracy and efficiency.
1 Introduction
The rapid development of computers over the past three
decades has encouraged the development of computational
fluid dynamics to such an extent that it has become a viable u=24y(H2-y) u=0
analytical tool in the solution or design process in several
engineering and environmental applications. As investigated
flow situations have become more complicated, the need for *~x
techniques for evaluating sources and magnitudes of uncer-
tainties in computed results has grown. u=0
Ferziger (1989) proposed some methods suitable for the es-
timation and reduction of numerical errors resulting from in-
adequate grid resolution or incomplete convergence of the
m
iterative scheme. The former is based on the Richardson ex- Fig. 1 Geometry for backward facing step
trapolation method originally proposed by Richardson (1911)
and Richardson and Gaunt (1927). This method has been used methods for eliminating or minimizing them are explored. The
in a wide range of applications to improve numerical solutions model problem is the steady, two-dimensional laminar flow
or to estimate errors in numerical solutions. Churchill et al. over a backward facing step. The Reynolds number in the flow
(1981) and de Vahl Davis (1983) applied the method to estimate problem is at the high end of the laminar flow regime (equal
zero-grid-size solution in natural convection problems. Ap- to 400 based on the mean flow velocity and the channel height
plications to aerodynamic flows are reported by Dang et al. upstream of the step). The flow configuration and the bound-
(1989) and Zing (1991), among others. The common result is ary conditions are illustrated in Fig. 1. Present computed re-
that the Richardson extrapolation method is reliable only when sults are compared to a' 'benchmark solution" (BM) developed
the numerical solutions on the different grids used in the pro- by Gartling (1990) based on second-order accurate fine grid
cedure are smooth and display similar characteristics, which computations, though more emphasis is placed on techniques
presupposes that the grids should be sufficiently fine to resolve for estimating errors in the absence of the other independent
all flow features. results.
In the present paper, we investigate a wider range of sources
of uncertainty in numerical computations of separated flows.
Possible errors resulting from each source are estimated and 2 Numerical Method
The equations governing the steady, two-dimensional, in-
compressible flow can be written in dimensionless variables
Contributed by the Fluids Engineering Division for publication in the JOURNAL as:
OF FLUIDS ENGINEERING. Manuscript received by the Fluids Engineering Division
December 3, 1992; revised manuscript received March 18, 1994. Associate Tech-
bu_ 9^_ n
nical Editor: R. K. Agarwal. ~dx + dy~~ (1)
I
I
1
i
2
'Y^
i
3
i
4
%l
V
s
1
6 1
1
8
1
9
1
10
may partly explain why the 2h 14th results are not much better
than the 4/H4th results.
t i
s
1
2
\
OTklrr J,
1
3.
1
* 5
7==^
i
6
1
s
I^
!
9
1
10
flows and what errors are introduced by too short a location.
The effect of the location of the outflow boundary was in-
vestigated for the model problem by truncating the domain
from 30, to 15, 10, and 7 units, respectively.
The outflow boundary conditions (OBC) consist of setting
d)
I
^
i
(
1
2
k
ffl klr<
1
3
1
4 s
7=^
i
6 1
1 '
8
|
1
9
\
10
7 Computational Grid Aspect Ratio 7.2 Application to Model Problem. T o test this hypoth-
esis, computations of the model problem were made on several
7.1 Choice of Grid-Cell Aspect Ratio. In most compu- grids with cell aspect ratios in the range of 0.625 t o 10.0. It
1Q2
. —J
- _ -
solutions in separated flows with elongated regions with
boundary layer character. A method is presented for estimating
the optimum cell aspect ratio for use in more general flow
to' -
situations.
io° -••....
Acknowledgment
io"' -
This research was supported by the National Aeronautics
io-' ' and Space Administration under NASA contract NAS1-18605
0 2 4 S 8 10 while the authors were in residence at ICASE, NASA Langley
Dlsttmctj:
Fig. 5 Estimate of /3 based on L2 norms of a^/Sx 2 and d^ldf
Research Center, Hampton, VA 23665. Computations were
performed on Cray computers at the center.
was difficult to get converged solutions on coarser grids be-
cause of wiggles generated by the well-known "odd-even" References
decoupling problem. The results are presented in Table 6. The Churchill, S. W., Chao, P., and Ozoe, H., 1981, "Extrapolation of Finite-
results show improved agreement with the benchmark solution Difference Calculations of Laminar Natural Convection in Enclosures to Zero
with refinement in the /-direction corresponding to increased Grid Size," Numerical Heat Transfer, Vol. 4, pp. 39-51.
Dang, A. L., Kehtarnavaz, H., and Coats, D. E., 1989, "The Use of Rich-
aspect ratio. This confirms the analysis for large /3. The de- ardson Extrapolation in PNS Solutions of Rocket Nozzle Flow," AIAA Paper
viation from the benchmark was reduced each by a factor of 89-2985.
4, for grids 1 to 6 and 6 to 7, simply by halving the cell-size de Vahl Davis, G., 1983, "Natural Convection of Air in a Square Cavity: A
in the>>-direction. For a second-order scheme, such a reduction Bench Mark Numerical Solution," International Journal for Numerical Methods
would normally be expected from halving of the cell size in in Demuren,
Fluids, Vol. 3, pp. 249-264.
A. O., and Wilson, R. V., 1992, "Estimating Uncertainty in Com-
both directions. Clearly, the .y-component of the truncation putations of Two-Dimensional Separated Flows," ICASE Report 92-69.
error is dominant and selective refinement in this direction is Ferziger, J. H., 1989, "Estimation and Reduction of Numerical Error, Forum
more cost effective than a global refinement. An estimate of on Methods of Estimating Uncertainty Limits in Fluid Flow Computations,"
the value of /3 based on the L2 norm of results computed on ASME Winter Annual Meeting, San Francisco, CA.
Gartling, D. K., 1990, "A Test Problem for Outflow Boundary Conditions-
grid 1 is shown in Fig. 5. The variation in x is based on the Flow Over a Backward Facing Step," International Journalfor Numerical Meth-
integration of the result from x = 0.05. /3 is equal to 100, which ods in Fluids, Vol. 11, pp. 953-967.
implies that the optimum aspect ratio should be 10, in rough Richardson, L. F., 1911, "The Approximate Arithmetical Solution by Finite
agreement with the present theory. Differences of Physical Problems," Philosophical Transactions of the Royal
Society of London Serial A, Vol. 210, pp. 307-357.
Richardson, L. F., and Gaunt, J. A., 1927, "The Deferred Approach to the
8 Concluding Remarks Limit," Philosophical Transactions of the Royal Society of London Serial A,
Vol. 226, pp. 299-361.
Various sources of uncertainty in numerical computations Patankar, S. V., and Spalding, D. B., 1972, " A Novel Finite Difference
of fluid flow have been examined. Specific estimates of nu- Formulation for Differential Expressions Involving both First and Second De-
rivatives," International Journal for Numerical Methods in Fluids, Vol. 4, pp.
merical error magnitudes were computed with reference to a 551-559.
two-dimensional separated flow problem. Truncation error in Zing, D. W., 1991, "Viscous Airfoil Computations Using Richardson Ex-
numerical schemes can be estimated by comparing solutions trapolation," AIAA Paper 91-1559.