Minor cleanup

This commit is contained in:
Henry
2015-03-01 22:17:09 +00:00
parent 64c025c430
commit 6afdc0bb70

View File

@ -236,7 +236,7 @@ void kEpsilon<BasicTurbulenceModel>::correct()
volScalarField divU(fvc::div(fvc::absolute(this->phi(), U)));
tmp<volTensorField> tgradU = fvc::grad(U);
volScalarField G(this->GName(), nut*(tgradU() && dev(twoSymm(tgradU()))));
volScalarField G(this->GName(), nut*(dev(twoSymm(tgradU())) && tgradU()));
tgradU.clear();
// Update epsilon and G at the wall
@ -260,7 +260,6 @@ void kEpsilon<BasicTurbulenceModel>::correct()
solve(epsEqn);
bound(epsilon_, this->epsilonMin_);
// Turbulent kinetic energy equation
tmp<fvScalarMatrix> kEqn
(