Re: [Yade-users] [Question #704485]: bodies which are controlled by "setPermF" does not move. Is it right?

2023-01-29 Thread Karol Brzezinski
Question #704485 on Yade changed:
https://answers.launchpad.net/yade/+question/704485

Karol Brzezinski posted a new comment:
Hi,

Please open separate threads for new questions [1]. Also, remember about
MVE (especially for the sphere-facet interaction question because there
are no spheres in your first MVE ). Regarding your second question - it
depends. Try to describe your problem in more detail when you open a new
topic.


Cheers, 
Karol
[1] https://www.yade-dem.org/wiki/Howtoask

-- 
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 #704485]: bodies which are controlled by "setPermF" does not move. Is it right?

2023-01-26 Thread JINSUN LEE
Question #704485 on Yade changed:
https://answers.launchpad.net/yade/+question/704485

JINSUN LEE posted a new comment:
Thanks Karol Brzezinski

I have met another question.

I can apply overburden pressure as following your reply.

Question #1
When I use the command "O.bodies[-1].dynamic=True" instead of the command 
"O.bodies[-1].state.blockedDOFs=xyXYZ",
the facet will not interact with the spheres. Why?

Question #2
Finally, I can use either "ServoPIDController" or "O.bodies[-1].state.mass" to 
apply overburden pressure.
What is standard or preferred procedure in YADE now?

Thank you in advance for your kind answer.

Regards. :)

-- 
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 #704485]: bodies which are controlled by "setPermF" does not move. Is it right?

2023-01-24 Thread JINSUN LEE
Question #704485 on Yade changed:
https://answers.launchpad.net/yade/+question/704485

JINSUN LEE confirmed that the question is solved:
Thanks Karol Brzezinski, 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 #704485]: bodies which are controlled by "setPermF" does not move. Is it right?

2023-01-24 Thread JINSUN LEE
Question #704485 on Yade changed:
https://answers.launchpad.net/yade/+question/704485

Status: Answered => Solved

JINSUN LEE confirmed that the question is solved:
Thank you Brzezinski

appreciate.

Regards,

-- 
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 #704485]: bodies which are controlled by "setPermF" does not move. Is it right?

2023-01-20 Thread Karol Brzezinski
Question #704485 on Yade changed:
https://answers.launchpad.net/yade/+question/704485

Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi Jinsun,

The major issue is not the setPermF function but the fact that facets
are massless and not dynamic bodies by default. You can move such bodies
by applying velocity to them. If you want to move them with force, they
should have mass and be freed. You can achieve it by the following
(example) code placed right before O.run():

for i in [-2,-1]:
b = O.bodies[i]
b.state.mass = 1# set 1 kg of mass to the facet
b.state.blockedDOFs = 'xyXYZ'# block all the degrees of freedom except for 
z (by default everything is blocked, even z)

Please note, that the movement of the facets will also be affected by
gravity. Also, it is strange that there is no particles in your
simulation yet ;)

Cheers, 
Karol

-- 
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