How to add rotation on the Boxfactory?
Hello everyone!
I am a new user of Yade and I want to simulate rotational powder dropping in the unsealed cylinder. I tried to add rotational movement on the Boxfactory through the RotationEngine but the terminal shows “SyntaxError: invalid syntax”. I have consulted question/647827[1], but I don’t know how to deal with it. Could you give me some advice?
Moreover, I also encountered some problems in the process of beginning to learn Yade, could I trouble you to answer problems?
1. In the below code, the steelID and "316lsteel" can present the defined material. However, the description of material selection between CylinderID and BoxFactory is different. I want to know the difference between ‘label’ and ‘id’.
2. In the below code, the material of the sphere and geometry is 316Lsteel. I want to know the difference between frictionAngle is defined in O.materials.append and the frictAngle in Ip2_FrictMat_
3. In the Hertz-Mindlin model of the YADE document, the normal coefficient of restitution(en) can be considered as equal to the shear coefficient of restitution(es), and I would like to confirm to you that es = en = e/sqrt(2)? e is the restitution coefficient.
4. In Boxfactory, the meaning of mask is groupMask to apply for newly created spheres. In packs.py[2],the value of mask is 5. I am confused about whether the value mask has the same meaning as the value wallmask in geom.factbox, i.e – determines which walls will be created spheres, in the order -x (1), +x (2), -y (4), +y (8), -z (16), +z (32). The numbers are ANDed; the default 63 means to create spheres in all walls.
5. When RotationEngine is not applied to Boxfactory, the following warning appears at the terminal when emulation begins. Could you give me some advice to deal with it?
(1) Shop:482 static yade::Real yade::Shop:
(2) InsertionSortCo
The rotational powder-dropping code is as follows:
from yade import pack, geom
steelID= O.materials.
CylinderID=
O.engines=[
),
),
]
O.dt=.5e-
O.saveTmp()
O.run()
[1] https:/
[2] https:/
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: