Skip to content
Snippets Groups Projects
Commit 0124a314 authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: avoid ambiguous construct from tmp

parent 129695a9
Branches
Tags
No related merge requests found
......@@ -51,7 +51,7 @@ void Smagorinsky::updateSubGridScaleFields(const volTensorField& gradU)
volScalarField b((2.0/3.0)*tr(D));
volScalarField c(2*ck_*delta()*(dev(D) && D));
volScalarField k = sqr((-b + sqrt(sqr(b) + 4*a*c))/(2*a));
volScalarField k(sqr((-b + sqrt(sqr(b) + 4*a*c))/(2*a)));
muSgs_ = ck_*rho()*delta()*sqrt(k);
muSgs_.correctBoundaryConditions();
......
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