89 #ifndef fixedNormalInletOutletVelocityFvPatchVectorField_H 90 #define fixedNormalInletOutletVelocityFvPatchVectorField_H 105 class fixedNormalInletOutletVelocityFvPatchVectorField
107 public directionMixedFvPatchVectorField
126 TypeName(
"fixedNormalInletOutletVelocity");
194 virtual bool assignable()
const {
return true; }
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
const word & phiName() const
Return the name of phi.
Switch fixTangentialInflow_
Set true to fix the tangential component for inflow.
const fvPatchVectorField & normalVelocity() const
Return the BC which provides the normal component of velocity.
fvPatchField< vector > fvPatchVectorField
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...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
TypeName("fixedNormalInletOutletVelocity")
Runtime type information.
virtual tmp< fvPatchVectorField > clone() const
Construct and return a clone.
A class for handling words, derived from Foam::string.
fixedNormalInletOutletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
A FieldMapper for finite-volume patch fields.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual bool assignable() const
True: this patch field is altered by assignment.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
word phiName_
Flux field name.
virtual void write(Ostream &) const
Write.
Switch fixTangentialInflow() const
virtual void operator=(const fvPatchField< vector > &pvf)
tmp< fvPatchVectorField > normalVelocity_
BC which provided the normal component of the velocity.