Académique Documents
Professionnel Documents
Culture Documents
1D-Euler Solver
hpc.kau.ac.kr
2. Cluster Usage
Program compile and run on Cluster
1D-Euler Equation
The Euler equation for 1D flow
u 0
t x
u
( u 2 p) 0
t x
E
( u ( E p / )) 0
t
x
where
Ideal Gas
E e u 2
h e p/
H h u 2 2 E p /
p RT
R C p Cv
p ( 1) e
Korea Aerospace University
Cp
Cv
1D-Euler Equation
The Euler equation for 1D flow
u 0
t x
u
( u 2 p) 0
t x
E
( u ( E p / )) 0
t
x
p
x
0
t
u(E p / )
E
Q F
0
t x
Q u ,
E
F u 2 p
u(E p / )
Q
F
V t dV V x dV 0
F
QdV
dV 0
V
V
t
x
1
Vi
Vi
QdV Qi
( u )dV
F
dV
x
u ndS
In 3D
F G H
V x y z
dV V W dV
W ndS
1
Vi
Sf
nface
W Fi Gj Hk
Korea Aerospace University
Computing Gradient
Gradients in Cartesian Grids
d E C E C
xe
dx e xE xC
e w
d
dx C xe xw
E C
2
C W
xC
E W
2xC
Green-Gauss Gradient
C
1
VC
Sf
nface
Grids
What is Cartesian Grid ??
Structured grid
Cartesian grid : unit squares or unit cubes
Rectilinear grid : rectangles, scaled
Curvilinear grid
Cartesian grid
Unstructured grid
Rectilinear grid
Curvilinear
Multi-block grid
https://en.wikipedia.org/wiki/Regular_grid
https://en.wikipedia.org/wiki/Unstructured_grid
Curvilinear grid
High-speed Propulsion and Combustion Control Lab.
1D-Euler Equation
F
QdV
dV 0
V
V
t
x
i-1
i
i-1/2
1
Qi
t
Vi
nface
i+1
i+1/2
Sf 0
Uniform volume and surface area
Area Change?? (Nozzle Flow)
Think~~~!!
1D-Euler Solver
1
Qi
t
Vi
Sf 0
nface
Qi ( Fi 1/2 Fi 1/2 ) 0
t
BC node
BC node
i-1
i
i-1/2
i+1
i+1/2
High-speed Propulsion and Combustion Control Lab.
1D-Euler Solver
START
Init_solver
timestep
solver
Iter_tot update
residual
plot
store
END
1D-Euler Solver
Spatial integration
Central Scheme
Upwind Scheme
WENO, ENO, MUSCL
AUSM
Reconstruction
1D-Euler Solver
Time evolution
Explicit Scheme
Runge-Kutta
Implicit Scheme
1D-Euler Solver
CFL
1D-Euler Solver
Residual
Thank You !
1D-NS Solver
Fluid properties transport (viscosity diffusivity)
Air