Professional Documents
Culture Documents
MIT Fall - Lecture - 26
MIT Fall - Lecture - 26
A u
m*
i
m 1
uim*
xi
Inner iterations:
m 1
uim
m
i
but require A u b
m*
A ui uim bmum*
i
p
xi
m
uim
m
m
p
uim
p
uim* m
and
0
A
ui bmum*
i
xi
xi
xi xi xi
ui** ui* Di t
uin 1 ui** Pi t
2.29
.v
0
.( v ) 0
t
0
t xi
where is an artificial compressibility parameter (dimension of velocity2)
Its value is key to the performance of such methods:
The larger/smaller is, the more/less incompressible the scheme is
Large makes the equation stiff (not well conditioned for time-integration)
p
Methods most useful for solving steady flow problem (at convergence:
0)
t
( ui* )n 1 *
xi
t
t
xi
n 1
* n 1
n 1
n 1
*n 1
Inserting (ui )n+1 in the continuity equation leads an equation for pn+1
n 1
( ui * )
p n 1 p n
* n 1
n 1
n
ui
( p p ) 0
t
xi
Then, take the divergence and derive a Poisson-like equation for pn+1
directly:
u
)
n 1
* n 1
i
ui ui
p
x
i
n 1
p n 1 p n
(
)
xi
xi
2.29
v
2
y
v
y
n
W
wall
Wall
Near-boundary CV
Symmetry plane
wall
FSshear
u
u uS
xy dS
dS S SS P
SS
SS
y
yP yS
u
0 FSshear 0
y sym
v
v
v v
0 FSnormal yy dS 2
dS 2S SS P S
SS
SS
y sym
y
yP yS
Numerical Fluid Mechanics
Wall
Near-boundary CV
Symmetry plane
2.29
Outlet often most problematic since information is advected from the interior
to the (open) boundary
If velocity is extrapolated to the far-away boundary,
u
0 i.e., uE uP ,
n
u
p '
0
0
n
n
2u
e.g.
0 or
n 2
2 p '
0
n 2
If the pressure difference between the inlet and outlet is specified, then the
velocities at these boundaries can not be specified.
They have to be computed so that the pressure loss is the specified value
Can be done again by extrapolation of the boundary velocities from the interior:
these extrapolated velocities can be corrected to keep a constant mass flux.
10
11
Quadrilateral
element
Line element
Nodal line
One-dimensional
Node
Two-dimensional
Nodal
plane
Hexahedron
element
Three-dimensional
McGraw-Hill. All rights reserved. This content is excluded from our Creative Commons
license. For more information, see http://ocw.mit.edu/fairuse.
2.29
12
2u
f
2
x
on 0,1
1
R-R approximation:
1 u
u f dx
2 x
2
u( x ) ai i ( x )
i 1
Finite Elements:
As Rayleigh-Ritz but choose trial functions to be piecewise shape
function defined over set of elements, with some continuity across
elements
2.29
13
u( x ) ai i ( x )
i 1
i (x) chosen such they satisfy the boundary conditions of the problem
L u ( x ) f ( x ) R( x ) 0
14
Finite Elements:
Method of Weigthed Residuals, Contd
One possible choice is to set the integral of the residual to be zero. This
only leads to one equation for n unknowns
Introduce the so-called weighting functions wi (x) i=1,2,, n, and set the
integral of each of the weighted residuals to zero to yield n independent
L
equations:
R( x) wi ( x) dx dt 0, i 1, 2,..., n
In 3D, this becomes:
t 0
R(x) w (x) dx dt 0,
i
i 1, 2,..., n
t V
15
Finite Elements:
Method of Weigthed Residuals, Contd
Galerkin:
R(x) (x) dx dt 0,
i 1, 2,..., n
t V
Subdomain method:
R(x) dx dt 0,
i 1, 2,..., n
t Vi
i 1, 2,..., n
16
Node 1
(i)
u1
Node 2
u
u2
a ( x)
i 1
(ii)
x x
x x1
u a0 a1 x u1N1 ( x ) u2 N 2 ( x ) where N1 ( x ) 2
and N 2 ( x )
x2 x1
x2 x1
With this choice, we obtain for example the 2nd order CDS and
x2
Trapezoidal rule: d u
u2 u1
u u
a
and u dx 1 2 ( x2 x1 )
1
dx
x2 x1
2
x1
N1
(iii)
N2
x1
x2
(iv)
17
K e u e fe
where Ke is the element property matrix (stiffness matrix in solids), ue the vector
of unknowns at the nodes and fe the vector of external forcing
3. Assembly:
After the individual element equations are derived, they must be assembled: i.e.
impose continuity constraints for contiguous elements
This leas to:
Ku f
18
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.