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:
@ -73,14 +73,14 @@ tmp<volVectorField> expParticleForces::exportForceField()
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
volVectorField& source = tsource.ref();
|
||||
|
||||
|
||||
// negative sign in sum because force on particles = - force on fluid
|
||||
for(int i=0; i<particleCloud_.nrMomCoupleModels(); i++)
|
||||
if (particleCloud_.momCoupleM(i).type() == "explicitCouple")
|
||||
source -= particleCloud_.momCoupleM(i).expMomSource();
|
||||
|
||||
|
||||
return tsource;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -45,7 +45,6 @@ protected:
|
||||
// Protected data
|
||||
// dictionary propsDict_;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
|
||||
@ -78,11 +78,11 @@ tmp<volVectorField> gravity::exportForceField()
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
volVectorField& source = tsource.ref();
|
||||
|
||||
|
||||
source = rhoG_ * voidfraction_ * g_;
|
||||
|
||||
|
||||
return tsource;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -48,14 +48,13 @@ protected:
|
||||
word voidfractionFieldName_;
|
||||
|
||||
const volScalarField& voidfraction_;
|
||||
|
||||
|
||||
word rhoGFieldName_;
|
||||
|
||||
const volScalarField& rhoG_;
|
||||
|
||||
const dimensionedVector g_;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
|
||||
@ -47,7 +47,6 @@ protected:
|
||||
|
||||
cfdemCloud& particleCloud_;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
@ -95,7 +94,6 @@ public:
|
||||
|
||||
// Member Functions
|
||||
|
||||
|
||||
virtual tmp<volVectorField> exportForceField() = 0;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user