71 rhoName_(ptf.rhoName_)
83 rhoName_(ptf.rhoName_)
102 if (!isA<YBCType>(Yp))
105 <<
"The mass-fraction condition on patch " <<
patch().
name()
106 <<
" is not of type " << YBCType::typeName <<
"." 110 phip += refCast<const YBCType>(Yp).phiYp();
143 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
#define forAll(list, i)
Loop across all elements in list.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual void write(Ostream &) const
Write.
label index() const
Return the index of this patch in the fvBoundaryMesh.
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.
bool updated() const
Return true if the boundary condition has already been updated.
basicSpecieMixture & composition
T & ref() const
Return non-const reference or generate a fatal error.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
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.
Macros for easy insertion into run-time selection tables.
virtual void operator==(const fvPatchField< Type > &)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A class for handling words, derived from string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Foam::fvPatchFieldMapper.
const fvPatch & patch() const
Return patch.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
specieTransferVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
const GeometricField::Patch & lookupPatchField(const word &name) const
Lookup and return the patchField of the named field from the.
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...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
PtrList< volScalarField > & Y
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const objectRegistry & db() const
Return local objectRegistry.
virtual const word & name() const
Return name.
A class for managing temporary objects.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
label size() const
Return the number of elements in the UList.
const tmp< scalarField > phip() const
Return the flux.
This is a velocity boundary condition for a specie-transferring wall.