Skip to main content

Bump (2D)

Overview

Case description

Mesh

  • 2D structured mesh created using blockMesh

  • bump described

    y(x)={0.05[sin(πx0.9π3)]4,0.3x1.2,0,0x<0.3and1.2<x1.5. y(x) = \begin{cases} 0.05 [\sin(\pi \frac{x}{0.9}-\frac{\pi}{3})]^4, & 0.3 \le x \le 1.2, \\ 0 , & 0 \le x \lt 0.3 \, \text{and} \, 1.2 \lt x \le 1.5. \end{cases}
  • this has been set in the blockMeshDict using a codeStream

Close-up around the bump

Boundary conditions

  • UU based on a Mach number of 0.2. Mach number, MaMa, is defined as:

    Ma=γRT Ma = \sqrt{\gamma R T}

    where γ\gamma is the ratio of specific heats, RR the gas constant and TT the temperature. Using values for air at 300K, the inflow velocity is given as:

    U=0.2Ma=0.21.4×287×300=69.44m/s U = 0.2 Ma = 0.2 \sqrt{1.4 \times 287 \times 300} = 69.44 m/s
  • The laminar viscosity is derived from the Reynolds number, i.e.

    ν=uLRe=69.44×13×106=2.31×105m2/s \nu_\infty = \frac{|\u| L}{Re} = \frac{69.44 \times 1}{3 \times 10^6} = 2.31 \times 10^{-5} m^2/s

Common fields

Velocity: U

PatchConditionValue
InletfixedValue69.44 m/s in x
OutletzeroGradient
BumpnoSlip
WallssymmetryPlane

Pressure: p

PatchConditionValue
InletzeroGradient
OutletfixedValue0 Pa (static)
BumpzeroGradient
WallssymmetryPlane

Turbulence fields

Turbulence viscosity: nut

PatchConditionValue
Inletcalculated
Outletcalculated
BumpnutUSpaldingWallFunction
WallssymmetryPlane

Spalart-Allmaras

Modified turbulence viscosity: nuTilda

PatchConditionValue
InletfixedValuebased on 3ν 3 \nu_\infty
OutletzeroGradient
BumpfixedValue0
WallssymmetryPlane

Results

The NASA Turbulence Modelling Resource employs a code comparison to show that the FUN3D and CFL3D codes produce equivalent results for this case. OpenFOAM and CFL3D results are presented in the following series of images, showing that OpenFOAM results compare very favourably.

Normalised turbulence viscosity
Skin friction
Pressure coefficient