Go to the documentation of this file.
77 #ifndef turbulentInletFvPatchField_H
78 #define turbulentInletFvPatchField_H
93 class turbulentInletFvPatchField
95 public fixedValueFvPatchField<Type>
127 const DimensionedField<Type, volMesh>&
134 const DimensionedField<Type, volMesh>&,
Type & fluctuationScale()
Return reference to the fluctuation scale to allow adjustment.
Simple random number generator.
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual tmp< fvPatchField< Type > > clone() const
Construct and return a clone.
A class for managing temporary objects.
Field< Type > referenceField_
Reference field.
turbulentInletFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
TypeName("turbulentInlet")
Runtime type information.
scalar alpha_
Fraction of RMS component to apply to last time step values.
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
label curTimeIndex_
Current time index (used for updating)
virtual void write(Ostream &) const
Write.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const Type & fluctuationScale() const
Return the fluctuation scale.
Type fluctuationScale_
Fluctuation scake.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Random ranGen_
Random number generator.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
This boundary condition generates a fluctuating inlet condition by adding a random component to a ref...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const Field< Type > & referenceField() const
Return the reference field.
Field< Type > & referenceField()
Return reference to the reference field to allow adjustment.
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...