|
|
|
KinematicParcel< ParcelType > Class Template ReferenceKinematic parcel class with one/two-way coupling with the continuous phase. More...
Inheritance diagram for KinematicParcel< ParcelType >:
![]()
Collaboration diagram for KinematicParcel< ParcelType >:
![]()
Detailed Descriptiontemplate<class ParcelType>
Kinematic parcel class with one/two-way coupling with the continuous phase.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| KinematicParcel | ( | KinematicCloud< ParcelType > & | owner, | |
| const vector & | position, | |||
| const label | cellI | |||
| ) | [inline] |
Construct from owner, position, and cloud owner.
Other properties initialised as null
Definition at line 59 of file KinematicParcelI.H.
| KinematicParcel | ( | KinematicCloud< ParcelType > & | owner, | |
| const vector & | position, | |||
| const label | cellI, | |||
| const label | typeId, | |||
| const scalar | nParticle0, | |||
| const scalar | d0, | |||
| const vector & | U0, | |||
| const constantProperties & | constProps | |||
| ) | [inline] |
| KinematicParcel | ( | const Cloud< ParcelType > & | c, | |
| Istream & | is, | |||
| bool | readFields = true | |||
| ) | [inline] |
Construct from Istream.
Definition at line 41 of file KinematicParcelIO.C.
References IOstream::ASCII, IOstream::check(), KinematicParcel< ParcelType >::d_, IOstream::format(), KinematicParcel< ParcelType >::nParticle_, Istream::read(), Foam::readScalar(), KinematicParcel< ParcelType >::rho_, KinematicParcel< ParcelType >::tTurb_, KinematicParcel< ParcelType >::typeId_, KinematicParcel< ParcelType >::U_, and KinematicParcel< ParcelType >::UTurb_.

| KinematicParcel | ( | const KinematicParcel< ParcelType > & | p | ) |
Construct as a copy.
| TypeName | ( | "KinematicParcel< ParcelType >" | ) |
Runtime type information.
| autoPtr<KinematicParcel> clone | ( | ) | const [inline] |
Construct and return a clone.
Reimplemented from Particle< ParcelType >.
Reimplemented in CoalParcel< ThermoType >, basicKinematicParcel, BasicReactingMultiphaseParcel< ThermoType >, BasicReactingParcel< ThermoType >, basicThermoParcel, ReactingMultiphaseParcel< ParcelType >, ReactingParcel< ParcelType >, ThermoParcel< ParcelType >, ReactingMultiphaseParcel< CoalParcel< ThermoType > >, ReactingMultiphaseParcel< BasicReactingMultiphaseParcel< ThermoType > >, ReactingParcel< CoalParcel< ThermoType > >, ReactingParcel< BasicReactingParcel< ThermoType > >, ReactingParcel< BasicReactingMultiphaseParcel< ThermoType > >, ReactingParcel< ParcelType >, ThermoParcel< CoalParcel< ThermoType > >, ThermoParcel< BasicReactingMultiphaseParcel< ThermoType > >, ThermoParcel< BasicReactingParcel< ThermoType > >, ThermoParcel< basicThermoParcel >, and ThermoParcel< ParcelType >.
Definition at line 303 of file KinematicParcel.H.
| Foam::label typeId | ( | ) | const [inline] |
| Foam::scalar nParticle | ( | ) | const [inline] |
Return const access to number of particles.
Definition at line 200 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::typeId_.
| Foam::scalar d | ( | ) | const [inline] |
Return const access to diameter.
Definition at line 207 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::nParticle_.
| const Foam::vector & U | ( | ) | const [inline] |
Return const access to velocity.
Definition at line 214 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::d_.
| Foam::scalar rho | ( | ) | const [inline] |
Return const access to density.
Definition at line 221 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::U_.
| Foam::scalar tTurb | ( | ) | const [inline] |
Return const access to time spent in turbulent eddy.
Definition at line 228 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::rho_.
| const Foam::vector & UTurb | ( | ) | const [inline] |
Return const access to turbulent velocity fluctuation.
Definition at line 235 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::tTurb_.
| Foam::label typeId | ( | ) | [inline] |
Return access to type id.
Definition at line 242 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::UTurb_.
| Foam::scalar & nParticle | ( | ) | [inline] |
Return access to number of particles.
Definition at line 249 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::typeId_.
| Foam::scalar & d | ( | ) | [inline] |
Return access to diameter.
Definition at line 256 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::nParticle_.
| Foam::vector & U | ( | ) | [inline] |
Return access to velocity.
Definition at line 263 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::d_.
| Foam::scalar & rho | ( | ) | [inline] |
Return access to density.
Definition at line 270 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::U_.
| Foam::scalar & tTurb | ( | ) | [inline] |
Return access to time spent in turbulent eddy.
Definition at line 277 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::rho_.
| Foam::vector & UTurb | ( | ) | [inline] |
Return access to turbulent velocity fluctuation.
Definition at line 284 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::tTurb_.
| Foam::scalar wallImpactDistance | ( | const vector & | n | ) | const [inline] |
The nearest distance to a wall that.
the particle can be in the n direction
Reimplemented from Particle< ParcelType >.
Definition at line 292 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::UTurb_.
| Foam::label faceInterpolation | ( | ) | const [inline] |
Return the index of the face to be used in the interpolation.
routine
Reimplemented from Particle< ParcelType >.
Definition at line 301 of file KinematicParcelI.H.
| Foam::scalar massCell | ( | const label | cellI | ) | const [inline] |
| Foam::scalar mass | ( | ) | const [inline] |
| Foam::scalar volume | ( | ) | const [inline] |
Particle volume.
Definition at line 333 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::rho_.
Referenced by KinematicParcel< ParcelType >::volume().

