80 phiName_(ptf.phiName_),
93 phiName_(ptf.phiName_),
109 db().lookupObject<
fluidThermo>(physicalProperties::typeName);
120 if (!isA<YBCType>(Yp))
123 <<
"The mass-fraction condition on patch " << patch().name()
124 <<
" is not of type " << YBCType::typeName <<
"." 128 phiHep += refCast<const YBCType>(Yp).phiYp()*mixture.
HE(i, pp, Tp);
148 refCast<const specieTransferVelocityFvPatchVectorField>(Up).phip();
157 *db().lookupObject<thermophysicalTransportModel>
159 thermophysicalTransportModel::typeName
160 ).alphaEff(patch().index())
165 db().lookupObject<
fluidThermo>(physicalProperties::typeName);
172 mixedEnergyCalculatedTemperatureFvPatchScalarField::updateCoeffs();
182 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
183 writeEntryIfDifferent<word>(os,
"U",
"U", UName_);
scalarField & heValueFraction()
Access the energy fraction.
#define forAll(list, i)
Loop across all elements in list.
fluidReactionThermo & thermo
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.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
Specialisation of basicMixture for a mixture consisting of a number for molecular species...
GeometricField< vector, fvPatchField, volMesh > volVectorField
virtual volScalarField & p()=0
Pressure [Pa].
Macros for easy insertion into run-time selection tables.
virtual volScalarField & he()=0
Enthalpy/Internal energy [J/kg].
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.
Base-class for 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.