← Back to team overview

yade-users team mailing list archive

Re: [Question #664343]: Lack of recoil in sphere-pfacet impact?

 

Question #664343 on Yade changed:
https://answers.launchpad.net/yade/+question/664343

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,
In the above example one facet is created with fixed=False, the other with fixed=True.
Consistently one is accelerated by gravity and the other is not.

What is maybe not clear for you is that only the nodes are really
inertial. The so-called connections are not moving independently of the
nodes, nor are the facets, so they are always non-dynamic objetcs.

Consistently (the first facet, the moving one, is composed of the first
seven elements):

ade [6]: for b in O.bodies:
    print b.shape.__class__, b.state.blockedDOFs
     ...:     
<class 'yade.wrapper.GridNode'> 
<class 'yade.wrapper.GridNode'> 
<class 'yade.wrapper.GridNode'> 
<class 'yade.wrapper.GridConnection'> xyzXYZ
<class 'yade.wrapper.GridConnection'> xyzXYZ
<class 'yade.wrapper.GridConnection'> xyzXYZ
<class 'yade.wrapper.PFacet'> xyzXYZ
<class 'yade.wrapper.GridNode'> xyzXYZ
<class 'yade.wrapper.GridNode'> xyzXYZ
<class 'yade.wrapper.GridNode'> xyzXYZ
<class 'yade.wrapper.GridConnection'> xyzXYZ
<class 'yade.wrapper.GridConnection'> xyzXYZ
<class 'yade.wrapper.GridConnection'> xyzXYZ
<class 'yade.wrapper.PFacet'> xyzXYZ

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.