skip to content

NASA Logo

Langley Research Center

Turbulence Modeling Resource


 

Return to: 2D Coflowing Jet Verification Case Intro Page

Return to: Turbulence Modeling Resource Home Page


 

SA Expected Results - 2D Coflowing Jet

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.

Note that this case was previously referred to as a 2D Planar Shear, but it is more appropriately referred to as a 2D Coflowing Jet. Some of the figures associated with this case may still have the word "shear" in them.

Two independent compressible RANS codes, CFL3D and FUN3D, were used to compute this coflowing jet 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-11. 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: \tilde \nu_{farfield} \geq 3 \nu_{\infty}. 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:

Note: prior to April 2, 2010, the drag coefficient numbers posted on this page were scaled too high by a factor of 10, because an incorrect reference area (of 1 instead of 10) was used. This has been corrected here.

The following plot shows the convergence of the drag coefficient due to skin friction on both sides of the thin plate between -10 < x < 0 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.

convergence of Cd on thin plate vs h

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 drag coefficient on the thin plate. Note that these particular formulas yield a low apparent order and consequently a relatively high fine-grid convergence index for the second code, even though the error, when taking into account where both codes are headed, is actually about an order of magnitude lower. The low apparent order is likely due to the fact that all three of the finest grid levels are not within the asymptotic range. Some uncertainty estimation methods restrict the lower bound on the computed apparent order, p, when it is computed to be unrealistically low (see Celik et al, Journal of fluids Engineering, 130, July 2008, 078001, https://doi.org/10.1115/1.2960953), described in Summary of Uncertainty Procedure. On the other hand, sometimes a conservative uncertainty estimate is preferred.

Code Computed apparent order, p Approx rel fine-grid error, ea21 Extrap rel fine-grid error, eext21 Fine-grid convergence index, GCIfine21
CFL3D 1.13 0.444% 0.377% 0.469%
FUN3D 0.12 1.011% 10.558% 14.755%

The following plots show u-velocity (nondimensionalized by reference speed of sound) at 3 different locations in the jet: (1) x=2.71623, (2) x=29.2468, and (3) x=95.501. As seen, both codes are tending toward similar results as the grid is refined.

convergence of u-velocity
    near x=3 vs h

convergence of u-velocity
    near x=29 vs h

convergence of u-velocity
    near x=96 vs h

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:

Code Quantity Computed apparent order, p Approx rel fine-grid error, ea21 Extrap rel fine-grid error, eext21 Fine-grid convergence index, GCIfine21
CFL3D u near x=3 0.96 0.041% 0.044% 0.054%
CFL3D u near x=29 1.35 0.078% 0.050% 0.063%
CFL3D u near x=96 0.29 0.034% 0.151% 0.189%
FUN3D u near x=3 oscillatory convergence 0.011% N/A N/A
FUN3D u near x=29 0.96 0.409% 0.431% 0.541%
FUN3D u near x=96 0.94 0.125% 0.136% 0.170%

The data file that generated all the above plots is given here: convergence.dat.

The u-velocity along x at y=0 from both codes on the finest grid is shown in the next plot. Both codes are seen to yield nearly identical results over the entire domain.

u-velocity along x at y=0

The data file that generated the above plot is given here: uvel_y_0.dat.

The u-velocity along y at three x-stations from both codes on the finest grid is shown in the next three plots. Again, both codes are seen to yield nearly identical results.

u-velocity along y at
 x=2.71623 u-velocity along y at
 x=29.2468 u-velocity along y at
 x=95.501

The data files that generated the above plot are given here: uvel_x_3.dat, uvel_x_29.dat, uvel_x_96.dat.

This type of flow exhibits self-similar behavior far enough downstream. The velocity can be normalized as (u-u1)/(um-u1), where u1 is the velocity at the edge of the outer stream, and um is the peak (centerline) velocity. When plotted against y/b, where b is the halfwidth (location where u-u1 is half of um-u1), the results can be compared to the experimental data of Bradbury and Riley (J. Fluid Mech 27(2):381-394, 1967, https://doi.org/10.1017/S0022112067000400). In the following plot, CFL3D results are taken from the three x-locations x=29.2468, x=64.2188, and x=95.501. The first location is not far enough downstream to be fully self-similar.

normalized velocity in wake compared to experiment

The data file that generated the above plot is given here: normalized_u_sa.dat.

The eddy viscosity contours (nondimensionalized by freestream laminar viscosity) from the two codes on the finest grid are shown in the following plots (y-scale expanded for clarity). The first set of contours are in the farfield, and the second set are near the thin plate. Results from the two codes are nearly the same. (Note legends do not necessarily reflect min and max values.)

eddy viscosity contours for CFL3D in the farfield eddy viscosity contours for FUN3D in the farfield

eddy viscosity contours for CFL3D near the thin plate eddy viscosity contours for FUN3D near the thin plate

The data files that generated the above plots are given here: mut_contours_cfl3d.dat.gz (3.9 MB) (structured, at cell centers) and mut_contours_fun3d.dat.gz (6.5 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 grid, an extracted nondimensional eddy viscosity profile at x=29.2468 is shown below.

eddy viscosity at x=29.2468

The data file that generated the above profile is given here: mut_29.dat.

The SA model relies on the minimum distance to the nearest wall. For this case, contours of this function (near the thin plate, which is the only wall in the domain) are shown in the following plot, for the coarse grid 3 levels down from the finest grid. The y-scale has been expanded for clarity.

minimum distance function

The data file that generated the above plot is given in mindist.dat (unstructured, at grid points). Note that this is a 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 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, or when the nearest body does not lie in the current grid zone. 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.

sketch 1 demonstrating the concept of minimum distance function sketch 2 demonstrating the concept of minimum distance function

Results from OVERFLOW 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.

convergence of u-velocity
    near x=29 vs h, incl OVERFLOW results

u-velocity along x at y=0,
    incl OVERFLOW results

Note for users of OpenFOAM.
 
 

Return to: 2D Coflowing Jet Verification Case Intro Page

Return to: Turbulence Modeling Resource Home Page


 
 


Recent significant updates:
04/05/2016 - re-named the case 2D Coflowing Jet
12/05/2014 - added link to NAS Technical paper of OVERFLOW results for the verification cases

Privacy Act Statement

Accessibility Statement

Responsible NASA Official: Ethan Vogel
Page Curator: Clark Pederson
Last Updated: 03/01/2023