← Back to team overview

yade-users team mailing list archive

Re: [Question #670169]: informations about packing

 

Question #670169 on Yade changed:
https://answers.launchpad.net/yade/+question/670169

    Status: Answered => Open

jacopo is still having a problem:
I can t save The particles position And use IT for all The runs Becouse when i change The material parameters The particles change their interactions And have To do again the deposition, i m Also lunching with more cores.... What Is the seed parameter? Or do you think that this Is not a problem? Like ones time i reach the right result I will continue to  use The same deposition for all the next test, But i know that if i remake The same deposition the results could change a lit.... Is IT acceptable this for yade users? ( please if you can explain me The seed parameter And provide an example) will change In The same way the result?
________________________________
Da: bounces@xxxxxxxxxxxxx <bounces@xxxxxxxxxxxxx> per conto di Jan Stránský <question670169@xxxxxxxxxxxxxxxxxxxxx>
Inviato: mercoledì 13 giugno 2018 10:38:39
A: Jacopo Varriale
Oggetto: Re: [Question #670169]: informations about packing

Your question #670169 on Yade changed:
https://answers.launchpad.net/yade/+question/670169

    Status: Open => Answered

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

> spheres=pack.randomDensePack(...

randomDensePack, as the name of the function suggests, creates a random
packing. You have different packing and therefore different results for
each run.

A solution is to run the randomDensePack once (in an external script?),
save the positions and use the saved values for all next runs. You can
also specify memoizeDb parameter to save/load the packing automatically
to a file.

Another option is to use SpherePack.makeCloud with seed parameter.

Also running the program on multiple cores leads to non-unique results
(too lazy to search corresponding question :-)

cheers
Jan

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/yade/+question/670169/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/yade/+question/670169

You received this question notification because you asked the question.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.