Re: [Yade-users] [Question #664417]: Install Yade on CentOs 6.9

2018-02-20 Thread azim
Question #664417 on Yade changed:
https://answers.launchpad.net/yade/+question/664417

Status: Answered => Open

azim is still having a problem:
Hi Luc,

Thanks, i will try your script as soon as possible  and tell you the
results.

would you interpret what these two lines do?
>>-DUSE_QT5=ON -DENABLE_VTK=ON -DENABLE_GTS=ON 
>>-DCMAKE_INSTALL_PREFIX=/usr/local 
>>cmake -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-deprecated -Wno-dev ../trunk

Or at least show me a reference to read about them??

there are a lot of cmake options in [1] and make me puzzled.
https://yade-dem.org/doc/installation.html#compilation

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 #664499]: Not able to understand the error

2018-02-20 Thread Anay Joshi
Question #664499 on Yade changed:
https://answers.launchpad.net/yade/+question/664499

Status: Open => Solved

Anay Joshi confirmed that the question is solved:
Hi Bruno, 
My sincere apologies. I will keep this in mind from the next time. 



Thanks, 
Anay

-- 
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 #664499]: Not able to understand the error

2018-02-20 Thread Bruno Chareyre
Question #664499 on Yade changed:
https://answers.launchpad.net/yade/+question/664499

Bruno Chareyre posted a new comment:
(and please remember to mark questions "answered" when they are :) )

-- 
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 #664499]: Not able to understand the error

2018-02-20 Thread Anay Joshi
Question #664499 on Yade changed:
https://answers.launchpad.net/yade/+question/664499

Status: Answered => Open

Anay Joshi is still having a problem:
Hi Luc,

"It seems that you copy pasted something from a cpm example script "
Actually, yes! Since I am just starting to learn the Yade software, I am 
collecting things from different scripts I am able to access. Thanks a lot for 
suggesting the reference to look at. 

I do have some additional questions regarding the display in yade. 
I am simulating my model on the supercomputing servers and so when the 
simulation is complete, I receive a ".bz2" and a ".gnu" files as the output. My 
question is, how do I see the iterative animation of the simulation which has 
been completed. Also, is there any way to see the streamlines of the particle 
movement (I see that you have some images of streamlines in your paper)? Could 
you suggest me how to do that along with other capabilities of the "Display 
module in yade"?

I would really appreciate your kind help.


Thanks, 
Anay

-- 
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 #664499]: Not able to understand the error

2018-02-20 Thread Anay Joshi
Question #664499 on Yade changed:
https://answers.launchpad.net/yade/+question/664499

Anay Joshi posted a new comment:
Hi Robert, 
I appreciate the response I receive on this portal. It is very informative and 
appropriate to the questions I ask. Thanks for the links you have provided for 
me to know my model.

-- 
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 #664343]: Lack of recoil in sphere-pfacet impact?

2018-02-20 Thread Bruno Chareyre
Question #664343 on Yade changed:
https://answers.launchpad.net/yade/+question/664343

Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,
In the above example one facet is created with fixed=False, the other with 
fixed=True.
Consistently one is accelerated by gravity and the other is not.

What is maybe not clear for you is that only the nodes are really
inertial. The so-called connections are not moving independently of the
nodes, nor are the facets, so they are always non-dynamic objetcs.

Consistently (the first facet, the moving one, is composed of the first
seven elements):

ade [6]: for b in O.bodies:
print b.shape.__class__, b.state.blockedDOFs
 ...: 
 
 
 
 xyzXYZ
 xyzXYZ
 xyzXYZ
 xyzXYZ
 xyzXYZ
 xyzXYZ
 xyzXYZ
 xyzXYZ
 xyzXYZ
 xyzXYZ
 xyzXYZ

-- 
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 #664343]: Lack of recoil in sphere-pfacet impact?

2018-02-20 Thread Andrea Puglisi
Question #664343 on Yade changed:
https://answers.launchpad.net/yade/+question/664343

Status: Answered => Open

Andrea Puglisi is still having a problem:
Dear Jérôme, thanks for your answer. Unfortunately I found no change in
behavior after changing the variables O.bodies[i].state.blockedDOFs  of
the elements of the pfacet. Most importantly, I can exhibit many
examples where the pfacet moves after interaction among themselves, even
if their degrees of freedom (according to the variable blockedDOFs) are
totally blocked. For instance

from yade.gridpfacet import *
from yade import pack,ymport,export,geom,bodiesHandling,qt

phimat=30.  # friction angle
E=1e8   # Young's modulus

 Engines 
O.engines=[
ForceResetter(),
InsertionSortCollider([
Bo1_Sphere_Aabb(),
Bo1_Wall_Aabb(),
Bo1_PFacet_Aabb(),
Bo1_Facet_Aabb(),
]),
InteractionLoop(
[
  Ig2_GridNode_GridNode_GridNodeGeom6D(),#internal = ScGeom6D
 Ig2_Sphere_PFacet_ScGridCoGeom(), #cyl-facet 
 Ig2_Wall_Sphere_ScGeom(),#cyl-wall
 Ig2_Wall_PFacet_ScGeom(),
 Ig2_PFacet_PFacet_ScGeom(),
 Ig2_Sphere_Sphere_ScGeom(),
 Ig2_Facet_Sphere_ScGeom(),
],
[
  
Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(setCohesionNow=True,setCohesionOnNewContacts=False),
 
 Ip2_FrictMat_FrictMat_FrictPhys()  
],
[
  Law2_ScGeom6D_CohFrictPhys_CohesionMoment(),  
 Law2_ScGeom_FrictPhys_CundallStrack(),   
]
),
  NewtonIntegrator(gravity=(0.,0,-0.01),damping=0),
]


O.materials.append( CohFrictMat( 
young=E*1e2,poisson=0.3,density=100,frictionAngle=radians(phimat),normalCohesion=1e10,shearCohesion=1e10,momentRotationLaw=True,label='cMat'
 ) ) 
O.materials.append( FrictMat( 
young=E,poisson=0.3,density=1000,frictionAngle=radians(phimat),label='fMat' ) ) 

# Create two pfacets
rr=0.02

v1=Vector3(0,0,5)
v2=Vector3(0,1,5)
v3=Vector3(1,0,3)
vertices=[v1,v2,v3]
pfacetCreator1(vertices,rr,nodesIds=[],cylIds=[],pfIds=[],wire=False,color=[1,1,1],fixed=False,materialNodes='cMat',material='fMat')

v1=Vector3(-1,-1,0)
v2=Vector3(-1,2,0)
v3=Vector3(2,-1,0)
vertices=[v1,v2,v3]
pfacetCreator1(vertices,rr,nodesIds=[],cylIds=[],pfIds=[],wire=False,color=[1,1,1],fixed=True,materialNodes='cMat',material='fMat')


 For viewing 
from yade import qt
qt.View()
qtr = qt.Renderer()

 Set a time step 
O.dt=PWaveTimeStep()  # non accurate time-step

 Allows to reload the simulation 
O.saveTmp()


--
(sorry I have no idea how ti make smaller examples)

-- 
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 #664191]: binary vtu/vtk

2018-02-20 Thread JOHN
Question #664191 on Yade changed:
https://answers.launchpad.net/yade/+question/664191

Status: Answered => Solved

JOHN confirmed that the question is solved:
thanks for the amazing replies 
much appreciated

-- 
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