Go to the documentation of this file.
52 template<
class ParcelType>
60 template<
class ParcelType>
71 template<
class ParcelType>
84 template<
class CloudType>
178 "(UCorrectx UCorrecty UCorrectz)"
191 const label tetFaceI,
201 const label tetFaceI,
204 const scalar nParticle0,
206 const scalar dTarget0,
209 const typename ParcelType::constantProperties& constProps
275 template<
class TrackData>
276 bool move(TrackData& td,
const scalar trackTime);
284 template<
class CloudType>
288 template<
class CloudType>
294 friend Ostream& operator<< <ParcelType>
Base class for lagrangian averaging methods.
void updateAverages(CloudType &cloud)
Update the MPPIC averages.
virtual autoPtr< particle > clone(const polyMesh &mesh) const
Construct and return a (basic particle) clone.
Factory class to read-construct particles used for.
autoPtr< MPPICParcel< ParcelType > > operator()(Istream &is) const
const vector & UCorrect() const
Return const access to correction velocity.
TypeName("MPPICParcel")
Runtime type information.
AddToPropertyList(ParcelType, "(UCorrectx UCorrecty UCorrectz)")
String representation of properties.
This function object reads fields from the time directories and adds them to the mesh database for fu...
Mesh consisting of general polyhedral cells.
vector UCorrect_
Velocity correction due to collisions [m/s].
trackPart part_
Label specifying the current part of the tracking process.
autoPtr< AveragingMethod< scalar > > frequencyAverage_
Frequency average.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static void readFields(CloudType &c)
Read.
Wrapper around kinematic parcel types to add MPPIC modelling.
TrackingData(CloudType &cloud, trackPart part=tpLinearTrack)
Constructors.
static void writeFields(const CloudType &c)
Write.
iNew(const polyMesh &mesh)
static const std::size_t sizeofFields_
Size in bytes of the fields.
Templated base class for dsmc cloud.
trackPart part() const
Access.
virtual autoPtr< particle > clone() const
Construct and return a (basic particle) clone.
autoPtr< AveragingMethod< scalar > > volumeAverage_
Volume average.
autoPtr< AveragingMethod< scalar > > uSqrAverage_
Magnitude velocity sqyuared average.
autoPtr< AveragingMethod< scalar > > rhoAverage_
Density average.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A cloud is a collection of lagrangian particles.
bool move(TrackData &td, const scalar trackTime)
Move the parcel.
const dimensionedScalar c
Speed of light in a vacuum.
MPPICParcel(const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI)
Construct from owner, position, and cloud owner.
autoPtr< AveragingMethod< scalar > > massAverage_
Mass average.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
autoPtr< AveragingMethod< scalar > > radiusAverage_
Radius average [ volume^(1/3) ].
autoPtr< AveragingMethod< vector > > uAverage_
Velocity average.