← Back to team overview

yade-users team mailing list archive

Re: [Question #269513]: Interaction between Polyhedra and Facets

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hello,

The "IGeom" of the appearing Polyhedra - Facet(Box) interaction is of
PolyhedraGeom type (see Ig2_Facet_Polyhedra_PolyhedraGeom() in your
script)

However, for what concerns the "IPhys" of this interaction, execution of
Ip2_FrictMat_PolyhedraMat_FrictPhys 's job triggers some execution of
Ip2_FrictMat_FrictMat_FrictPhys [1].

This Ip2_FrictMat_FrictMat_FrictPhys::go is designed for interaction
with "IGeom" of "GenericSpheresContact" (or derived) types [2]. And the
PolyhedraGeom type is not one of those [3]


To be short: Yade is currently not designed to deal with the interaction you want.... Discussing code improvements or workarounds will require the answer of other users familiar with this code...

Jerome

[1] https://github.com/yade/trunk/blob/master/pkg/dem/Polyhedra.cpp#L414
[2] https://github.com/yade/trunk/blob/master/pkg/dem/FrictPhys.cpp#L17
[3] https://yade-dem.org/doc/yade.wrapper.html#igeom


PS: thank you for complying the in the air "MWE" question fashion !

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.


Follow ups