1 Info<< "Reading thermophysical properties\n" << endl;
3 autoPtr<basicThermo> thermo
21 volScalarField& p = thermo->p();
22 volScalarField& h = thermo->h();
23 const volScalarField& psi = thermo->psi();
26 Info<< "Reading field U\n" << endl;
40 #include "compressibleCreatePhi.H"
43 Info<< "Creating turbulence model\n" << endl;
44 autoPtr<compressible::LESModel> turbulence
46 compressible::LESModel::New(rho, U, phi, thermo())
50 Info<< "Creating field dpdt\n" << endl;
51 volScalarField dpdt = fvc::ddt(p);
53 Info<< "Calculating field g.h\n" << endl;
54 volScalarField gh("gh", g & mesh.C());
56 dimensionedScalar pRef("pRef", p.dimensions(), thermo->lookup("pRef"));
58 Info<< "Creating field pd\n" << endl;
72 p = pd + rho*gh + pRef;
75 dimensionedScalar initialMass = fvc::domainIntegrate(rho);