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