Documente Academic
Documente Profesional
Documente Cultură
Solution
Algorithms
N-S Equations
PISO
SIMPLE
Initial/Boundary
Conditions
CFD { Solution Algorithms
Full solution { SOE3213/4: CFD Lecture 3
recap
CFD {
Solution
Algorithms
N-S Equations
r:u = 0 (1)
@ ux 1 @p
N-S Equations
PISO
+ r:(uux ) = + r2 ux (2)
SIMPLE @t @x
@ uy 1 @p
+ r:(uuy ) = + r2 uy (3)
Initial/Boundary
@t @y
Conditions
@ uz 1 @p
Full solution {
+ r:(uuz ) = + r2 uz
recap
(4)
@t @z
Transport equation form, with source
1 @p
@x
Two main problems
1 The equation is non-linear
2 The source term involves p
CFD {
Solution
Algorithms
SIMPLE
Need p to nd u, need u to nd p
Equations solved sequentially
Initial/Boundary
Conditions
Full solution {
recap
Iterate until all elds correct
N-S Equations
N-S Equations
Guess p, flux
PISO (values from previous
SIMPLE
timestep)
Initial/Boundary
Conditions Use equation (3) to find
ux, uy, uz
Full solution {
recap
Y
Next
timestep?
N
CFD {
Solution
Algorithms
SIMPLE
N-S Equations Could iterate PISO until steady-state. More usual to use
PISO SIMPLE.
SIMPLE
Initial/Boundary
Conditions
r:u = 0
r:(uux ) = 1 @@ px + r2ux
Full solution {
recap
SIMPLE
4 Correct the velocity (
ux) to obey continuity.
Initial/Boundary
Conditions
In theory, p and u should now be the desired solution. In
Full solution { practice, it is necessary to repeat this procedure as an iterative
recap
process.
If new solution p , u adopted at each step ! algorithm
becomes unstable. Thus, use underrelaxation :
5 Underrelax solution
pn+1 = p + (1 )pn
is underrelaxation parameter. At each step of the iteration,
the error in the solution (the residual) should decrease {
residuals for all variables should be monitored to ensure this.
CFD {
Solution Start
Algorithms
PISO
SIMPLE
Find u* from
Initial/Boundary momentum eqn.
Conditions
Full solution {
Find pressure correction p’
recap
Find flux correction
Correct fields
p**= p* + p’
Update fields
(underrelaxation)
n Tolerance achieved?
y
CFD {
Solution
Algorithms
Initial/Boundary Conditions
N-S Equations
PISO
SIMPLE
Initial condition { state of p and u at all points in the
ow.
Initial/Boundary
Full solution {
recap
solution depends in part on initial conditions
specify known values for p and u, or make sensible guess
may need to timestep until the eect of the I.C. absent
Steady viscous
ows { elliptic
however methods parabolic { need starting conditions
N-S Equations
PISO
3 main types of b.c. { walls, inlets, outlets
SIMPLE
Full solution {
recap
Fluid inlet { specify u.
Fluid outlet { specify p
N-S Equations
PISO
N-S Equations
Using commercial code :
PISO
SIMPLE
Dene the geometry
Initial/Boundary Generate the mesh
Conditions
Full solution {
Switch on physical models
Specify physical constants
recap