MomentumTransportModels::k-omega model: Improved omega bounding using nutMaxCoeff

Omega lower limit bounding is now based on a maximum turbulence viscosity nut
rather than a minimum omega value which improves stability and robustness of
the k-omega models in case of numerical boundedness problems.

The maximum nut value is calculated by multiplying the laminar viscosity by
nutMaxCoeff which defaults to 1e5 but can be set by the user in the
momentumTransport dictionary.
This commit is contained in:
Henry Weller
2023-12-19 22:50:10 +00:00
parent b1c6ddb197
commit 195dfbe168
13 changed files with 81 additions and 74 deletions

View File

@ -195,7 +195,6 @@ int main(int argc, char *argv[])
refCast<const incompressible::RASModel>(turbulence());
omega = (1 - mask)*omega + mask*ce0*sqrt(k)/(Cmu*min(y, ybl));
bound(omega, rasModel.omegaMin());
// Do not correct BC - G set by the wall-functions is not available
// omega.correctBoundaryConditions();