1 Info<<
"Reading thermophysical properties\n" << endl;
5 rhoQGDThermo::New(mesh)
10 volScalarField&
e = thermo.he();
12 volScalarField&
p = thermo.p();
13 const volScalarField&
T = thermo.T();
14 const surfaceScalarField&
hQGDf = thermo.hQGDf();
15 const surfaceScalarField&
tauQGDf = thermo.tauQGDf();
17 Info <<
"Thermo corrected" << endl;
63 Info<<
"\nReading gravitationalProperties" << endl;
65 IOdictionary gravitationalProperties
69 "gravitationalProperties",
72 IOobject::MUST_READ_IF_MODIFIED,
77 const dimensionedVector g(gravitationalProperties.lookup(
"g"));
79 dimensionedScalar
beta
82 dimless/dimTemperature,
83 thermo.subDict(
"mixture").subDict(
"transport")
87 surfaceScalarField
phiu
90 mesh.Sf() & linearInterpolate(
U)
93 surfaceScalarField
phiwo
96 mesh.Sf() & linearInterpolate(
W)
99 surfaceScalarField
phi
102 mesh.Sf() & (linearInterpolate(
U) - linearInterpolate(
W))
116 linearInterpolate(
rho)*
phi
119 Info<<
"Creating turbulence model\n" << endl;
122 compressible::turbulenceModel::New
132 scalar pRefValue = 0.0;
133 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