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);
47 mesh.schemesDict().setFluxRequired(p.name());
49 dimensionedScalar pMin
51 mesh.solutionDict().subDict("SIMPLE").lookup("pMin")
54 Info<< "Creating turbulence model\n" << endl;
55 autoPtr<compressible::RASModel> turbulence
57 compressible::RASModel::New
66 dimensionedScalar initialMass = fvc::domainIntegrate(rho);
68 porousZones pZones(mesh);
69 Switch pressureImplicitPorosity(false);
74 // nUCorrectors for pressureImplicitPorosity
75 if (mesh.solutionDict().subDict("SIMPLE").found("nUCorrectors"))
79 mesh.solutionDict().subDict("SIMPLE").lookup("nUCorrectors")
85 pressureImplicitPorosity = true;