Minor cleanup
This commit is contained in:
@ -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
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user