FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

ConeInjectionMP< CloudType > Class Template Reference

Cone injection multi-point. More...

#include <lagrangianIntermediate/ConeInjectionMP.H>


Detailed Description

template<class CloudType>
class Foam::ConeInjectionMP< CloudType >

Cone injection multi-point.

- User specifies

  • time of start of injection
  • injector positions
  • directions (along injection axes)
  • parcel flow rate
  • parcel velocities
  • inner and outer cone angles

Parcel diameters obtained by PDF model

Source files

Definition at line 66 of file ConeInjectionMP.H.

Inheritance diagram for ConeInjectionMP< CloudType >:
Collaboration diagram for ConeInjectionMP< CloudType >:

List of all members.

Public Member Functions

 TypeName ("ConeInjectionMP")
 Runtime type information.
 ConeInjectionMP (const dictionary &dict, CloudType &owner)
 Construct from dictionary.
virtual  ~ConeInjectionMP ()
 Destructor.
bool  active () const
 Flag to indicate whether model activates injection model.
scalar  timeEnd () const
 Return the end-of-injection time.
virtual void  setPositionAndCell (const label parcelI, const label nParcels, const scalar time, vector &position, label &cellOwner)
 Set the injection position and owner cell.
virtual void  setProperties (const label parcelI, const label nParcels, const scalar time, typename CloudType::parcelType &parcel)
 Set the parcel properties.
virtual bool  fullyDescribed () const
 Flag to identify whether model fully describes the parcel.
virtual bool  validInjection (const label parcelI)
 Return flag to identify whether or not injection of parcelI is.

Protected Member Functions

label  parcelsToInject (const scalar time0, const scalar time1) const
 Number of parcels to introduce over the time step.
scalar  volumeToInject (const scalar time0, const scalar time1) const
 Number of parcels to introduce over the time step.

Constructor & Destructor Documentation

ConeInjectionMP ( const dictionary &   dict,
CloudType &   owner  
)

Construct from dictionary.

Definition at line 81 of file ConeInjectionMP.C.

References forAll, and Foam::mag().

~ConeInjectionMP (  ) [virtual]

Destructor.

Definition at line 200 of file ConeInjectionMP.C.


Member Function Documentation

Foam::label parcelsToInject ( const scalar   time0,
const scalar   time1  
) const [protected, virtual]

Number of parcels to introduce over the time step.

Implements InjectionModel< CloudType >.

Definition at line 34 of file ConeInjectionMP.C.

Foam::scalar volumeToInject ( const scalar   time0,
const scalar   time1  
) const [protected, virtual]

Number of parcels to introduce over the time step.

Implements InjectionModel< CloudType >.

Definition at line 61 of file ConeInjectionMP.C.

TypeName ( "ConeInjectionMP< CloudType >"    )

Runtime type information.

bool active (  ) const [virtual]

Flag to indicate whether model activates injection model.

Implements InjectionModel< CloudType >.

Definition at line 207 of file ConeInjectionMP.C.

Foam::scalar timeEnd (  ) const [virtual]

Return the end-of-injection time.

Implements InjectionModel< CloudType >.

Definition at line 214 of file ConeInjectionMP.C.

void setPositionAndCell ( const label   parcelI,
const label   nParcels,
const scalar   time,
vector &   position,
label &   cellOwner  
) [virtual]

Set the injection position and owner cell.

Implements InjectionModel< CloudType >.

Definition at line 222 of file ConeInjectionMP.C.

void setProperties ( const label   parcelI,
const label   nParcels,
const scalar   time,
typename CloudType::parcelType &   parcel  
) [virtual]
bool fullyDescribed (  ) const [virtual]

Flag to identify whether model fully describes the parcel.

Implements InjectionModel< CloudType >.

Definition at line 275 of file ConeInjectionMP.C.

bool validInjection ( const label   parcelI  ) [virtual]

Return flag to identify whether or not injection of parcelI is.

permitted

Implements InjectionModel< CloudType >.

Definition at line 282 of file ConeInjectionMP.C.


The documentation for this class was generated from the following files:
  • src/lagrangian/intermediate/submodels/Kinematic/InjectionModel/ConeInjectionMP/ConeInjectionMP.H
  • src/lagrangian/intermediate/submodels/Kinematic/InjectionModel/ConeInjectionMP/ConeInjectionMP.C