Go to the documentation of this file.
43 inletOutletFvPatchVectorField(
p, iF),
58 inletOutletFvPatchVectorField(ptf,
p, iF, mapper),
72 inletOutletFvPatchVectorField(
p, iF),
73 relative_(
dict.lookupOrDefault(
"relative",
false)),
74 UInf_(
dict.lookup(
"UInf"))
76 this->phiName_ =
dict.lookupOrDefault<
word>(
"phi",
"phi");
88 inletOutletFvPatchVectorField(srfvpvf),
101 inletOutletFvPatchVectorField(srfvpvf, iF),
143 scalar time = this->db().time().value();
152 valueFraction() = 1.0 -
pos(refValue() & patch().Sf());
164 writeEntry(
"value", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
A class for handling words, derived from string.
dimensionedScalar sin(const dimensionedScalar &ds)
rDeltaT dimensionedInternalField()
vector UInf_
Velocity of the free stream in the absolute frame [m/s].
const Type & value() const
Return const reference to value.
dimensioned< scalar > mag(const dimensioned< Type > &)
vectorField velocity(const vectorField &positions) const
Return velocity vector from positions.
Top level model for single rotating frame.
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.
const vector & axis() const
Return the axis of rotation.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
volVectorField vectorField(fieldObject, mesh)
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
const dimensionedVector & omega() const
Return the angular velocity field [rad/s].
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
SteadyState implicit/explicit ddt which returns 0.
SRFFreestreamVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
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,...
word name(const complex &)
Return a string representation of a complex.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar cos(const dimensionedScalar &ds)
dimensionedScalar pos(const dimensionedScalar &ds)