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;
35 Info<<
"Creating SRF model\n" << endl;
36 autoPtr<SRF::SRFModel>
SRF
67 Info<<
"\nReading gravitationalProperties" << endl;
69 IOdictionary gravitationalProperties
73 "gravitationalProperties",
76 IOobject::MUST_READ_IF_MODIFIED,
81 const dimensionedVector g(gravitationalProperties.lookup(
"g"));
83 dimensionedScalar
beta
86 dimless/dimTemperature,
87 thermo.subDict(
"mixture").subDict(
"transport")
91 surfaceScalarField
phiu
94 mesh.Sf() & linearInterpolate(
U)
97 surfaceScalarField
phiwo
100 mesh.Sf() & linearInterpolate(
W)
103 surfaceScalarField
phi
106 mesh.Sf() & (linearInterpolate(
U) - linearInterpolate(
W))
120 linearInterpolate(
rho)*
phi
123 Info<<
"Creating turbulence model\n" << endl;
126 compressible::turbulenceModel::New
136 scalar pRefValue = 0.0;
137 setRefCell(p, thermo.subDict(
"QGD"), pRefCell, pRefValue);
volVectorField W(IOobject("W", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), U)
Info<< "Creating SRF model\n"<< endl;autoPtr< SRF::SRFModel > SRF(SRF::SRFModel::New(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