114 #ifndef flowRateInletVelocityFvPatchVectorField_H
115 #define flowRateInletVelocityFvPatchVectorField_H
129 class flowRateInletVelocityFvPatchVectorField
131 public fixedValueFvPatchVectorField
136 autoPtr<Function1<scalar>> flowRate_;
145 autoPtr<Function1<scalar>> profile_;
174 template<
class ScaleType,
class AlphaType,
class RhoType>
177 const ScaleType& scale,
178 const AlphaType&
alpha,
184 template<
class AlphaType>
185 void updateValues(
const AlphaType&
alpha);
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 any number of values (e....
Abstract base class for field mapping.
Velocity inlet boundary condition creating a velocity field with optionally specified profile normal ...
flowRateInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
virtual tmp< fvPatchVectorField > clone(const DimensionedField< vector, volMesh > &iF) const
Construct and return a clone setting internal field reference.
TypeName("flowRateInletVelocity")
Runtime type information.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void reset(const fvPatchVectorField &)
Reset the fvPatchField to the given fvPatchField.
virtual void map(const fvPatchVectorField &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
Field< scalar > scalarField
Specialisation of Field<T> for scalar.