Minor cleanup

This commit is contained in:
Henry
2015-03-01 22:17:09 +00:00
parent 391d5b9a18
commit 040cabdfe0

View File

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