1 Info<<
"Reading thermophysical properties\n" << endl;
5 psiQGDThermo::New(mesh)
12 volScalarField&
e = thermo.he();
14 volScalarField&
p = thermo.p();
15 const volScalarField&
T = thermo.T();
17 const surfaceScalarField&
tauQGDf = thermo.tauQGDf();
18 const surfaceScalarField&
hQGDf = thermo.hQGDf();
19 const volScalarField&
gamma = thermo.gamma();
20 const volScalarField&
psi = thermo.psi();
22 Info <<
"Thermo corrected" << endl;
93 surfaceScalarField
phi
96 linearInterpolate(
rho*
U) & mesh.Sf()
102 linearInterpolate(
rho)*
phi
107 Info<<
"Creating turbulence model\n" << endl;
110 compressible::turbulenceModel::New
119 Info<<
"\nReading gravitationalProperties" << endl;
121 IOdictionary gravitationalProperties
125 "gravitationalProperties",
128 IOobject::MUST_READ_IF_MODIFIED,
133 const dimensionedVector g(gravitationalProperties.lookup(
"g"));
const surfaceScalarField & tauQGDf
const surfaceScalarField & hQGDf
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh)
Switch implicitDiffusion(thermo.implicitDiffusion())
volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *e+rho *0.5 *magSqr(U))
const volScalarField & gamma
surfaceScalarField phiRhof("phiRhof", linearInterpolate(rho)*phi)
SLGThermo slgThermo(mesh, thermo)
const volScalarField & psi
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
volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U)