69 physicalProperties::typeName
84 mixedFvPatchScalarField(
p, iF,
dict, false),
85 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
86 UName_(
dict.lookupOrDefault<
word>(
"U",
"U")),
89 c_(
dict.lookupOrDefault<scalar>(
"c",
unitAny, scalar(0))),
94 : propertyNames_.
read(
dict.lookup(
"property"))
104 valueFraction() =
Zero;
117 mixedFvPatchScalarField(ptf,
p, iF, mapper),
118 phiName_(ptf.phiName_),
123 property_(ptf.property_)
134 mixedFvPatchScalarField(ptf, iF),
135 phiName_(ptf.phiName_),
137 phiYp_(ptf.size(), 0),
140 property_(ptf.property_)
152 mixedFvPatchScalarField::map(ptf, mapper);
155 refCast<const specieTransferMassFractionFvPatchScalarField>(ptf);
157 mapper(phiYp_, tiptf.phiYp_);
166 mixedFvPatchScalarField::reset(ptf);
169 refCast<const specieTransferMassFractionFvPatchScalarField>(ptf);
171 phiYp_.reset(tiptf.phiYp_);
178 if (timeIndex_ != this->db().time().
timeIndex())
180 timeIndex_ = this->db().time().timeIndex();
182 phiYp_ = calcPhiYp();
202 refCast<const specieTransferVelocityFvPatchVectorField>(Up).phip();
217 valueFraction() = phip/(phip - patch().deltaCoeffs()*AAlphaEffp);
219 refGrad() = phip*(*
this - phiYp()/uPhip)/AAlphaEffp;
221 mixedFvPatchScalarField::updateCoeffs();
231 writeEntryIfDifferent<scalar>(os,
"c", scalar(0), c_);
232 writeEntry(os,
"property", propertyNames_[property_]);
233 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
234 writeEntryIfDifferent<word>(os,
"U",
"U", UName_);
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.
Initialise the NamedEnum HashTable from the static list of names.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual const volScalarField & Cp() const =0
Heat capacity at constant pressure [J/kg/K].
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.
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.
Registry of regIOobjects.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type and name.
Abstract base class for specie-transferring mass fraction boundary conditions.
virtual const scalarField & phiYp() const
Return the flux of this species.
virtual void write(Ostream &) const
Write.
virtual void reset(const fvPatchScalarField &)
Reset the fvPatchField to the given fvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void map(const fvPatchScalarField &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
static const fluidMulticomponentThermo & thermo(const objectRegistry &db)
Get the thermo from the given database.
static const NamedEnum< property, 4 > propertyNames_
Property type names.
specieTransferMassFractionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
property
Enumeration for the property driving the transfer.
virtual tmp< volScalarField > kappaEff() const =0
Effective thermal turbulent conductivity.
A class for managing temporary objects.
A class for handling words, derived from string.
bool read(const char *, int32_t &)
VolField< vector > volVectorField
const unitConversion unitAny
SurfaceField< scalar > surfaceScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)