← 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

Jan Stránský proposed the following answer:
Hi José,

O.engines=[
> ...

   InteractionLoop(
>       [Ig2_Facet_Polyhedra_PolyhedraGeom()],
>       [Ip2_FrictMat_PolyhedraMat_FrictPhys()],
>       [Law2_ScGeom_FrictPhys_CundallStrack()],
>    ),
>    ...
> ]


The problem (as the error says) is here:
Ig2_Facet_Polyhrda_PolyhedraGeom -> PolyhedraGeom instance
Ip2_FrictMAt_PolyhedraMat_FrictPhys -> FrictPhyd
Law2_ScGeom_FrictPhys_CundallStrack -> combines ScGeom and FrictPhys, but
you have PolyhedraGeom and FrictPhys from previous pieces of code..

try Law2_ScGeom_FrictPhys_CundallStrack [1] instead

cheers
Jan

[1]
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Law2_ScGeom_FrictPhys_CundallStrack


2015-07-21 22:36 GMT+02:00 Jérôme Duriez <
question269513@xxxxxxxxxxxxxxxxxxxxx>:

> 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.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

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