• Henry Weller's avatar
    TurbulenceModels: Added validate function · 52d83407
    Henry Weller authored
    Moved correctNut call from constructors to the new validate function to
    avoid problems with construction order and field availability for the
    calculation of nut.
    To ensure nut is physical and consistent with the turbulence fields the
    validate function should be called after the construction of the
    turbulence model, fvOptions and any other fields that the calculation of
    nut might depend on.