This source condition provides a fan velocity profile, characterised by a centreline velocity, a normal, and inner and outer fan angles. The centreline velocity and normal are Function1s and can vary with time. This is likely to be used in conjunction with a point injection model. More...


Public Member Functions | |
| TypeName ("fanVelocity") | |
| Runtime type information. More... | |
| fanVelocityLagrangianVectorFieldSource (const regIOobject &, const dictionary &dict) | |
| Construct from internal field and dictionary. More... | |
| fanVelocityLagrangianVectorFieldSource (const fanVelocityLagrangianVectorFieldSource &, const regIOobject &) | |
| Copy constructor setting the internal field reference. More... | |
| virtual autoPtr< LagrangianVectorFieldSource > | clone (const regIOobject &iIo) const |
| Construct and return a clone setting the internal field reference. More... | |
| virtual | ~fanVelocityLagrangianVectorFieldSource () |
| Destructor. More... | |
| virtual tmp< LagrangianSubVectorField > | value (const LagrangianInjection &, const LagrangianSubMesh &) const |
| Return the value for an instantaneous injection. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
This source condition provides a fan velocity profile, characterised by a centreline velocity, a normal, and inner and outer fan angles. The centreline velocity and normal are Function1s and can vary with time. This is likely to be used in conjunction with a point injection model.
| Property | Description | Required? | Default |
|---|---|---|---|
Ucentre | The velocity along the centreline | yes | |
normal | Normal to the plane of the fan | yes | |
thetaInner | The inner fan angle | yes | |
thetaOuter | The outer fan angle | yes |
Example specification:
<LagrangianModelName>
{
type fanVelocity;
Ucentre
{
type table;
values
(
(0 (0.1 0 0))
(0.5 (0.5 0 0))
);
}
normal (0 0 1);
thetaInner 15 [deg];
thetaOuter 22.5 [deg];
}Definition at line 110 of file fanVelocityLagrangianVectorFieldSource.H.
| fanVelocityLagrangianVectorFieldSource | ( | const regIOobject & | iIo, |
| const dictionary & | dict | ||
| ) |
Construct from internal field and dictionary.
Definition at line 31 of file fanVelocityLagrangianVectorFieldSource.C.
Referenced by fanVelocityLagrangianVectorFieldSource::clone().

| fanVelocityLagrangianVectorFieldSource | ( | const fanVelocityLagrangianVectorFieldSource & | field, |
| const regIOobject & | iIo | ||
| ) |
Copy constructor setting the internal field reference.
Definition at line 54 of file fanVelocityLagrangianVectorFieldSource.C.
|
virtual |
Destructor.
Definition at line 70 of file fanVelocityLagrangianVectorFieldSource.C.
| TypeName | ( | "fanVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting the internal field reference.
Definition at line 153 of file fanVelocityLagrangianVectorFieldSource.H.
References fanVelocityLagrangianVectorFieldSource::fanVelocityLagrangianVectorFieldSource().

|
virtual |
Return the value for an instantaneous injection.
Definition at line 78 of file fanVelocityLagrangianVectorFieldSource.C.
References Foam::mag().

|
virtual |
Write.
Definition at line 92 of file fanVelocityLagrangianVectorFieldSource.C.
References Foam::dimVelocity, Foam::dimensions::time, fanDirectionLagrangianVectorFieldSource::write(), Foam::vtkWriteOps::write(), and Foam::writeEntry().
