fanVelocityLagrangianVectorFieldSource Class Reference

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

Inheritance diagram for fanVelocityLagrangianVectorFieldSource:
Collaboration diagram for fanVelocityLagrangianVectorFieldSource:

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

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

Definition at line 110 of file fanVelocityLagrangianVectorFieldSource.H.

Constructor & Destructor Documentation

◆ fanVelocityLagrangianVectorFieldSource() [1/2]

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

Here is the caller graph for this function:

◆ fanVelocityLagrangianVectorFieldSource() [2/2]

Copy constructor setting the internal field reference.

Definition at line 54 of file fanVelocityLagrangianVectorFieldSource.C.

◆ ~fanVelocityLagrangianVectorFieldSource()

Destructor.

Definition at line 70 of file fanVelocityLagrangianVectorFieldSource.C.

Member Function Documentation

◆ TypeName()

TypeName ( "fanVelocity"  )

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 153 of file fanVelocityLagrangianVectorFieldSource.H.

References fanVelocityLagrangianVectorFieldSource::fanVelocityLagrangianVectorFieldSource().

Here is the call graph for this function:

◆ value()

Foam::tmp< Foam::LagrangianSubVectorField > value ( const LagrangianInjection injection,
const LagrangianSubMesh subMesh 
) const
virtual

Return the value for an instantaneous injection.

Definition at line 78 of file fanVelocityLagrangianVectorFieldSource.C.

References Foam::mag().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

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