89#ifndef fixedNormalInletOutletVelocityFvPatchVectorField_H
90#define fixedNormalInletOutletVelocityFvPatchVectorField_H
107 public directionMixedFvPatchVectorField
126 TypeName(
"fixedNormalInletOutletVelocity");
188 virtual bool assignable()
const {
return true; }
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 simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This velocity inlet/outlet boundary condition combines a fixed normal component obtained from the "no...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
fixedNormalInletOutletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
word & phiName()
Return reference to the name of phi to allow adjustment.
const word & phiName() const
Return the name of phi.
tmp< fvPatchVectorField > normalVelocity_
BC which provided the normal component of the velocity.
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual tmp< fvPatchField< vector > > clone() const
Return a clone.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
word phiName_
Flux field name.
Switch fixTangentialInflow_
Set true to fix the tangential component for inflow.
virtual tmp< fvPatchField< vector > > clone(const DimensionedField< vector, volMesh > &iF) const
Clone with an internal field reference.
TypeName("fixedNormalInletOutletVelocity")
Runtime type information.
Switch fixTangentialInflow() const
virtual void operator=(const fvPatchField< vector > &pvf)
virtual bool assignable() const
True: this patch field is altered by assignment.
const fvPatchVectorField & normalVelocity() const
Return the BC which provides the normal component of velocity.
A FieldMapper for finite-volume patch fields.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
List< label > labelList
A List of labels.
fvPatchField< vector > fvPatchVectorField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.