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 -
pos0(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)
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
const vector & axis() const
Return the axis of rotation.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
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.
const Type & value() const
Return const reference to value.
const dimensionedVector & omega() const
Return the angular velocity field [rad/s].
SteadyState implicit/explicit ddt which returns 0.
virtual label size() const
Return size.
virtual void write(Ostream &) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
dimensionedScalar pos0(const dimensionedScalar &ds)
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.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
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 > &)
Top level model for single rotating frame.
vectorField velocity(const vectorField &positions) const
Return velocity vector from positions.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.