1 Info<< "Reading thermophysical properties\n" << endl;
3 autoPtr<basicPsiThermo> pThermo
5 basicPsiThermo::New(mesh)
7 basicPsiThermo& thermo = pThermo();
16 IOobject::READ_IF_PRESENT,
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"
44 scalar pRefValue = 0.0;
45 setRefCell(p, mesh.solutionDict().subDict("SIMPLE"), pRefCell, pRefValue);
47 dimensionedScalar rhoMax
49 mesh.solutionDict().subDict("SIMPLE").lookup("rhoMax")
52 dimensionedScalar rhoMin
54 mesh.solutionDict().subDict("SIMPLE").lookup("rhoMin")
57 Info<< "Creating turbulence model\n" << endl;
58 autoPtr<compressible::RASModel> turbulence
60 compressible::RASModel::New
69 dimensionedScalar initialMass = fvc::domainIntegrate(rho);