← Back to team overview

yade-users team mailing list archive

Re: New particle shape

 

Hi!

First of all I would recommend you to clearly understand, what you want to
get from simulation. It is important.

If you are looking for opensource DEM software, I would recommend you have a
look at Yade and ESyS-particle. Both of them, of course,  have scons and
procs. But when you dont know, what to simulate, it is difficult to make an
advice. If you want to implement new shapes (geometry), perhaps YADE is
easier for testings. But later you can move your model to ESyS, if you need
it.

Commercial software is also ok, but look at the price-list first :)

According to your ellipsoid question. See
./scripts/test/regular-sphere-pack.py . There is a string:
pack.regularOrtho(pack.inEllipsoid((-1,0,-4),(1,1,2)),radius=rad,gap=0,color=(0,1,1),**kw)

Maybe is it what you want? Ellipsoid is created of spheres. If you make
sphere radius smaller, you will get more accurate ellipsoid.

I would also recommend you to test all scripts in ./example; ./scripts;
./scripts/test directories. Maybe not all of them are working now (because
development process is moving forward, and some of scripts become "old"),
but you will generally imagine what YADE can do.

Good Luck!

______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy


2009/11/20 boon chiaweng <booncw@xxxxxxxxxxx>

>  Presently, I am very 'lost'... I have just started DEM.  YADE is my first
> DEM software.    I've just started my Phd and the topic is open (cuz i'm not
> doing sth on a funded project)... In fact, i've not decided what project to
> do yet.  i have to consider also the 'technical' difficulties when deciding
> a topic.  The community is my only source of help.   Some things are v
> difficult and may have to be abandoned, e.g. the algorithm to generate rock
> blocks from joint planes (like 3Dec, not PFC).
>
> I was looking at ellipsoids..On google, found these websites:
> http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/implicitsurf/<http://local.wasp.uwa.edu.au/%7Epbourke/miscellaneous/implicitsurf/>
> http://www.frank-buss.de/lisp/polygonizer.html
> When I come to think of it (still thinking), if i use some weird shapes to
> do simulation, and do some experimental calibration = PhD dissertation?  I
> think i'll have to finalize what i'll be doing for my phd soon <headache>...
>
>
> Yours,
>
> CWBoon
>
> ------------------------------
> From: gladky.anton@xxxxxxxxx
> Date: Fri, 20 Nov 2009 18:15:01 +0100
>
> To: yade-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Yade-users] New particle shape
>
> Could you not explain in generally, what do you want to simulate?
> ______________________________
>
> Anton Gladkyy
>
>
> 2009/11/20 boon chiaweng <booncw@xxxxxxxxxxx>
>
> Thank you, Janek.  May I know where can I find the marching cube algorithm
> in YADE?  And how is it used?  I'm really curious (one reason is i've spent
> days looking for the marching cube algorithm).  Although I'm still a novice,
> but I hope soon, I'll be a 'pro'.  If I am able to think of a shape that can
> be specified by an equation, and marching cube is available, it will save me
> a lot of trouble thinking of how to plot it.  Thanks~
>
>
> Really grateful,
>
> CW Boon
>
>
> > Date: Fri, 20 Nov 2009 16:32:31 +0100
>
> > From: janek_listy@xxxxx
> > To: yade-users@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: [Yade-users] New particle shape
> >
>  > boon chiaweng said: (by the date of Fri, 20 Nov 2009 22:00:20 +0800)
> >
> > >
> > > There should be advantages in polygonizing an arbitrary equation. While
> looking for solutions for graphics, there are weird shapes that can be drawn
> using implicit equations.. I can't recall what shapes but they were
> recommending the "marching cube" algorithm.. In the OpenGl file for sphere,
> are the vertices and faces a general polygonization method for any equation?
> Or is it only for a sphere-type particle? I'm a novice in this.
> >
> > don't go into this direction unless you are more interested in
> > computer graphics than in ellipsoid interactions. In fact we even
> > have marching cubes implemented somewhere, but in your case a simple
> > drawing of a sphere scaled in radiusX,radiusY,radiusZ will just work.
> >
> >
> > > How do I make sure that, with time, OpenGL's orientation on the user
> interface is same as the quaternion which is used in calculation?
> >
> > It is the same variable. So it is equal to itself :)
> >
> > --
> > Janek Kozicki |
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> > Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> > More help : https://help.launchpad.net/ListHelp
>
> ------------------------------
> New Windows 7: Simplify what you do everyday. Find the right PC for you.<http://windows.microsoft.com/shop>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> ------------------------------
> New Windows 7: Find the right PC for you. Learn more.<http://windows.microsoft.com/shop>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help   : https://help.launchpad.net/ListHelp
>
>

References