32 Info<<
"Reading thermophysical properties\n" << endl;
36 rhoQGDThermo::New(mesh)
41 volScalarField&
e = thermo.he();
43 volScalarField&
p = thermo.p();
44 const volScalarField&
T = thermo.T();
45 const surfaceScalarField&
hQGDf = thermo.hQGDf();
46 const surfaceScalarField&
tauQGDf = thermo.tauQGDf();
48 Info <<
"Thermo corrected" << endl;
50 autoPtr<compressible::turbulenceModel>
turbulence;
94 Info<<
"\nReading gravitationalProperties" << endl;
96 IOdictionary gravitationalProperties
100 "gravitationalProperties",
103 IOobject::MUST_READ_IF_MODIFIED,
108 const dimensionedVector g(gravitationalProperties.lookup(
"g"));
110 dimensionedScalar
beta
113 dimless/dimTemperature,
114 thermo.subDict(
"mixture").subDict(
"transport")
118 surfaceScalarField
phiu
121 mesh.Sf() & linearInterpolate(
U)
124 surfaceScalarField
phiwo
127 mesh.Sf() & linearInterpolate(
W)
130 surfaceScalarField
phi
133 mesh.Sf() & (linearInterpolate(
U) - linearInterpolate(
W))
147 linearInterpolate(
rho)*
phi
150 Info<<
"Creating turbulence model\n" << endl;
153 compressible::turbulenceModel::New
163 scalar pRefValue = 0.0;
165 setRefCell(p, thermo.subDict(
"QGD"), pRefCell, pRefValue);
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