[Yade-users] [Question #661926]: REFD method with clumps, but maintaining the proportion of clumps

2017-12-17 Thread Marcus Moravia
New question #661926 on Yade:
https://answers.launchpad.net/yade/+question/661926

Hello everybody!

I am trying to prepare clumps sample using radius-expansion friction-decrease 
method. I am using the TriaxialStressController as functional component, like 
in the tutorial:

https://github.com/yade/trunk/blob/master/examples/triax-tutorial/script-session1.py

I would like to maintain the proportion of clumps during the growth process of 
the spheres (i.e., by keeping also proportional the distance between the 
spheres that constitute the clumps), but I do not know how to perform that. Is 
there an easy way to do this?

Thank you very much,
Marcus.

-- 
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 #661754]: Force on a clump member

2017-12-17 Thread Jan Stránský
Question #661754 on Yade changed:
https://answers.launchpad.net/yade/+question/661754

Status: Open => Answered

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

have a look at [1]

### pseudo code
F,T = (0,0,0), (0,0,0)
for each clump member:
   f = force of member
   t = torque (moment) of member
   F += f # simply added force
   T += t + (memberPos-clumpPos).cross(f) # added torque plus moment effect of 
the force with respect to the clump "center"
###

cheers
Jan

[1] https://github.com/yade/trunk/blob/master/core/Clump.cpp#L55

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