1 Info<< "Reading thermophysical properties\n" << endl;
3 autoPtr<psiChemistryModel> pChemistry
5 psiChemistryModel::New(mesh)
7 psiChemistryModel& chemistry = pChemistry();
9 hsCombustionThermo& thermo = chemistry.thermo();
11 SLGThermo slgThermo(mesh, thermo);
13 basicMultiComponentMixture& composition = thermo.composition();
14 PtrList<volScalarField>& Y = composition.Y();
16 const word inertSpecie(thermo.lookup("inertSpecie"));
18 Info<< "Creating field rho\n" << endl;
32 volScalarField& p = thermo.p();
33 volScalarField& hs = thermo.hs();
34 const volScalarField& T = thermo.T();
35 const volScalarField& psi = thermo.psi();
37 Info<< "\nReading field U\n" << endl;
51 #include "compressibleCreatePhi.H"
53 Info<< "Creating field kappa\n" << endl;
54 DimensionedField<scalar, volMesh> kappa
65 dimensionedScalar("zero", dimless, 0.0)
68 Info<< "Creating turbulence model\n" << endl;
69 autoPtr<compressible::turbulenceModel> turbulence
71 compressible::turbulenceModel::New
80 Info<< "Creating field DpDt\n" << endl;
84 fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p)
88 Info<< "Calculating field g.h\n" << endl;
89 volScalarField gh("gh", g & mesh.C());
91 surfaceScalarField ghf("ghf", g & mesh.Cf());
106 // Force p_rgh to be consistent with p
109 multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields;
117 IOdictionary additionalControlsDict
121 "additionalControls",
124 IOobject::MUST_READ_IF_MODIFIED,
129 Switch solvePrimaryRegion
131 additionalControlsDict.lookup("solvePrimaryRegion")
134 DimensionedField<scalar, volMesh> chemistrySh
145 dimensionedScalar("chemistrySh", dimEnergy/dimTime/dimVolume, 0.0)