30 template<
class ParcelType>
33 const MPPICParcel<ParcelType>&
p 37 UCorrect_(p.UCorrect_)
41 template<
class ParcelType>
44 const MPPICParcel<ParcelType>&
p,
55 template<
class ParcelType>
56 template<
class TrackCloudType>
59 TrackCloudType& cloud,
61 const scalar trackTime
64 typename TrackCloudType::parcelType&
p =
65 static_cast<typename TrackCloudType::parcelType&
>(*this);
71 ParcelType::move(cloud, td, trackTime);
78 cloud.dampingModel().velocityCorrection(p, trackTime);
80 td.keepParticle =
true;
88 cloud.packingModel().velocityCorrection(p, trackTime);
90 td.keepParticle =
true;
97 const scalar
f = p.stepFraction();
98 const scalar a = p.age();
100 Swap(p.U(), p.UCorrect());
102 ParcelType::move(cloud, td, trackTime);
104 Swap(p.U(), p.UCorrect());
106 p.U() += (p.stepFraction() -
f)*p.UCorrect();
114 return td.keepParticle;
bool move(TrackCloudType &cloud, trackingData &td, const scalar trackTime)
Move the parcel.
trackPart part() const
Access.
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.