Skip to content
Snippets Groups Projects
Commit 4e0e3f47 authored by sergio's avatar sergio
Browse files

BUG: rd is calculated using grad(U) instead of skew(U)

parent c0694409
No related merge requests found
......@@ -75,6 +75,12 @@ tmp<volScalarField> SpalartAllmarasDDES::fd(const volScalarField& S) const
}
tmp<volScalarField> SpalartAllmarasDDES::S(const volTensorField& gradU) const
{
return sqrt(2.0)*mag(symm(gradU));
}
tmp<volScalarField> SpalartAllmarasDDES::dTilda(const volScalarField& S) const
{
return max
......
......@@ -81,6 +81,8 @@ protected:
//- Length scale
virtual tmp<volScalarField> dTilda(const volScalarField& S) const;
virtual tmp<volScalarField> S(const volTensorField& gradU) const;
public:
......
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