102 #ifndef turbulentInletFvPatchField_H 103 #define turbulentInletFvPatchField_H 118 class turbulentInletFvPatchField
120 public fixedValueFvPatchField<Type>
128 Type fluctuationScale_;
131 Field<Type> referenceField_;
152 const DimensionedField<Type, volMesh>&
159 const DimensionedField<Type, volMesh>&,
167 const turbulentInletFvPatchField<Type>&,
169 const DimensionedField<Type, volMesh>&,
209 return fluctuationScale_;
215 return fluctuationScale_;
221 return referenceField_;
227 return referenceField_;
236 const fvPatchFieldMapper&
242 const fvPatchField<Type>&,
254 virtual void write(Ostream&)
const;
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual tmp< fvPatchField< Type > > clone() const
Return a clone.
virtual void write(Ostream &) const
Write.
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
turbulentInletFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
TypeName("turbulentInlet")
Runtime type information.
This boundary condition produces spatiotemporal-variant field by summing a set of pseudo-random numbe...
A FieldMapper for finite-volume patch fields.
const Type & fluctuationScale() const
Return the fluctuation scale.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
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...
List< label > labelList
A List of labels.
A class for managing temporary objects.
const Field< Type > & referenceField() const
Return the reference field.