SprayParcel: Set the 'origId' of the child parcels
Resolves bug-report http://bugs.openfoam.org/view.php?id=2105
This commit is contained in:
parent
fdee42887d
commit
bb3910ddaf
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue