BUG: Fixing creating of turbulence after overset specific in createFields.H for overRhoPimpleDyMFoam

This commit is contained in:
sergio
2017-12-22 12:53:40 -08:00
parent 8a5a50cac3
commit 9eb00fde2c

View File

@ -61,18 +61,6 @@ dimensionedScalar rhoMin
)
);
Info<< "Creating turbulence model\n" << endl;
autoPtr<compressible::turbulenceModel> turbulence
(
compressible::turbulenceModel::New
(
rho,
U,
phi,
thermo
)
);
mesh.setFluxRequired(p.name());
Info<< "Creating field dpdt\n" << endl;
@ -115,3 +103,15 @@ volScalarField K("K", 0.5*magSqr(U));
// Mask field for zeroing out contributions on hole cells
#include "createCellMask.H"
Info<< "Creating turbulence model\n" << endl;
autoPtr<compressible::turbulenceModel> turbulence
(
compressible::turbulenceModel::New
(
rho,
U,
phi,
thermo
)
);