yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #06471
[Branch ~yade-dev/yade/trunk] Rev 2597: - Adjust definition of maximum strength for rolling resistance (thanks to Bruno for suggestion).
------------------------------------------------------------
revno: 2597
committer: Chiara Modenese <c.modenese@xxxxxxxxx>
branch nick: yade
timestamp: Wed 2010-12-08 12:40:01 +0000
message:
- Adjust definition of maximum strength for rolling resistance (thanks to Bruno for suggestion).
modified:
pkg/dem/Ip2_2xCohFrictMat_CohFrictPhys.cpp
--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'pkg/dem/Ip2_2xCohFrictMat_CohFrictPhys.cpp'
--- pkg/dem/Ip2_2xCohFrictMat_CohFrictPhys.cpp 2010-12-08 10:43:28 +0000
+++ pkg/dem/Ip2_2xCohFrictMat_CohFrictPhys.cpp 2010-12-08 12:40:01 +0000
@@ -43,10 +43,9 @@
Real fb = sdec2->frictionAngle;
Real Kn = 2.0*Ea*Da*Eb*Db/(Ea*Da+Eb*Db);//harmonic average of two stiffnesses
- // harmonic average of alphas and etaRoll parameters
+ // harmonic average of alphas parameters
Real AlphaKr = 2.0*sdec1->alphaKr*sdec2->alphaKr/(sdec1->alphaKr+sdec2->alphaKr);
Real AlphaKtw = 2.0*sdec1->alphaKtw*sdec2->alphaKtw/(sdec1->alphaKtw+sdec2->alphaKtw);
- Real EtaRoll = 2.0*sdec1->etaRoll*sdec2->etaRoll/(sdec1->etaRoll+sdec2->etaRoll);
Real Ks;
if (Va && Vb) Ks = 2.0*Ea*Da*Va*Eb*Db*Vb/(Ea*Da*Va+Eb*Db*Vb);//harmonic average of two stiffnesses with ks=V*kn for each sphere
@@ -71,7 +70,7 @@
contactPhysics->kn = Kn;
contactPhysics->ks = Ks;
- contactPhysics->maxRollPl = EtaRoll*min(Da,Db);
+ contactPhysics->maxRollPl = min(sdec1->etaRoll*Da,sdec2->etaRoll*Db);
contactPhysics->momentRotationLaw=(sdec1->momentRotationLaw && sdec2->momentRotationLaw);
//contactPhysics->elasticRollingLimit = elasticRollingLimit;
}