How to generate a hollow cuboid in Yade?

Asked by Xue on 2021-04-12

Hi everyone,

     I am trying to generate a hollow cuboid in yade, how should I achieve it? Can I do it through the boolean operation between polyhedra?
    The purpose of generating this hollow cuboid is for filling particles inside and outside of the cuboid and compacting them, then I will replace the hollow cuboid with a finite element unit for subsequent coupling calculation.

   kind regards,
   Xue

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:
Best Jan Stránský (honzik) said : #1

Hello,

> Can I do it through the boolean operation between polyhedra?

no:
- polyhedrons in Yade are convex
- no boolean operations are implemented anyway

If you need the cylinder to be dynamic, you can clump several polyhedrons / boxes / facets / pfacets / whatever shapes to form desired hollow cylinder and set desired dynamic properties (mass, inertia).

If the cylinder is just fixed boundary, you can simply made if from fixed facets (or any other fixed shapes).

cheers
Jan

Jan Stránský (honzik) said : #2

sorry, I wrote about cylinder.. but the meaning is independent of actual shape (cylinder / cuboid) :-)
Jan

Xue (1q12) said : #3

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