Re: [Yade-users] [Question #293576]: yade from source on Ubuntu 16.04

2016-05-12 Thread Anton Gladky
Question #293576 on Yade changed:
https://answers.launchpad.net/yade/+question/293576

Status: Open => Answered

Anton Gladky proposed the following answer:
Hi Rafael,

first of all, I do not clearly understand, whether you recompiled
libqglviewer or not. You do not need to do it. Just install libqglviewer-dev
from standard repository.

An error, which you refer just means that you probably missed
python-pyqt5 or pyqt5-dev-tools. Please install them and try again.

Regards

Anton

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #293247]: Physic interaction betweem particles and polyhedra

2016-05-12 Thread Jonathan Pergoli
Question #293247 on Yade changed:
https://answers.launchpad.net/yade/+question/293247

Status: Answered => Solved

Jonathan Pergoli confirmed that the question is solved:
Now I can distinguish between interactions:

def rollingfriction():
for i in sphere:
try:
O.interactions[m,sphere[i]].phys.kr=.15
print "Interaction between",m,sphere[i]
except:
print "No interaction exists",m,sphere[i]

Thank you guys for helping me. :)

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] [Question #293635]: Problem with visualization of boxes in ParaView 4.0.1

2016-05-12 Thread Jonathan Pergoli
New question #293635 on Yade:
https://answers.launchpad.net/yade/+question/293635

Hi everybodi!

I cannot see rotation of my box when I postprocess it with paraview. If I open 
the contreller I can see the box star rotating after bouncing on the ground, 
but when I open it with paraview I the box is always in horizontal position. 
The problem is that I cannot use SnapshotEngine because I have to run my 
simuations on vesion without the graphic interface.

Can someone help me?

Thanks

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #293576]: yade from source on Ubuntu 16.04

2016-05-12 Thread Raphaël Maurin
Question #293576 on Yade changed:
https://answers.launchpad.net/yade/+question/293576

Status: Answered => Open

Raphaël Maurin is still having a problem:
Hi Anton,

Thank you for the explanation. I tried to re-compile from scratch after
downloading the library you talked about, and compiling with the option
-DUSE_QT5=1, I have a problem at the end of the compilation when I do
'make install', there is an error finishing by:

" ...
-- Installing: 
/home/raphaelmaurin/testYade/install/lib/x86_64-linux-gnu/yade-2016-05-04.git-040f642/py/yade/qt/SerializableEditor.py
CMake Error at gui/cmake_install.cmake:88 (file):
  file INSTALL cannot find "/home/raphaelmaurin/testYade/compiled/img_rc.py".
Call Stack (most recent call first):
  cmake_install.cmake:198 (include)
  


Makefile:61 : la recette pour la cible « install » a échouée
make: *** [install] Erreur 1
"

I don't understand what it can be due to... Can you help me ?


Raphael

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #293445]: Polyhedra Elements, Infinite Loop.

2016-05-12 Thread Jan Stránský
Question #293445 on Yade changed:
https://answers.launchpad.net/yade/+question/293445

Status: Needs information => Answered

Jan Stránský proposed the following answer:
Hi Mike,
using pure yade, it resulted in segmentation fault in my case.

However, I noticed that the polyhedrons are really "crazy", completely
intersecting each other. I think in this case the DEM itself is not valid
anyway.. Is this a script just to reproduced the problem, or are you using
the script in other situations?

cheers
Jan


2016-05-09 9:57 GMT+02:00 MikeZhao :

> Question #293445 on Yade changed:
> https://answers.launchpad.net/yade/+question/293445
>
> MikeZhao gave more information on the question:
> Hi, I have tried to reproduce this bug, and the script is as
> following:##
>
> from libyade import yade
> from yade import *
>
>
> mat = PolyhedraMat()
> mat.density = 2600 * 10e15 #kg/m^3
> mat.Ks = 1.5e8
> mat.Kn = 2E9   #Pa
> mat.frictionAngle = 0.5 #rad
> yade.O.materials.append(mat)
> coords = dict()
> coords[0] =
> [yade.Vector3(0.12506498908304559,0.004170586360067608,0.04718878419835185),
>
> yade.Vector3(0.07196917639353285,0.002130673955178613,0.04829019846239369),
>
> yade.Vector3(0.12452553414402667,0.05548698237982243,0.09674610334959563),
>
> yade.Vector3(0.10202107066713305,0.003501573781327025,0.09778836768091179)]
> coords[1] =
> [yade.Vector3(0.14295032259085494,-0.006505603044225198,0.10466693700014766),
>
> yade.Vector3(0.11566808726849623,0.0437318004347,0.10573503009510624),
>
> yade.Vector3(0.09295451012074624,-0.008001021823003239,0.10600124068861566),
>
> yade.Vector3(0.11621529452629992,-0.007042223507702154,0.05542740653091893)]
> coords[2] =
> [yade.Vector3(0.2130315465641754,0.09686131087477995,0.053289505254753),
>   yade.Vector3(0.164020561929353,0.04648070412681492,0.004219224080575502),
>   yade.Vector3(0.1862772963099485,0.09652671335229797,0.00417259537268409),
>
> yade.Vector3(0.16288263942085443,0.09471008739327443,0.055098349410302505)]
> coords[3] =
> [yade.Vector3(0.17228834709600793,0.10610590338541123,0.04456793567930975),
>
> yade.Vector3(0.17280626014182954,0.056807096563525575,-0.00527106604700384),
>
> yade.Vector3(0.19547690664041997,0.1064874328191193,-0.006528797650868522),
>
> yade.Vector3(0.1454828764592455,0.10501383881798207,-0.004532778418338768)]
> coords[4] =
> [yade.Vector3(0.12518512144479108,0.004202482634043023,0.047282108263384234),
>
> yade.Vector3(0.07215900355266172,0.0022067170630582396,0.048405189227085095),
>
> yade.Vector3(0.09927440181878336,0.002841487802841776,-0.0020490482509290323),
>
> yade.Vector3(0.12194553936223902,0.053900337377603164,-0.003137962336613641)]
> coords[5] =
> [yade.Vector3(0.1230094368221373,-0.01217837847454617,0.0385941766299165),
>
> yade.Vector3(0.09606163246660983,-0.009341849627069044,-0.010265958898953698),
>
> yade.Vector3(0.14605505129391785,-0.007892828978239817,-0.012758832943173034),
>
> yade.Vector3(0.1191666025858279,0.04146035772028468,-0.007885859751166355)]
> coords[6] =
> [yade.Vector3(0.11631337631682945,-0.0072190647263523505,0.05526504476519887),
>
> yade.Vector3(0.11546679195549954,0.04339612477093768,0.10546948815801681),
>
> yade.Vector3(0.16283607913807063,0.09468384437456645,0.054801725781359986),
>   yade.Vector3(0.1660494458383337,0.04445695707723045,0.10422688539183134)]
> coords[7] =
> [yade.Vector3(0.12517826549319078,0.004210666781740674,0.04713033641567168),
>
> yade.Vector3(0.12503175035775993,0.05566147427541226,0.09662450106256898),
>
> yade.Vector3(0.1218967526875405,0.054092789281228446,-0.0033114695372207723),
>   yade.Vector3(0.1723941910681486,0.10613783179410324,0.04465530410432424)]
> coords[8] =
> [yade.Vector3(0.16282407041415756,0.0946878041824045,0.054807634434872056),
>
> yade.Vector3(0.1660391862703065,0.044454782962754805,0.10419776714643575),
>
> yade.Vector3(0.1641981030564517,0.04610198242630093,0.004203199959939556),
>
> yade.Vector3(0.11627599902436038,-0.007311015046615452,0.05527225087207195)]
> coords[9] =
> [yade.Vector3(0.1255192872383347,0.004248839377251908,0.04705512287925926),
>
> yade.Vector3(0.12177640027256077,0.05401449241996102,-0.003310973765333125),
>
> yade.Vector3(0.17288309620166054,0.0567881426706257,-0.005251109507840107),
>
> yade.Vector3(0.17239800601486288,0.10615025111591658,0.04466410423643576)]
> coords[10] =
> [yade.Vector3(0.16586255674847272,0.04442314808389014,0.10431426071039843),
>
> yade.Vector3(0.16306972984454005,0.09458742037006168,0.05488233416872211),
>   yade.Vector3(0.13921142362682418,0.09338844867941465,0.1051850240520792),
>
> yade.Vector3(0.11532750614560142,0.043572756568788916,0.10524886894605867)]
> coords[11] =
> [yade.Vector3(0.12553762857591796,0.05564020559697192,0.09672553666297364),
>
> yade.Vector3(0.12188774949220496,0.10432230228089284,0.04742164646483482),
>
> yade.Vector3(0.1723696031234631,0.10635275656158034,0.044620790102675174),
>
> 

Re: [Yade-users] [Question #293600]: Periodic Cell and Periodic Boundary

2016-05-12 Thread Jan Stránský
Question #293600 on Yade changed:
https://answers.launchpad.net/yade/+question/293600

Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Felipe,

By the way, I have been asking in this question if it would be possible to
> explain with more details how to use:
> -> Periodic Cell;
> -> Periodic Boundary;


from my point of view, periodic boundary is just the opposite faces of
periodic cell

Both of topics above, what is mean of use these concept on the
simulation?


from reading the table of contents of the book you mentioned, it should be
clear from the book :-)

Will it have to save time on the simulation?


To save simulation time is usual reason of its usage, to simulate just part
of the domain if you know / assume that the rest of the domain behaves
periodically. But it does not "have to save time on the simulation"

What will it be the difference when i am using these concepts or not?


The main difference is that with periodic boundary conditions the
simulation is periodic, and vice versa :-) with all advantages and
disadvantages

You may check this example for instance [1] or try the following simple
script showing interactions of three particles crossing the periodic
boundaries

cheers
Jan


O.periodic = True
O.cell.setBox(6,10,14)
b1 = sphere((0,0,0),1,color=(1,0,0))
b2 = sphere((2,4,4),1,color=(0,1,0))
b3 = sphere((4,8,8),1,color=(0,1,1))
O.bodies.append((b1,b2,b3))
O.step()
b3.state.vel = 5e-5*Vector3(-1.1,-2,-2.2)
#
from yade import qt
qt.View()
O.run()


[1] https://www.yade-dem.org/wiki/Miscellaneous_videos


2016-05-12 0:12 GMT+02:00 Felipe :

> New question #293600 on Yade:
> https://answers.launchpad.net/yade/+question/293600
>
> Hello Everybody,
>
> I would like to know how i can get more information about periodic cell
> and also periodic boundary.
>
> I have studied about this topic with the help of Sullivan - Particulate
> Discrete Element Modelling  book and others paper wich focus on interaction
> between the spheres.
>
> Moreover, I was seeing on DEM Background (YADE) if i would get more
> information but I did not understand how i can use this concept on the
> simulations.
>
> By the way, I have been asking in this question if it would be possible to
> explain with more details how to use:
>
> -> Periodic Cell;
>
> -> Periodic Boundary;
>
> Both of topics above, what is mean of use these concept on the simulation?
> Will it have to save time on the simulation? What will it be the difference
> when i am using these concepts or not?
>
> Thank you for attention.
>
> Please, let me know if you have more information about it and also links
> to learn more about periodic cell.
>
> Best Regards,
>
> Felipe
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> ___
> Mailing list: https://launchpad.net/~yade-users
> Post to : yade-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp