1 Info<< "Reading thermophysical properties\n" << endl;
3 autoPtr<psiChemistryModel> pChemistry
5 psiChemistryModel::New(mesh)
7 psiChemistryModel& chemistry = pChemistry();
9 hCombustionThermo& thermo = chemistry.thermo();
11 basicMultiComponentMixture& composition = thermo.composition();
12 PtrList<volScalarField>& Y = composition.Y();
14 word inertSpecie(thermo.lookup("inertSpecie"));
16 volScalarField& p = thermo.p();
17 volScalarField& h = thermo.h();
18 const volScalarField& T = thermo.T();
19 const volScalarField& psi = thermo.psi();
21 multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields;
42 // lagrangian effective density field - used externally (optional)
43 volScalarField rhoEffLagrangian
54 dimensionedScalar("zero", dimDensity, 0.0)
57 // dynamic pressure field - used externally (optional)
69 dimensionedScalar("zero", dimPressure, 0.0)
73 Info<< "\nReading field U\n" << endl;
87 #include "compressibleCreatePhi.H"
89 DimensionedField<scalar, volMesh> kappa
100 dimensionedScalar("zero", dimless, 0.0)
103 Info<< "Creating turbulence model\n" << endl;
104 autoPtr<compressible::turbulenceModel> turbulence
106 compressible::turbulenceModel::New
115 Info<< "Creating field DpDt\n" << endl;
119 fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p)
122 Info<< "\nConstructing explicit enthalpy cell source" << endl;
123 timeActivatedExplicitCellSource enthalpySource
127 h.dimensions()*phi.dimensions()/mesh.V().dimensions()