flowRateConeDiskVelocityLagrangianVectorFieldSource Class Reference

This source condition provides a conical velocity profile over a disk, characterised by inner and outer cone angles. The velocity magnitude is obtained from the area of the disk and the flow rate of the corresponding flowRateNumber condition. This condition must be used in conjunction with a disk injection model and a flow rate condition from the number. More...

Inheritance diagram for flowRateConeDiskVelocityLagrangianVectorFieldSource:
Collaboration diagram for flowRateConeDiskVelocityLagrangianVectorFieldSource:

Public Member Functions

 TypeName ("flowRateConeDiskVelocity")
 Runtime type information. More...
 
 flowRateConeDiskVelocityLagrangianVectorFieldSource (const regIOobject &, const dictionary &dict)
 Construct from internal field and dictionary. More...
 
 flowRateConeDiskVelocityLagrangianVectorFieldSource (const flowRateConeDiskVelocityLagrangianVectorFieldSource &, 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 ~flowRateConeDiskVelocityLagrangianVectorFieldSource ()
 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 over a disk, characterised by inner and outer cone angles. The velocity magnitude is obtained from the area of the disk and the flow rate of the corresponding flowRateNumber condition. This condition must be used in conjunction with a disk injection model and a flow rate condition from the number.

Usage
Property Description Required? Default
thetaInner The inner cone angle yes
thetaOuter The outer cone angle yes

Example specification:

    <LagrangianModelName>
    {
        type            flowRateConeDiskVelocity;
        thetaInner      5 [deg];
        thetaOuter      30 [deg];
    }
Source files

Definition at line 86 of file flowRateConeDiskVelocityLagrangianVectorFieldSource.H.

Constructor & Destructor Documentation

◆ flowRateConeDiskVelocityLagrangianVectorFieldSource() [1/2]

Construct from internal field and dictionary.

Definition at line 34 of file flowRateConeDiskVelocityLagrangianVectorFieldSource.C.

◆ flowRateConeDiskVelocityLagrangianVectorFieldSource() [2/2]

Copy constructor setting the internal field reference.

Definition at line 47 of file flowRateConeDiskVelocityLagrangianVectorFieldSource.C.

◆ ~flowRateConeDiskVelocityLagrangianVectorFieldSource()

Member Function Documentation

◆ TypeName()

TypeName ( "flowRateConeDiskVelocity"  )

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 115 of file flowRateConeDiskVelocityLagrangianVectorFieldSource.H.

◆ value()

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

Return the value for an instantaneous injection.

Definition at line 70 of file flowRateConeDiskVelocityLagrangianVectorFieldSource.C.

References Foam::average(), LagrangianModel::name(), and flowRateNumberLagrangianScalarFieldSource::Q().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 98 of file flowRateConeDiskVelocityLagrangianVectorFieldSource.C.

References coneDiskDirectionLagrangianVectorFieldSource::write(), and Foam::vtkWriteOps::write().

Here is the call graph for this function:

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