Reporting
Reporting
Reporting CFD
Analyses
1
Objective
4
Levels of the Use of CFD Results
Verification
“The process of determining that a model implementation
accurately represents the developer’s conceptual description
of the model and the solution to the model.” (AIAA-G-077-
1998).
Verification checks that there are no programming errors and that
the coding correctly implements the equations and models. It also
examines discretization errors in the CFD calculations.
Validation
“The process of determining the degree to which a model is an
accurate representation of the real world from the perspective
of the intended uses of the model.” (AIAA-G-077-1998).
Validation checks that the CFD results agree with reality as
6
observed in experiments, flight tests, or applications.
Uncertainty and Error
Uncertainty
“A potential deficiency in any phase or activity of the modeling process
that is due to the lack of knowledge.” (AIAA-G-077-1998).
The use of potential indicates that deficiencies may or may not exist.
Error
“A recognizable deficiency in any phase or activity and simulation that is
not due to lack of knowledge.” (AIAA-G-077-1998).
The deficiencies are knowable up examination. Acknowledged errors have
procedures for identifying and removing them. Unacknowledged
errors are undiscovered and no set procedures exist to find them.
7
Errors in CFD Results
Many physical models are used in CFD and we must understand the
limits and possible errors with each model:
• Spatial Dimensions. (2D, axisymmetric, 3D)
• Temporal Dimensions. (steady-state, unsteady)
• Equations. (Navier-Stokes, approximations)
• Turbulence Model.
• Thermodynamic and Transport Property model.
• Chemistry Model.
• Flow Boundary Conditions (inflow, outflow).
• Compressor Face Model.
• Bleed / Blowing Model.
• Vortex Generator Model.
9
Discretization Error
10
Iterative and Grid Convergence
Iterative Convergence
Simulations should demonstrate iterative convergence. As the algorithm
iterates the solution, the simulation results approach a fixed value
(residuals drop and level off). This applies to both steady and unsteady
flow solutions. In the case of unsteady flows, the iterative convergence
applies to iterations over a time step.
Grid Convergence
As the grid spacing is reduced, the simulation results become insensitive
to the grid and approach the continuum results.
11
Iterative Convergence
N M 2
Qˆ i ,m
L2 i 1 m 1
M *N
• It represents the change in the solution over an iteration averaged over all
the grid points and equations.
• The L2 residual is usually displayed and plotted as its log values, [log(L2)].
Unsteadiness (real or
Order-of-magnitude drop (about 5)
pseudo) in the
solution (typical of
turbulent and
separated flows) may
psuedo-unsteadiness
limit how far the
residual drops.
Leveling off of residual
Often a couple of
orders-of-magnitude
drop is all one
achieves.
14
Residual Plots (continued)
15
Examine Conservative Variables
The solution of the conservation equations must satisfy those conservative
principles. Iterative convergence can be demonstrated through examination of
the conservative variables:
For example, one can examine the conservation of mass through a duct:
Statistical analysis of the variation. This
Variation of the mass flow indicates the level of iterative
through the duct. convergence error in determining the
mass flow through the duct.
16
Change in Local or Global Quantity
The change in a local or global property is perhaps the best measure of iterative
convergence since it typically directly monitors the quantity that is important for
the engineering analysis.
Local quantity is point
value. Global quanity is
integrated over a portion of
the flow field.
Examples include:
• Lift on a wing
• Drag on a wing
• Inlet recovery Lift on the ONERA M6 wing
with number of cycles.
• Heat flux
Verification of a Calculation
Verifies that a calculation (simulation) demonstrates a certain level
of accuracy. The primary method for the verification of a
calculation
is the grid convergence study.
18
Grid Convergence Study
Quantifies:
1. “ordered” discretization error band (related to grid size by order p)
2. p, order of grid convergence (order-of-accuracy)
3. continuum or “zero grid spacing’’ value of observed quantity
Approach:
• Assumed or demonstrated that all other error terms are negligible,
minimized, accepted, or under control.
• Perform CFD solution on two or more grids of increased refinement.
• Solutions must be in the “asymptotic range of convergence’’.
• If three solutions, can then compute order of convergence, p.
• Use Richardson extrapolation to compute continuum value.
• Compute Grid Convergence Indices (GCI) as discretization error band.
19
Grid Generation Considerations
• Viscous wall spacing set for y+ < 1.0 for fine grid.
• Flow field resolution set to resolve shock system.
• Grid density to keep grid spacing ratio below 15%.
• Use ICEM CFD to construct and GRIDGEN to improve.
• Subset grid to remove some sub-layer grid points for
wall function.
• Best if grid refinement ratio, r = h / h = 2.0
2 1
• h is grid spacing.
• Minimum, r > 1.1
• WIND allows for grid sequencing (r = 2).
20
Example: Supersonic Diffuser
21
Order of Convergence
E f h f exact C h p H .O.T .
• h is the grid spacing.
• C is a constant.
• Use three values to solve for order of convergence.
f3 f 2
p ln lnr
f 2 f1
• For this example, p = 1.786
22
Richardson Extrapolation
23
Grid Convergence Index (CGI)
25
Validation Assessment