mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
Reset array where necessary.
This commit is contained in:
@ -164,6 +164,8 @@ void heatTransferGunnPartField::postFlow()
|
|||||||
scalar Tpart(0.0);
|
scalar Tpart(0.0);
|
||||||
interpolationCellPoint<scalar> partTInterpolator_(partTempField_);
|
interpolationCellPoint<scalar> partTInterpolator_(partTempField_);
|
||||||
|
|
||||||
|
particleCloud_.dataExchangeM().allocateArray(partTemp_,0.0,1);
|
||||||
|
|
||||||
for(int index = 0;index < particleCloud_.numberOfParticles(); ++index)
|
for(int index = 0;index < particleCloud_.numberOfParticles(); ++index)
|
||||||
{
|
{
|
||||||
cellI = particleCloud_.cellIDs()[index][0];
|
cellI = particleCloud_.cellIDs()[index][0];
|
||||||
|
|||||||
Reference in New Issue
Block a user