← Back to team overview

yade-users team mailing list archive

Re: [Question #701174]: a slight change to an example

 

Question #701174 on Yade changed:
https://answers.launchpad.net/yade/+question/701174

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Do you mean switch from a Sphere shape for Discrete Elements (= YADE
bodies) to an ellipse ? We do not have ellipse per se in YADE, see
https://yade-dem.org/doc/yade.wrapper.html#shape.

A LevelSet approach might be used to described elliptical shape, though,
see eg
https://www.sciencedirect.com/science/article/pii/S0098300421002247 with
superellipsoid (a generalization of ellipses).

And, for your possible first LevelSet ellipse in YADE:

O.bodies.append(levelSetBody('superellipsoid',extents=(4,1,1),epsilons
=(1,1)))

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