Minor cleanup
This commit is contained in:
parent
391d5b9a18
commit
040cabdfe0
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||||
(
|
(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue