86 #ifndef Foam_freestreamFvPatchField_H 87 #define Foam_freestreamFvPatchField_H 101 class freestreamFvPatchField
103 public inletOutletFvPatchField<Type>
108 tmp<fvPatchField<Type>> freestreamBCPtr_;
184 virtual void autoMap(
const fvPatchFieldMapper& mapper);
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.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
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()
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
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
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...
A class for managing temporary objects.