1 Info<< "Reading thermophysical properties\n" << endl;
3 autoPtr<rhoChemistryModel> pChemistry
5 rhoChemistryModel::New(mesh)
7 rhoChemistryModel& chemistry = pChemistry();
9 hsReactionThermo& 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 if (!composition.contains(inertSpecie))
20 FatalErrorIn(args.executable())
21 << "Specified inert specie '" << inertSpecie << "' not found in "
22 << "species list. Available species:" << composition.species()
26 volScalarField& p = thermo.p();
27 volScalarField& hs = thermo.hs();
28 const volScalarField& T = thermo.T();
29 const volScalarField& psi = thermo.psi();
44 Info<< "\nReading field U\n" << endl;
58 #include "compressibleCreatePhi.H"
60 DimensionedField<scalar, volMesh> kappa
71 dimensionedScalar("zero", dimless, 0.0)
74 dimensionedScalar rhoMax
76 mesh.solutionDict().subDict("PIMPLE").lookup("rhoMax")
79 dimensionedScalar rhoMin
81 mesh.solutionDict().subDict("PIMPLE").lookup("rhoMin")
84 Info<< "Creating turbulence model\n" << endl;
85 autoPtr<compressible::turbulenceModel> turbulence
87 compressible::turbulenceModel::New
96 Info<< "Creating multi-variate interpolation scheme\n" << endl;
97 multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields;
105 DimensionedField<scalar, volMesh> chemistrySh
116 dimensionedScalar("chemistrySh", dimEnergy/dimTime/dimVolume, 0.0)
119 volScalarField rDeltaT
126 IOobject::READ_IF_PRESENT,
130 dimensionedScalar("one", dimless/dimTime, 1),
131 zeroGradientFvPatchScalarField::typeName
134 Info<< "Creating field DpDt\n" << endl;
146 dimensionedScalar("zero", dimPressure/dimTime, 0.0)
149 #include "setPressureWork.H"