58template<
class ParcelType>
66template<
class ParcelType>
77template<
class ParcelType>
141 template<
class TrackCloudType>
144 const TrackCloudType&
cloud,
150 template<
class TrackCloudType>
183 " (UCorrectx UCorrecty UCorrectz)"
196 const label tetFacei,
215 const label tetFacei,
218 const scalar nParticle0,
220 const scalar dTarget0,
223 const typename ParcelType::constantProperties& constProps
232 bool newFormat =
true
290 template<
class TrackCloudType>
293 TrackCloudType&
cloud,
295 const scalar trackTime
304 template<
class CloudType>
308 template<
class CloudType>
317 const bool namesOnly =
false
321 template<
class CloudType>
325 template<
class CloudType>
331 friend Ostream& operator<< <ParcelType>
Templated base class for dsmc cloud.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Factory class to read-construct particles used for.
iNew(const polyMesh &mesh)
autoPtr< MPPICParcel< ParcelType > > operator()(Istream &is) const
trackPart part() const
Access.
void updateAverages(const TrackCloudType &cloud)
Update the MPPIC averages.
Wrapper around kinematic parcel types to add MPPIC modelling.
const vector & UCorrect() const
Return const access to correction velocity.
virtual autoPtr< particle > clone(const polyMesh &mesh) const
Construct and return a (basic particle) clone.
MPPICParcel(const MPPICParcel &p, const polyMesh &mesh)
Construct as a copy.
static void writeObjects(const CloudType &c, objectRegistry &obr)
Write particle fields as objects into the obr registry.
AddToPropertyList(ParcelType, " (UCorrectx UCorrecty UCorrectz)")
String representation of properties.
virtual autoPtr< particle > clone() const
Construct and return a (basic particle) clone.
static const std::size_t sizeofFields
Size in bytes of the fields.
MPPICParcel(const MPPICParcel &p)
Construct as a copy.
static void readObjects(CloudType &c, const objectRegistry &obr)
Read particle fields as objects from the obr registry.
static void writeFields(const CloudType &c)
Write.
vector UCorrect_
Velocity correction due to collisions [m/s].
bool move(TrackCloudType &cloud, trackingData &td, const scalar trackTime)
Move the parcel.
void writeProperties(Ostream &os, const wordRes &filters, const word &delim, const bool namesOnly=false) const
Write individual parcel properties to stream.
static void readFields(CloudType &c)
Read.
TypeName("MPPICParcel")
Runtime type information.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cloud is a registry collection of lagrangian particles.
Class used to pass data into container.
Registry of regIOobjects.
Mesh consisting of general polyhedral cells.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
PtrList< coordinateSystem > coordinates(solidRegions.size())
OBJstream os(runTime.globalPath()/outputName)
#define AddToPropertyList(ParcelType, str)
Add to existing static 'propertyList' for particle properties.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.