Professional Documents
Culture Documents
MEF Minimos Cuadrados PDF
MEF Minimos Cuadrados PDF
Campos Silva
t* i L u 0 L
( )1/ 2 ;
2
i = Re =
u ( p + u i2 / 2) k t = = C s 2S kl S kl ; .
i ijk u j k + + ijk = fi ; (3) u0 L L u0
t x i x j
The eddy viscosity is calculated according to the Smagorinsky
u i model in the form
=0 ; (4)
xi
J. of the Braz. Soc. of Mech. Sci. & Eng. Copyright 2005 by ABCM July-September 2005, Vol. XXVII, No. 3 / 275
V. D. Pereira and J. B. Campos Silva
u
*t = (Cs )2 (2 skl skl )1 / 2 ; sij = 1 ui + j (13) R = LN n +1 f n . (19)
2 x j xi
The application of LSFEM consists in the minimization of a
where Cs is the constant of Smagorinsky and is the filter width functional defined as the integral of the squared residuals. If inside
( )
First Order System and Interpolation of Variables Nelem
J n +1 = Ae RT RdA . (20)
The first order system (10)-(12) for 2D problems, after
e =1
discretizing the transient term can be written in a compact form as
L n+1 = f n
; (14)
The minimization of the functional requires that J n +1 = 0 , ( )
which results in the following matrix system:
1 ( ) ( ) ( ) ( ) T
+ U +V e
X Y
0
X Y Ke = LN1 , LN 2 , " , LN Ne LN1 , LN 2 , " , LN Ne dA (22)
Ae
1 ( ) ( ) ( ) ( ) (15)
0 + U +V - e
L= x y Y X
where Ae is the area of the finite element, T denotes the
( ) ( )
0 0 transpose and the global vector F is assembled with the contribution
X Y
( ) ( ) of the element vectors
- 0 1
Y X
T
n
Un U U P in which
Su = f X + (1 )U +V + + e ; (16)
t X Y X Y
Nj N j N j N j N j
+ U +V 0 e
X Y X Y
n
Vn V V P
S v = fY + (1 ) U +V + e . (17) Nj N j N j N j N j
t X Y Y X 0 + U +V
- e (24)
LN j = x y Y X
N N j
and 0 1 is a parameter of time discretization. j
0 0
X Y
The variable in finite element methods, for equal order N j N j
- 0 N j
interpolation of all degrees of freedom, can be interpolated inside an Y X
element in the form:
Results and Discussions for Velocity-Pressure-Vorticity
U Formulation
Ne
V
e ( X ,Y ,t ) = N j ( X ,Y ) ( t ) ; (18)
j =1 P
Lid-Driven Cavity flow
j
In order to validate the proposed model, the classical benchmark
where N j is the interpolation function associated to the node j of problem of the lid-driven cavity flow was numerically simulated.
The convective terms are linearized by successive substitutions in
the element and Ne is the number of nodes. It has been pointed out each time step and the linear system resulting is solved by the
that the LSFEM is not subjected to LBB (Ladyzhenskaya-Babuska- frontal method (Taylor & Hughes, 1981). However, a solver like the
Brezzi) condition like the Galerkin-based method, Jiang (1998), preconditioned conjugate gradient method should be preferred, once
Winterscheidt & Surana (1994). the matrix from the LSFEM is always symmetric and positive-
definite. The element matrices are obtained using three-point for
linear quadrilateral elements and nine-point Gaussian quadrature for
the nine-node finite element. The Reynolds numbers of 100, 400
Least-Squares Finite Element Method 1,000 and 10,000 were considered. It has been tested some values
for the constant of Smagorinsky and the mesh refinement. The
Substituting Eq. (18) in Eq. (14) a residual vector can be defined Figure 1 shows the geometry and boundary conditions. With the aid
inside an element as of secondary variables all boundary conditions are of Dirichlet type
0,0
U
Figure 3. Velocity U at X = 0.5, quadratic element.
1,0
0,8
0,6
(0,1) Y
0,4
Re = 1000 (present work)
Re = 1000 (Ghia et al., 1982)
Figure 1. Cavity geometry and boundary conditions.
0,2
0,0
1,0
Y
0,4
1,0
Re = 400 (present work)
Re = 400 (Ghia et al., 1982)
0,2
0,8
0,0
0,6
0,0
U
Figure 5. Velocity U at X = 0.5, quadratic element.
J. of the Braz. Soc. of Mech. Sci. & Eng. Copyright 2005 by ABCM July-September 2005, Vol. XXVII, No. 3 / 277
V. D. Pereira and J. B. Campos Silva
Figure 8. U velocity at X = 0.5 for Reynolds 400 with turbulence model and
1,0 a more refined mesh.
0,8
1,0
0,6
0,8
Y
0,4
Re = 100 (present work) 0,6
Re = 400 (present work)
0,2 Re = 1000 (present work) Y
Re = 100 (Ghia et al., 1982)
0,4
Re = 400 (Ghia et al., 1982)
Re = 1000 (Ghia et al., 1982)
0,0
0,2 Re = 1000 (present work)
Re = 1000 (Ghia et al., 1982)
-0,4 -0,2 0,0 0,2 0,4 0,6 0,8 1,0 1,2
U 0,0
Figure 6. U velocity at X = 0.5 for different Reynolds with turbulence
model. -0,4 -0,2 0,0 0,2 0,4 U 0,6 0,8 1,0 1,2
1 12
11 14 13 10 9
12
11 14 13 10
1 11 12 11 12
9 8 8 10
7 7
6
12
9
5
0.9 6
0.9
10
10
4 8
11
9
12
14 13
11
2 7
0.8
3
0.8
10
9
6
5
Level SF Level SF
7
13 14
5 16 0.00369097
0.7 14 -1.33832E-06
8
0.7
12
15 0.00233594
11
13 -1.29465E-05 4
14 0.000713377
8
12 -0.000144182
9
8
6
3 13 2.19354E-05
11 -0.00163398
0.6 0.6 12 -0.000217243
7
10 -0.0065731
10
11 -0.00609176
11
8
7
9 -0.0141146
12
5
9
5
4 10 -0.016061
8 -0.0253852
3
6
7 -0.0380777 9 -0.0359996
Y
0.5 0.5
Y
6
12
6 -0.0507703 8 -0.0559382
10
10
5 -0.0634629 3 7 -0.0758768
6 -0.0958154
11
4 -0.0761555 4
12
7
0.4 5 -0.115754
9
0.4
14 13
11
3 -0.0888481
4 -0.135693
6
9
2 -0.0951944
10
1 -0.0998343 5 3 -0.145662
2 -0.153399
13
7
0.3 8
0.3
13 14
8 1 -0.1555
6
12
11
9
9
8
0.2 10
0.2
14
11 12
12 10
0.1 0.1
15
13
11 10
11
14 14
12
12 13
0 13
14 13 14 0
0 0.25 0.5 0.75 1 0 0.25 0.5 0.75 1
X X
Figure 11. Stream function for Re = 100 with turbulence model. Figure 14. Stream Function for Re = 10,000 with turbulence model.
1 15 13 12 14 15 13 12
Formulation u-p-
14
11 11
10
9
14
8
15
10
7
12
6
8
10
0.8
11
Level SF
19 0.000391569
5
18
17
0.000217252
3.88613E-05
equations:
0.7
13
16 2.39935E-06
6
11
9
15 -6.92722E-08
12
L sgs
ui ui u j 1 p ij ij
14 -1.03687E-05
5
0.6
15
13 -8.01651E-05
2
14
+ = + + fi ;
8
12 -0.00128279
3
(25)
4
11 -0.00603213
t x j xi x j x j
14
10 -0.0189839
Y
0.5
9
15
7
9 -0.0319357
10
6
8 -0.0448875
12
7 -0.0578393
10
0.4
13
7 6 -0.0707911
11
u i
5 -0.0837429
4 -0.0902188
0.3
3
2
-0.0966947
-0.099686 =0 . (26)
x i
13
9
1 -0.102323
11
16
12
0.2
15
10
14
17
0.1 14 12
11
18
12 13
17
15
13
0
u u j
15 14 16
0 0.25 0.5 0.75 1
X ijL = i
+ ; (27)
x j xi
Figure 12. Stream function for Re = 400 with turbulence model.
ijsgs = u j u i u j u i . (28)
1 12 13 14 12 13
14
11
10
14
11
9
0.9 9
The sub-grid-scale stress tensor is modeled through the model of
8
10
Smagorinsky resulting
13
7
0.8 Level SF
8
11
12
6 21 0.0012879
20 0.00125246
u u j
10
12
0.7 19 0.000934794
2k
13
t i + .
5
ijsgs =
18 0.00064222
17 0.000285514 (29)
x j x i
16 5.58351E-05
0.6 15 1.48062E-06 3
4
14
14 -4.82521E-05
13 -0.000620296
5
14
2
11
12 -0.00497407
9
Y
0.5
9
11 -0.0175007
4
10 -0.0300273
10
9 -0.0425539
0.4 8 -0.0550805 now have the form
13
6 5
7
7 -0.0676071
8
11
12
7 6 -0.0801337
5 -0.086397
( p / + 2k / 3) ij
0.3
10
12
4 -0.0926603
u i u i
15
13
3 -0.0966589
2 -0.0980666
+uj = + + fi ; (30)
16
t x j xi x j
1 -0.0987134
0.2 9
10 11
14
7
141 20
21
0.1 1
16 5 19
18
12
u i u j
13
ij = ( + t ) ;
15
13 17
+
16
0 14 15
(31)
0 0.25 0.5 0.75 1 x j xi
X
Figure 13. Stream function for Re = 1,000 with turbulence model.
u i
=0 . (32)
xi
J. of the Braz. Soc. of Mech. Sci. & Eng. Copyright 2005 by ABCM July-September 2005, Vol. XXVII, No. 3 / 279
V. D. Pereira and J. B. Campos Silva
u u u p xx xy
+ u +v + + = fx ; (33)
t x y x x y 0,1
v v v p xy yy
+ u +v + + = fy ; (34)
y y x y
0,0
t x
V
u
xx 2 e =0 ; (35) -0,1
x
u v -0,2
xy e + = 0 ; (36) Re = 100 (present work)
y x Re = 100 (Ghia et al., 1982)
-0,3
v 0,0 0,2 0,4
X 0,6 0,8 1,0
yy 2 e =0 ; (37)
y
Figure 16. Velocity V at Y = 0.5; linear element.
u v
+ =0 . (38)
x y
1,0
0,1
1,0
0,0
V
0,8 -0,1
-0,2
0,6
Y -0,3
0,4
-0,4 Re = 400 (present work)
Re = 100 (present work)
Re = 100 (Ghia et al., 1982) Re = 400 (Ghia et al., 1982)
0,2 -0,5
0,0 0,2 0,4 0,6 0,8 1,0
X
0,0 Figure 18. Velocity V at Y = 0.5; linear element.
height, rw is the half spacing of the small channel and in this case Re = 400
0,5 X = 0,74
rw = h / 2 . Figures 19-21 show profiles of velocity at some stations X = 1,88
X = 2,65
along the channel and Figures 22-24 shows the streamlines for Re of X = 10,69
100, 200 and 400 respectively. The behavior of the flow has been 0,0
X = 28,74
simulated satisfactorily. The non-dimensional reattachment lengths
are approximately, 4.2, 6.2 and 8 times step height for Re = 100, -0,2 0,0 0,2 0,4 0,6 0,8 1,0 1,2 1,4 1,6
U
200, 400 respectively. The length reattachment results of Barber &
Fonty (2003) for a similar flow and the same Reynolds numbers are Figure 21. Profiles of velocity at some stations along the channel.
of about 3.5, 5.5 and 8.4 times step height. For the Reynolds number
of 400 a second vortex next the upper wall appears. Some authors
say that for Reynolds greater than 400 three-dimensional effects 2
appear in the flow.
1.5
Y
1
2,0
0.5
1,5
0
0 10 20 30 40
X
1,0
Y Figure 22. Streamlines for Re = 100.
Re 100
0,5 Re = 0,74
Re = 1,88
2
Re = 2,65
Re = 10,69 1.75
0,0
Re = 28,74 1.5
1.25
-0,2 0,0 0,2 0,4 0,6 0,8 1,0 1,2 1,4 1,6
U 1
Y
Figure 19. Profiles of velocity at some stations along the channel. 0.75
0.5
0.25
0
0 10 20 30 40
2,0
X
Figure 23. Streamlines for Re = 200.
1,5
2
1,0
1.5
Y Re = 200
X = 0,74 1
Y
0,5
X = 1,88
X = 2,65
X = 10,69 0.5
0,0 X = 28,74
0
-0,2 0,0 0,2 0,4 0,6 0,8 1,0 1,2 1,4 1,6 0 10 20 30 40
U X
Figure 24. Streamlines for Re = 400.
Figure 20. Profiles of velocity at some stations along the channel.
Conclusions
A least-squares finite element method with eddy viscosity model
of Smagorinsky has been implemented in this work for simulation
of Navier-Stokes equations, in u-p- formulation. The four-node
elements with three-point Gaussian quadrature not lead to good
J. of the Braz. Soc. of Mech. Sci. & Eng. Copyright 2005 by ABCM July-September 2005, Vol. XXVII, No. 3 / 281
V. D. Pereira and J. B. Campos Silva
results. The nine-node elements with nine-point Gaussian Chidambaram, N., 1998. Colocated-grid Finite Volume Formulation for
quadrature presented better results with the refinement of the mesh. the Large Eddy Simulation of Incompressible and Compressible Turbulent
Flows. M.Sc. Thesis. Graduate College, Department of Mechanical
For low Reynolds number even a coarse mesh produces good
Engineering, Iowa State University, Ames, Iowa, USA.
agreement. Since, the interest is to simulate high Reynolds flows, Ding, X. & Tsang, T. H., 2001. Large eddy simulation of turbulent flows
more investigation is still necessary for improvement of the model. by a least-squares finite element method. International Journal for
Some points to be investigated are the constant of Smagorinsky and Numerical Methods in Fluids, vol. 37, pp. 297319.
filter width. Some aspects of the method were elucidated, but Finlayson, B. A.,1972. The Method of Weighted Residuals and
several enhancements can still be done. In the LSFEM the Variational Principles. Academic Press.
Ghia, U., Ghia, K.N. & Shin, C.T., 1982. High-Re solutions for
interpolation functions and the rules of integration must be choose incompressible flow using the Navier-Stokes equations and a multigrid
with care, this is another point of investigation. According to Jiang method. Journal of Computational Physics, v. 5, n. 48, p.387-411.
(1992) troubles with interpolation functions can be overcome with Jansen, K. E., 1999. A stabilized finite element method for computing
the use of the p-version least-squares method. Since turbulence is a turbulence. Comput. Methods Appl. Mech. Engrg, v. 174, p.299-317.
three-dimensional phenomenon, cases of 3D geometry shall be Jiang, B-N., 1992. A least squares finite element method for
treated in future works. These aspects pointed as possible causes of incompressible Navier-Stokes problems. International Journal for
Numerical Methods in Fluids, vol. 14, pp. 843859.
discrepancies between the results are nowadays being investigated. Jiang, B-N., 1998. The Least-Squares Finite Element Method: Theory
and Applications in Computational Fluid Dynamics and Electromagnetics.
Acknowledgements Springer-Verlag.
Romo, E.C., Campos Silva, J. B. & Aparecido, J.B., 2003. Variantes do
The authors would like to acknowledge the Fundao de Mtodo de Elementos Finitos para Soluo de Problemas Convectivo-
Amparo a Pesquisa do Estado de So Paulo = FAPESP for the Difusivos Unidimensionais. In Proceedings of 24th Iberain Latin-American
computational resources (Proc. 03/11737-2) and the CAPES for the Congress on Computational Methods in Engineering CILAMCE 2003
financial support. (paper CIL 198-31), October 29-31, 2003, Ouro Preto, Minas Gerais, Brasil.
Romo, E. C., 2004. Variantes do Mtodo dos Elementos Finitos para
Soluo de Fenmenos Convectivo-Difusivos Bidimensionais. Dissertao de
References Mestrado. UNESP, Faculdade de Engenharia de Ilha Solteira, Depto. de
Engenharia Mecnica.
Barber, R. W. & Fonty, A., 2003. Comparison of vortex-element and Taylor, C. & Hughes, T.G., 1981. Finite Element Programming of the
finite-volume simulations of low Reynolds number flow over a confined Navier-Stokes Equations. Pineridge Press Limited, Swansea, U.K. 244 p.
backward-facing step. CFD2003 Vortex Methods, May, 28-30, Vancouver, Winterscheidt, D. & Surana, K. S., 1994. p-version least squares finite
Canada. element formulations for two-dimensional, incompressible fluid flow.
Brodkey, R. S., 1967. The Phenomena of Fluid Motions. Dover International Journal for Numerical Methods in Fluids, vol. 18, pp. 4369.
Publications, Inc.