43 fixedValueFvPatchVectorField(
p, iF,
dict),
44 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
45 rhoName_(
dict.lookupOrDefault<
word>(
"rho",
"rho")),
59 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
60 phiName_(ptf.phiName_),
61 rhoName_(ptf.rhoName_),
62 inletDir_(mapper(ptf.inletDir_))
73 fixedValueFvPatchVectorField(pivpvf, iF),
74 phiName_(pivpvf.phiName_),
75 rhoName_(pivpvf.rhoName_),
76 inletDir_(pivpvf.inletDir_)
88 fixedValueFvPatchVectorField::map(ptf, mapper);
91 refCast<const pressureDirectedInletVelocityFvPatchVectorField>(ptf);
93 mapper(inletDir_, tiptf.inletDir_);
102 fixedValueFvPatchVectorField::reset(ptf);
105 refCast<const pressureDirectedInletVelocityFvPatchVectorField>(ptf);
107 inletDir_.reset(tiptf.inletDir_);
141 <<
"dimensions of phi are not correct"
142 <<
"\n on patch " << this->patch().name()
143 <<
" of field " << this->internalField().name()
144 <<
" in file " << this->internalField().objectPath()
148 fixedValueFvPatchVectorField::updateCoeffs();
158 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
159 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
167 void Foam::pressureDirectedInletVelocityFvPatchVectorField::operator=
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...
const dimensionSet & dimensions() const
Return dimensions.
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
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.
virtual void operator=(const UList< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
This velocity inlet boundary condition is applied to patches where the pressure is specified....
pressureDirectedInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void reset(const fvPatchVectorField &)
Reset the fvPatchField to the given fvPatchField.
virtual void map(const fvPatchVectorField &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
A class for managing temporary objects.
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 > &)
const dimensionSet dimMassFlux
const dimensionSet dimVolumetricFlux
const dimensionSet dimless
SurfaceField< scalar > surfaceScalarField
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
VolField< scalar > volScalarField
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)