CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Turbulent frequency equation for compressible kOmegaSST turbulence model (https://www.cfd-online.com/Forums/openfoam-programming-development/122916-turbulent-frequency-equation-compressible-komegasst-turbulence-model.html)

Bojan August 31, 2013 10:36

Turbulent frequency equation for compressible kOmegaSST turbulence model
 
Hi everybody,

I have one question that concerns turbulent frequency equation in compressible kOmegaSST equation (I mean "omega equation")...
There is the definition of SuSP term in Programmers Guide: SuSp(rho,phi) = rho*phi

In turbulent frequency equation:

fvm::SuSp
(
rho_*(F1 - scalar(1))*CDkOmega/omega_,
omega_
)

which (by the programmers guide) means: (rho_*(F1 - scalar(1))*CDkOmega/omega_)*omega_

My question:

Why don't we simply write: rho_*(F1 - scalar(1))*CDkOmega ?


Regards!

jherb September 6, 2013 06:45

I guess this is part of the numeric magic of OpenFOAM:
fvm::SuSp can be used to either add a source term explicitly or implicitly to an equation depending on the sign of the factor. This can improve the stability by increasing the diagonal dominance of the matrix.

See for example here: http://www.foamcfd.org/Nabla/guides/...x14-410002.4.9


All times are GMT -4. The time now is 17:52.