Week 3 Time Discretization; Solvers Week 4 Terminology; Pseudo Code Flashcards
Q: RK method? Order of Accuracy & Type of method?
Q: RK method? Order of Accuracy & Type of method?
Multi-stage method 2nd order accurate globally - RK-2 3rd order accurate globally - RK-3 4th order accurate globally - RK-4 Low storage RK-3 will be used mostly in this course.
Q: Upwind schemes?
Q: Upwind schemes?
Biased schemes - Discretization based on cell velocity (more weightage given to upstream point)
Q: Overall accuracy of discretization?
Q: Overall accuracy of discretization?
Depends upon the discretization of both first-order & second-order derivatives.
If 1st order derivative is 2nd order accurate & 2nd order derivative is 4th order accurate - method will be 2nd order accurate
Q: Positive Definite Matrix? Properties of PDM?
Q: Positive Definite Matrix? Properties of PDM?
c^* A c > 0 for all c &
c^* A c = 0 means c=0
Has Real & +ve Eigen values
Symmetric PDM has Unique Inverse
Q: What is Thomas Algorithm for? Psuedo code?
Q: What is Thomas Algorithm for? Psuedo code?
for solving tri-diagonal system of equations
a specific case of GE for Tri-diagonal system of equations
Q: Grid Type? Collocated & Staggered
Week 4
Q: Grid Type? Collocated & Staggered
Collocated - both p & velocity components are solved at nodes/ cell boundaries
Staggered - p at cell centre & velocity components are solved at cell boundaries
Q: Types of BC?
Q: Types of BC?
Dirichlet BC - value - like no-slip
Neumann BC - gradient/ derivative - like heat flux
Periodic BC - outlet used as inlet - flow invariant, reduces the computational requirement
Q: Direct & Iterative Methods
Q: Direct & Iterative Methods?
Direct Methods -
Iterative Methods - Jacobi, Gauss-Seidel (GS), Successive Over-Relaxation (SOR)
Jacobi - (n+1)th level using n(th) values
GS - use best possible updates
SOR - weighted avg. of nth & (n+1)th value
Q: Psuedo-code for GS
Q: Psuedo-code for GS
allot arrays save coefficients write the iter equation update Boundary values calculate L2 norm & check for convergence