Vol1no4-1 MacielE
Vol1no4-1 MacielE
Vol1no4-1 MacielE
238252 (2007)
1. INTRODUCTION
The development of aeronautical and aerospace
projects requires hours of wind tunnel testing. It is
necessary to minimize such wind tunnel type of test
because of the growing cost of such tests. In Brazil,
there is a lack of wind tunnels that have the capacity
for generating supersonic flows or even high
subsonic flows. Therefore, Computational Fluid
Dynamics (CFD) techniques are receiving
considerable attention in the aeronautical industry.
Analogous to wind tunnel tests, the numerical
methods determine physical properties in discrete
points of the spatial domain. Hence, the
aerodynamic coefficients of lift, drag and
momentum can be calculated.
The Jameson and Mavriplis (1986) scheme is a
symmetrical scheme that had been widely used in
the CFD community during the 60s to 80s. It
provided a method for the numerical calculation of
the aerodynamic parameters important to the design
of airplanes and other aerospace vehicles.
Comments about this scheme can be found in
Maciel (2007).
The necessity to construct more elaborated and
more robust schemes, which allows the capture of
strong and sharp shocks, becomes an important goal
Received: 19 Feb. 2007; Revised: 3 Apr. 2007; Accepted: 5 Apr. 2007
238
u
Q = v ,
w
e
u
u 2 + p
Ee = uv ,
uw
(e + p)u
2. NAVIER-STOKES EQUATIONS
The Euler equations are obtained from the NavierStokes equations by ignoring the viscous flux
vectors. Hence, this section presents the formulation
of the Navier-Stokes equations. These equations
can be written, according to a finite volume
formulation, in integral conservative form and on an
unstructured spatial discretization context as:
(1)
where V is the volume defined by the mesh
computational cell, which corresponds to a
tetrahedron in the three-dimensional space; nx, ny
and nz are the Cartesian components of the normal
vector pointing outward of the computational cell; S
is the area of a given flux face; Q is the vector of
conserved variables; E e , Fe and Ge represent the
convective flux vectors in Cartesian coordinates;
and E v , Fv and Gv represent the viscous flux
vectors, also in Cartesian coordinates:
v
w
uv
uw
Fe = v + p , Ge = vw
vw
w2 + p
(e + p)v
(e + p)w
0
0
yx
xx
zx
1
1
1
xy
zy
yy
Ev =
, Fv =
and Gv =
Re
Re
Re
xz
zz
yz
(2)
(3)
The components of the conductive heat flux vector are defined as follows:
q x = ( Prd )ei x ,
q y = ( Prd )ei y
(4)
In these equations, the components of the viscous stress tensor are defined as:
xx = 2 u x 2 3 ( u x + v y + w z) , x y = ( u y + v x) , x z = ( u z + w x)
(5)
y y = 2 v y 2 3 ( u x + v y + w z) , z z = 2 w z 2 3 ( u x + v y + w z)
(6)
239
(7)
p = ( 1) e 0.5(u 2 + v 2 + w 2 )
(8)
Qi(0) = Qi(n)
(9)
Qi(n +1)
( ) ( )n x i,k
(10)
) ( )]
(13)
Qi(k)
nff
C Qi = E e Qi, k E Qi, k
v
k = 1
+ Fe Qi , k Fv Qi , k n y i, k
+ Ge Qi , k Gv Qi , k n z i, k S i , k
[(
with
( )
(12)
3.1
(14)
where
(11)
nff
(2)
(15)
k =1
240
nff
(4)
(16)
k =1
nff
2
Q i = Q k Qi
k =1
(4)
(2)
(2)
i,k = K MAX (i , k ) and
(4)
(4)
(2)
i,k = MAX 0, K
i,k
(17)
with
i =
nff
p k pi
k =1
(p
+ pi )
(18)
k =1
Vi dQi dt = Ci
Ci = F1 + F2 + F3 + F4
u
k =1
i,k S x i,k
(22)
(21)
Ai =
(20)
(19)
a
a
a 0
a
au S p
au
au
au
x
1
1
Fl = S l M l av + av l av av + S y p
2
2 aw
aw
aw
aw S z p
aH 0
aH
aH
aH
L
R
R
L
l
241
(23)
M Lp
M Rm
(24)
M = 0.25(M + 1) , if M < 1 ;
0,
if M 1 ;
M
6. RESULTS
and
if M 1 ;
0,
2
= - 0.25(M 1) , if M < 1 ;
M,
if M 1 ;
(25)
M = S xu + S y v + S z w
) ( S a)
(26)
(27)
2
P = 0.25p (M + 1) (2 M ) , if M < 1 ; and
0,
if M 1 ;
p
if M 1 ;
0,
2
P = 0.25p (M 1) (2 + M ) , if M < 1 ;
p,
if M 1 ;
m
(28)
Fig. 1
(29)
Fig. 3
Fig. 4
Viscous
Ramp
Diffuser
Ramp
Diffuser
61x50x10
61x41x10
61x60x10
61x51x10
Cells
158,760
129,600
191,160
162,000
Nodes
30,500
25,010
36,600
31,110
6.1
Inviscid simulations
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
245
JM
LS
Diffuser
(Lower Wall)
JM
LS
()
30.0
29.6
26.4
26.0
26.0
26.0
Error (%)
0.00
1.33
1.54
0.00
0.00
0.00
Ramp
6.2
Diffuser
(Upper Wall)
JM
LS
Viscous simulations
247
248
()
29.6
Diffuser
(Lower Wall)
21.0
Error (%)
1.33
19.23
Ramp
Diffuser
(Upper Wall)
21.0
19.23
Ramp
Diffuser
Inviscid
CFL
Iterations
CFL
Iterations
Cost*
JM
0.8
232
0.2
960
0.0000131
LS
0.3
575
0.3
720
0.0000211
Viscous
CFL
Iterations
CFL
Iterations
Cost*
JM
0.1
0.1
0.0000360
LS
0.2
1,037
0.1
4,981
0.0000372
7. CONCLUSIONS
In the present work, the Jameson and Mavriplis
(1986) and the Liou and Steffen (1993) unstructured
algorithms are applied to solve the Euler and the
Navier-Stokes equations in three-dimensions. The
governing equations in conservative and integral
forms are solved, employing a finite volume
formulation
and
an
unstructured
spatial
discretization. The Jameson and Mavriplis (1986)
algorithm is a symmetrical second-order scheme,
while the Liou and Steffen (1993) scheme is a flux
250
251
252