mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: SprayParcel - set the child origProc. Fixed #1857
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user