Beruflich Dokumente
Kultur Dokumente
t
+ (u) = 0, (1a)
t
(u) + (u u) p +
1
Re
(1b)
t
(e) + (eu) =
1
Re Pr( 1)
T pu +
1
Re
u. (1c)
In these equations, u is the velocity vector, is density, T is temperature, e is internal energy, is the
specic heat ratio, is the dynamic viscosity, Re is the Reynolds number, Pr is the Prandtl number,
= (u + u
) 2/3( u)I, and I is the identity matrix. Details of the scaling can be found in
the Users Manual for OVERFLOW 2.1. Transforming the CNSEs to generalized coordinates is done by
selecting a dierentiable coordinate transformation = ((x), (x), (x)) and applying the chain rule, i.e.,
i
=
i
, (2)
where
is the gradient operator with respect to . The transformed CNSEs can then be written in the
general form
t
q +
E +
F +
G = 0, (3)
where q = [, u
1
, u
2
, u
3
, e], and e is internal energy. Here, E, F, and G contain the advection, pressure,
and dissipation terms. The specic form of the discretization and splitting is specied by the user, and the
code oers a wide range of options of shock capturing schemes. In the present work, we are using the 5
th
-
order WENOM scheme of Hendrick et al. [2], which is an accuracy-maintaining correction for the original
WENO scheme of Liu et al. [3], which may drop to as low as 3
rd
-order accuracy near critical points.
3. The lter-forcing scheme
The turbulence model used in this work is motivated by the observation of Vasilyev et al. [4] that the
traditional formulation of the LES equations is not fully resolved on computational meshes and therefore
produces aliasing error. It was further observed that no discretization scheme is equivalent to spatial ltering
the governing equations. Thus, rather than assuming that the numerical scheme and under-resolved mesh
act as a lter, we perform explicit ltering at each time step. If the commutation error associated with the
lter is of the same order as the discretization, this is equivalent to solving the dealiased ltered equations,
t
+
j
(u
j
) = 0, (4a)
t
u
i
+
j
u
j
u
i
=
i
p +
j
ij
+ HFI
i
, (4b)
t
e
0
+
j
(e
0
+ p) u
j
=
j
ij
u
i
j
q
j
+ HFI
e
, (4c)
where
HFI
i
=
j
_
u
j
u
i
u
j
u
i
_
(5)
HFI
e
=
j
_
ij
u
i
ij
u
i
(e
0
+ p)u
j
+ (e
0
+ p) u
j
_
. (6)
are high-frequency interaction (HFI) terms. Assuming that the ltering operation approximates a spectral
cuto with support on the mesh, Eqs. (4a)(4c) contain exclusively resolved-scale terms, and the HFI
terms contain exclusively subgrid-scale quantities. Numerical tests revealed that this formulation tends to
be excessively dissipative, i.e., it suers from insucient backscatter depending on the ltering chosen. Thus
rather than modeling the missing HFI terms with additional dissipation, they are modeled with a forcing
function. Thus the overall structure of a time step is as follows:
1. Compute a single time step as usual, including all Newton iterations.
2. Apply an explicit, low-pass lter.
3. Extract a high-pass velocity eld, u
hi
.
4. Perform local checks to determine whether the ow is locally turbulent.
5. If the check is positive, iterate a chaotic discrete map and construct a pointwise force, f.
6. Incorporate this force into the right-hand side vector to be used in the next time step.
7. Return to step 1.
Details of the ltering, chaotic map, and forcing will be given below. As can be seen from this structure,
there are no additional transport equations or other PDEs added to the global system. It further involves
signicantly more operations per point than the Smagorinsky model, and because it has a an explicit check
for local turbulence, its global eect on performance should be dependent on the ow and model parameters.
In particular, the forcing function employed here has a single parameter that aects the magnitude of the
forcing.
3.1. HAMR ltering
Explicit ltering was performed on the conserved variables at the end of each time step using an optimized
high-accuracy and maximum-resolution (HAMR) scheme, which is an asymptotically stable Pade lter fea-
turing low dispersion, introduced by Liu et al. [5]. The unique ability of Pade ltering to avoid attenuating
low-wavenumber modes resulted in superior solution accuracy compared to a classical 10
th
-order lter as
demonstrated in numerical experiments performed by the same authors in a second paper [6]. In this work,
we used lter coecients from [6] corresponding to their designation of O40.20 for the interior lter and
0.20 for the boundary lter.
3.2. High-pass ltering
To calculate the high-pass velocity components for the backscatter model, we obtained lter coecients
by doing a least-squares t to a sharp spectral cuto at = 0.3 as seen in Fig. 1. While this method proved
to suciently isolate high-wavenumber content for the purpose of structural turbulence modeling, the lter
coecients do not exactly satisfy the relations necessary to be used as a low-pass lter for mollifying a PDE
solution as part of a numerical procedure, so we caution any reader away from using these coecients in
that manner. The lter coecients for the interior points are given by
= 0.6275872367
= 0.2691885228
p
0
= 0.06314459948
p
1
= 0.1096411682
p
2
= 0.0701432898
p
3
= 0.02940528862,
and the same least-squares procedure was used to obtain coecients for the boundary points, which are
given by
a
2
=(0.3096256995, 1.0, 1.1380646293,
0.4106696169, 0.0)
b
2
=(0.3084688023, 1.0057844862, 1.1264956568,
0.4222385894, 0.0057844862, 0.0011568972),
and
a
3
=(0.1477868412, 1.0, 1.1264956568,
0.6357553622, 0.1477868412)
b
3
=(0.1470348738, 0.6395151994, 0.9924803256,
0.6532750366, 0.1440270040, 0.0007519674).
By using these coecients in a high-pass lter, we obtain small-scale conserved variable eld q
hi
. The
high-pass primitive velocities are found by
u
hi,i
=
(u
i
)
hi
. (7)
Figure 1: Real (solid) and imaginary (dashed) components of the transfer function for the 3
rd
point away from the boundary
versus scaled wavenumber
3.3. Shock detection
Care must be taken regarding shocks. While a HAMR scheme attenuates high-k modes, it does not
dissipate in a Gaussian-like manner. The smooth, sharp shocks created by shock capturing schemes depend
on high-k modes in order to locally eliminate the Gibbs phenomenon. By attenuating primarily these modes,
the HAMR scheme actually counteracts the shock-capturing scheme and reintroduces near-shock oscillations.
Additional ltering at each time step compounds the oscillations until they cause critical instability or
nonphysical quantities, such as negative densities or pressures. In addition, construction of u
hi
will also
create undesired velocities in the vicinity of the shock, which will cause spurious activation of the turbulence
model.
The approach to shock treatment taken in this work is to simply avoid ltering near the shock. If we
have a discrete signal, {u
i
|1 < i < n}, we will represent the n n HAMR ltering matrix by H
n
. If we have
near-discontinuities at {u
i1
, . . . , u
im
} we wish to apply the ltering operation only to the smooth sections
of u and ignore the discontinuous regions, i.e.,
u =
_
_
H
i11
(u
1
, . . . , u
i11
)
T
T
, u
i1
, . . . , u
im
,
_
H
nim
(u
im+1
, . . . , u
n
)
T
T
_
. (8)
Although this introduces O(
5
) commutation error associated with the boundary lter at places in the inte-
rior of the ow, this is preferable to the solution-stopping instabilities caused by allowing Gibbs phenomena
to accumulate. Further, since the WENOM scheme is 5
th
-order, this will have no eect on global solution
accuracy.
Shock detection is a nontrivial problem and currently an area active research, although the main focus
of literature on this topic is visualization of shock waves rather than computing CFD solutions. Because of
this, many of the methods are too slow to be incorporated into a CFD solver. The HAMR scheme requires
the solution of pentadiagonal systems in each spatial direction, so additional computations should be kept
to a minimum. Kanamori and Suzuki [7] identify two main classes of shock detection in current use: those
based on the assumption that local gradients are perpendicular to the shock, and those based on solving the
local Riemann problem, of which their method is an example. However, this latter class of methods tends
to be too computationally expensive to be included as a method of shock detection in CFD.
In the present work, we employed a simple density smoothness indicator similar to the smoothness
functions employed in WENO shock capturing. The formula is given by
F
smooth
=
13
12
(
i1
2
i
+
i+1
)
2
+
3
2
i
(
i+1
i1
)
2
i
. (9)
This is computationally inexpensive and does not require the creation of whole new variable arrays, since it
can be computed only for the vector currently being ltered. But in this formula, there is no reason to expect
a universal value of F
smooth
. For the cases studied in the present work, cutting out points for F
smooth
> 0.2
proved to be adequate and returned results close to using the pressure-gradient scheme of Lovely and Haimes
[8].
3.4. Chaotic forcing
Attempts at inducing backscatter via random forcing functions were attempted in the 1990s by Leith [9]
and Chasnov [10] with reasonable success. Although this has not been a particularly popular method, the
basic idea continues to be used and modied with some success. A more recent example that has exhibited
fairly good agreement with DNS results is the LESLangevin model of Laval and Dubrulle [11], although the
dissipative component of this model was provided by a Smagorinsky-type eddy viscosity. However, all of these
examples used a Gaussian random variable to provide the unpredictable component of the forcing. Because
turbulence is non-Gaussian, we use a discrete dynamical system (DDS) we have called the compressible
poor mans NavierStokes (CPMNS) equations. The idea of using a chaotic, discrete map in the context
of turbulence modeling was proposed by Hylin and McDonough [12] and developed into the incompressible
PMNS equations by McDonough [13]. The extension of this technique to the compressible equations was
then presented and studied by Strodtbeck et al. [14]. This dynamical system takes the form,
a
(n+1)
i
=
i
a
(n)
i
(1 a
(n)
i
)
j
a
(n)
i
a
(n)
j
(1
ij
)
ij
a
(n)
j
i
e
(n)
, (10a)
e
(n+1)
=
[ e
(n)
(1
j
a
(n)
j
) + 2
_
ji
ji
(a
(n)
i
)
2
+
ij
ji
a
(n)
i
a
(n)
j
_
+
ij
a
(n)
i
a
(n)
j
_
/(1 +
T
),
(10b)
where summation is over j for the a
i
equations and over both i and j for the e equation. Formulas for the
bifurcation parameters are given by
i
=1
(11a)
=/(M
loc
)
2
(11b)
ij
=
1
3
k
i
k
j
(1
ij
) (11c)
ij
=
2
3
_
( 1)M
2
loc
j
k
i
k
j
Re
loc
_
(11d)
i
=
(11e)
ij
=k
i
( 1)M
2
loc
Re
loc
(11f)
Re
i
=
_
|
i
|
(11g)
Re
loc
=
1
3
(Re
1
+ Re
2
+ Re
3
), (11h)
where all ow variables have been appropriately scaled with local quantities as described in [14]. Here, M
loc
is local Mach number, k
i
is the wavenumber associated with the length of the grid cell in the i
th
direction,
i
is the i
th
component of vorticity, is the lter width (here taken to be the average length of a grid
cell), = 1/||, and is kinematic viscosity. Note that the formulation of Re
i
is similar to that of y
+
,
the dimensionless turbulent wall distance, although with an instantaneous vorticity component in place of
mean strain rate. With the exception of elements of , the formulas for the bifurcation parameters are taken
directly from the derivations. At each time step, the bifurcation parameters are constructed and, if the
DDS is in the quasiperiodic or chaotic regime, randomly initialized and iterated 12 times, which is generally
sucient for the system to exhibit its characteristic behavior. If the bifurcation parameters correspond to a
non-broadband regime, the map is not iterated and the SGS forcing at the node for the given time step is
set to zero.
The specic form of forcing employed in this work is inspired by the successful use of linear forcing,
rst proposed by Lundgren [15], implemented for stationary, incompressible turbulence by Rosales and
Meneveau [16], and extended to the compressible case by Petersen and Livescu [17] to create a stationary
state in homogeneous, isotropic turbulence. This sort of formulation is attractive due to its straightforward
implementation and analysis. Because we are trying to model backscatter rather than achieve stationary
turbulence, we apply the forcing only to q
hi
and multiply by a
i
in order to provide chaotic dispersion. Thus
the formulas for our forcing terms are
f
i
=(C
PMNS
)u
hi,i
(a
i
A
i
) (12a)
f
e
=f
i
u
i
(12b)
where f
i
is the forcing term for the momentum equation, f
e
is the forcing term for the energy equation,
C
PMNS
is the PMNS model constant, and A
i
is the average of a
i
over the twelve iterations. This averaging is
necessary to ensure that the average kinetic energy induced by the forcing term is zero; i.e., energy should be
scattered rather than articially injected. The forcing term on the energy equation is a simple formulation
for maintaining consistency in the governing equations.
Figure 2: Close-up of overset grid features for a 24 degree shock ramp featuring a trip wire
4. Test Problem and Computational Facilities
To test the eects of the turbulence model on the parallel performance of OVERFLOW, a test problem
was constructed based on the physical geometry of the 24-degree shock ramp used in the experiments of
Ringuette et al. [18]. In this case, we have modeled the rst 120 mm of the ramp. Free stream conditions
were imposed at the inlet with M
= 2.9, T
= 196.67