COMP: Updated kOmegaSSTSato model to suppress compiler warning

This commit is contained in:
Andrew Heather
2017-05-18 14:43:05 +01:00
parent 9efd9ce061
commit 9a6f0fdd37
2 changed files with 8 additions and 8 deletions

View File

@ -132,8 +132,7 @@ kOmegaSSTSato<BasicTurbulenceModel>::gasTurbulence() const
template<class BasicTurbulenceModel>
void kOmegaSSTSato<BasicTurbulenceModel>::correctNut
(
const volScalarField& S2,
const volScalarField& F2
const volScalarField& S2
)
{
const PhaseCompressibleTurbulenceModel<transportModel>& gasTurbulence =
@ -145,7 +144,12 @@ void kOmegaSSTSato<BasicTurbulenceModel>::correctNut
);
this->nut_ =
this->a1_*this->k_/max(this->a1_*this->omega_, this->b1_*F2*sqrt(S2))
this->a1_*this->k_
/max
(
this->a1_*this->omega_,
this->b1_*this->F23()*sqrt(S2)
)
+ sqr(1 - exp(-yPlus/16.0))
*Cmub_*gasTurbulence.transport().d()*gasTurbulence.alpha()
*(mag(this->U_ - gasTurbulence.U()));

View File

@ -156,11 +156,7 @@ protected:
// Protected Member Functions
virtual void correctNut
(
const volScalarField& S2,
const volScalarField& F2
);
virtual void correctNut(const volScalarField& S2);
public: