I wrote a CFD code in Delphi for turbulent axisymmetrical pipe flow (incompressible - SIMPLE - exponential discretization - staggered grid).
Epsilon diverge during Gauss-Seidel point to point iteration. Should i calculate k first by setting epsilon to zero? Any suggestions for the sequence.
Right now, I am calculating coefficients of linear k and epsilon discretized equations first. Then Gauss-Seidel iteration initiates for point values of k and e. Then I return to calculation of coefficients again.