| Foam::scalar volume | ( | const scalar | d | ) | const [inline] |
Particle volume for a given diameter.
Definition at line 341 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::d_, and KinematicParcel< ParcelType >::volume().

| Foam::scalar areaP | ( | ) | const [inline] |
Particle projected area.
Definition at line 348 of file KinematicParcelI.H.
References Foam::mathematicalConstant::pi, and Foam::pow3().
Referenced by KinematicParcel< ParcelType >::areaP().


| Foam::scalar areaP | ( | const scalar | d | ) | const [inline] |
Projected area for given diameter.
Definition at line 356 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::areaP(), and KinematicParcel< ParcelType >::d_.

| Foam::scalar areaS | ( | ) | const [inline] |
Particle surface area.
Definition at line 363 of file KinematicParcelI.H.
Referenced by KinematicParcel< ParcelType >::areaS().

| Foam::scalar areaS | ( | const scalar | d | ) | const [inline] |
Surface area for given diameter.
Definition at line 371 of file KinematicParcelI.H.
References KinematicParcel< ParcelType >::areaS(), and KinematicParcel< ParcelType >::d_.

Set cell values.
Reimplemented in ReactingMultiphaseParcel< ParcelType >, ReactingParcel< ParcelType >, ThermoParcel< ParcelType >, ReactingMultiphaseParcel< CoalParcel< ThermoType > >, ReactingMultiphaseParcel< BasicReactingMultiphaseParcel< ThermoType > >, ReactingParcel< CoalParcel< ThermoType > >, ReactingParcel< BasicReactingParcel< ThermoType > >, ReactingParcel< BasicReactingMultiphaseParcel< ThermoType > >, ReactingParcel< ParcelType >, ThermoParcel< CoalParcel< ThermoType > >, ThermoParcel< BasicReactingMultiphaseParcel< ThermoType > >, ThermoParcel< BasicReactingParcel< ThermoType > >, ThermoParcel< basicThermoParcel >, and ThermoParcel< ParcelType >.
Definition at line 26 of file KinematicParcel.C.
References Foam::endl(), Foam::nl, and WarningIn.

