1 Info<< "Reading thermophysical properties\n" << endl;
3 autoPtr<basicThermo> thermo
15 IOobject::READ_IF_PRESENT,
21 volScalarField& p = thermo->p();
22 volScalarField& h = thermo->h();
25 Info<< "Reading field U\n" << endl;
39 # include "compressibleCreatePhi.H"
43 scalar pRefValue = 0.0;
44 setRefCell(p, mesh.solutionDict().subDict("SIMPLE"), pRefCell, pRefValue);
46 dimensionedScalar pMin
48 mesh.solutionDict().subDict("SIMPLE").lookup("pMin")
51 Info<< "Creating turbulence model\n" << endl;
52 autoPtr<compressible::RASModel> turbulence
54 compressible::RASModel::New
63 dimensionedScalar initialMass = fvc::domainIntegrate(rho);
65 porousZones pZones(mesh);
66 Switch pressureImplicitPorosity(false);
71 // nUCorrectors for pressureImplicitPorosity
72 if (mesh.solutionDict().subDict("SIMPLE").found("nUCorrectors"))
76 mesh.solutionDict().subDict("SIMPLE").lookup("nUCorrectors")
82 pressureImplicitPorosity = true;