yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #14523
Re: Potential Blocks and Potential Particles - Documentation
-
To:
Chia Weng Boon <chiaweng@xxxxxxxxx>
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Mon, 21 Jan 2019 21:19:04 +0100
-
Cc:
Yade developers <yade-dev@xxxxxxxxxxxxxxxxxxx>
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
-
In-reply-to:
<CAJjzU-R1pFJnj7kuTCSycd2bmegRRrr326jQ0kVv_Pu4yHv3Xg@mail.gmail.com>
Hi Boon,
awesome! I'm not sure if I need to reply to your address, or only to
yade-dev, so to be safe I reply to both now.
I did follow your instructions exactly and now all four examples did
start and run. But unfortunately they appeared to work incorrectly :(
Here's the list of problems I encountered:
WedgeYADE.py
The scene is empty until I click Display->intrAllWire
I am not sure maybe the calculation is going on correctly, but since
the shape is not drawn it is very hard to tell.
Also the terminal is spammed with messages like KnKsPBLaw.cpp:34 go:geom->penetrationDepth=0.00155115; de1->se3.position=-14.8839 8.48539 26.8419; de2->se3.position=-17.682 -6.95829 26.8667;
And the messages are so fast that it slows down calculation very fast.
cubePBscaled.py
The same problem as above also there are extra messages:
../yade:70: DeprecationWarning: dynamic=True is deprecated, use fixed=False instead
print 20*'*'+' UNEXPECTED EXCEPTION WHILE RUNNING TESTS '+20*'*'
print 'WARNING: compiled without OpenMP, -j/--threads/--cores have no effect.'
else: os.environ['OMP_NUM_THREADS']='1'
basic.py
The sphere does not collide with the box, it goes through.
cubePPscaled.py
Drawing shapes is a bit slow, so it's hard to tell if it runs
correctly. I disabled drawing of shapes, enabled intrAllWire. Ran
simulation a bit and it seemed to work.
Then I clicked to enable drawing shapes and I got SIGSEGV/SIGABRT handler called; gdb
Also I see that your merge request has some lines like "not used" which is confirmed by similar compiler warnings like this one:
BlockGen.cpp:326:22: warning: unused variable ‘linecount’ [-Wunused-variable]
BlockGen.cpp:2670:48: warning: unused variable ‘zlocalA’ [-Wunused-variable]
best regards
Janek
Chia Weng Boon said: (by the date of Mon, 21 Jan 2019 13:02:58 +0800)
> Hi all,
>
> In my DPhil thesis submitted in 2013, I previously developed algorithms for
> (i) block generation and contact detection between polyhedral blocks (I
> have named it as Potential Blocks in YADE), and also (ii) contact detection
> between general non-spherical particles (Potential Particles).
>
> http://www2.eng.ox.ac.uk/civil/publications/theses/boon
>
> It is now being updated with Coin-OR's clp library (2015) and I've added it
> into the config file in YADE (2016-2017). I've written a brief
> introduction as to how to enable this feature in YADE (attached), so that
> it can be incorporated into YADE's Documentation (maybe 3rd edition?). I
> am working in the industry currently, and can only spend time on a casual
> basis as a hobby (once in a few months).
>
> The algorithms for block generation and contact detection are already being
> used by other research groups.
>
> https://github.com/cb-geo/spark-rocks
>
> https://www.ce.berkeley.edu/news/2044
>
> https://www.cb-geo.com/team/
>
> Btw, recently I submitted a pull request, to update the description of some
> variables.
>
> Yours,
> CWBoon
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
--
Janek Kozicki http://janek.kozicki.pl/ |
References