Go to the documentation of this file.
61 axialVelocity_(ptf.axialVelocity_.clone()),
62 radialVelocity_(ptf.radialVelocity_.clone()),
63 tangentialVelocity_(ptf.tangentialVelocity_.clone())
76 origin_(
dict.lookup(
"origin")),
77 axis_(
dict.lookup(
"axis")),
93 axialVelocity_(ptf.axialVelocity_.clone()),
94 radialVelocity_(ptf.radialVelocity_.clone()),
95 tangentialVelocity_(ptf.tangentialVelocity_.clone())
107 origin_(ptf.origin_),
109 axialVelocity_(ptf.axialVelocity_.clone()),
110 radialVelocity_(ptf.radialVelocity_.clone()),
111 tangentialVelocity_(ptf.tangentialVelocity_.clone())
128 r -= (axisHat & r)*axisHat;
132 const scalarField axialVelocity(axialVelocity_->value(magr));
133 const scalarField radialVelocity(radialVelocity_->value(magr));
134 const scalarField tangentialVelocity(tangentialVelocity_->value(magr));
138 axialVelocity*axisHat
139 + radialVelocity*rHat
140 + tangentialVelocity*(axisHat ^ rHat)
152 axialVelocity_->writeData(os);
153 radialVelocity_->writeData(os);
154 tangentialVelocity_->writeData(os);
155 writeEntry(
"value", os);
virtual void write(Ostream &) const
Write.
static constexpr const zero Zero
Global zero (0)
virtual void write(Ostream &) const
Write.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition describes an inlet vector boundary condition in swirl coordinates given a cen...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
swirlInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
const std::string patch
OpenFOAM patch number as a std::string.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...