40 origin_(
dict.lookup(
"origin")),
41 axis_(
dict.lookup(
"axis")),
60 axialVelocity_(ptf.axialVelocity_, false),
61 radialVelocity_(ptf.radialVelocity_, false),
62 tangentialVelocity_(ptf.tangentialVelocity_, false)
76 axialVelocity_(ptf.axialVelocity_, false),
77 radialVelocity_(ptf.radialVelocity_, false),
78 tangentialVelocity_(ptf.tangentialVelocity_, false)
95 r -= (axisHat & r)*axisHat;
99 const scalarField axialVelocity(axialVelocity_->value(magr));
100 const scalarField radialVelocity(radialVelocity_->value(magr));
101 const scalarField tangentialVelocity(tangentialVelocity_->value(magr));
105 axialVelocity*axisHat
106 + radialVelocity*rHat
107 + tangentialVelocity*(axisHat ^ rHat)
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...
Run-time selectable general function of one variable.
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 supplies a fixed value constraint, and is the base class for a number of othe...
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.
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 co-ordinates given a ce...
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
swirlInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensioned< scalar > mag(const dimensioned< Type > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)