Go to the documentation of this file.
89 #ifndef fixedNormalInletOutletVelocityFvPatchVectorField_H
90 #define fixedNormalInletOutletVelocityFvPatchVectorField_H
105 class fixedNormalInletOutletVelocityFvPatchVectorField
107 public directionMixedFvPatchVectorField
126 TypeName(
"fixedNormalInletOutletVelocity");
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
const word & phiName() const
Return the name of phi.
virtual void operator=(const fvPatchField< vector > &pvf)
word phiName_
Flux field name.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Switch fixTangentialInflow_
Set true to fix the tangential component for inflow.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
tmp< fvPatchVectorField > normalVelocity_
BC which provided the normal component of the velocity.
TypeName("fixedNormalInletOutletVelocity")
Runtime type information.
This velocity inlet/outlet boundary condition combines a fixed normal component obtained from the "no...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void write(Ostream &) const
Write.
virtual bool assignable() const
Return true: this patch field is altered by assignment.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
word & phiName()
Return reference to the name of phi to allow adjustment.
fixedNormalInletOutletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual tmp< fvPatchVectorField > clone() const
Construct and return a clone.
Foam::fvPatchFieldMapper.
Switch fixTangentialInflow() const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const fvPatchVectorField & normalVelocity() const
Return the BC which provides the normal component of velocity.