clean up whitespaces

This commit is contained in:
danielque
2018-04-04 12:48:53 +02:00
parent 5baa91df81
commit e7a3e8de8f
5 changed files with 7 additions and 11 deletions

View File

@ -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;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -45,7 +45,6 @@ protected:
// Protected data
// dictionary propsDict_;
public:
//- Runtime type information

View File

@ -78,11 +78,11 @@ tmp<volVectorField> gravity::exportForceField()
)
)
);
volVectorField& source = tsource.ref();
source = rhoG_ * voidfraction_ * g_;
return tsource;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -48,14 +48,13 @@ protected:
word voidfractionFieldName_;
const volScalarField& voidfraction_;
word rhoGFieldName_;
const volScalarField& rhoG_;
const dimensionedVector g_;
public:
//- Runtime type information

View File

@ -47,7 +47,6 @@ protected:
cfdemCloud& particleCloud_;
public:
//- Runtime type information
@ -95,7 +94,6 @@ public:
// Member Functions
virtual tmp<volVectorField> exportForceField() = 0;
};