INT: S-A RAS - added missing correctNut following recent refactoring

This commit is contained in:
Andrew Heather 2022-12-09 09:40:45 +00:00
parent 9e6123b5a4
commit 7441e18475
2 changed files with 14 additions and 0 deletions

View File

@ -49,6 +49,18 @@ Foam::tmp<Foam::volScalarField> SpalartAllmaras<BasicTurbulenceModel>::dTilda
}
template<class BasicTurbulenceModel>
void SpalartAllmaras<BasicTurbulenceModel>::correctNut()
{
// Correct the turbulence viscosity
typedef eddyViscosity<RASModel<BasicTurbulenceModel>> evmType;
SpalartAllmarasBase<evmType>::correctNut();
// Correct the turbulence thermal diffusivity
BasicTurbulenceModel::correctNut();
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
template<class BasicTurbulenceModel>

View File

@ -142,6 +142,8 @@ protected:
const volTensorField& gradU
) const;
virtual void correctNut();
public: