mean radius

Asked by leishaoxin

Hi:

the sp.makeCloud(), has the parameter rMean, a group of sphere can be generated in different radius but the pack.regularHexa() doesn't have the parameter rMean, what should i to if I want use the pack.regularHexa() to generate a group of spheres with different radius around a mean radius?

Regards
Shaoxin Lei

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Stránský
Solved:
Last query:
Last reply:
Revision history for this message
Best Jan Stránský (honzik) said :
#1

Hi Shaoxin,

I would say, that then it would not be regular any more :-) but you can
create a regular packing with constant radius and change the radii
afterwards:

for b in O.bodies: b.shape.radius *= someReasonableRandomNumber

cheers
Jan
New question #252817 on Yade:
https://answers.launchpad.net/yade/+question/252817

Hi:

the sp.makeCloud(), has the parameter rMean, a group of sphere can be
generated in different radius but the pack.regularHexa() doesn't have the
parameter rMean, what should i to if I want use the pack.regularHexa() to
generate a group of spheres with different radius around a mean radius?

Regards
Shaoxin Lei

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

Revision history for this message
leishaoxin (leishaoxin) said :
#2

Thanks Jan Stránský, that solved my question.