Correct cell values using latest transfer information.
Reimplemented in ReactingMultiphaseParcel< ParcelType >, ReactingParcel< ParcelType >, ThermoParcel< ParcelType >, ReactingMultiphaseParcel< CoalParcel< ThermoType > >, ReactingMultiphaseParcel< BasicReactingMultiphaseParcel< ThermoType > >, ReactingParcel< CoalParcel< ThermoType > >, ReactingParcel< BasicReactingParcel< ThermoType > >, ReactingParcel< BasicReactingMultiphaseParcel< ThermoType > >, ReactingParcel< ParcelType >, ThermoParcel< CoalParcel< ThermoType > >, ThermoParcel< BasicReactingMultiphaseParcel< ThermoType > >, ThermoParcel< BasicReactingParcel< ThermoType > >, ThermoParcel< basicThermoParcel >, and ThermoParcel< ParcelType >.
Definition at line 69 of file KinematicParcel.C.
Update parcel properties over the time interval.
Reimplemented in ReactingMultiphaseParcel< ParcelType >, ReactingParcel< ParcelType >, ThermoParcel< ParcelType >, ReactingMultiphaseParcel< CoalParcel< ThermoType > >, ReactingMultiphaseParcel< BasicReactingMultiphaseParcel< ThermoType > >, ReactingParcel< CoalParcel< ThermoType > >, ReactingParcel< BasicReactingParcel< ThermoType > >, ReactingParcel< BasicReactingMultiphaseParcel< ThermoType > >, ReactingParcel< ParcelType >, ThermoParcel< CoalParcel< ThermoType > >, ThermoParcel< BasicReactingMultiphaseParcel< ThermoType > >, ThermoParcel< BasicReactingParcel< ThermoType > >, ThermoParcel< basicThermoParcel >, and ThermoParcel< ParcelType >.
Definition at line 82 of file KinematicParcel.C.
| bool move | ( | TrackData & | td | ) | [inline] |
Overridable function to handle the particle hitting a patch.
Executed before other patch-hitting functions
Reimplemented from Particle< ParcelType >.
Definition at line 264 of file KinematicParcel.C.
Overridable function to handle the particle hitting a patch.
Executed before other patch-hitting functions without trackData
Definition at line 279 of file KinematicParcel.C.
| void hitProcessorPatch | ( | const processorPolyPatch & | , | |
| TrackData & | td | |||
| ) | [inline] |
Overridable function to handle the particle hitting a.
processorPatch
Reimplemented from Particle< ParcelType >.
Definition at line 292 of file KinematicParcel.C.
| void hitProcessorPatch | ( | const processorPolyPatch & | , | |
| int & | ||||
| ) | [inline] |
Overridable function to handle the particle hitting a.
processorPatch without trackData
Definition at line 303 of file KinematicParcel.C.
| void hitWallPatch | ( | const wallPolyPatch & | wpp, | |
| TrackData & | td | |||
| ) | [inline] |
Overridable function to handle the particle hitting a wallPatch.
Reimplemented from Particle< ParcelType >.
Definition at line 313 of file KinematicParcel.C.
| void hitWallPatch | ( | const wallPolyPatch & | , | |
| int & | ||||
| ) | [inline] |
Overridable function to handle the particle hitting a wallPatch.
without trackData
Definition at line 324 of file KinematicParcel.C.
| void hitPatch | ( | const polyPatch & | , | |
| TrackData & | td | |||
| ) | [inline] |
Overridable function to handle the particle hitting a polyPatch.
Reimplemented from Particle< ParcelType >.
Definition at line 334 of file KinematicParcel.C.
| void hitPatch | ( | const polyPatch & | , | |
| int & | ||||
| ) | [inline] |
Overridable function to handle the particle hitting a polyPatch without trackData
Definition at line 344 of file KinematicParcel.C.
| void transformProperties | ( | const tensor & | T | ) | [inline, virtual] |
Transform the physical properties of the particle.
according to the given transformation tensor
Reimplemented from Particle< ParcelType >.
Definition at line 349 of file KinematicParcel.C.
| void transformProperties | ( | const vector & | separation | ) | [inline, virtual] |
Transform the physical properties of the particle.
according to the given separation vector
Reimplemented from Particle< ParcelType >.
Definition at line 358 of file KinematicParcel.C.
References Foam::transform().

