SprayParcel: Set the 'origId' of the child parcels

Resolves bug-report http://bugs.openfoam.org/view.php?id=2105
This commit is contained in:
Henry Weller
2016-05-31 21:25:09 +01:00
parent 72db301f54
commit c7048a7b93

View File

@ -285,6 +285,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->d() = dChild;
child->d0() = dChild;
const scalar massChild = child->mass();