114 #ifndef flowRateInletVelocityFvPatchVectorField_H 115 #define flowRateInletVelocityFvPatchVectorField_H 129 class flowRateInletVelocityFvPatchVectorField
131 public fixedValueFvPatchVectorField
136 autoPtr<Function1<scalar>> flowRate_;
139 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);
A list of keyword definitions, which are a keyword followed by any number of values (e...
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual tmp< fvPatchVectorField > clone(const DimensionedField< vector, volMesh > &iF) const
Construct and return a clone setting internal field reference.
virtual void write(Ostream &) const
Write.
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
flowRateInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
Foam::fvPatchFieldMapper.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Velocity inlet boundary condition creating a velocity field with optionally specified profile normal ...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
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...
A class for managing temporary objects.
TypeName("flowRateInletVelocity")
Runtime type information.
virtual void reset(const fvPatchVectorField &)
Reset the fvPatchField to the given fvPatchField.