yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #04748
Re: [Question #165458]: problems with facet and calculation
Question #165458 on Yade changed:
https://answers.launchpad.net/yade/+question/165458
Christian Jakob posted a new comment:
Thank you for your comments.
Using O.timingEnabled=True instead of O.timingEnabled==True fixed the problem with timing.stats().
If I had a deeper look at the packing, I see them moving now, too ;)
I tried to get the facet rotated, but I never used quaternions before.
If I want to have my facet normal to (.02,.02,1), is this the right
implementation then?:
#get the angle in radians:
tmp=acos(sqrt(2*.02*.02))
#rotation quaternion:
orientationFacet = Quaternion(Vector3(0.02,0.02,1),tmp)
#create facet:
id_facet=O.bodies.append(geom.facetBox((origin_wall,origin_wall,0),(100,100,0),orientationFacet,material=FacetMat))
@Bruno:
Yes I will try to compare calculation speed of PFC, YADE and another program called PASIMODO.
If the test runs are ready, I will send it all developers, if they want.
Christian
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.