BUG: Limiting min alpha to SMALL to avoid zero transient term of turbulence model
In certain turbulence models such as kEpsilon, kOmegaSST, etc when used in the multiphase context throw an error in the preconditioner. This is due to alpha being zero. Fixes #1789.
-
Hi,
I think this limitation should be moved to the turbulence models themselves and not affect the alpha-U-p loop causing mass loss (see implementation of the kinetic theory, where this is done too). The scheme should enforce positivity and boundedness, so it is better to clip when using the value than accumulating the error in the alpha-U-p loop.
Best, Alberto
-
Developer
Hi, Yes, you are correct , that was my first intention. But I was not convinced to change the behavior of all the turbulence models used in single phase (i.e kEpsilon, etc, etc). Thanks Sergio
-
Hi Sergio,
that's a good point indeed, since alpha is, unfortunately, carried over to single-phase models. I guess it's another reason to split multiphase turbulence out of single-phase implementation on the long run...
Thanks, Alberto