This velocity inlet/outlet boundary condition is applied to patches in a rotating frame where the pressure is specified. A zero-gradient is applied for outflow (as defined by the flux); for inflow, the velocity is obtained from the flux with a direction normal to the patch faces. More...
#include <rotatingPressureInletOutletVelocityFvPatchVectorField.H>


Public Member Functions | |
| TypeName ("rotatingPressureInletOutletVelocity") | |
| Runtime type information. | |
| rotatingPressureInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
| Construct from patch and internal field. | |
| rotatingPressureInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| rotatingPressureInletOutletVelocityFvPatchVectorField (const rotatingPressureInletOutletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given. | |
| rotatingPressureInletOutletVelocityFvPatchVectorField (const rotatingPressureInletOutletVelocityFvPatchVectorField &) | |
| Construct as copy. | |
| rotatingPressureInletOutletVelocityFvPatchVectorField (const rotatingPressureInletOutletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< vector > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< vector > > | clone (const DimensionedField< vector, volMesh > &iF) const |
| Clone with an internal field reference. | |
| virtual void | write (Ostream &) const |
| Write. | |
| Public Member Functions inherited from pressureInletOutletVelocityFvPatchVectorField | |
| TypeName ("pressureInletOutletVelocity") | |
| Runtime type information. | |
| pressureInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
| Construct from patch and internal field. | |
| pressureInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| pressureInletOutletVelocityFvPatchVectorField (const pressureInletOutletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given. | |
| pressureInletOutletVelocityFvPatchVectorField (const pressureInletOutletVelocityFvPatchVectorField &) | |
| Construct as copy. | |
| pressureInletOutletVelocityFvPatchVectorField (const pressureInletOutletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual bool | assignable () const |
| True: this patch field is altered by assignment. | |
| const word & | phiName () const |
| Return the name of phi. | |
| word & | phiName () |
| Return reference to the name of phi to allow adjustment. | |
| const vectorField & | tangentialVelocity () const |
| Return the tangential velocity. | |
| void | setTangentialVelocity (const vectorField &tangentialVelocity) |
| Reset the tangential velocity. | |
| virtual void | autoMap (const fvPatchFieldMapper &) |
| Map (and resize as needed) from self given a mapping object. | |
| virtual void | rmap (const fvPatchVectorField &, const labelList &) |
| Reverse map the given fvPatchField onto this fvPatchField. | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. | |
| virtual void | operator= (const fvPatchField< vector > &pvf) |
This velocity inlet/outlet boundary condition is applied to patches in a rotating frame where the pressure is specified. A zero-gradient is applied for outflow (as defined by the flux); for inflow, the velocity is obtained from the flux with a direction normal to the patch faces.
| Property | Description | Required | Default value |
|---|---|---|---|
phi | flux field name | no | phi |
tangentialVelocity | tangential velocity field | no | |
omega | angular velocity of the frame [rad/s] | yes |
Example of the boundary condition specification:
<patchName>
{
type rotatingPressureInletOutletVelocity;
phi phi;
tangentialVelocity uniform (0 0 0);
omega 100;
}
The omega entry is a Function1 type, able to describe time varying functions.
Definition at line 106 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
| rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 48 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
References p, and pressureInletOutletVelocityFvPatchVectorField::pressureInletOutletVelocityFvPatchVectorField().
Referenced by rotatingPressureInletOutletVelocityFvPatchVectorField(), rotatingPressureInletOutletVelocityFvPatchVectorField(), rotatingPressureInletOutletVelocityFvPatchVectorField(), and TypeName().


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

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

| rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const rotatingPressureInletOutletVelocityFvPatchVectorField & | rppvf | ) |
Construct as copy.
Definition at line 91 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
References clone(), pressureInletOutletVelocityFvPatchVectorField::pressureInletOutletVelocityFvPatchVectorField(), and rotatingPressureInletOutletVelocityFvPatchVectorField().

| rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const rotatingPressureInletOutletVelocityFvPatchVectorField & | rppvf, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 104 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
References clone(), pressureInletOutletVelocityFvPatchVectorField::pressureInletOutletVelocityFvPatchVectorField(), and rotatingPressureInletOutletVelocityFvPatchVectorField().

| TypeName | ( | "rotatingPressureInletOutletVelocity" | ) |
Runtime type information.
References rotatingPressureInletOutletVelocityFvPatchVectorField().

|
inlinevirtual |
Return a clone.
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 189 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
Referenced by rotatingPressureInletOutletVelocityFvPatchVectorField(), rotatingPressureInletOutletVelocityFvPatchVectorField(), and rotatingPressureInletOutletVelocityFvPatchVectorField().


|
inlinevirtual |
Clone with an internal field reference.
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 197 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

|
virtual |
Write.
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 120 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
References os(), pressureInletOutletVelocityFvPatchVectorField::phiName(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().
