This boundary condition describes an inlet vector boundary condition in cylindrical coordinates given a central axis, central point, rpm, axial and radial velocity. More...
Public Member Functions | |
TypeName ("cylindricalInletVelocity") | |
cylindricalInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
cylindricalInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
cylindricalInletVelocityFvPatchVectorField (const cylindricalInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
cylindricalInletVelocityFvPatchVectorField (const cylindricalInletVelocityFvPatchVectorField &) | |
virtual tmp< fvPatchVectorField > | clone () const |
cylindricalInletVelocityFvPatchVectorField (const cylindricalInletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
virtual void | updateCoeffs () |
virtual void | write (Ostream &) const |
This boundary condition describes an inlet vector boundary condition in cylindrical coordinates given a central axis, central point, rpm, axial and radial velocity.
Property | Description | Required | Default value |
---|---|---|---|
axis | axis of rotation | yes | |
origin | origin of rotation | yes | |
axialVelocity | axial velocity profile [m/s] | yes | |
radialVelocity | radial velocity profile [m/s] | yes | |
rpm | rotational speed (revolutions per minute) | yes |
Example of the boundary condition specification:
<patchName> { type cylindricalInletVelocity; axis (0 0 1); origin (0 0 0); axialVelocity constant 30; radialVelocity constant -10; rpm constant 100; }
axialVelocity
, radialVelocity
and rpm
entries are Function1 types, able to describe time varying functions. The example above gives the usage for supplying constant values.Definition at line 113 of file cylindricalInletVelocityFvPatchVectorField.H.
cylindricalInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 33 of file cylindricalInletVelocityFvPatchVectorField.C.
Referenced by cylindricalInletVelocityFvPatchVectorField::clone().
cylindricalInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 67 of file cylindricalInletVelocityFvPatchVectorField.C.
cylindricalInletVelocityFvPatchVectorField | ( | const cylindricalInletVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 49 of file cylindricalInletVelocityFvPatchVectorField.C.
cylindricalInletVelocityFvPatchVectorField | ( | const cylindricalInletVelocityFvPatchVectorField & | ptf | ) |
Definition at line 87 of file cylindricalInletVelocityFvPatchVectorField.C.
cylindricalInletVelocityFvPatchVectorField | ( | const cylindricalInletVelocityFvPatchVectorField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 102 of file cylindricalInletVelocityFvPatchVectorField.C.
TypeName | ( | "cylindricalInletVelocity" | ) |
|
inlinevirtual |
Definition at line 176 of file cylindricalInletVelocityFvPatchVectorField.H.
References cylindricalInletVelocityFvPatchVectorField::cylindricalInletVelocityFvPatchVectorField().
|
inlinevirtual |
Definition at line 193 of file cylindricalInletVelocityFvPatchVectorField.H.
References cylindricalInletVelocityFvPatchVectorField::cylindricalInletVelocityFvPatchVectorField().
|
virtual |
Definition at line 118 of file cylindricalInletVelocityFvPatchVectorField.C.
References Foam::mag(), Foam::operator==(), Foam::foamVersion::patch, Foam::rpmToRads(), and fvPatchField< Type >::updateCoeffs().
|
virtual |
Definition at line 146 of file cylindricalInletVelocityFvPatchVectorField.C.
References os(), fvPatchField::write(), and Ostream::writeEntry().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.