45 rhoName_(
dict.lookupOrDefault<
word>(
"rho",
"rho"))
59 rhoName_(ptf.rhoName_)
71 rhoName_(ptf.rhoName_)
90 if (!isA<YBCType>(Yp))
93 <<
"The mass-fraction condition on patch " << patch().name()
94 <<
" is not of type " << YBCType::typeName <<
"."
98 phip += refCast<const YBCType>(Yp).phiYp();
119 this->
operator==((Tau & *
this) + nf*phip()/(rhop*patch().magSf()));
131 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
#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...
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...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
This boundary condition sets a fixed value. When the flow direction is inwards this acts exactly like...
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual PtrList< volScalarField > & Y()=0
Access the mass-fraction fields.
Abstract base class for specie-transferring mass fraction boundary conditions.
This is a velocity boundary condition for a specie-transferring wall.
const tmp< scalarField > phip() const
Return the flux.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
specieTransferVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
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)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
VolField< scalar > volScalarField
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
PtrList< volScalarField > & Y
fluidMulticomponentThermo & thermo