← Back to team overview

yade-users team mailing list archive

Re: [Question #675797]: gridnode interaction with sphere cannot display the grid

 

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

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,
First of all, if you want to see the result of a script better don't append O.run() at the end of it.
It solves the "i can not see the mesh in the views" part of your question, since at iteration 0 the grid _is_ visible.

Second, since there are multiple grid segments in the problem and they have overlapping bounds near their common nodes, you then need a dedicated Ig functor to handle them: Ig2_GridConnection_GridConnection_GridCoGridCoGeom.
Else, dispatching will fallback to another functor (in your case Ig2_Sphere_GridConnection) to handle the interactions and, obviously, it doesn't work very well since with your script you see the grid disappear as soon as you run some steps.

You can find an advanced example of combining spheres, nodes,
connections, and pfacets, in
examples/pfacets/pFacets_grids_spheres_interacting.py


Regards

Bruno

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