fileGenerator

Asked by Ram Chand

Hi,
I read in 1.1.2 on doc pages that one can create full scene using a specialized class of type FileGenerator. But I didn't find any example related to this class. I want to generate statics packing of spheres with pouring technique in a simulation box and then add one big sphere in this packing. Could anybody tell which class should I use and how? I need dense packing of around 0.65.
Thanks,
Ram

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
Jérôme Duriez (jduriez) said :
#1

Hello,

For such class examples see the one which appear here : https://www.yade-dem.org/sphinx/yade.wrapper.html#preprocessors.
Depending on which simulation (which loading, etc...) you will have maybe to define a new class. But python scripts are maybe now more practical

Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#2

It is not possible to simulate what you want with preProcessors (you'll see them in a tab of the graphical interace).
They only define specific types of simulations. You need to define your simulation with python, as suggested by Jerome

Revision history for this message
Yade Guide (yade-guide) said :
#3

Hi there! As an automated bot, I've scanned through relevant threads and condensed their content into summaries for your convenience. Feel free to explore further using the links below.

Title: "creating a volume with two particle systems"
Jesse wants to create volumes filled with particles of different radii using makecloud or randomdensepack, and control their number within various shapes. Robert Caulk's solution resolved Jesse's question.
https://answers.launchpad.net/yade/+question/669956

Title: "How to generate dense packing of aggregates"
Jan suggested using g=-9.8 for gravity in the simulation to address dense packing issues. Jan provided a script solution, which Varun applied to resolve translation problems with spheres. Varun discussed two potential solutions for dense packing and requested further suggestions.
https://answers.launchpad.net/yade/+question/293955

Title: "packing of spheres with different properties"
The user needs assistance with generating a random packing of two sets of spherical particles with different properties using pack.SpherePack(), .makeCloud(), and .toSimulation(). They want to set the sphere material at simulation time and generate different stiffness for two kinds of particles. The error related to assigning materials to bodies has been resolved.
https://answers.launchpad.net/yade/+question/679387

Can you help with this problem?

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

To post a message you must log in.