CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   Unstable Spallart-Allmaras (

PeterDoings October 10, 2012 15:00

Unstable Spallart-Allmaras
I'm trying to implement the Spalart-Allmaras model in my code, but I ran into some difficulties.
It seems the diffusion coefficient, which depends on the eddy viscosity, makes the solution process very unstable. Atm I'm using a structured grid with Finite Volume discretization and linear interpolation at the boundaries to calculate the fluxes, with GMRES to solve the system of eqs.
Will using a higher order scheme help? Is the use of flux limiters recommended? If so, which one is the best? I plan on applying the method to unstructured grids later on, by the way.

Thank you for your comments.

cdegroot October 10, 2012 15:11

Higher order schemes are almost always more difficult to converge. Don't move on to higher order schemes until you can get a first order upwind scheme to converge. That being said, a flux limiter will be helpful when you are working with the higher order schemes.

Also it sounds like your problem is with diffusion so changing the advection discretization probably will not help. Maybe you need to apply under-relaxation to the eddy viscosity to smooth things out and keep things stable. That is to say, you should blend in some of the previous estimate to prevent the eddy viscosity from changing too abruptly between iterations.

PeterDoings October 10, 2012 20:06

Well, I'm already using quite low values for the under-relaxation factor.
Another question: limiting the viscosity to positive values seems to help. Is this frowned upon or too unrealistic to be used in practice?

SergeAS October 11, 2012 03:12

Take a look especially notes.
For test your implementation take a look

All times are GMT -4. The time now is 05:08.