mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Minor cleanup
This commit is contained in:
@ -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
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user