Merge pull request #91 from ParticulateFlow/bugfix/beetstraDrag-cg

Fix beetstra drag for coarse-grained cases
This commit is contained in:
tlichtenegger
2019-05-20 17:04:49 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@ -148,6 +148,7 @@ void BeetstraDrag::setForce() const
else if (particleCloud_.cg() > 1)
{
scaleDia_=particleCloud_.cg();
typeCG_[0] = scaleDia_;
Info << "Beetstra using scale from liggghts cg = " << scaleDia_ << endl;
}

View File

@ -61,7 +61,7 @@ protected:
mutable scalar scaleDia_;
scalarList typeCG_;
mutable scalarList typeCG_;
mutable scalar scaleDrag_;