Re: [Yade-users] [Question #623658]: how to set the shape of a rigid boundary as a rectangle

2017-04-19 Thread ting
Question #623658 on Yade changed:
https://answers.launchpad.net/yade/+question/623658

Status: Answered => Solved

ting confirmed that the question is solved:
Thanks Jérôme Duriez, that solved my question.

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #623658]: how to set the shape of a rigid boundary as a rectangle

2017-04-19 Thread Jérôme Duriez
Question #623658 on Yade changed:
https://answers.launchpad.net/yade/+question/623658

Status: Open => Answered

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

This "facet" function creates a body with a "Facet" shape which is
necessarily a triangle [1]. You may however define a second adjacent
"facet" so that you would eventually have a rectangle (made of two YADE
bodies).

Or, maybe more simply, you may use other shapes, such as (infinite) Walls [2], 
or Boxes [3].
Bodies with such shape can also be easily created with built-in functions [4,5]

[1] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Facet
[2] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Wall
[3] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Box
[4] https://yade-dem.org/doc/yade.utils.html#yade.utils.wall
[5] https://yade-dem.org/doc/yade.utils.html#yade.utils.box

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] [Question #623658]: how to set the shape of a rigid boundary as a rectangle

2017-04-19 Thread ting
New question #623658 on Yade:
https://answers.launchpad.net/yade/+question/623658

Hi everyone:

I am new to Yade and python and I am trying to simulate a rigid rectangle plate 
and moving it as a blade. I found I can simulate a rigid boundary as a triangle 
as following:
O.bodies.append(facet([(0,0,0),(2,0,1),(0,0,1)]))
But I found it cannot form a rectangle by adding one more point.
Can someone tell me how to modify it or using other approach?
Thank you so much and wish have a good day!

Regards,
Ting

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp