42 freestreamValue0_(
dict.lookup(
"freestreamValue0"))
57 freestreamValue0_(pvf.freestreamValue0_)
70 freestreamValue0_(pvf.freestreamValue0_)
83 const scalar time = this->db().time().value();
84 const vector Omega = MRFzone(db()).Omega();
87 const scalar theta = time*
omega;
90 cos(theta)*freestreamValue0_
91 -
sin(theta)*(axis ^ freestreamValue0_);
100 writeEntry(os,
"freestreamValue0", freestreamValue0_);
101 writeEntry(os,
"freestreamValue", freestreamValue());
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Freestream velocity condition to be used for a wall rotating with the moving frame in an MRF (multi-r...
virtual void write(Ostream &) const
Write.
MRFFreestreamVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
This boundary condition provides a free-stream condition for velocity.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Foam::fvPatchFieldMapper.
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 finiteVolume patch using a polyPatch and a fvBoundaryMesh.
dimensionedScalar sin(const dimensionedScalar &ds)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensioned< scalar > mag(const dimensioned< Type > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
dimensionedScalar cos(const dimensionedScalar &ds)