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

ReactingMultiphaseLookupTableInjection< CloudType > Class Template Reference

Particle injection sources read from look-up table. Each row corresponds to an injection site. More...

#include <lagrangianIntermediate/ReactingMultiphaseLookupTableInjection.H>


Detailed Description

template<class CloudType>
class Foam::ReactingMultiphaseLookupTableInjection< CloudType >

Particle injection sources read from look-up table. Each row corresponds to an injection site.

( (x y z) (u v w) d rho mDot T cp (Y0..Y2) (Yg0..YgN) (Yl0..YlN) (Ys0..YsN) (x y z) (u v w) d rho mDot T cp (Y0..Y2) (Yg0..YgN) (Yl0..YlN) (Ys0..YsN) ... (x y z) (u v w) d rho mDot T cp (Y0..Y2) (Yg0..YgN) (Yl0..YlN) (Ys0..YsN) );

where: x, y, z = global cartesian co-ordinates [m] u, v, w = global cartesian velocity components [m/s] d= diameter [m] rho = density [kg/m3] mDot = mass flow rate [kg/m3] T= temperature [K] cp = specific heat capacity [J/kg/K] Y(3) = total mass fraction of gas (Y0), liquid (Y1), solid (Y3) Yg(Ngas) = mass fractions of gaseous components Yl(Nliq) = mass fractions of liquid components Ys(Nsld) = mass fractions of solid components

Source files

Definition at line 72 of file ReactingMultiphaseLookupTableInjection.H.

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

List of all members.

Public Member Functions

 TypeName ("ReactingMultiphaseLookupTableInjection")
 Runtime type information.
 ReactingMultiphaseLookupTableInjection (const dictionary &dict, CloudType &owner)
 Construct from dictionary.
virtual  ~ReactingMultiphaseLookupTableInjection ()
 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 relative to SOI.
scalar  volumeToInject (const scalar time0, const scalar time1) const
 Volume of parcels to introduce over the time step relative to SOI.

Constructor & Destructor Documentation

ReactingMultiphaseLookupTableInjection ( const dictionary &   dict,
CloudType &   owner  
)

Construct from dictionary.

Definition at line 75 of file ReactingMultiphaseLookupTableInjection.C.

References forAll.

Destructor.

Definition at line 121 of file ReactingMultiphaseLookupTableInjection.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 relative to SOI.

Implements InjectionModel< CloudType >.

Definition at line 33 of file ReactingMultiphaseLookupTableInjection.C.

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

Volume of parcels to introduce over the time step relative to SOI.

Implements InjectionModel< CloudType >.

Definition at line 52 of file ReactingMultiphaseLookupTableInjection.C.

References forAll.

TypeName ( "ReactingMultiphaseLookupTableInjection< CloudType >"    )

Runtime type information.

bool active (  ) const [virtual]

Flag to indicate whether model activates injection model.

Implements InjectionModel< CloudType >.

Definition at line 128 of file ReactingMultiphaseLookupTableInjection.C.

Foam::scalar timeEnd (  ) const [virtual]

Return the end-of-injection time.

Implements InjectionModel< CloudType >.

Definition at line 136 of file ReactingMultiphaseLookupTableInjection.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 144 of file ReactingMultiphaseLookupTableInjection.C.

References Vector< Cmpt >::x().

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

Set the parcel properties.

Implements InjectionModel< CloudType >.

Definition at line 161 of file ReactingMultiphaseLookupTableInjection.C.

bool fullyDescribed (  ) const [virtual]

Flag to identify whether model fully describes the parcel.

Implements InjectionModel< CloudType >.

Definition at line 201 of file ReactingMultiphaseLookupTableInjection.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 209 of file ReactingMultiphaseLookupTableInjection.C.


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