43 inletOutletFvPatchVectorField(p, iF),
58 inletOutletFvPatchVectorField(ptf, p, iF, mapper),
59 relative_(ptf.relative_),
72 inletOutletFvPatchVectorField(p, iF),
88 inletOutletFvPatchVectorField(srfvpvf),
89 relative_(srfvpvf.relative_),
101 inletOutletFvPatchVectorField(srfvpvf, iF),
102 relative_(srfvpvf.relative_),
123 this->internalField().
mesh()
124 .ddtScheme(this->internalField().
name())
132 refValue() = UInf_ - srf.
velocity(patch().Cf());
143 scalar time = this->db().time().value();
147 cos(theta)*UInf_ +
sin(theta)*(srf.
axis() ^ UInf_)
152 valueFraction() = 1.0 -
pos(refValue() & patch().Sf());
164 writeEntry(
"value", os);
A list of keyword definitions, which are a keyword followed by any number of values (e...
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...
volVectorField vectorField(fieldObject, mesh)
const Type & value() const
Return const reference to value.
const vector & axis() const
Return the axis of rotation.
Macros for easy insertion into run-time selection tables.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
vectorField velocity(const vectorField &positions) const
Return velocity vector from positions.
dimensionedScalar pos(const dimensionedScalar &ds)
dimensionedScalar cos(const dimensionedScalar &ds)
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
SRFFreestreamVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual label size() const
Return size.
SteadyState implicit/explicit ddt which returns 0.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
dimensionedScalar sin(const dimensionedScalar &ds)
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
word name(const complex &)
Return a string representation of a complex.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensioned< scalar > mag(const dimensioned< Type > &)
const dimensionedVector & omega() const
Return the angular velocity field [rad/s].
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Top level model for single rotating frame.
virtual void write(Ostream &) const
Write.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.