42 fixedValueFvPatchVectorField(p, iF),
57 fixedValueFvPatchVectorField(p, iF, dict),
60 inletDir_(
"inletDirection", dict, p.
size())
73 fixedValueFvPatchVectorField(ptf, p, iF, mapper),
74 phiName_(ptf.phiName_),
75 rhoName_(ptf.rhoName_),
76 inletDir_(mapper(ptf.inletDir_))
87 fixedValueFvPatchVectorField(pivpvf, iF),
88 phiName_(pivpvf.phiName_),
89 rhoName_(pivpvf.rhoName_),
90 inletDir_(pivpvf.inletDir_)
101 fixedValueFvPatchVectorField::autoMap(m);
102 m(inletDir_, inletDir_);
112 fixedValueFvPatchVectorField::rmap(ptf, addr);
115 refCast<const pressureDirectedInletVelocityFvPatchVectorField>(ptf);
117 inletDir_.
rmap(tiptf.inletDir_, addr);
151 <<
"dimensions of phi are not correct" 152 <<
"\n on patch " << this->patch().name()
153 <<
" of field " << this->internalField().name()
154 <<
" in file " << this->internalField().objectPath()
158 fixedValueFvPatchVectorField::updateCoeffs();
168 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
169 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
177 void Foam::pressureDirectedInletVelocityFvPatchVectorField::operator=
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 autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
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...
pressureDirectedInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet & dimensions() const
Return dimensions.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
const dimensionSet dimFlux
virtual void write(Ostream &) const
Write.
virtual label size() const
Return size.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
const dimensionSet dimMassFlux
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
virtual void operator=(const UList< Type > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
This velocity inlet boundary condition is applied to patches where the pressure is specified...
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...