|
|
|
DsmcParcel< ParcelType > Class Template ReferenceDSMC parcel class. More...
Inheritance diagram for DsmcParcel< ParcelType >:
![]()
Collaboration diagram for DsmcParcel< ParcelType >:
![]()
Detailed Descriptiontemplate<class ParcelType>
DSMC parcel class.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DsmcParcel | ( | const Cloud< ParcelType > & | c, | |
| Istream & | is, | |||
| bool | readFields = true | |||
| ) | [inline] |
Construct from Istream.
Definition at line 27 of file DsmcParcelIO.C.
References IOstream::ASCII, IOstream::check(), DsmcParcel< ParcelType >::Ei_, IOstream::format(), Istream::read(), Foam::readScalar(), DsmcParcel< ParcelType >::typeId_, and DsmcParcel< ParcelType >::U_.

| TypeName | ( | "DsmcParcel< ParcelType >" | ) |
Runtime type information.
| autoPtr<ParcelType> clone | ( | ) | const [inline] |
Construct and return a clone.
Reimplemented from Particle< ParcelType >.
Reimplemented in dsmcParcel.
Definition at line 201 of file DsmcParcel.H.
| Foam::label typeId | ( | ) | const [inline] |
Return type id.
Definition at line 129 of file DsmcParcelI.H.
References Particle< ParcelType >::cloud_.
| const Foam::vector & U | ( | ) | const [inline] |
Return const access to velocity.
Definition at line 136 of file DsmcParcelI.H.
References DsmcParcel< ParcelType >::typeId_.
| Foam::scalar Ei | ( | ) | const [inline] |
Return const access to internal energy.
Definition at line 143 of file DsmcParcelI.H.
References DsmcParcel< ParcelType >::U_.
| Foam::vector & U | ( | ) | [inline] |
Return access to velocity.
Definition at line 150 of file DsmcParcelI.H.
References DsmcParcel< ParcelType >::Ei_.
| Foam::scalar & Ei | ( | ) | [inline] |
Return access to internal energy.
Definition at line 157 of file DsmcParcelI.H.
References DsmcParcel< ParcelType >::U_.
| bool move | ( | TrackData & | td | ) | [inline] |
Move the parcel.
Definition at line 26 of file DsmcParcel.C.
References polyMesh::boundaryMesh(), mesh, Foam::min(), p, and DsmcParcel< ParcelType >::U_.

Overridable function to handle the particle hitting a patch.
Executed before other patch-hitting functions
Reimplemented from Particle< ParcelType >.
Definition at line 69 of file DsmcParcel.C.
| void hitProcessorPatch | ( | const processorPolyPatch & | , | |
| TrackData & | td | |||
| ) | [inline] |
Overridable function to handle the particle hitting a.
processorPatch
Reimplemented from Particle< ParcelType >.
Definition at line 82 of file DsmcParcel.C.
| void hitProcessorPatch | ( | const processorPolyPatch & | , | |
| int & | ||||
| ) | [inline] |
Overridable function to handle the particle hitting a.
processorPatch without trackData
Definition at line 93 of file DsmcParcel.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 103 of file DsmcParcel.C.
| void hitWallPatch | ( | const wallPolyPatch & | , | |
| int & | ||||
| ) | [inline] |
Overridable function to handle the particle hitting a wallPatch.
without trackData
Definition at line 153 of file DsmcParcel.C.
| void hitPatch | ( | const polyPatch & | , | |
| TrackData & | td | |||
| ) | [inline] |
Overridable function to handle the particle hitting a polyPatch.
Reimplemented from Particle< ParcelType >.
Definition at line 163 of file DsmcParcel.C.
| void hitPatch | ( | const polyPatch & | , | |
| int & | ||||
| ) | [inline] |
Overridable function to handle the particle hitting a polyPatch without trackData
Definition at line 174 of file DsmcParcel.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 183 of file DsmcParcel.C.
Referenced by DsmcParcel< ParcelType >::transformProperties().

| 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 194 of file DsmcParcel.C.
References Foam::T(), Foam::transform(), and DsmcParcel< ParcelType >::transformProperties().

| void readFields | ( | DsmcCloud< ParcelType > & | c | ) | [inline, static] |
Definition at line 69 of file DsmcParcelIO.C.
| void writeFields | ( | const DsmcCloud< ParcelType > & | c | ) | [inline, static] |
Definition at line 102 of file DsmcParcelIO.C.
friend class Cloud< ParcelType > [friend] |
Definition at line 176 of file DsmcParcel.H.
| Ostream& operator | ( | Ostream & | , | |
| const DsmcParcel< ParcelType > & | ||||
| ) | [friend] |
Velocity of Parcel [m/s].
Definition at line 159 of file DsmcParcel.H.
Referenced by DsmcParcel< ParcelType >::DsmcParcel(), DsmcParcel< ParcelType >::Ei(), and DsmcParcel< ParcelType >::move().
Internal energy of the Parcel, covering all non-translational.
degrees of freedom [J]
Definition at line 165 of file DsmcParcel.H.
Referenced by DsmcParcel< ParcelType >::DsmcParcel(), and DsmcParcel< ParcelType >::U().
Parcel type id.
Definition at line 168 of file DsmcParcel.H.
Referenced by DsmcParcel< ParcelType >::DsmcParcel(), and DsmcParcel< ParcelType >::U().