92sphericity = (4*
M_PI*std::pow(3*_volume/(4*
M_PI),0.66666666666))/_surface;
98 A =
util::exp(2.3288-6.4581*sphericity + 2.4486*sphericity*sphericity);
99 B = 0.0964 + 0.5565*sphericity;
100 C =
util::exp(4.905-13.8944*sphericity + 18.4222*sphericity*sphericity-10.2599*sphericity*sphericity*sphericity);
101 D =
util::exp(1.4681+12.2584*sphericity-20.7322*sphericity*sphericity+15.8855*sphericity*sphericity*sphericity);
219 _pSys->resetMag(sActivityOfParticle);
220 _pSys->computeForce(sActivityOfParticle);
221 _pSys->explicitEuler(dT, sActivityOfParticle, scale);
222 _pSys->integrateTorqueMag(dT, sActivityOfParticle);
224#ifdef CollisionModels
225 _pSys->partialElasticImpact(0.67);
228#ifdef CollisionModelsCombindedWithMechContactForce
229 _pSys->partialElasticImpactForCombinationWithMechContactForce(0.67);
void simulateWithTwoWayCoupling_Mathias(T dT, ForwardCouplingModel< T, PARTICLETYPE > &forwardCoupling, BackCouplingModel< T, PARTICLETYPE > &backCoupling, int material, int subSteps=1, bool scale=false)
SimulateParticles(ParticleSystem3D< T, PARTICLETYPE > *ps)
void simulateWithTwoWayCoupling_Davide(T dT, ForwardCouplingModel< T, PARTICLETYPE > &forwardCoupling, BackCouplingModel< T, PARTICLETYPE > &backCoupling, int material, int subSteps=1, bool scale=false)
void simulate(T dT, bool scale=false)