44 fixedValueInletOutletFvPatchVectorField(
p, iF,
dict),
45 rhoName_(
dict.lookupOrDefault<
word>(
"rho",
"rho"))
58 fixedValueInletOutletFvPatchVectorField(ptf,
p, iF, mapper),
59 rhoName_(ptf.rhoName_)
70 fixedValueInletOutletFvPatchVectorField(ptf, iF),
71 rhoName_(ptf.rhoName_)
90 if (!isA<YBCType>(Yp))
93 <<
"The mass-fraction condition on patch " << patch().name()
98 phip += refCast<const YBCType>(Yp).phiYp();
119 this->
operator==((Tau & *
this) + nf*phip()/(rhop*patch().magSf()));
121 fixedValueInletOutletFvPatchVectorField::updateCoeffs();
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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
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, fvMesh > &, 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)
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
String typeName(const std::type_info &info)
Return the un-mangled name given the standard type info.
makePatchTypeField(fvPatchScalarField, atmosphericBoundaryLayerTurbulentEpsilonFvPatchScalarField)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
VolField< scalar > volScalarField
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)
PtrList< volScalarField > & Y
fluidMulticomponentThermo & thermo