INT: S-A RAS - added missing correctNut following recent refactoring
This commit is contained in:
parent
9e6123b5a4
commit
7441e18475
@ -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 * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class BasicTurbulenceModel>
|
template<class BasicTurbulenceModel>
|
||||||
|
@ -142,6 +142,8 @@ protected:
|
|||||||
const volTensorField& gradU
|
const volTensorField& gradU
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
|
virtual void correctNut();
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user