coneVelocityLagrangianVectorFieldSource Class Reference

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...

Inheritance diagram for coneVelocityLagrangianVectorFieldSource:
Collaboration diagram for coneVelocityLagrangianVectorFieldSource:

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< LagrangianSubVectorFieldvalue (const LagrangianInjection &, const LagrangianSubMesh &) const
 Return the value for an instantaneous injection. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

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.

Usage
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];
    }
See also
Foam::Function1s
Source files

Definition at line 103 of file coneVelocityLagrangianVectorFieldSource.H.

Constructor & Destructor Documentation

◆ coneVelocityLagrangianVectorFieldSource() [1/2]

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().

Here is the caller graph for this function:

◆ coneVelocityLagrangianVectorFieldSource() [2/2]

Copy constructor setting the internal field reference.

Definition at line 82 of file coneVelocityLagrangianVectorFieldSource.C.

◆ ~coneVelocityLagrangianVectorFieldSource()

Destructor.

Definition at line 101 of file coneVelocityLagrangianVectorFieldSource.C.

Member Function Documentation

◆ TypeName()

TypeName ( "coneVelocity"  )

Runtime type information.

◆ clone()

virtual autoPtr<LagrangianVectorFieldSource> clone ( const regIOobject iIo) const
inlinevirtual

Construct and return a clone setting the internal field reference.

Definition at line 157 of file coneVelocityLagrangianVectorFieldSource.H.

References coneVelocityLagrangianVectorFieldSource::coneVelocityLagrangianVectorFieldSource().

Here is the call graph for this function:

◆ value()

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 170 of file coneVelocityLagrangianVectorFieldSource.C.

References Foam::dimVelocity, Foam::unitDegrees, Foam::vtkWriteOps::write(), and Foam::writeEntry().

Here is the call graph for this function:

The documentation for this class was generated from the following files: