My problem is about moving facets

Asked by Mehrad

Hi
I have a problem with this simulation . I want to move the little facet box to interact with big facet box that there is in this code
How can i write the prepare code for this ??
from yade import pack
B=geom.facetBox((.5,.5,.5),(.5,.5,.5),wallMask=31)
O.bodies.append(B)
O.bodies.append(geom.facetBox((1.5,0.5,0.5),(.1,.1,.1),wallMask=31,dynamic=False))
sp=pack.SpherePack()
sp.makeCloud((0,0,0),(1,1,1),rMean=.05,rRelFuzz=.5)
sp.toSimulation()

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Bruno Chareyre
Solved:
Last query:
Last reply:
Revision history for this message
Best Bruno Chareyre (bruno-chareyre) said :
#1

Hi,
FacetBox'es are mainly meant to modelize containers. If you want mutually interacting bodies you need to use Polyhedra or PFacets.
Bruno

Revision history for this message
Mehrad (hossein.pianist) said :
#2

Thanks Bruno Chareyre, that solved my question.