This source condition provides a conical velocity profile over a disk, characterised by a velocity magnitude and inner and outer cone angles. The velocity magnitude is a Function1 and can vary with time. This condition must be used in conjunction with a disk injection model. More...


Public Member Functions | |
| TypeName ("coneDiskVelocity") | |
| Runtime type information. More... | |
| coneDiskVelocityLagrangianVectorFieldSource (const regIOobject &, const dictionary &dict) | |
| Construct from internal field and dictionary. More... | |
| coneDiskVelocityLagrangianVectorFieldSource (const coneDiskVelocityLagrangianVectorFieldSource &, 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 | ~coneDiskVelocityLagrangianVectorFieldSource () |
| 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 conical velocity profile over a disk, characterised by a velocity magnitude and inner and outer cone angles. The velocity magnitude is a Function1 and can vary with time. This condition must be used in conjunction with a disk injection model.
| Property | Description | Required? | Default |
|---|---|---|---|
Umag | The velocity magnitude | yes | |
thetaInner | The inner cone angle | yes | |
thetaOuter | The outer cone angle | yes |
Example specification:
<LagrangianModelName>
{
type coneDiskVelocity;
Umag 0.4 [m/s];
thetaInner 5 [deg];
thetaOuter 30 [deg];
}Definition at line 92 of file coneDiskVelocityLagrangianVectorFieldSource.H.
| coneDiskVelocityLagrangianVectorFieldSource | ( | const regIOobject & | iIo, |
| const dictionary & | dict | ||
| ) |
Construct from internal field and dictionary.
Definition at line 32 of file coneDiskVelocityLagrangianVectorFieldSource.C.
Referenced by coneDiskVelocityLagrangianVectorFieldSource::clone().

| coneDiskVelocityLagrangianVectorFieldSource | ( | const coneDiskVelocityLagrangianVectorFieldSource & | field, |
| const regIOobject & | iIo | ||
| ) |
Copy constructor setting the internal field reference.
Definition at line 74 of file coneDiskVelocityLagrangianVectorFieldSource.C.
|
virtual |
Destructor.
Definition at line 91 of file coneDiskVelocityLagrangianVectorFieldSource.C.
| TypeName | ( | "coneDiskVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting the internal field reference.
Definition at line 140 of file coneDiskVelocityLagrangianVectorFieldSource.H.
References coneDiskVelocityLagrangianVectorFieldSource::coneDiskVelocityLagrangianVectorFieldSource().

|
virtual |
Return the value for an instantaneous injection.
Definition at line 99 of file coneDiskVelocityLagrangianVectorFieldSource.C.
References Foam::cos(), Foam::dimless, Foam::dimVelocity, DimensionedField< Type, GeoMesh, PrimitiveField >::New(), and Foam::sin().

|
virtual |
Write.
Definition at line 161 of file coneDiskVelocityLagrangianVectorFieldSource.C.
References Foam::dimVelocity, Foam::unitDegrees, Foam::vtkWriteOps::write(), and Foam::writeEntry().
