Go to the documentation of this file.
77 #ifndef SRFFreestreamVelocityFvPatchVectorField_H
78 #define SRFFreestreamVelocityFvPatchVectorField_H
92 class SRFFreestreamVelocityFvPatchVectorField
94 public inletOutletFvPatchVectorField
117 const DimensionedField<vector, volMesh>&
124 const DimensionedField<vector, volMesh>&,
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
const vector & UInf() const
Return the velocity at infinity.
A class for managing temporary objects.
vector UInf_
Velocity of the free stream in the absolute frame [m/s].
vector & UInf()
Return reference to the velocity at infinity to allow adjustment.
virtual tmp< fvPatchVectorField > clone() const
Construct and return a clone.
Freestream velocity condition to be used in conjunction with the single rotating frame (SRF) model (s...
Switch relative_
Is the supplied inlet value relative to the SRF.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void write(Ostream &) const
Write.
Vector< scalar > vector
A scalar version of the templated Vector.
TypeName("SRFFreestreamVelocity")
Runtime type information.
SRFFreestreamVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...