totalPressureConeVelocityLagrangianVectorFieldSource Class Reference

This source condition provides a conical velocity profile, characterised by inner and outer cone angles, with a magnitude calculated from the difference between a specified upstream pressure and the local interpolated pressure. More...

Inheritance diagram for totalPressureConeVelocityLagrangianVectorFieldSource:
Collaboration diagram for totalPressureConeVelocityLagrangianVectorFieldSource:

Public Member Functions

 TypeName ("totalPressureConeVelocity")
 Runtime type information. More...
 
 totalPressureConeVelocityLagrangianVectorFieldSource (const regIOobject &, const dictionary &dict)
 Construct from internal field and dictionary. More...
 
 totalPressureConeVelocityLagrangianVectorFieldSource (const totalPressureConeVelocityLagrangianVectorFieldSource &, 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 ~totalPressureConeVelocityLagrangianVectorFieldSource ()
 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 inner and outer cone angles, with a magnitude calculated from the difference between a specified upstream pressure and the local interpolated pressure.

Usage
Property Description Required? Default
direction The velocity direction yes
thetaInner The inner cone angle yes
thetaOuter The outer cone angle yes
p0 The upstream total pressure yes
pc The name of the carrier pressure field no p

Example specification:

    <LagrangianModelName>
    {
        type            totalPressureConeVelocity;
        direction       (1 0 0);
        thetaInner      15 [deg];
        thetaOuter      22.5 [deg];
        p0              1 [bar];
    }
See also
Foam::Function1s
Source files

Definition at line 110 of file totalPressureConeVelocityLagrangianVectorFieldSource.H.

Constructor & Destructor Documentation

◆ totalPressureConeVelocityLagrangianVectorFieldSource() [1/2]

Construct from internal field and dictionary.

Definition at line 31 of file totalPressureConeVelocityLagrangianVectorFieldSource.C.

◆ totalPressureConeVelocityLagrangianVectorFieldSource() [2/2]

Copy constructor setting the internal field reference.

Definition at line 61 of file totalPressureConeVelocityLagrangianVectorFieldSource.C.

◆ ~totalPressureConeVelocityLagrangianVectorFieldSource()

Member Function Documentation

◆ TypeName()

TypeName ( "totalPressureConeVelocity"  )

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 totalPressureConeVelocityLagrangianVectorFieldSource.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 92 of file totalPressureConeVelocityLagrangianVectorFieldSource.C.

References Foam::dimless, and Foam::normalised().

Here is the call graph for this function:

◆ write()


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