← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2130: - Fix : wrong assignnment of friction for boxes. compactFrictionDeg was used in place of boxFrict...

 

------------------------------------------------------------
revno: 2130
committer: Bruno Chareyre <bchareyre@r1arduina>
branch nick: trunk
timestamp: Tue 2010-04-06 16:43:09 +0200
message:
  - Fix : wrong assignnment of friction for boxes. compactFrictionDeg was used in place of boxFrictionDegree. No idea when 
  it was introduced.
modified:
  pkg/dem/PreProcessor/TriaxialTest.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/PreProcessor/TriaxialTest.cpp'
--- pkg/dem/PreProcessor/TriaxialTest.cpp	2010-03-27 22:18:10 +0000
+++ pkg/dem/PreProcessor/TriaxialTest.cpp	2010-04-06 14:43:09 +0000
@@ -330,7 +330,7 @@
 	shared_ptr<FrictMat> mat(new FrictMat);
 	mat->young			= sphereYoungModulus;
 	mat->poisson		= sphereKsDivKn;
-	mat->frictionAngle		= compactionFrictionDeg * Mathr::PI/180.0;
+	mat->frictionAngle		= boxFrictionDeg * Mathr::PI/180.0;
 	body->material=mat;
 	if(!facetWalls && !wallWalls){
 		shared_ptr<Box> iBox(new Box);