Professional Documents
Culture Documents
1. Curvilinear Grids
Mixing at a T-junction
Running a simulation
Learning objectives
NMTFD I (Winter):
NMTFD II (Summer):
Numerical methods:
Implementation:
Organizational
marc.avila@fau.de
chennan0528@gmail.com
Anna Guseva
anna.guseva@fau.de
10
StudOn
11
12
v
2
( + v v )= g p+ v
t
Mass conservation:
v =0
13
14
Literature
Numerical methods
15
20.04.15: Turbulence
04.05.15: DNS
11-18.05.14: RANS
01-08.06.15: LES
16
17
Operators:
Numerical remarks
18
Grid types
Structured grid
Unstructured grid
Block-structured grid
19
Structured grids
20
Cartesian
grid
Curvilinear (polar)
grid
21
( x , y , z)( , , )
22
Coordinate transformations
Physical space / Computational space (2D)
( x , y)( , )
23
Coordinate transformations
Physical space / Computational space (3D)
( x , y , z)( , , )
24
( x , y , z)( , , )
or with different notation:
( x1, x 2, x 3 )(1, 2, 3 )
25
( x , y)(r ,)
C-Space
2
Discretize:
r1
r2
, , ...
r
r1
r2
r
We can discretize the equations in C-Space
We need the equations stated in polar coordinates!
26
x 1 = x1 (1, 2, 3 )
x 2 = x 2 (1, 2, 3 )
x 3 = x 3 (1, 2, 3 )
Or in index notation:
x i =x i ( j )
Example: cylindrical
x=r cos
y=r sin
z=
27
( )
x1
1
xi
x2
J =det
=det
j
1
x3
1
( )
x1
2
x2
2
x3
2
x1
3
x2
3
x3
3
28
29
= j = ij
xi j xi j J
xi
Where here ij is the cofactor of
j
For example in 2D we obtain:
= 1 y y
x J
in J
30
ur
u
U i =(U ,V , W )=(u r , u , u )
31
1
U =u
+v
+w
= ( u 11 +v 21 +w 31 )
x
y
z J
1
V =u
+v
+w
= ( u 12 +v 22 +w 32 )
x
y
z J
1
W =u
+v
+w
= ( u 13 + v 23 +w 33 )
x
y
z J
Index notation:
1
U i = (u k ki )
J
ui 1
Divergence:
=
Ui J )
(
xi J
i
32
Laplace operator
Use: 2 = ,
[ ( )]
= 1
B kj
xi xi J j k
J
( )
B kj =ki ji
B kj =0, if k j
Advection-diffusion equation
)]
B ki
J
U i J
= q J
( )+
i
k J
t
33
34
Navier-Stokes
Mass conservation:
U J =0
i ( i )
Momentum conservation:
u j
p
J
+
u j U i J ) =
ij
(
i
t i
u j B km
u n kj i n
m k J
i k J
] [
Practical notes
35
Final comments
36