Results are shown here from 2 compressible codes
so that the user may compare their own compressible code results. Multiple grids were
used so the user can see trends with grid refinement. Different codes will behave
differently with grid refinement depending on many factors (including code order of accuracy
and other numerics),
but it would be expected that as the grid is refined the results
will tend toward an "infinite grid" solution that is the same.
Be careful when comparing details: any differences in boundary conditions or flow conditions
may affect results.
Two independent compressible RANS codes,
CFL3D and FUN3D, were used to compute this
bump-in-channel flow with the Spalart-Allmaras turbulence model
(version SA - see full description on
Spalart-Allmaras page). The full series of 5 grids were used.
CFL3D is a cell-centered structured-grid code, and FUN3D
is a node-centered unstructured-grid code (FUN3D can solve on mixed element grids, so this case
was computed on the same hexahedral grid used by CFL3D). Both codes used Roe's Flux Difference
Splitting and a UMUSCL upwind approach. In CFL3D its standard UMUSCL (kappa=0.33333) scheme was
used, whereas in FUN3D the option UMUSCL 0.5 was used. Both codes were run with
full Navier-Stokes (as opposed to thin-layer, which is CFL3D's default mode of operation),
and both codes used first-order upwinding for the advective terms of the turbulence model.
Details about the codes can be found on their respective websites,
the links for which are given on this site's
home page.
The codes were not run to machine-zero iterative convergence, but an attempt was made to converge
sufficiently so that results of interest were well within normal engineering tolerance and
plotting accuracy. For example, for CFL3D the density residual was typically
driven down below 10-13. It should be kept in mind that many of the files given below
contain computed values directly from the codes,
using a precision greater than the convergence tolerance (i.e., the values
in the files are not necessarily as precise as the number of digits given).
For the CFL3D and FUN3D tests reported below, the turbulent inflow boundary condition used for SA was:
.
In both CFL3D and FUN3D, this was not the default setting, so special keywords needed to be
set in both codes.
For the interested reader, typical input files for this problem are given here:
CFL3D V6.5:
FUN3D (original):
FUN3D (new - should yield nearly the same converged results as original):
All FUN3D results below are from the original run (rev 32577).
Note: prior to April 2, 2010, the lift and drag coefficient numbers posted on this page were scaled too high by a
factor of 1.5, because an incorrect reference area (of 1 instead of 1.5) was used. This has been corrected here.
The following plots show the convergence of the wall skin friction coefficient
at the bump peak (at x=0.75), in front of the bump peak (at x=0.6321975), and
aft of the peak (at x=0.8678025) with
grid size for the two codes.
In the plot the x-axis is plotting 1/N1/2, which is proportional to
grid spacing (h).
At the left of the plot, h=0 represents an infinitely fine grid.
Both codes go toward approximately the same result on an infinitely refined grid.
Using the uncertainty estimation procedure from the Fluids Engineering Division of the ASME (Celik, I. B.,
Ghia, U., Roache, P. J., Freitas, C. J., Coleman, H., Raad, P. E.,
"Procedure for Estimation and Reporting of Uncertainty Due
to Discretization in CFD Applications," Journal of Fluids Engineering, Vol. 130, July 2008, 078001, https://doi.org/10.1115/1.2960953), described in Summary of Uncertainty Procedure,
the finest 3 grids yield the following for skin friction coefficient at x=0.75, x=0.6321975, and
x=0.8678025:
Code |
Computed apparent order, p |
Approx rel fine-grid error, ea21 |
Extrap rel fine-grid error, eext21 |
Fine-grid convergence index, GCIfine21 |
x=0.75 |
CFL3D |
1.43 |
0.116% |
0.069% |
0.086% |
FUN3D |
1.57 |
0.188% |
0.096% |
0.120% |
x=0.6321975 |
CFL3D |
4.71 |
0.003% |
0.0001% |
0.090% |
FUN3D |
0.32 |
0.032% |
0.130% |
0.090% |
x=0.8678025 |
CFL3D |
2.42 |
0.037% |
0.008% |
0.011% |
FUN3D |
1.71 |
0.162% |
0.071% |
0.089% |
The data file that generated the above plot is given here:
cf_convergence_sa.dat.
The following plots show: (1) total drag coefficient, (2) pressure drag coefficient,
(3) viscous drag coefficient, and (4) total lift coefficient for the bump.
In this bump case the surface skin friction
is singular (tends toward infinity) at the leading edge. The finer the grid, the more nearly singular
the local behavior on a finite grid.
There is also locally anomalous behavior in Cf at the back end of the bump wall (at x=1.5), as
is often seen in CFD solutions near trailing edges (see, e.g., Swanson and Turkel, AIAA Paper 87-1107, 1987,
https://doi.org/10.2514/6.1987-1107).
Both of these behaviors may have some influence
on the convergence/order-property of the integrated viscous component of the drag coefficient.
As seen in the following plots, both codes are tending toward similar integrated force coefficient values
as the grid is refined. CFL3D is approaching with apparently higher than second-order behavior for
total drag and pressure component of drag, and at close to first-order for lift and viscous component of drag;
FUN3D is approaching with apparently higher than second-order for pressure component of drag, between
first and second-order for lift, and less than first order for viscous component of drag. It is
interesting to note that FUN3D's total
drag convergence exhibits oscillatory behavior (non-monotonic) on the finest 3 grids, even though
its two component pieces (pressure and viscous drag components) are each monotonic. The oscillatory
behavior results because the pressure drag is approaching its infinitely-refined value from above,
and the viscous drag is approaching from below with a different (lower) order of convergence.
Using the uncertainty estimation procedure from the Fluids Engineering Division of the ASME (Celik, I. B.,
Ghia, U., Roache, P. J., Freitas, C. J., Coleman, H., Raad, P. E.,
"Procedure for Estimation and Reporting of Uncertainty Due
to Discretization in CFD Applications," Journal of Fluids Engineering, Vol. 130, July 2008, 078001, https://doi.org/10.1115/1.2960953), described in Summary of Uncertainty Procedure,
the finest 3 grids yield the following for force coefficients:
Code |
Quantity |
Computed apparent order, p |
Approx rel fine-grid error, ea21 |
Extrap rel fine-grid error, eext21 |
Fine-grid convergence index, GCIfine21 |
CFL3D |
Cd |
2.37 |
0.113% |
0.027% |
0.034% |
CFL3D |
Cd,p |
2.87 |
0.640% |
0.101% |
0.126% |
CFL3D |
Cd,v |
0.89 |
0.050% |
0.059% |
0.073% |
CFL3D |
CL |
0.99 |
0.248% |
0.253% |
0.317% |
FUN3D |
Cd |
oscillatory convergence |
0.142% |
N/A |
N/A |
FUN3D |
Cd,p |
2.61 |
0.722% |
0.142% |
0.177% |
FUN3D |
Cd,v |
0.64 |
0.245% |
0.434% |
0.545% |
FUN3D |
CL |
1.44 |
0.109% |
0.063% |
0.079% |
The data file that generated the above plot is given here:
force_convergence.dat.
The surface skin friction coefficient from both codes on the finest 1409 x 641 grid
over the entire bump wall is shown in the next plot. Again, local anomalous behavior exists near the leading
edge (x=0) due to singular behavior of the solution,
as well as near the trailing edge (x=1.5) due to numerical influences.
These behaviors differ for the two codes, and result in small local deviations that
can be seen when zoomed into the two locations. But both codes are seen to yield nearly identical results
over most of the bump wall.
The data file that generated the above plot is given here:
cf_bump.dat.
The surface pressure coefficient from both codes on the finest 1409 x 641 grid
over the entire bump wall is shown in the next plot.
Both codes yield nearly identical results.
The data file that generated the above plot is given here:
cp_bump.dat.
The eddy viscosity contours (nondimensionalized by freestream laminar viscosity)
from the two codes on the finest 1409 x 641 grid are shown
in the following plots (y-scale expanded for clarity). They are essentially indistinguishable.
(Note legends do not necessarily reflect min and max values.)
The data files that generated the above plots are given here:
mut_contours_cfl3d.dat.gz (9.6 MB) (structured, at cell centers) and
mut_contours_fun3d.dat.gz (17.1 MB) (unstructured, at grid points). Note
that these are both gzipped
Tecplot
formatted files, so you must either have Tecplot or know how to read their format in order to use these
files.
Using the finest 1409 x 641 grid, an extracted nondimensional eddy viscosity profile at
x=0.75 is shown below, along with a plot of the maximum nondimensional
eddy viscosity as a function of x.
The data file that generated the eddy viscosity profile at x=0.75 is given here:
mut_0.75.dat.
The data file that generated the max eddy viscosity plot is given here:
find_peak_mut.dat (extracted only for CFL3D).
U-Velocity profiles are shown at the two x-locations of x=0.75 and x=1.20148 for
the finest grid in the following plot.
The data file that generated the above plot is given in
bump_u.dat (extracted only for CFL3D).
The SA model relies on the minimum distance to the nearest wall. For this case,
contours of this function
are shown in the following plot, for the grid 1 level down from the finest
grid.
The data file that generated the above plot is given in
bump_1levdown.mindist.dat.gz (gzipped file,
3.9 MB, unstructured, at grid points). Note
that this is a gzipped Tecplot
formatted file, so you must either have Tecplot or know how to read their format in
order to use it.
It is important to note that computing minimum distance by searching along grid lines is
incorrect, and is not the same as computing actual minimum distance to the nearest wall for this grid. Using
the former method will yield some minor differences in the results. The following sketches
demonstrate the concept of minimum distance. Improperly-calculated minimum distance
functions will particularly produce incorrect results for cases in which the
grid lines are not perfectly normal to the body surface.
Note that when the nearest wall point is a sharp convex corner or edge (like an airfoil or wing trailing edge) then the
correct minimum distance is the distance to that corner or edge, which is not a wall normal.
Results from TAU, OVERFLOW, DIABLO, USM3D, CFD++, and REFRESCO are shown alongside the CFL3D and FUN3D results below
(note that SA-noft2 yields essentially identical results for this case as SA).
NAS Technical Paper 2014-03 (pdf file)
(16.2 MB) by Childs, Pulliam, and Jespersen provides details of the OVERFLOW results for this case.
Note for users of OpenFOAM.
Return to: 2D Bump-in-channel Verification Case Intro Page
Return to: Turbulence Modeling Resource Home Page
Recent significant updates:
11/27/2024 - added REFRESCO results to plots of Cf
12/05/2014 - added link to NAS Technical paper of OVERFLOW results for the verification cases
9/18/2014 - added link to note for users of OpenFOAM
02/11/2014 - added CFD++ results
12/19/2013 - added USM3D results
Privacy Act Statement
Accessibility Statement
Responsible NASA Official:
Ethan Vogel
Page Curator:
Clark Pederson
Last Updated: 11/27/2024