Cone injection. More...
#include <lagrangianIntermediate/ConeInjection.H>
Cone injection.
Parcel diameters obtained by PDF model
Definition at line 65 of file ConeInjection.H.
Public Member Functions | |
TypeName ("ConeInjection") | |
Runtime type information.
| |
ConeInjection (const dictionary &dict, CloudType &owner) | |
Construct from dictionary.
| |
virtual | ~ConeInjection () |
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 |
Number of parcels to introduce over the time step relative to SOI.
|
ConeInjection | ( | const dictionary & | dict, |
CloudType & | owner | ||
) |
~ConeInjection | ( | ) | [virtual]
|
Destructor.
Definition at line 158 of file ConeInjection.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 34 of file ConeInjection.C.
Foam::scalar volumeToInject | ( | 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 52 of file ConeInjection.C.
TypeName | ( | "ConeInjection< CloudType >" | ) |
Runtime type information.
bool active | ( | ) | const [virtual]
|
Flag to indicate whether model activates injection model.
Implements InjectionModel< CloudType >.
Definition at line 165 of file ConeInjection.C.
Foam::scalar timeEnd | ( | ) | const [virtual]
|
Return the end-of-injection time.
Implements InjectionModel< CloudType >.
Definition at line 172 of file ConeInjection.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 180 of file ConeInjection.C.
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 195 of file ConeInjection.C.
References beta(), Foam::cos(), Foam::mag(), Foam::mathematicalConstant::pi(), Foam::sin(), and Foam::mathematicalConstant::twoPi().
bool fullyDescribed | ( | ) | const [virtual]
|
Flag to identify whether model fully describes the parcel.
Implements InjectionModel< CloudType >.
Definition at line 228 of file ConeInjection.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 235 of file ConeInjection.C.