mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
improve compatibility with newer OpenFOAM versions
use constructor that explicitly sets the list elements to zero, i.e. List(const label, const zero); available in OpenFOAM 4 and newer
This commit is contained in:
@ -166,7 +166,7 @@ void diffusionCoefficient::execute()
|
||||
scalar dBinary_(0);
|
||||
scalar Xnegative(0);
|
||||
|
||||
List<scalar> TotalFraction_(diffusantGasNames_.size(),0);
|
||||
List<scalar> TotalFraction_(diffusantGasNames_.size(),Zero);
|
||||
|
||||
// defining interpolators for T and Pressure
|
||||
interpolationCellPoint <scalar> TInterpolator_(tempField_);
|
||||
|
||||
Reference in New Issue
Block a user