Improved calculation of div(U) using the volumetric flux
This commit is contained in:
parent
5871d1aa33
commit
3114c5990e
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ if (turbulence)
|
|||
dimensionedScalar epsilon0("epsilon0", epsilon.dimensions(), 0);
|
||||
dimensionedScalar epsilonMin("epsilonMin", epsilon.dimensions(), SMALL);
|
||||
|
||||
volScalarField divU(fvc::div(rhoPhi/fvc::interpolate(rho)));
|
||||
volScalarField divU(fvc::div(phi));
|
||||
|
||||
tmp<volTensorField> tgradU = fvc::grad(U);
|
||||
volScalarField G(mut*(tgradU() && dev(twoSymm(tgradU()))));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue