mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
SprayParcel: Set the 'origId' of the child parcels
Resolves bug-report http://bugs.openfoam.org/view.php?id=2105
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user