createFieldRefs.H
Go to the documentation of this file.
1 chemistryModel& chemistry = pChemistry();
2 scalar dtChem = min(chemistry.deltaTChem()[0], runTime.deltaT().value());
3 PtrList<volScalarField>& Y = thermo.Y();
5 
6 const label nSpecie = thermo.Y().size();
7 const scalarList W(::W(thermo));
8 
10 
12 {
13  Y0[i] = thermo.Y(i)[0];
14 }
15 
16 const scalar h0 = ::h0(thermo, Y0, p0, T0);
17 scalar rho0 = rho[0];
18 scalar u0 = h0 - p0/rho0;
19 scalar R0 = p0/(rho0*T0);
21 
22 scalar integratedHeat = 0.0;
23 
24 Info << constProp << " will be held constant." << nl
25  << " p = " << p0 << " [Pa]" << nl
26  << " T = " << T0 << " [K] " << nl
27  << " rho = " << rho0 << " [kg/m^3]" << nl
28  << endl;
const scalar T0
rho
Definition: pEqn.H:1
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:288
messageStream Info
List< scalar > scalarList
A List of scalars.
Definition: scalarList.H:50
VolField< scalar > volScalarField
Definition: volFieldsFwd.H:62
dimensioned< Type > min(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
static const char nl
Definition: Ostream.H:297
scalar dtChem
scalar rho0
volScalarField & p
Rspecific[0]
scalar integratedHeat
PtrList< volScalarField > & Y
const scalar h0
const scalarList W(::W(thermo))
chemistryModel & chemistry
const label nSpecie
forAll(Y0, i)
scalar R0
scalar u0
scalarList Y0(nSpecie, 0.0)
autoPtr< chemistryModel > pChemistry(chemistryModel::New(thermo))
fluidMulticomponentThermo & thermo
Definition: createFields.H:15