Wrapper around kinematic parcel types to add MPPIC modelling. More...
Data Structures | |
class | iNew |
Factory class to read-construct particles used for. More... | |
class | TrackingData |
Public Member Functions | |
TypeName ("MPPICParcel") | |
Runtime type information. More... | |
AddToPropertyList (ParcelType, "(UCorrectx UCorrecty UCorrectz)") | |
String representation of properties. More... | |
MPPICParcel (const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI) | |
Construct from owner, position, and cloud owner. More... | |
MPPICParcel (const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI, const label typeId, const scalar nParticle0, const scalar d0, const scalar dTarget0, const vector &U0, const vector &UCorrect0, const typename ParcelType::constantProperties &constProps) | |
Construct from components. More... | |
MPPICParcel (const polyMesh &mesh, Istream &is, bool readFields=true) | |
Construct from Istream. More... | |
MPPICParcel (const MPPICParcel &p) | |
Construct as a copy. More... | |
MPPICParcel (const MPPICParcel &p, const polyMesh &mesh) | |
Construct as a copy. More... | |
virtual autoPtr< particle > | clone () const |
Construct and return a (basic particle) clone. More... | |
virtual autoPtr< particle > | clone (const polyMesh &mesh) const |
Construct and return a (basic particle) clone. More... | |
const vector & | UCorrect () const |
Return const access to correction velocity. More... | |
vector & | UCorrect () |
Return access to correction velocity. More... | |
template<class TrackData > | |
bool | move (TrackData &td, const scalar trackTime) |
Move the parcel. More... | |
Static Public Member Functions | |
template<class CloudType > | |
static void | readFields (CloudType &c) |
Read. More... | |
template<class CloudType > | |
static void | writeFields (const CloudType &c) |
Write. More... | |
Protected Attributes | |
vector | UCorrect_ |
Velocity correction due to collisions [m/s]. More... | |
Static Private Attributes | |
static const std::size_t | sizeofFields_ |
Size in bytes of the fields. More... | |
Friends | |
Ostream & | operator (Ostream &, const MPPICParcel< ParcelType > &) |
Wrapper around kinematic parcel types to add MPPIC modelling.
Definition at line 52 of file MPPICParcel.H.
|
inline |
Construct from owner, position, and cloud owner.
Other properties initialised as null
Referenced by MPPICParcel::clone().
|
inline |
Construct from components.
MPPICParcel | ( | const polyMesh & | mesh, |
Istream & | is, | ||
bool | readFields = true |
||
) |
Construct from Istream.
MPPICParcel | ( | const MPPICParcel & | p | ) |
Construct as a copy.
MPPICParcel | ( | const MPPICParcel & | p, |
const polyMesh & | mesh | ||
) |
Construct as a copy.
TypeName | ( | "MPPICParcel" | ) |
Runtime type information.
AddToPropertyList | ( | ParcelType | , |
"(UCorrectx UCorrecty UCorrectz)" | |||
) |
String representation of properties.
Construct and return a (basic particle) clone.
Definition at line 226 of file MPPICParcel.H.
References MPPICParcel::MPPICParcel().
Construct and return a (basic particle) clone.
Definition at line 232 of file MPPICParcel.H.
References mesh, and MPPICParcel::MPPICParcel().
|
inline |
Return const access to correction velocity.
Definition at line 81 of file MPPICParcelI.H.
References MPPICParcel::UCorrect_.
|
inline |
Return access to correction velocity.
Definition at line 88 of file MPPICParcelI.H.
References MPPICParcel::UCorrect_.
bool move | ( | TrackData & | td, |
const scalar | trackTime | ||
) |
Move the parcel.
Definition at line 58 of file MPPICParcel.C.
References f(), p, and KinematicParcel::U().
|
static |
Read.
Definition at line 78 of file MPPICParcelIO.C.
References Foam::constant::universal::c, forAllIter, IOobject::MUST_READ, p, and readFields().
|
static |
Write.
Definition at line 105 of file MPPICParcelIO.C.
References Foam::constant::universal::c, forAllConstIter(), IOobject::NO_READ, p, and regIOobject::write().
|
friend |
|
staticprivate |
Size in bytes of the fields.
Definition at line 78 of file MPPICParcel.H.
|
protected |
Velocity correction due to collisions [m/s].
Definition at line 163 of file MPPICParcel.H.
Referenced by MPPICParcel::UCorrect().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.