86 #ifndef Foam_freestreamFvPatchField_H 87 #define Foam_freestreamFvPatchField_H 101 class freestreamFvPatchField
103 public inletOutletFvPatchField<Type>
108 tmp<fvPatchField<Type>> freestreamBCPtr_;
190 virtual void autoMap(
const fvPatchFieldMapper& mapper);
195 const fvPatchField<Type>& ptf,
This boundary condition provides a free-stream condition. It is a 'mixed' condition derived from the ...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
freestreamFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
const Field< Type > & freestreamValue() const
Same as refValue()
virtual void rmap(const fvPatchField< Type > &ptf, const labelList &addr)
Reverse map the given fvPatchField onto this fvPatchField.
virtual Field< Type > & refValue()
Generic templated field type.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A FieldMapper for finite-volume patch fields.
virtual void autoMap(const fvPatchFieldMapper &mapper)
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 tmp< fvPatchField< Type > > clone() const
Construct and return a clone.
TypeName("freestream")
Runtime type information.
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.