Commit bb3910dd authored by Henry Weller's avatar Henry Weller
Browse files

SprayParcel: Set the 'origId' of the child parcels

Resolves bug-report http://bugs.openfoam.org/view.php?id=2105
parent fdee4288
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment