32 Info<<
"\nReading gravitationalProperties" << endl;
34 IOdictionary gravitationalProperties
38 "gravitationalProperties",
41 IOobject::MUST_READ_IF_MODIFIED,
46 const dimensionedVector g(gravitationalProperties.lookup(
"g"));
51 Info <<
"Reading thermophysical properties\n" << endl;
55 rhoQGDThermo::New(mesh)
60 volScalarField&
e = thermo.he();
62 volScalarField&
p = thermo.p();
63 volScalarField&
T =
const_cast<volScalarField&
>(thermo.T());
64 const surfaceScalarField&
hQGDf = thermo.hQGDf();
65 const surfaceScalarField&
tauQGDf = thermo.tauQGDf();
67 Info <<
"Thermo corrected" << endl;
69 autoPtr<compressible::turbulenceModel>
turbulence;
116 dimensionedScalar
beta
119 dimless / dimTemperature,
120 thermo.subDict(
"mixture").subDict(
"transport")
124 surfaceScalarField
phiu
127 mesh.Sf() & linearInterpolate(
U)
130 surfaceScalarField
phiwo
133 mesh.Sf() & linearInterpolate(
W)
136 surfaceScalarField
phi
139 mesh.Sf() & (linearInterpolate(
U) - linearInterpolate(
W))
145 linearInterpolate(
rho)*
phi
157 Info <<
"Creating turbulence model\n" << endl;
160 compressible::turbulenceModel::New
171 scalar pRefValue = 0.0;
172 setRefCell(p, thermo.subDict(
"QGD"), pRefCell, pRefValue);
volScalarField T0("T0", T)
volVectorField W(IOobject("W", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), U)
const surfaceScalarField & tauQGDf
const surfaceScalarField & hQGDf
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh)
Switch implicitDiffusion(thermo.implicitDiffusion())
dimensionedScalar beta("beta", dimless/dimTemperature, thermo.subDict("mixture").subDict("transport"))
surfaceScalarField phiRhof("phiRhof", linearInterpolate(rho)*phi)
Info<< "\nReading gravitationalProperties"<< endl;IOdictionary gravitationalProperties(IOobject("gravitationalProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));const dimensionedVector g(gravitationalProperties.lookup("g"));Info<< "Reading thermophysical properties\n"<< endl;autoPtr< rhoQGDThermo > pThermo(rhoQGDThermo::New(mesh))
volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho())
Info<< "Thermo corrected"<< endl;autoPtr< compressible::turbulenceModel > turbulence