[Yade-users] [Question #432848]: yade compiled installation in a redhat cluster

2017-01-08 Thread hanzj
New question #432848 on Yade:
https://answers.launchpad.net/yade/+question/432848

Hello,all:
I want to compiled the yade trunk version( yade-2016.06a.tar.gz) to install in 
a redhat cluster, whose version is redhat AS 5.5 server.
now my problem is :
1)how can i install the prerequisites with "yum" command not with apt-get 
command( because the school's system can not use apt-get command)? or i can 
just compile to install one by one? is there any reference for me to refer to ?

2)Supposed that i have installed the prerequisites, how can i install the yade 
version?i have ever compiled it with cmake, make, make install to install it in 
ubuntu system successfully, but i am wondering if there exists difference to 
install in redhat cluster.

anyone has ever experienced  kind of thing? sincerely appreciate your 
help.Thank you.

Best regards,
han zhijian 

-- 
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 #432837]: how to get stress values with VTKExporter

2017-01-08 Thread alma
New question #432837 on Yade:
https://answers.launchpad.net/yade/+question/432837

Hi all,
As well as said in [1],I want to export the stress to a .vtk file for display 
in Paraview using export.VTKExporter. for that I worked with VTKExporter class 
[2], but I couldn't find any defined function for that . Is there any way to 
get stress with vtk exporter?

[1] https://yade-dem.org/doc/user.html#micro-stress
[2] https://yade-dem.org/doc/yade.export.html#yade.export.VTKExporter

Best regards,
Alma

-- 
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 #432617]: How to plot damage ratio curve

2017-01-08 Thread Luc Scholtès
Question #432617 on Yade changed:
https://answers.launchpad.net/yade/+question/432617

Status: Open => Answered

Luc Scholtès proposed the following answer:
Hi Tina,

If you are using cohFrictMat, I guess that you are also using
cohFrictPhys and Law2_ScGeom6D_CohFrictPhys_CohesionMoment (right?).

In this case, you should be able to loop over interactions at any time
of the simulation and count the cohesive/frictional contacts by checking
if the cohesionBroken attribute is false (cohesive contact) or true
(frictional contact) using lines such as:

nbCohBond=0
for i in O.interactions:
  if not i.isReal : continue # not mandatory
  if i.phys.cohesionBroken==False:
nbCohBond+=1

You could include these into a function that you would run periodically
during your simulation (e.g. using PyrRunner()) and thus get the
evolution of the number of cohesive contacts. By running it before your
simulation starts, you will then be able to compute the ratio of broken
bonds / initial bonds.

I hope it helps

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