43 inletOutletFvPatchVectorField(p, iF),
57 inletOutletFvPatchVectorField(p, iF),
76 inletOutletFvPatchVectorField(ptf, p, iF, mapper),
77 relative_(ptf.relative_),
89 inletOutletFvPatchVectorField(srfvpvf, iF),
90 relative_(srfvpvf.relative_),
111 this->internalField().
mesh()
112 .ddtScheme(this->internalField().
name())
120 refValue() = UInf_ - srf.
velocity(patch().Cf());
131 scalar time = this->db().time().value();
135 cos(theta)*UInf_ +
sin(theta)*(srf.
axis() ^ UInf_)
140 valueFraction() = 1.0 -
pos0(refValue() & patch().Sf());
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.
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)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
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.
Freestream velocity condition to be used in conjunction with the single rotating frame (SRF) model (s...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensioned< scalar > mag(const dimensioned< Type > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
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.