CFD Cheat Sheet: December 15, 2014
CFD Cheat Sheet: December 15, 2014
Part
1.1
n+1
at
x
Diffusion Error D =
|G|
,
|G|
where |G|=1
b2 4ac
Hyperbolic = postive (If first order PDE, always hyperbolic)
Parabolic = 0
Elliptic = negative
U n+1 U n
Ut = i t i
Jacobi = Dxk+1 = b Lxx U xk
Gauss-Seidel = (D + L)xk+1 = b U xk
Convergence Stability Consistency
If 2 characteristics are present, then all 3 are said to be true of the scheme
The solution will converge to an exact solution as t 0 and x 0
A numerical scheme is said to be stable if any component of the initial solution is amplified
without bound
As t and x 0 we should approach the exact differential equation.
Finite difference approximations can be checked quickly via:
1
U (x) =
=
Ui1 +Ui+1
2
2Ui
2
u
x ()
u() +
=d
u
x ()
u
x ()
=e
= g()
u() + u() +
u
x ()
= e()
For and equation Ut + aUx = 0, we can see that this will equal Ut = aUx , advection our
solution in a negative direction.
For and equation with a diffusive term Uxx this will diffusive our equation in a direction.