73 #ifndef turbulentInletFvPatchField_H 74 #define turbulentInletFvPatchField_H 89 class turbulentInletFvPatchField
91 public fixedValueFvPatchField<Type>
99 Type fluctuationScale_;
102 Field<Type> referenceField_;
123 const DimensionedField<Type, volMesh>&
130 const DimensionedField<Type, volMesh>&,
177 return fluctuationScale_;
183 return fluctuationScale_;
189 return referenceField_;
195 return referenceField_;
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.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
Pre-declare SubField and related Field type.
turbulentInletFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
TypeName("turbulentInlet")
Runtime type information.
This boundary condition generates a fluctuating inlet condition by adding a random component to a ref...
Foam::fvPatchFieldMapper.
const Type & fluctuationScale() const
Return the fluctuation scale.
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...
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
tmp< fvPatchField< Type > > clone() const
Disallow clone without setting internal field reference.
const Field< Type > & referenceField() const
Return the reference field.