47 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
48 UName_(
dict.lookupOrDefault<
word>(
"U",
"U"))
70 phiName_(ptf.phiName_),
83 phiName_(ptf.phiName_),
107 if (!isA<YBCType>(Yp))
110 <<
"The mass-fraction condition on patch " << patch().name()
111 <<
" is not of type " << YBCType::typeName <<
"."
115 phiHep += refCast<const YBCType>(Yp).phiYp()*
thermo.
hei(i, pp, Tp);
135 refCast<const specieTransferVelocityFvPatchVectorField>(Up).phip();
150 db().lookupObject<
fluidThermo>(physicalProperties::typeName);
153 heValueFraction() = phip/(phip - patch().deltaCoeffs()*AAlphaEffp);
155 heRefGrad() = phip*(hep - phiHep()/uPhip)/AAlphaEffp;
157 mixedEnergyCalculatedTemperatureFvPatchScalarField::updateCoeffs();
167 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
168 writeEntryIfDifferent<word>(os,
"U",
"U", UName_);
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
virtual const volScalarField & Cp() const =0
Heat capacity at constant pressure [J/kg/K].
virtual const volScalarField & he() const =0
Enthalpy/Internal energy [J/kg].
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
Base-class for multi-component fluid thermodynamic properties.
Base-class for fluid thermodynamic properties.
virtual const volScalarField & p() const =0
Pressure [Pa].
Abstract base class for fluid thermophysical transport models RAS, LES and laminar.
virtual const fluidThermo & thermo() const =0
Access function to fluid thermophysical properties.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
friend Ostream & operator(Ostream &, const fvPatchField< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Base class for temperature boundary conditions in which the parameters of the mixed energy condition ...
virtual scalar hei(const label speciei, const scalar p, const scalar T) const =0
Enthalpy/Internal energy [J/kg].
virtual PtrList< volScalarField > & Y()=0
Access the mass-fraction fields.
Abstract base class for specie-transferring mass fraction boundary conditions.
This is a temperature boundary condition for a specie-transferring wall.
virtual void write(Ostream &) const
Write.
const tmp< scalarField > phiHep() const
Return the flux of energy.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
specieTransferTemperatureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &, const bool readValue=true)
Construct from patch, internal field and dictionary.
virtual tmp< volScalarField > kappaEff() const =0
Effective thermal turbulent conductivity.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
VolField< vector > volVectorField
SurfaceField< scalar > surfaceScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
PtrList< volScalarField > & Y
fluidMulticomponentThermo & thermo