| void readFields | ( | KinematicCloud< ParcelType > & | c | ) | [inline, static] |
| void writeFields | ( | const KinematicCloud< ParcelType > & | c | ) | [inline, static] |
friend class Cloud< ParcelType > [friend] |
Reimplemented in ReactingMultiphaseParcel< ParcelType >, ReactingParcel< ParcelType >, ThermoParcel< ParcelType >, ReactingMultiphaseParcel< CoalParcel< ThermoType > >, ReactingMultiphaseParcel< BasicReactingMultiphaseParcel< ThermoType > >, ReactingParcel< CoalParcel< ThermoType > >, ReactingParcel< BasicReactingParcel< ThermoType > >, ReactingParcel< BasicReactingMultiphaseParcel< ThermoType > >, ReactingParcel< ParcelType >, ThermoParcel< CoalParcel< ThermoType > >, ThermoParcel< BasicReactingMultiphaseParcel< ThermoType > >, ThermoParcel< BasicReactingParcel< ThermoType > >, ThermoParcel< basicThermoParcel >, and ThermoParcel< ParcelType >.
Definition at line 262 of file KinematicParcel.H.
| Ostream& operator | ( | Ostream & | , | |
| const KinematicParcel< ParcelType > & | ||||
| ) | [friend] |
Parcel type id.
Definition at line 200 of file KinematicParcel.H.
Referenced by KinematicParcel< ParcelType >::KinematicParcel(), and KinematicParcel< ParcelType >::nParticle().
scalar nParticle_ [protected] |
Number of particles in Parcel.
Definition at line 203 of file KinematicParcel.H.
Referenced by KinematicParcel< ParcelType >::d(), and KinematicParcel< ParcelType >::KinematicParcel().
Diameter [m].
Definition at line 206 of file KinematicParcel.H.
Referenced by KinematicParcel< ParcelType >::areaP(), KinematicParcel< ParcelType >::areaS(), KinematicParcel< ParcelType >::KinematicParcel(), KinematicParcel< ParcelType >::U(), and KinematicParcel< ParcelType >::volume().
Velocity of Parcel [m/s].
Definition at line 209 of file KinematicParcel.H.
Referenced by KinematicParcel< ParcelType >::KinematicParcel(), and KinematicParcel< ParcelType >::rho().
Density [kg/m3].
Definition at line 212 of file KinematicParcel.H.
Referenced by KinematicParcel< ParcelType >::KinematicParcel(), KinematicParcel< ParcelType >::tTurb(), and KinematicParcel< ParcelType >::volume().
Time spent in turbulent eddy [s].
Definition at line 215 of file KinematicParcel.H.
Referenced by KinematicParcel< ParcelType >::KinematicParcel(), and KinematicParcel< ParcelType >::UTurb().
Turbulent velocity fluctuation [m/s].
Definition at line 218 of file KinematicParcel.H.
Referenced by KinematicParcel< ParcelType >::KinematicParcel(), KinematicParcel< ParcelType >::typeId(), and KinematicParcel< ParcelType >::wallImpactDistance().
Foam::string propHeader [inline, static] |
Initial value:
Particle<ParcelType>::propHeader
+ " typeId"
+ " nParticle"
+ " d"
+ " (Ux Uy Uz)"
+ " rho"
+ " tTurb"
+ " UTurb"
Reimplemented from Particle< ParcelType >.
Reimplemented in ReactingMultiphaseParcel< ParcelType >, ReactingParcel< ParcelType >, ThermoParcel< ParcelType >, ReactingMultiphaseParcel< CoalParcel< ThermoType > >, ReactingMultiphaseParcel< BasicReactingMultiphaseParcel< ThermoType > >, ReactingParcel< CoalParcel< ThermoType > >, ReactingParcel< BasicReactingParcel< ThermoType > >, ReactingParcel< BasicReactingMultiphaseParcel< ThermoType > >, ReactingParcel< ParcelType >, ThermoParcel< CoalParcel< ThermoType > >, ThermoParcel< BasicReactingMultiphaseParcel< ThermoType > >, ThermoParcel< BasicReactingParcel< ThermoType > >, ThermoParcel< basicThermoParcel >, and ThermoParcel< ParcelType >.
Definition at line 256 of file KinematicParcel.H.