1 Info<< "Reading thermophysical properties\n" << endl;
3 autoPtr<basicPsiThermo> pThermo
5 basicPsiThermo::New(mesh)
7 basicPsiThermo& thermo = pThermo();
22 volScalarField& p = thermo.p();
23 volScalarField& h = thermo.h();
24 const volScalarField& psi = thermo.psi();
26 Info<< "Reading field U\n" << endl;
40 #include "compressibleCreatePhi.H"
42 Info<< "Creating turbulence model\n" << endl;
43 autoPtr<compressible::RASModel> turbulence
45 compressible::RASModel::New
55 Info<< "Calculating field g.h\n" << endl;
56 volScalarField gh("gh", g & mesh.C());
57 surfaceScalarField ghf("ghf", g & mesh.Cf());
59 Info<< "Reading field p_rgh\n" << endl;
73 // Force p_rgh to be consistent with p
78 scalar pRefValue = 0.0;
83 mesh.solutionDict().subDict("SIMPLE"),
88 dimensionedScalar initialMass = fvc::domainIntegrate(rho);
89 dimensionedScalar totalVolume = sum(mesh.V());