Skip to content
Snippets Groups Projects
Commit 473fbfb8 authored by henry's avatar henry
Browse files

Updates

parent 76d618fa
Branches
Tags
No related merge requests found
......@@ -71,7 +71,7 @@ void Smagorinsky::correct(const tmp<volTensorField>& gradU)
volScalarField b = (2.0/3.0)*tr(D);
volScalarField c = 2*ck_*delta()*(dev(D) && D);
k_ = sqr((2*b + sqrt(sqr(b) + 4*a*c))/(2*a));
k_ = sqr((-b + sqrt(sqr(b) + 4*a*c))/(2*a));
muSgs_ = ck_*rho()*delta()*sqrt(k_);
muSgs_.correctBoundaryConditions();
......
......@@ -38,8 +38,8 @@ Description
where
D = symm(grad(U));
k = (2*ck/ce)*delta^2*grad(U):dev(D)
nuSgs = ck*sqrt(k)*delta
k from rho*D:B + ce*rho*k^3/2/delta = 0
muSgs = ck*rho*sqrt(k)*delta
@endverbatim
SourceFiles
......
......@@ -43,7 +43,6 @@ addToRunTimeSelectionTable(LESmodel, oneEqEddy, dictionary);
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
// from components
oneEqEddy::oneEqEddy
(
const volScalarField& rho,
......
......@@ -33,7 +33,7 @@ Description
@verbatim
d/dt(rho*k) + div(rho*U*k) - div(muEff*grad(k))
=
-rho*B*L - ce*rho*k^3/2/delta
-rho*D:B - ce*rho*k^3/2/delta
and
......@@ -42,7 +42,7 @@ Description
where
D = symm(grad(U));
nuSgs = ck*sqrt(k)*delta
muSgs = ck*rho*sqrt(k)*delta
@endverbatim
......@@ -114,7 +114,7 @@ public:
//- Return the effective diffusivity for k
tmp<volScalarField> DkEff() const
{
return tmp<volScalarField>
return tmp<volScalarField>
(
new volScalarField("DkEff", muSgs_ + mu())
);
......
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