← Back to team overview

yade-users team mailing list archive

Re: [Question #705792]: LevelSet not supported in periodic conditions.


Question #705792 on Yade changed:

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Is your question about "display" (visual rendering in the graphical view
= qt.View()), or the definition of a LevelSet-shaped body through
levelsetBody, or the general compatibility of the YADE LevelSet approach
with concave bodies ?

If it is about display, yes, any sort of LevelSet-shaped body (either
convex or not) can be displayed, once they have been properly defined
through some O.bodies.append(levelSetBody(...))

Regarding that levelSetBody( ) definition, the latter includes some
shortcut definitions for super-ellipsoid. For generic concave bodies,
you will have to define the grid with distance data  by yourself and
pass them like illustrated at [*] but the definition will work.

Regarding the possibility to actually have meaningful DEM simulations
with non-convex bodies, there is an incompatibility in current public
version of YADE through Ig2_LevelSet_LevelSet_ScGeom [**] which can
describe only one contact point between 2 LevelSet-shaped bodies, and
then can not satisfactorily apply to non-convex cases.

This will be extended with new code at some point...


[*] https://gitlab.com/yade-dev/trunk/-/blob/4180bfef7c8bb3d748235ed3320072902a4f87b6/examples/levelSet/levelSetBody.py#L32
[**] convex mention in https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Ig2_LevelSet_LevelSet_ScGeom

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