mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
clean up whitespaces
This commit is contained in:
@ -312,7 +312,7 @@ void diffusionCoefficient::execute()
|
||||
TotalFraction_[i] += Xfluid_[j]/dBinary_;
|
||||
|
||||
// dCoeff -- diffusion component of diffusant gas
|
||||
MixtureBinaryDiffusion_[i] = (1.0-XfluidDiffusant_[i])/TotalFraction_[i];
|
||||
MixtureBinaryDiffusion_[i] = (1.0-XfluidDiffusant_[i])/TotalFraction_[i];
|
||||
|
||||
if(verbose_)
|
||||
{
|
||||
|
||||
@ -72,7 +72,7 @@ private:
|
||||
// gas pressure at particle location
|
||||
word pressureFieldName_;
|
||||
|
||||
const volScalarField& P_;
|
||||
const volScalarField& P_;
|
||||
|
||||
word partPressureName_;
|
||||
|
||||
|
||||
@ -109,8 +109,6 @@ void reactantPerParticle::reAllocMyArrays() const
|
||||
|
||||
void reactantPerParticle::execute()
|
||||
{
|
||||
|
||||
|
||||
loopCounter_++;
|
||||
if (loopCounter_ % Nevery_ != 0)
|
||||
{
|
||||
@ -121,7 +119,7 @@ void reactantPerParticle::execute()
|
||||
|
||||
particlesPerCell_ *= 0.0;
|
||||
|
||||
label cellI=0;
|
||||
label cellI=0;
|
||||
scalar voidfraction(1);
|
||||
scalar cellvolume(0.0);
|
||||
scalar particlesPerCell(1.0);
|
||||
@ -133,7 +131,7 @@ void reactantPerParticle::execute()
|
||||
if (cellI >= 0)
|
||||
{
|
||||
particlesPerCell_[cellI] += 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// no fill array and communicate it
|
||||
@ -151,7 +149,7 @@ void reactantPerParticle::execute()
|
||||
|
||||
// give DEM data
|
||||
particleCloud_.dataExchangeM().giveData("reactantPerParticle", "scalar-atom", reactantPerParticle_);
|
||||
|
||||
|
||||
Info << "give data done" << endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user