← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2228: 1. Fix apparent clumps problems, spheres in the dogbone were getting through.

 

------------------------------------------------------------
revno: 2228
committer: Václav Šmilauer <eudoxos@xxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-05-14 17:36:44 +0200
message:
  1. Fix apparent clumps problems, spheres in the dogbone were getting through.
modified:
  examples/regular-sphere-pack/regular-sphere-pack.py


--
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 'examples/regular-sphere-pack/regular-sphere-pack.py'
--- examples/regular-sphere-pack/regular-sphere-pack.py	2010-05-08 20:24:44 +0000
+++ examples/regular-sphere-pack/regular-sphere-pack.py	2010-05-14 15:36:44 +0000
@@ -17,7 +17,7 @@
 rad,gap=.15,.02
 
 #Add material
-O.materials.append(FrictMat(young=1e9,poisson=.25,frictionAngle=0.5,density=1e3))
+O.materials.append(FrictMat(young=10e9,poisson=.25,frictionAngle=0.5,density=1e3))
 
 #Parameters, which will be passed into spheres and facets creators
 kw={'material':0}
@@ -88,7 +88,7 @@
 		[Law2_Dem3DofGeom_FrictPhys_Basic()],
 	),
 	GravityEngine(gravity=(1e-2,1e-2,-1000)),
-	NewtonIntegrator(damping=.1),
+	NewtonIntegrator(damping=.1,exactAsphericalRot=True),
 	RotationEngine(
 		subscribedBodies=rotateIDs,
 		angularVelocity=10.0,