80 phiName_(ptf.phiName_),
92 phiName_(ptf.phiName_),
105 phiName_(ptf.phiName_),
132 if (!isA<YBCType>(Yp))
135 <<
"The mass-fraction condition on patch " << patch().name()
136 <<
" is not of type " << YBCType::typeName <<
"." 140 phiHep += refCast<const YBCType>(Yp).phiYp()*mixture.
HE(i, pp, Tp);
160 refCast<const specieTransferVelocityFvPatchVectorField>(Up).phip();
169 *db().lookupObject<thermophysicalTransportModel>
171 thermophysicalTransportModel::typeName
172 ).alphaEff(patch().index())
184 mixedEnergyCalculatedTemperatureFvPatchScalarField::updateCoeffs();
194 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
195 writeEntryIfDifferent<word>(os,
"U",
"U", UName_);
scalarField & heValueFraction()
Access the energy fraction.
#define forAll(list, i)
Loop across all elements in list.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
basicSpecieMixture & composition
const Boundary & boundaryField() const
Return const-reference to the boundary field.
T & ref() const
Return non-const reference or generate a fatal error.
specieTransferTemperatureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual volScalarField & p()
Pressure [Pa].
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
rhoReactionThermo & thermo
virtual void write(Ostream &) const
Write.
Specialization of basicMixture for a mixture consisting of a number for molecular species...
GeometricField< vector, fvPatchField, volMesh > volVectorField
Macros for easy insertion into run-time selection tables.
virtual volScalarField & he()=0
Enthalpy/Internal energy [J/kg].
const word dictName() const
Return the local dictionary name (final part of scoped name)
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
A class for handling words, derived from string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
scalarField & heRefValue()
Access the energy value.
Fundamental fluid thermodynamic properties.
Foam::fvPatchFieldMapper.
virtual scalar HE(const label speciei, const scalar p, const scalar T) const =0
Enthalpy/Internal energy [J/kg].
virtual label size() const
Return size.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
volScalarField scalarField(fieldObject, mesh)
scalarField & heRefGrad()
Access the energy gradient.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
virtual void write(Ostream &) const
Write.
Abstract base class for specie-transferring mass fraction boundary conditions.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Base class for temperature boundary conditions in which the parameters of the mixed energy condition ...
PtrList< volScalarField > & Y
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
This is a temperature boundary condition for a specie-transferring wall.
const tmp< scalarField > phiHep() const
Return the flux of energy.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
PtrList< volScalarField > & Y()
Return the mass-fraction fields.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.