ENH: Updated dpdt and K field construction

This commit is contained in:
Andrew Heather
2017-06-21 12:20:58 +01:00
parent 2883311a23
commit 65071b9598
19 changed files with 50 additions and 219 deletions

View File

@ -98,7 +98,6 @@ autoPtr<compressible::turbulenceModel> turbulence
compressible::turbulenceModel::New(rho, U, rhoPhi, mixture)
);
Info<< "Creating field kinetic energy K\n" << endl;
volScalarField K("K", 0.5*magSqr(U));
#include "createK.H"
#include "createMRF.H"

View File

@ -65,5 +65,4 @@ autoPtr<compressible::turbulenceModel> turbulence
)
);
Info<< "Creating field kinetic energy K\n" << endl;
volScalarField K("K", 0.5*magSqr(U));
#include "createK.H"

View File

@ -124,9 +124,6 @@ volScalarField kappaEff
thermo->kappa()
);
Info<< "Creating field kinetic energy K\n" << endl;
volScalarField K("K", 0.5*magSqr(U));
Info<< "Creating field pDivU\n" << endl;
volScalarField pDivU
(

View File

@ -47,7 +47,6 @@
U = HbyA + rAU*fvc::reconstruct((phig + p_rghEqn.flux())/rAUf);
U.correctBoundaryConditions();
fvOptions.correct(U);
K = 0.5*magSqr(U);
}
}