43 fixedValueFvPatchVectorField(p, iF),
57 fixedValueFvPatchVectorField(p, iF),
76 fixedValueFvPatchVectorField(ptf, p, iF, mapper),
77 rhoName_(ptf.rhoName_)
88 fixedValueFvPatchVectorField(ptf, iF),
89 rhoName_(ptf.rhoName_)
108 if (!isA<YBCType>(Yp))
111 <<
"The mass-fraction condition on patch " << patch().name()
112 <<
" is not of type " << YBCType::typeName <<
"." 116 phip += refCast<const YBCType>(Yp).phiYp();
137 this->
operator==((Tau & *
this) + nf*
phip()/(rhop*patch().magSf()));
139 fixedValueFvPatchVectorField::updateCoeffs();
149 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.
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.
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...
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.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Foam::fvPatchFieldMapper.
virtual label size() const
Return size.
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)
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...
PtrList< volScalarField > & Y
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
const tmp< scalarField > phip() const
Return the flux.
This is a velocity boundary condition for a specie-transferring wall.