create 3d triangle facet

Asked by yakir

Hi.
I'm new in yade-dem and i'm trying to create sinkage test and panitrate 3d triangle
in to a box full of particle.
My difficulties are to create 3d triangle body which i can use the "state" function on it.
Thanks a lot.
Yakir

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jérôme Duriez (jduriez) said :
#1

Hello,

As a first suggestion, consider maybe to define corresponding "facets" (one type of body shape in yade) for the different faces of your 3d triangle (a pyramid, isn't it ?). You may maybe wish to use the "gts" module of yade (coming from a library existing outside of yade) to this purpose.
Then, consider to "clump" these facets. You will have then an extra body (= the clump) whose you can access the state.
Though, I did not check if clumps (generally used with spheres) can be used with facets...

Revision history for this message
Jan Stránský (honzik) said :
#2

Hello Yakir,

could you please describe a liitle more in detail your simulation setup?
e.g. how would you like to simulate the "3d triangle" penetration,
displacement controlled? If so, you can create the facets (as proposed by
Jerome) and directly prescribe their velocity. You don't need to do
anything else as facets are non-dynamic by default:

facets = [
  facet(...),
  facet(...),
  facet(...),
]
O.bodies.append(facets)
for f in facets:
  f.state.vel = (0,0,-1) # or any other value

cheers
Jan

2013/12/9 jduriez <email address hidden>

> Question #240439 on Yade changed:
> https://answers.launchpad.net/yade/+question/240439
>
> Status: Open => Answered
>
> jduriez proposed the following answer:
> Hello,
>
> As a first suggestion, consider maybe to define corresponding "facets"
> (one type of body shape in yade) for the different faces of your 3d
> triangle (a pyramid, isn't it ?). You may maybe wish to use the "gts"
> module of yade (coming from a library existing outside of yade) to this
> purpose.
> Then, consider to "clump" these facets. You will have then an extra body
> (= the clump) whose you can access the state.
> Though, I did not check if clumps (generally used with spheres) can be
> used with facets...
>
> --
> 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 : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Can you help with this problem?

Provide an answer of your own, or ask yakir for more information if necessary.

To post a message you must log in.