Commit 50ab263c authored by Andrew Heather's avatar Andrew Heather
Browse files

COMP: Updated kOmegaSSTSato model to suppress compiler warning

parent c1f0f247
......@@ -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()));
......
......@@ -156,11 +156,7 @@ protected:
// Protected Member Functions
virtual void correctNut
(
const volScalarField& S2,
const volScalarField& F2
);
virtual void correctNut(const volScalarField& S2);
public:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment