100#ifndef pressurePIDControlInletVelocityFvPatchVectorField_H
101#define pressurePIDControlInletVelocityFvPatchVectorField_H
114class pressurePIDControlInletVelocityFvPatchVectorField
116 public fixedValueFvPatchVectorField
121 const word upstreamName_;
124 const word downstreamName_;
127 const scalar deltaP_;
130 const scalar shapeFactor_;
157 scalar errorIntegral_;
166 scalar oldErrorIntegral_;
178 template <
class Type>
191 TypeName(
"pressurePIDControlInletVelocity");
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 list of keyword definitions, which are a keyword followed by a number of values (eg,...
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition tries to generate an inlet velocity that maintains a specified pressure drop ...
TypeName("pressurePIDControlInletVelocity")
Runtime type information.
virtual tmp< fvPatchVectorField > clone(const DimensionedField< vector, volMesh > &iF) const
Construct and return a clone setting internal field reference.
virtual tmp< fvPatchVectorField > clone() const
Construct and return a clone.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.