Skip to content
Snippets Groups Projects
Commit 9eb00fde authored by sergio's avatar sergio
Browse files

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

BUG: Fixing creating of turbulence after overset specific in createFields.H for overRhoPimpleDyMFoam
parent 8a5a50ca
No related merge requests found
...@@ -61,18 +61,6 @@ dimensionedScalar rhoMin ...@@ -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()); mesh.setFluxRequired(p.name());
Info<< "Creating field dpdt\n" << endl; Info<< "Creating field dpdt\n" << endl;
...@@ -115,3 +103,15 @@ volScalarField K("K", 0.5*magSqr(U)); ...@@ -115,3 +103,15 @@ volScalarField K("K", 0.5*magSqr(U));
// Mask field for zeroing out contributions on hole cells // Mask field for zeroing out contributions on hole cells
#include "createCellMask.H" #include "createCellMask.H"
Info<< "Creating turbulence model\n" << endl;
autoPtr<compressible::turbulenceModel> turbulence
(
compressible::turbulenceModel::New
(
rho,
U,
phi,
thermo
)
);
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment