|
|
|
PatchInjection< CloudType > Class Template ReferencePatch injection. More...
Inheritance diagram for PatchInjection< CloudType >:
![]()
Collaboration diagram for PatchInjection< CloudType >:
![]()
Detailed Descriptiontemplate<class CloudType>
Patch injection.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PatchInjection | ( | const dictionary & | dict, | |
| CloudType & | owner | |||
| ) | [inline] |
| ~PatchInjection | ( | ) | [inline, virtual] |
| Foam::label parcelsToInject | ( | const scalar | time0, | |
| const scalar | time1 | |||
| ) | const [inline, protected, virtual] |
Number of parcels to introduce over the time step relative to SOI.
Implements InjectionModel< CloudType >.
Definition at line 26 of file PatchInjection.C.
| Foam::scalar volumeToInject | ( | const scalar | time0, | |
| const scalar | time1 | |||
| ) | const [inline, protected, virtual] |
Volume of parcels to introduce over the time step relative to SOI.
Implements InjectionModel< CloudType >.
Definition at line 44 of file PatchInjection.C.
| TypeName | ( | "PatchInjection< CloudType >" | ) |
Runtime type information.
| bool active | ( | ) | const [inline, virtual] |
Flag to indicate whether model activates injection model.
Implements InjectionModel< CloudType >.
Definition at line 136 of file PatchInjection.C.
| Foam::scalar timeEnd | ( | ) | const [inline, virtual] |
Return the end-of-injection time.
Implements InjectionModel< CloudType >.
Definition at line 143 of file PatchInjection.C.
| void setPositionAndCell | ( | const label | parcelI, | |
| const label | nParcels, | |||
| const scalar | time, | |||
| vector & | position, | |||
| label & | cellOwner | |||
| ) | [inline, virtual] |
Set the injection position and owner cell.
Implements InjectionModel< CloudType >.
Definition at line 151 of file PatchInjection.C.
References InjectionModel< CloudType >::SOI_.
| void setProperties | ( | const label | parcelI, | |
| const label | nParcels, | |||
| const scalar | time, | |||
| typename CloudType::parcelType & | parcel | |||
| ) | [inline, virtual] |
Set the parcel properties.
Implements InjectionModel< CloudType >.
Definition at line 168 of file PatchInjection.C.
| bool fullyDescribed | ( | ) | const [inline, virtual] |
Flag to identify whether model fully describes the parcel.
Implements InjectionModel< CloudType >.
Definition at line 184 of file PatchInjection.C.
| bool validInjection | ( | const label | parcelI | ) | [inline, virtual] |
Return flag to identify whether or not injection of parcelI is.
permitted
Implements InjectionModel< CloudType >.
Definition at line 191 of file PatchInjection.C.