This boundary condition describes an inlet vector boundary condition in swirl co-ordinates given a central axis, central point, axial, radial and tangential velocity profiles. More...


Public Member Functions | |
| TypeName ("swirlInletVelocity") | |
| Runtime type information. More... | |
| swirlInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
| Construct from patch and internal field. More... | |
| swirlInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| swirlInletVelocityFvPatchVectorField (const swirlInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given. More... | |
| swirlInletVelocityFvPatchVectorField (const swirlInletVelocityFvPatchVectorField &) | |
| Construct as copy. More... | |
| virtual tmp< fvPatchVectorField > | clone () const |
| Construct and return a clone. More... | |
| swirlInletVelocityFvPatchVectorField (const swirlInletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
| Construct as copy setting internal field reference. More... | |
| virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
| Construct and return a clone setting internal field reference. More... | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
This boundary condition describes an inlet vector boundary condition in swirl co-ordinates given a central axis, central point, axial, radial and tangential velocity profiles.
| 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 | |
tangentialVelocity | tangential velocity profile [m/s] | yes |
Example of the boundary condition specification:
<patchName>
{
type swirlInletVelocity;
axis (0 0 1);
origin (0 0 0);
axialVelocity constant 30;
radialVelocity constant 10;
tangentialVelocity constant 100;
}axialVelocity, radialVelocity and tangentialVelocity entries are Function1 types, able to describe time varying functions. The example above gives the usage for supplying constant values.Definition at line 115 of file swirlInletVelocityFvPatchVectorField.H.
| swirlInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF | ||
| ) |
Construct from patch and internal field.
Definition at line 33 of file swirlInletVelocityFvPatchVectorField.C.
Referenced by swirlInletVelocityFvPatchVectorField::clone(), and swirlInletVelocityFvPatchVectorField::swirlInletVelocityFvPatchVectorField().

| swirlInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 67 of file swirlInletVelocityFvPatchVectorField.C.
References swirlInletVelocityFvPatchVectorField::swirlInletVelocityFvPatchVectorField().

| swirlInletVelocityFvPatchVectorField | ( | const swirlInletVelocityFvPatchVectorField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< vector, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper | ||
| ) |
Construct by mapping given.
flowRateInletVelocityFvPatchVectorField onto a new patch
Definition at line 49 of file swirlInletVelocityFvPatchVectorField.C.
References swirlInletVelocityFvPatchVectorField::swirlInletVelocityFvPatchVectorField().

Construct as copy.
Definition at line 84 of file swirlInletVelocityFvPatchVectorField.C.
References swirlInletVelocityFvPatchVectorField::swirlInletVelocityFvPatchVectorField().

| swirlInletVelocityFvPatchVectorField | ( | const swirlInletVelocityFvPatchVectorField & | ptf, |
| const DimensionedField< vector, volMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 99 of file swirlInletVelocityFvPatchVectorField.C.
| TypeName | ( | "swirlInletVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 178 of file swirlInletVelocityFvPatchVectorField.H.
References swirlInletVelocityFvPatchVectorField::swirlInletVelocityFvPatchVectorField().

|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 195 of file swirlInletVelocityFvPatchVectorField.H.
References swirlInletVelocityFvPatchVectorField::swirlInletVelocityFvPatchVectorField(), swirlInletVelocityFvPatchVectorField::updateCoeffs(), and swirlInletVelocityFvPatchVectorField::write().

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 115 of file swirlInletVelocityFvPatchVectorField.C.
References Foam::mag(), and fvPatchField< Type >::updateCoeffs().
Referenced by swirlInletVelocityFvPatchVectorField::clone().


|
virtual |
Write.
Definition at line 145 of file swirlInletVelocityFvPatchVectorField.C.
References token::END_STATEMENT, Foam::makePatchTypeField(), Foam::nl, fvPatchField< Type >::write(), and Ostream::writeKeyword().
Referenced by swirlInletVelocityFvPatchVectorField::clone().


1.8.13