1 Info<< "Reading thermophysical properties\n" << endl;
3 autoPtr<basicThermo> thermo
21 volScalarField& p = thermo->p();
22 volScalarField& h = thermo->h();
25 Info<< "Reading field U\n" << endl;
39 # include "compressibleCreatePhi.H"
42 Info<< "Creating turbulence model\n" << endl;
43 autoPtr<compressible::RASModel> turbulence
45 compressible::RASModel::New
54 Info<< "Calculating field g.h\n" << endl;
55 volScalarField gh("gh", g & mesh.C());
57 dimensionedScalar pRef("pRef", p.dimensions(), thermo->lookup("pRef"));
59 Info<< "Creating field pd\n" << endl;
73 p = pd + rho*gh + pRef;
78 scalar pdRefValue = 0.0;
82 mesh.solutionDict().subDict("SIMPLE"),
88 dimensionedScalar initialMass = fvc::domainIntegrate(rho);