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; };