58 template<
class ParcelType>
66 template<
class ParcelType>
77 template<
class ParcelType>
90 public ParcelType::trackingData
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 256 const polyMesh& mesh_;
265 autoPtr<MPPICParcel<ParcelType>>
operator()(Istream& is)
const 267 return autoPtr<MPPICParcel<ParcelType>>
269 new MPPICParcel<ParcelType>(mesh_, is,
true)
289 template<
class TrackCloudType>
292 TrackCloudType&
cloud,
294 const scalar trackTime
303 template<
class CloudType>
307 template<
class CloudType>
316 const bool namesOnly =
false 320 template<
class CloudType>
324 template<
class CloudType>
330 friend Ostream& operator<< <ParcelType>
bool move(TrackCloudType &cloud, trackingData &td, const scalar trackTime)
Move the parcel.
trackingData(const TrackCloudType &cloud, trackPart part=tpLinearTrack)
Constructors.
virtual autoPtr< particle > clone() const
Return a (basic particle) clone.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
iNew(const polyMesh &mesh)
trackPart part() const
Access.
static void readObjects(CloudType &c, const objectRegistry &obr)
Read particle fields as objects from the obr registry.
A class for handling words, derived from Foam::string.
Wrapper around kinematic parcel types to add MPPIC modelling.
A cloud is a registry collection of lagrangian particles.
Base class for lagrangian averaging methods.
A List of wordRe with additional matching capabilities.
void updateAverages(const TrackCloudType &cloud)
Update the MPPIC averages.
const vector & UCorrect() const
Return const access to correction velocity.
static autoPtr< particle > Clone(const Derived &p)
Clone a particle.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
static void writeFields(const CloudType &c)
Write.
static const std::size_t sizeofFields
Size in bytes of the fields.
PtrList< coordinateSystem > coordinates(solidRegions.size())
vector UCorrect_
Velocity correction due to collisions [m/s].
MPPICParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, coordinates and topology.
autoPtr< MPPICParcel< ParcelType > > operator()(Istream &is) const
const dimensionedScalar c
Speed of light in a vacuum.
static void readFields(CloudType &c)
Read.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
Registry of regIOobjects.
TypeName("MPPICParcel")
Runtime type information.
Templated base class for dsmc cloud.
void writeProperties(Ostream &os, const wordRes &filters, const word &delim, const bool namesOnly=false) const
Write individual parcel properties to stream.
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.