.. _gallery-shapes: Shapes ======= There are many shapes supported by the Woo engine. * :obj:`sphere `: Minkowski sum of 0-D simplex (plus) with sphere; * :obj:`capsule `: Minkowski sum of 1-D simplex (segment) with sphere; * :obj:`rounded facet `: Minkowski sum of 2-D simplex (triangle) with sphere; * :obj:`ellipsoid `; * axis-aligned :obj:`infinite cylinder ` and :obj:`plane ` (often useful as boundary conditions) These shapes are uni-nodal (they have all their mass & intertia lumped into a single node). Besides them, there is support for multi-nodal particles (:obj:`rods `, :obj:`membranes `, :obj:`tetrahedral volume elements `), which not only undergo collisions, but also have internal forces (see :ref:`gallery-fem`). Spheres ------- Spheres are the traditional and most frequently used shapes. They are fast to compute (quick distance and contact evaluation) due to their symmetry. This images shows the initial elastic wave (when loading starts) propagating from supports towards the hyperboloidal specimen middle; this simulation can be found in :woosrc:`examples/concrete-uniax.py` and uses the :ref:`conrete contact model `. .. image:: fig/concrete-uniax.png :width: 100% Clumps ------ Clumps are rigid aggregates of other shapes (not only spheres). :woosrc:`This script ` creates clumps of predefined configurations, scaled according to a PSD function. .. image:: fig/clumps.png :width: 100% Capsules --------- Pharma capsules are generated by :obj:`~woo.dem.PharmaCapsuleGenerator`, using real dimension from the manufacturer. Pharmaceutical capsules are composed of two capsule-shaped particles clumped together. This simulation is treated in detail in the :ref:`tutorial `; the bottle is imported from STL and the movement is prescribed in discrete points (Woo interpolates between those so that the motion is smooth). .. image:: fig/bottle.png :width: 100% .. youtube:: jXL8qXi780M Capsules triaxial test """""""""""""""""""""" This uses the :obj:`TriaxTest preprocessor `: .. youtube:: qWZBCQbS6x4 Capsules in sheared periodic cell """"""""""""""""""""""""""""""""" This image shows sheared periodic cell with dense packing of capsules which were generated from a given PSD. .. image:: fig/shear-capsules.png :width: 100% Elllipsoids ----------- Dense packing of ellipsoids, under discaplement-controlled shear loading. Ellipsoids are rather slow to compute (there is no closed-form distance function for them) but very useful due to their smooth roundness function (the theory is of course described :ref:`in the documentation `): .. image:: fig/shear-ellipsoids.png :width: 100% These are ellipsoids under constrained motion (in 2D) colliding in a rectangular area: .. youtube:: t1AHWO4FgMk Triangulation ------------- This demonstrates the ability of rounded facets to collide with each other; this simulation is in :woosrc:`examples/facet-facet.py`. For more collisions of triangualted surfaces, see :ref:`FEM `. .. youtube:: jeiMXUdQwOM