44 fixedValueFvPatchVectorField(p, iF),
57 fixedValueFvPatchVectorField(p, iF),
73 fixedValueFvPatchVectorField(ptf, p, iF, mapper),
74 rhoName_(ptf.rhoName_)
84 fixedValueFvPatchVectorField(ptf),
85 rhoName_(ptf.rhoName_)
96 fixedValueFvPatchVectorField(ptf, iF),
97 rhoName_(ptf.rhoName_)
122 if (!isA<YBCType>(Yp))
125 <<
"The mass-fraction condition on patch " << patch().name()
126 <<
" is not of type " << YBCType::typeName <<
"." 130 phip += refCast<const YBCType>(Yp).phiY();
133 this->
operator==(patch().nf()*phip/(rhop*patch().magSf()));
135 fixedValueFvPatchVectorField::updateCoeffs();
145 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
#define forAll(list, i)
Loop across all elements in list.
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.
virtual void write(Ostream &) const
Write.
basicSpecieMixture & composition
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This is a mass-fraction boundary condition for a semi-permeable baffle.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
volVectorField vectorField(fieldObject, mesh)
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
virtual label size() const
Return size.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
semiPermeableBaffleVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
This is a velocity boundary condition for a semi-permeable baffle.
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...
PtrList< volScalarField > & Y
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)