Reset array where necessary.

This commit is contained in:
Thomas Lichtenegger
2018-05-22 15:24:36 +02:00
parent 0d7916746a
commit 06633e9e4d

View File

@ -164,6 +164,8 @@ void heatTransferGunnPartField::postFlow()
scalar Tpart(0.0);
interpolationCellPoint<scalar> partTInterpolator_(partTempField_);
particleCloud_.dataExchangeM().allocateArray(partTemp_,0.0,1);
for(int index = 0;index < particleCloud_.numberOfParticles(); ++index)
{
cellI = particleCloud_.cellIDs()[index][0];