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();
27 Info<< "Reading field U\n" << endl;
41 #include "compressibleCreatePhi.H"
45 scalar pRefValue = 0.0;
46 setRefCell(p, mesh.solutionDict().subDict("SIMPLE"), pRefCell, pRefValue);
48 dimensionedScalar pMin
50 mesh.solutionDict().subDict("SIMPLE").lookup("pMin")
53 Info<< "Creating turbulence model\n" << endl;
54 autoPtr<compressible::RASModel> turbulence
56 compressible::RASModel::New
65 dimensionedScalar initialMass = fvc::domainIntegrate(rho);
67 porousZones pZones(mesh);
68 Switch pressureImplicitPorosity(false);
73 // nUCorrectors for pressureImplicitPorosity
74 if (mesh.solutionDict().subDict("SIMPLE").found("nUCorrectors"))
78 mesh.solutionDict().subDict("SIMPLE").lookup("nUCorrectors")
84 pressureImplicitPorosity = true;