1 Info<< "Reading thermophysical properties\n" << endl;
3 autoPtr<hsCombustionThermo> pThermo
5 hsCombustionThermo::New(mesh)
7 hsCombustionThermo& thermo = pThermo();
9 SLGThermo slgThermo(mesh, thermo);
11 basicMultiComponentMixture& composition = thermo.composition();
12 PtrList<volScalarField>& Y = composition.Y();
14 const word inertSpecie(thermo.lookup("inertSpecie"));
16 Info<< "Creating field rho\n" << endl;
30 volScalarField& p = thermo.p();
31 volScalarField& hs = thermo.hs();
32 const volScalarField& T = thermo.T();
33 const volScalarField& psi = thermo.psi();
35 Info<< "\nReading field U\n" << endl;
49 #include "compressibleCreatePhi.H"
51 Info<< "Creating turbulence model\n" << endl;
52 autoPtr<compressible::turbulenceModel> turbulence
54 compressible::turbulenceModel::New
63 IOdictionary combustionProperties
67 "combustionProperties",
70 IOobject::MUST_READ_IF_MODIFIED,
75 Info<< "Creating combustion model\n" << endl;
76 autoPtr<combustionModel> combustion
78 combustionModel::combustionModel::New
99 dimensionedScalar("dQ", dimMass/pow3(dimTime)/dimLength, 0.0)
102 Info<< "Creating field DpDt\n" << endl;
106 fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p)
110 Info<< "Calculating field g.h\n" << endl;
111 volScalarField gh("gh", g & mesh.C());
113 surfaceScalarField ghf("ghf", g & mesh.Cf());
128 // Force p_rgh to be consistent with p
131 multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields;
139 IOdictionary additionalControlsDict
143 "additionalControls",
146 IOobject::MUST_READ_IF_MODIFIED,
151 Switch solvePrimaryRegion
153 additionalControlsDict.lookup("solvePrimaryRegion")