BUG: SprayParcel - set the child origProc. Fixed #1857

This commit is contained in:
Andrew Heather
2022-05-06 10:54:39 +01:00
parent 579883354a
commit de1aa80593

View File

@ -294,6 +294,7 @@ void Foam::SprayParcel<ParcelType>::calcBreakup
// Add child parcel as copy of parent
SprayParcel<ParcelType>* child = new SprayParcel<ParcelType>(*this);
child->origId() = this->getNewParticleID();
child->origProc() = Pstream::myProcNo();
child->d() = dChild;
child->d0() = dChild;
const scalar massChild = child->mass();