coneDiskDirectionLagrangianVectorFieldSource Class Reference

Mix-in for source conditions that provides a random injection direction on a disk between two cone angles. More...

Inheritance diagram for coneDiskDirectionLagrangianVectorFieldSource:

Public Member Functions

 coneDiskDirectionLagrangianVectorFieldSource (const LagrangianFieldSourceBase &, const dictionary &dict)
 Construct from a dictionary. More...
 
 coneDiskDirectionLagrangianVectorFieldSource (const coneDiskDirectionLagrangianVectorFieldSource &, const LagrangianFieldSourceBase &)
 Copy constructor. More...
 
 ~coneDiskDirectionLagrangianVectorFieldSource ()
 Destructor. More...
 
tmp< LagrangianSubVectorFielddirection (const LagrangianInjection &, const LagrangianSubMesh &) const
 Return the value for an instantaneous injection. More...
 
void write (Ostream &) const
 Write. More...
 

Detailed Description

Mix-in for source conditions that provides a random injection direction on a disk between two cone angles.

Source files

Definition at line 52 of file coneDiskDirectionLagrangianVectorFieldSource.H.

Constructor & Destructor Documentation

◆ coneDiskDirectionLagrangianVectorFieldSource() [1/2]

Construct from a dictionary.

Definition at line 33 of file coneDiskDirectionLagrangianVectorFieldSource.C.

◆ coneDiskDirectionLagrangianVectorFieldSource() [2/2]

◆ ~coneDiskDirectionLagrangianVectorFieldSource()

Member Function Documentation

◆ direction()

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

Return the value for an instantaneous injection.

Definition at line 87 of file coneDiskDirectionLagrangianVectorFieldSource.C.

References diskInjection::axis(), Foam::cos(), Foam::dimless, diskInjection::radial(), diskInjection::rFrac(), Foam::sin(), and Function1LagrangianFieldSource::value().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const

Write.

Definition at line 112 of file coneDiskDirectionLagrangianVectorFieldSource.C.

References Foam::units::degrees, and Foam::writeEntry().

Referenced by coneDiskVelocityLagrangianVectorFieldSource::write(), and flowRateConeDiskVelocityLagrangianVectorFieldSource::write().

Here is the call graph for this function:
Here is the caller graph for this function:

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