Particle injection sources read from look-up table. Each row corresponds to an injection site. More...
#include <lagrangianIntermediate/KinematicLookupTableInjection.H>
Particle injection sources read from look-up table. Each row corresponds to an injection site.
( (x y z) (u v w) d rho mDot // injector 1 (x y z) (u v w) d rho mDot // injector 2 ... (x y z) (u v w) d rho mDot // injector N );
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]
Definition at line 66 of file KinematicLookupTableInjection.H.
Inheritance diagram for KinematicLookupTableInjection< CloudType >:
Collaboration diagram for KinematicLookupTableInjection< CloudType >:Public Member Functions | |
| TypeName ("KinematicLookupTableInjection") | |
| Runtime type information.
| |
| KinematicLookupTableInjection (const dictionary &dict, CloudType &owner) | |
| Construct from dictionary.
| |
| virtual | ~KinematicLookupTableInjection () |
| 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.
| |
| KinematicLookupTableInjection | ( | const dictionary & | dict, |
| CloudType & | owner | ||
| ) |
Construct from dictionary.
Definition at line 73 of file KinematicLookupTableInjection.C.
References forAll.
| ~KinematicLookupTableInjection | ( | ) | [virtual]
|
Destructor.
Definition at line 118 of file KinematicLookupTableInjection.C.
| 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 KinematicLookupTableInjection.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 51 of file KinematicLookupTableInjection.C.
References forAll.
| TypeName | ( | "KinematicLookupTableInjection< CloudType >" | ) |
Runtime type information.
| bool active | ( | ) | const [virtual]
|
Flag to indicate whether model activates injection model.
Implements InjectionModel< CloudType >.
Definition at line 125 of file KinematicLookupTableInjection.C.
| Foam::scalar timeEnd | ( | ) | const [virtual]
|
Return the end-of-injection time.
Implements InjectionModel< CloudType >.
Definition at line 132 of file KinematicLookupTableInjection.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 140 of file KinematicLookupTableInjection.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 157 of file KinematicLookupTableInjection.C.
| bool fullyDescribed | ( | ) | const [virtual]
|
Flag to identify whether model fully describes the parcel.
Implements InjectionModel< CloudType >.
Definition at line 178 of file KinematicLookupTableInjection.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 186 of file KinematicLookupTableInjection.C.