59 axialVelocity_(ptf.axialVelocity_,
false),
60 radialVelocity_(ptf.radialVelocity_,
false),
61 tangentialVelocity_(ptf.tangentialVelocity_,
false)
74 origin_(dict.
lookup(
"origin")),
75 axis_(dict.
lookup(
"axis")),
91 axialVelocity_(ptf.axialVelocity_,
false),
92 radialVelocity_(ptf.radialVelocity_,
false),
93 tangentialVelocity_(ptf.tangentialVelocity_,
false)
105 origin_(ptf.origin_),
107 axialVelocity_(ptf.axialVelocity_,
false),
108 radialVelocity_(ptf.radialVelocity_,
false),
109 tangentialVelocity_(ptf.tangentialVelocity_,
false)
126 r -= (axisHat & r)*axisHat;
130 const scalarField axialVelocity(axialVelocity_->value(magr));
131 const scalarField radialVelocity(radialVelocity_->value(magr));
132 const scalarField tangentialVelocity(tangentialVelocity_->value(magr));
136 axialVelocity*axisHat
137 + radialVelocity*rHat
138 + tangentialVelocity*(axisHat ^ rHat)
150 axialVelocity_->writeData(os);
151 radialVelocity_->writeData(os);
152 tangentialVelocity_->writeData(os);
153 writeEntry(
"value", os);
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.
swirlInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
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...
This boundary condition describes an inlet vector boundary condition in swirl co-ordinates given a ce...
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
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 > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.