This source condition provides a conical velocity profile, characterised by a mean velocity and inner and outer cone angles. The mean velocity is a Function1 and can vary with time. This is likely to be used in conjunction with a point injection model. More...


Public Member Functions | |
| TypeName ("coneVelocity") | |
| Runtime type information. More... | |
| coneVelocityLagrangianVectorFieldSource (const regIOobject &, const dictionary &dict) | |
| Construct from internal field and dictionary. More... | |
| coneVelocityLagrangianVectorFieldSource (const coneVelocityLagrangianVectorFieldSource &, 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 | ~coneVelocityLagrangianVectorFieldSource () |
| 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, characterised by a mean velocity and inner and outer cone angles. The mean velocity is a Function1 and can vary with time. This is likely to be used in conjunction with a point injection model.
| Property | Description | Required? | Default |
|---|---|---|---|
Umean | The velocity along the centreline | yes | |
thetaInner | The inner cone angle | yes | |
thetaOuter | The outer cone angle | yes |
Example specification:
<LagrangianModelName>
{
type coneVelocity;
Umean
{
type table;
values
(
(0 (0.1 0 0))
(0.5 (0.5 0 0))
);
}
thetaInner 15 [deg];
thetaOuter 22.5 [deg];
}Definition at line 103 of file coneVelocityLagrangianVectorFieldSource.H.
| coneVelocityLagrangianVectorFieldSource | ( | const regIOobject & | iIo, |
| const dictionary & | dict | ||
| ) |
Construct from internal field and dictionary.
Definition at line 32 of file coneVelocityLagrangianVectorFieldSource.C.
Referenced by coneVelocityLagrangianVectorFieldSource::clone().

| coneVelocityLagrangianVectorFieldSource | ( | const coneVelocityLagrangianVectorFieldSource & | field, |
| const regIOobject & | iIo | ||
| ) |
Copy constructor setting the internal field reference.
Definition at line 82 of file coneVelocityLagrangianVectorFieldSource.C.
|
virtual |
Destructor.
Definition at line 101 of file coneVelocityLagrangianVectorFieldSource.C.
| TypeName | ( | "coneVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting the internal field reference.
Definition at line 157 of file coneVelocityLagrangianVectorFieldSource.H.
References coneVelocityLagrangianVectorFieldSource::coneVelocityLagrangianVectorFieldSource().

|
virtual |
Return the value for an instantaneous injection.
Definition at line 109 of file coneVelocityLagrangianVectorFieldSource.C.
References tmp< T >::clear(), Foam::cos(), Foam::dimless, Foam::mag(), DimensionedField< Type, GeoMesh, PrimitiveField >::New(), Foam::normalised(), Foam::perpendicular(), Foam::sin(), LagrangianSubMesh::size(), Foam::sqr(), Foam::sqrt(), timeIndex, and Foam::constant::mathematical::twoPi().

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