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 basicMultiComponentMixture& composition = thermo.composition();
12 PtrList<volScalarField>& Y = composition.Y();
14 word inertSpecie(thermo.lookup("inertSpecie"));
16 if (!composition.contains(inertSpecie))
18 FatalErrorIn(args.executable())
19 << "Specified inert specie '" << inertSpecie << "' not found in "
20 << "species list. Available species:" << composition.species()
24 volScalarField& p = thermo.p();
25 volScalarField& hs = thermo.hs();
26 const volScalarField& T = thermo.T();
27 const volScalarField& psi = thermo.psi();
29 multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields;
50 // lagrangian effective density field - used externally (optional)
51 volScalarField rhoEffLagrangian
62 dimensionedScalar("zero", dimDensity, 0.0)
65 // dynamic pressure field - used externally (optional)
77 dimensionedScalar("zero", dimPressure, 0.0)
81 Info<< "\nReading field U\n" << endl;
95 #include "compressibleCreatePhi.H"
97 DimensionedField<scalar, volMesh> kappa
108 dimensionedScalar("zero", dimless, 0.0)
111 Info<< "Creating turbulence model\n" << endl;
112 autoPtr<compressible::turbulenceModel> turbulence
114 compressible::turbulenceModel::New
123 Info<< "Creating field DpDt\n" << endl;
127 fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p)
130 Info<< "\nConstructing explicit enthalpy source" << endl;
131 scalarTimeActivatedExplicitSourceList enthalpySource
135 dimEnergy/dimTime/dimVolume,
139 DimensionedField<scalar, volMesh> chemistrySh
150 dimensionedScalar("chemistrySh", dimEnergy/dimTime/dimVolume, 0.0)