From e7a3e8de8f3dbc065acaddfcf2c4beb66f334b08 Mon Sep 17 00:00:00 2001 From: danielque Date: Wed, 4 Apr 2018 12:48:53 +0200 Subject: [PATCH] clean up whitespaces --- .../otherForceModel/expParticleForces/expParticleForces.C | 6 +++--- .../otherForceModel/expParticleForces/expParticleForces.H | 1 - .../subModels/otherForceModel/gravity/gravity.C | 6 +++--- .../subModels/otherForceModel/gravity/gravity.H | 3 +-- .../otherForceModel/otherForceModel/otherForceModel.H | 2 -- 5 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/lagrangian/cfdemParticle/subModels/otherForceModel/expParticleForces/expParticleForces.C b/src/lagrangian/cfdemParticle/subModels/otherForceModel/expParticleForces/expParticleForces.C index 3e91a9aa..65bbe71d 100644 --- a/src/lagrangian/cfdemParticle/subModels/otherForceModel/expParticleForces/expParticleForces.C +++ b/src/lagrangian/cfdemParticle/subModels/otherForceModel/expParticleForces/expParticleForces.C @@ -73,14 +73,14 @@ tmp expParticleForces::exportForceField() ) ) ); - + volVectorField& source = tsource.ref(); - + // negative sign in sum because force on particles = - force on fluid for(int i=0; i gravity::exportForceField() ) ) ); - + volVectorField& source = tsource.ref(); - + source = rhoG_ * voidfraction_ * g_; - + return tsource; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/lagrangian/cfdemParticle/subModels/otherForceModel/gravity/gravity.H b/src/lagrangian/cfdemParticle/subModels/otherForceModel/gravity/gravity.H index b9e650b5..24efa9a7 100644 --- a/src/lagrangian/cfdemParticle/subModels/otherForceModel/gravity/gravity.H +++ b/src/lagrangian/cfdemParticle/subModels/otherForceModel/gravity/gravity.H @@ -48,14 +48,13 @@ protected: word voidfractionFieldName_; const volScalarField& voidfraction_; - + word rhoGFieldName_; const volScalarField& rhoG_; const dimensionedVector g_; - public: //- Runtime type information diff --git a/src/lagrangian/cfdemParticle/subModels/otherForceModel/otherForceModel/otherForceModel.H b/src/lagrangian/cfdemParticle/subModels/otherForceModel/otherForceModel/otherForceModel.H index 5b7c2ac5..0813ba38 100644 --- a/src/lagrangian/cfdemParticle/subModels/otherForceModel/otherForceModel/otherForceModel.H +++ b/src/lagrangian/cfdemParticle/subModels/otherForceModel/otherForceModel/otherForceModel.H @@ -47,7 +47,6 @@ protected: cfdemCloud& particleCloud_; - public: //- Runtime type information @@ -95,7 +94,6 @@ public: // Member Functions - virtual tmp exportForceField() = 0; };