Re: [Yade-users] [Question #693506]: How to get tension force of a cohesive contact

2020-10-20 Thread Leonard
Question #693506 on Yade changed:
https://answers.launchpad.net/yade/+question/693506

Status: Answered => Solved

Leonard confirmed that the question is solved:
Thanks Jan Stránský, 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 #693455]: addForce didnt work for facet

2020-10-20 Thread onyourself
Question #693455 on Yade changed:
https://answers.launchpad.net/yade/+question/693455

onyourself confirmed that the question is solved:
Thanks Jan Stránský, 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 #693455]: addForce didnt work for facet

2020-10-20 Thread onyourself
Question #693455 on Yade changed:
https://answers.launchpad.net/yade/+question/693455

Status: Answered => Solved

onyourself confirmed that the question is solved:
thanks, jan, that solved my problem.

-- 
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 #693550]: Relative Density

2020-10-20 Thread Jan Stránský
Question #693550 on Yade changed:
https://answers.launchpad.net/yade/+question/693550

Status: Open => Needs information

Jan Stránský requested more information:
Hello,

first of all, please read [1]

> How can I ...

please be (much) more specific.
- Why do you want to control it?
- At what circumstances (initial packing, during simulation)?
- ...

> control

what does "control" mean? check (get)? prescribe?

> in a script

do you have any specific script, or is it just a general question?

> Is relDensity good?

depends on "control", see above

cheers
Jan

[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


[Yade-users] [Question #693550]: Relative Density

2020-10-20 Thread Amedeo Galletti
New question #693550 on Yade:
https://answers.launchpad.net/yade/+question/693550

How can I control Relative Density in a script? Is relDensity good? 

https://www.yade-dem.org/doc/yade.pack.html?highlight=reldensity#yade._packSpheres.SpherePack.relDensity



-- 
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 #693506]: How to get tension force of a cohesive contact

2020-10-20 Thread Jan Stránský
Question #693506 on Yade changed:
https://answers.launchpad.net/yade/+question/693506

Status: Open => Answered

Jan Stránský proposed the following answer:
Yes, the same sign w.r.t. tension/compression of
i.phys.normalForce.dot(i.geom.normal) is the same for all contacts.

There is no "direction of compression" (recall action-reaction law).

The direction of contact normal (if it is from body A to body B or from B to A) 
is arbitrary, more precisely chosen by collider "randomly" (i.e. non-trivially).
But, the value of internal force (tension/compression) is determined by the 
given normal convention, as forces on bodies are usually computed from 
i.phys.normalForce, assigned positive to one body, but negative to the other 
body. The resultant forces on bodies must be independent of the choice A->B / 
B->A. See e.g. [1], similarly it is done in other laws.

So if you swapped body1 and body2 of the contact (i.geom.normal would be
negated), i.phys.normalForce would need to be negated, too, to preserve
the consistency of formula [1]

cheers
Jan

[1] https://gitlab.com/yade-
dev/trunk/-/blob/master/pkg/dem/ElasticContactLaw.cpp#L116

-- 
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 #693506]: How to get tension force of a cohesive contact

2020-10-20 Thread Leonard
Question #693506 on Yade changed:
https://answers.launchpad.net/yade/+question/693506

Leonard posted a new comment:
Hi Jérôme,

Yes, thanks for your reminder!

Leonard

-- 
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 #693506]: How to get tension force of a cohesive contact

2020-10-20 Thread Leonard
Question #693506 on Yade changed:
https://answers.launchpad.net/yade/+question/693506

Status: Answered => Open

Leonard is still having a problem:
Hi Jan,

I test your idea with two particles which works really fine!

I just have a question: For example, for one interaction in the model, 
i.phys.normalForce.dot(i.geom.normal) is positive which represents that it is 
compressive, does this apply for all the other interactions in the model? I.e., 
for other interactions whose  i.phys.normalForce.dot(i.geom.normal) is 
positive, is the force compressive as well?
I have this question because in my impression, the direction of contact normal 
unit vector "n" is arbitrary, not always orientates to the direction of 
compression.

Thanks
Leonard

-- 
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 #693542]: Conveyor factory with periodic packing

2020-10-20 Thread Jan Stránský
Question #693542 on Yade changed:
https://answers.launchpad.net/yade/+question/693542

Status: Needs information => Answered

Jan Stránský proposed the following answer:
Hello,

You have several options:
- as suggested by Robert, implement the particle creation "manually" (search 
O.bodies.append, PyRunner etc.)
- using existing features - see examples [1,2,3] (also available in the source 
code in "examples" directory)

cheers
Jan

[1] https://gitlab.com/yade-dev/trunk/-/blob/master/examples/spheresFactory.py
[2] 
https://gitlab.com/yade-dev/trunk/-/blob/master/examples/hourglass/hourglass.py
[3] https://gitlab.com/yade-dev/trunk/-/blob/master/examples/packs/packs.py

-- 
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 #693542]: Conveyor factory with periodic packing

2020-10-20 Thread Robert Caulk
Question #693542 on Yade changed:
https://answers.launchpad.net/yade/+question/693542

Status: Open => Needs information

Robert Caulk requested more information:
Hello,

Are you sure "he" is using periodic boundary conditions? If so, how do
you know? Is there a script for this video? Also, we typically request
that people do not post external links [1] like this.

>So, is there a similar method in Yade that can achieve continuous
particles flow?

You can create particles at any time/location that you wish using the
basic python interface [2].

[1] https://www.yade-dem.org/wiki/Howtoask
[2] https://yade-dem.org/doc/introduction.html

Cheers,

Robert

-- 
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 #693542]: Conveyor factory with periodic packing

2020-10-20 Thread Peter
New question #693542 on Yade:
https://answers.launchpad.net/yade/+question/693542

Hi everyone,

In this video[1], he simulated a conveying factory with WooDEM. It seems that 
he used 'periodic packing' method to continuously generate particles.

I have looked examples of Periodic Boundaries in yade, but did not find a 
similar method. So, is there a similar method in Yade that can achieve 
continuous particles flow?

 I will appreciate your help in answering my questions.

Thank you,
Peter

[1] https://www.youtube.com/watch?v=-Q81oGxoz_s


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