Porosity

Asked by bruna

Hello everyone!

I'm trying to make a sample with a defined psd into a determined volume. I want to vary the porosity so that I can see how the sample will behave for differents values. But I don't know how to set the porosity because just "porosity=" is not working.
Does anybody can help me?
Thanks a lot.

Question information

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

Hello,
please be more specific, what commands you are using and how etc. [1].
Otherwise a valid answer on

> just "porosity=" is not working

could be that you should not use "just porosity=", but
porosity=someSpecificValue instead ;-)
cheers
Jan

[1] https://yade-dem.org/wiki/Howtoask

2015-08-27 0:21 GMT+02:00 bruna <email address hidden>:

> New question #270818 on Yade:
> https://answers.launchpad.net/yade/+question/270818
>
> Hello everyone!
>
> I'm trying to make a sample with a defined psd into a determined volume. I
> want to vary the porosity so that I can see how the sample will behave for
> differents values. But I don't know how to set the porosity because just
> "porosity=" is not working.
> Does anybody can help me?
> Thanks a lot.
>
>
> --
> 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
bruna (brunamot) said :
#2

Hello Jan,

Thank you for your answer and sorry for the lack of details.
I'm using the porosity in the makeCloud function. Inspite I set a specif value, when I confer the value after the script has ran, it's not the porosity that I have set.

Thanks a lot.

Bruna.

Revision history for this message
Jérôme Duriez (jduriez) said :
#3

Hi Bruna,

This is normal, you may give a look e.g. to https://answers.launchpad.net/yade/+question/267328 to get more familiar with makeCloud.

Regarding your goal defining numerical samples with given porosity, you may give a look to example script in examples/triax-tutorial/script-session1.py, from l.141.
See e.g. https://github.com/yade/trunk/blob/master/examples/triax-tutorial/script-session1.py#L141

A search (with google specifying "site: https://answers.launchpad.net/yade") could also probably help as I think similar question has already posted here.

Jerome

Revision history for this message
Jan Stránský (honzik) said :
#4

Hi Bruna,

sorry once more to be a pedant, but read [1] again :-) to really help (not
just guess), we need to know what and how you use. makeCloud does not help
much, as it has a lot of parameters, moreover some of them influencing each
other.

I don't know makeCloud very well, but according to documentation: "porosity
(float) – initial guess for the iterative generation procedure (if num>1).
The algorithm will be retrying until the number of generated spheres is
num. The first iteration tries with the provided porosity, but next
iterations increase it if necessary". So one reason could be interaction of
"porosity" and "num" parameter. But it is mere guessing. To let other
users/devs, more experienced with makeCloud, solve your problem, please
write one or a few **full commands** you are using.

cheers
Jan

[1] https://yade-dem.org/wiki/Howtoask

2015-08-27 0:46 GMT+02:00 bruna <email address hidden>:

> Question #270818 on Yade changed:
> https://answers.launchpad.net/yade/+question/270818
>
> Status: Answered => Open
>
> bruna is still having a problem:
> Hello Jan,
>
> Thank you for your answer and sorry for the lack of details.
> I'm using the porosity in the makeCloud function. Inspite I set a specif
> value, when I confer the value after the script has ran, it's not the
> porosity that I have set.
>
> Thanks a lot.
>
> Bruna.
>
> --
> 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
Bruno Chareyre (bruno-chareyre) said :
#5

Hello,
You want to control the porosity of a dense sample (I guess).
MakeCloud is making a cloud, not a dense sample. So the porosity parameter there is unrelated to what you want to do.
Check triax-tutorial material as suggested by Jérôme.
Bruno

Can you help with this problem?

Provide an answer of your own, or ask bruna for more information if necessary.

To post a message you must log in.