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_),
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);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensioned< scalar > mag(const dimensioned< Type > &)
word name(const complex &)
Return a string representation of a complex.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for handling words, derived from string.
const vector & axis() const
Return the axis of rotation.
Foam::fvPatchFieldMapper.
Top level model for single rotating frame.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void write(Ostream &) const
Write.
volVectorField vectorField(fieldObject, mesh)
SRFFreestreamVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
dimensionedScalar cos(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
vectorField velocity(const vectorField &positions) const
Return velocity vector from positions.
rDeltaT dimensionedInternalField()
virtual void write(Ostream &) const
Write.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
const dimensionedVector & omega() const
Return the angular velocity field [rad/s].
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
dimensionedScalar pos(const dimensionedScalar &ds)
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
virtual label size() const
Return size.
SteadyState implicit/explicit ddt which returns 0.
const Type & value() const
Return const reference to value.
dimensionedScalar sin(const dimensionedScalar &ds)