Re: [Yade-users] [Question #670358]: about growParticle()

2018-06-20 Thread xjin
Question #670358 on Yade changed:
https://answers.launchpad.net/yade/+question/670358

Description changed to:
I try to change the particle's radius in simulation.and I write code like this:
-
O.bodies.append(geom.facetBox((.5,.5,.5),(.5,.5,.5),wallMask=15))
O.bodies.append(facet([(0,0,0),(1,1,0),(1,0,0)]))
O.bodies.append(facet([(0,0,0),(1,1,0),(0,1,0)]))
O.bodies.append(sphere([0.5,0.5,0.5],0.08))

O.bodies[8].state.vel=(0,0,0.01)
O.bodies[9].state.vel=(0,0,0.01)

O.engines=[
   ForceResetter(),
   InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
   InteractionLoop(
  [Ig2_Sphere_Sphere_L3Geom(),Ig2_Facet_Sphere_L3Geom()],
  [Ip2_FrictMat_FrictMat_FrictPhys()],
  [Law2_L3Geom_FrictPhys_ElPerfPl()]
   ),
   NewtonIntegrator(gravity=(0,0,-9.81),damping=0.4),
PyRunner(iterPeriod=100,command='pengzhang()'),

]
O.dt=0.0005*PWaveTimeStep()

Ql=[]
globals()['Ql']=locals()['Ql']
Ql=Ql+[O.bodies[-1]]
def pengzhang(): 
for i in Ql:
   growParticle(i.id,1.5,updateMass=True)

globals()['pengzhang']=locals()['pengzhang']

O.run(202)

When simulation is completed, the particle's radius does not change.

but if I change pengzhang() like this:

def pengzhang(): 
  growParticle(O.bodies[-1].id,1.5,updateMass=True)
---
the particle's radius changes.
Can you give me suggestion?
I need to use--- 
  for i in Ql:
   growParticle(i.id,1.5,updateMass=True) 
---to do future work.
Thanks very much!

-- 
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 #670358]: about growParticle()

2018-06-20 Thread xjin
Question #670358 on Yade changed:
https://answers.launchpad.net/yade/+question/670358

Description changed to:
I try to change the particle's radius in simulation.and I write code like this:
-
O.bodies.append(geom.facetBox((.5,.5,.5),(.5,.5,.5),wallMask=15))
O.bodies.append(facet([(0,0,0),(1,1,0),(1,0,0)]))
O.bodies.append(facet([(0,0,0),(1,1,0),(0,1,0)]))
O.bodies.append(sphere([0.5,0.5,0.5],0.08))

O.bodies[8].state.vel=(0,0,0.01)
O.bodies[9].state.vel=(0,0,0.01)

O.engines=[
   ForceResetter(),
   InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
   InteractionLoop(
  [Ig2_Sphere_Sphere_L3Geom(),Ig2_Facet_Sphere_L3Geom()],
  [Ip2_FrictMat_FrictMat_FrictPhys()],
  [Law2_L3Geom_FrictPhys_ElPerfPl()]
   ),
   NewtonIntegrator(gravity=(0,0,-9.81),damping=0.4),
PyRunner(iterPeriod=100,command='pengzhang()'),

]
O.dt=0.0005*PWaveTimeStep()

Ql=[]
globals()['Ql']=locals()['Ql']
Ql=Ql+[O.bodies[-1]]
def pengzhang(): 
for i in Ql:
   growParticle(i.id,1.5,updateMass=True)

globals()['pengzhang']=locals()['pengzhang']

O.run(202)

When compketed, the particle's radius does not change.

but if I change pengzhang() like this:

def pengzhang(): 
  growParticle(O.bodies[-1].id,1.5,updateMass=True)
---
the particle's radius changes.
Can you give me suggestion?
I need to use--- 
  for i in Ql:
   growParticle(i.id,1.5,updateMass=True) 
---to do future work.
Thanks very much!

-- 
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 #670358]: about growParticle()

2018-06-20 Thread xjin
Question #670358 on Yade changed:
https://answers.launchpad.net/yade/+question/670358

Description changed to:
I try to change the particle's radius in simulation.and I write code like this:
-
O.bodies.append(geom.facetBox((.5,.5,.5),(.5,.5,.5),wallMask=15))
O.bodies.append(facet([(0,0,0),(1,1,0),(1,0,0)]))
O.bodies.append(facet([(0,0,0),(1,1,0),(0,1,0)]))
O.bodies.append(sphere([0.5,0.5,0.5],0.08))

O.bodies[8].state.vel=(0,0,0.01)
O.bodies[9].state.vel=(0,0,0.01)

O.engines=[
   ForceResetter(),
   InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
   InteractionLoop(
  [Ig2_Sphere_Sphere_L3Geom(),Ig2_Facet_Sphere_L3Geom()],
  [Ip2_FrictMat_FrictMat_FrictPhys()],
  [Law2_L3Geom_FrictPhys_ElPerfPl()]
   ),
   NewtonIntegrator(gravity=(0,0,-9.81),damping=0.4),
PyRunner(iterPeriod=100,command='pengzhang()'),

]
O.dt=0.0005*PWaveTimeStep()

Ql=[]
globals()['Ql']=locals()['Ql']
Ql=Ql+[O.bodies[-1]]
def pengzhang(): 
for i in Ql:
   growParticle(i.id,1.5,updateMass=True)

globals()['pengzhang']=locals()['pengzhang']

O.run(202)

When compketed, the particle's radius does not change.

but if I change pengzhuang() like this:

def pengzhang(): 
  growParticle(O.bodies[-1].id,1.5,updateMass=True)
---
the particle's radius changes.
Can you give me suggestion?
I need to use--- 
  for i in Ql:
   growParticle(i.id,1.5,updateMass=True) 
---to do future work.
Thanks very much!

-- 
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 #670358]: about growParticle()

2018-06-20 Thread xjin
New question #670358 on Yade:
https://answers.launchpad.net/yade/+question/670358

I trey to changge the particle's radius in simulation.and I write code like 
this:
-
O.bodies.append(geom.facetBox((.5,.5,.5),(.5,.5,.5),wallMask=15))
O.bodies.append(facet([(0,0,0),(1,1,0),(1,0,0)]))
O.bodies.append(facet([(0,0,0),(1,1,0),(0,1,0)]))
O.bodies.append(sphere([0.5,0.5,0.5],0.08))

O.bodies[8].state.vel=(0,0,0.01)
O.bodies[9].state.vel=(0,0,0.01)

O.engines=[
   ForceResetter(),
   InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
   InteractionLoop(
  [Ig2_Sphere_Sphere_L3Geom(),Ig2_Facet_Sphere_L3Geom()],
  [Ip2_FrictMat_FrictMat_FrictPhys()],
  [Law2_L3Geom_FrictPhys_ElPerfPl()]
   ),
   NewtonIntegrator(gravity=(0,0,-9.81),damping=0.4),
PyRunner(iterPeriod=100,command='pengzhang()'),

]
O.dt=0.0005*PWaveTimeStep()

Ql=[]
globals()['Ql']=locals()['Ql']
Ql=Ql+[O.bodies[-1]]
def pengzhang(): 
for i in Ql:
   growParticle(i.id,1.5,updateMass=True)

globals()['pengzhang']=locals()['pengzhang']

O.run(202)

When compketed, the particle's radius does not change.

but if I change pengzhuang() like this:

def pengzhang(): 
  growParticle(O.bodies[-1].id,1.5,updateMass=True)
---
the particle's radius changes.
Can you give me suggestion?
I need to use--- 
  for i in Ql:
   growParticle(i.id,1.5,updateMass=True) 
---to do future work.
Thanks very much!





-- 
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 #247823]: segmentation fault (core dumped)

2018-06-20 Thread Jan Stránský
Question #247823 on Yade changed:
https://answers.launchpad.net/yade/+question/247823

Jan Stránský posted a new comment:
Hi Ozge,
this is very old thread and if there was a solution, it is likely it will not 
work now..
If you have a problem with segmentation fault (it may have many reasons), 
please open a new question/bug.
cheers
Jan

-- 
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 #247823]: segmentation fault (core dumped)

2018-06-20 Thread ozge
Question #247823 on Yade changed:
https://answers.launchpad.net/yade/+question/247823

ozge posted a new comment:
Hi Hicham,
I am just wondeirng that did you figure out your problem (seg. fault) ?

thanks,
ozge

-- 
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 #670352]: Problem when using Sphere-GridConnection and Sphere-PFacet interactions together with Law2_ScGridCoGeom_FrictPhys_CundallStrack()

2018-06-20 Thread Marcus Moravia
New question #670352 on Yade:
https://answers.launchpad.net/yade/+question/670352

Hello everyone!

I am interested in the Sphere-GridConnection and Sphere-PFacet contacts. The 
problem is that I can not have the two wrappers 
'Ig2_Sphere_PFacet_ScGridCoGeom' and 'Ig2_Sphere_GridConnection_ScGridCoGeom' 
together with the law 'Law2_ScGridCoGeom_FrictPhys_CundallStrack()', as this 
returns me an ambiguous dispatch error (I am using Yade 
2018-02-05.git-243ee13). I understand that the law 
'Law2_ScGridCoGeom_FrictPhys_CundallStrack()' is important to take into account 
a proper frictional force between Sphere and GridConnection. In the simple 
script below [please, use it however you want ;-)], after using a comment mark 
in the law 'Law2_ScGridCoGeom_FrictPhys_CundallStrack()', do the forces 
calculated in the GridConnections are divided and applied in their two 
GridNodes?

I appreciate any help with this. Thank you very much,

Marcus.

### Script ###

# -*- coding: utf-8
from yade import qt,plot
from yade.gridpfacet import *

phi=20.
E=3.*1e8
color=[255./255.,102./255.,0./255.]
r=0.005
r2=0.0

O.engines=[
  ForceResetter(),
  InsertionSortCollider([
Bo1_PFacet_Aabb(),
Bo1_Sphere_Aabb(), 
Bo1_GridConnection_Aabb()
  ]),
  InteractionLoop([
Ig2_GridNode_GridNode_GridNodeGeom6D(),
Ig2_Sphere_PFacet_ScGridCoGeom(),
Ig2_Sphere_GridConnection_ScGridCoGeom(),
  ],
  [

Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(setCohesionNow=True,setCohesionOnNewContacts=True),
Ip2_FrictMat_FrictMat_FrictPhys()
  ],
  [
Law2_ScGeom6D_CohFrictPhys_CohesionMoment(),
Law2_ScGeom_FrictPhys_CundallStrack(),
Law2_ScGridCoGeom_FrictPhys_CundallStrack(), ### Comment this line ###
  ]
  ),
  GlobalStiffnessTimeStepper(timestepSafetyCoefficient=0.1,label='ts'), 
  NewtonIntegrator(gravity=(0,-9.81,0),damping=.8,label='newton'),
]

O.materials.append( CohFrictMat( 
young=E,poisson=0.3,density=2650,frictionAngle=radians(phi),normalCohesion=3e100,shearCohesion=3e100,momentRotationLaw=True,label='gridNodeMat'
 ) )
O.materials.append( FrictMat( 
young=E,poisson=0.5,density=2650,frictionAngle=radians(phi),label='sphereMat' ) 
)

# SPHERES
O.bodies.append( 
sphere(center=(Vector3(0.025,-0.035,0.015)),radius=.005,material='sphereMat',fixed=False)
 )
O.bodies.append( 
sphere(center=(Vector3(0.045,-0.035,0.015)),radius=.005,material='sphereMat',fixed=False)
 )

# GRID
L=0.1 #length
l=0.05 #width
nbL=10 #number of nodes for the length
nbl=5 #number of nodes for the width
r=L/100. #radius
color2=[40./255.,102./255.,50./255.]
nodesIds=[]
#Creating all nodes:
for i in range(0,nbL):
  for j in range(0,nbl):
nodesIds.append( 
O.bodies.append(gridNode([i*L/nbL,-0.1,j*l/nbl],r,wire=False,fixed=False,material='gridNodeMat',color=color2))
 )
#Creating connection between the nodes
for i in range(0,len(nodesIds)):
  for j in range(i+1,len(nodesIds)):
dist=(O.bodies[nodesIds[i]].state.pos - 
O.bodies[nodesIds[j]].state.pos).norm()
if(dist<=L/nbL*1.01):
  O.bodies.append( 
gridConnection(nodesIds[i],nodesIds[j],r,material='gridNodeMat',color=color2) )
#PFacet Connection
O.bodies.append( 
gridConnection(nodesIds[11],nodesIds[17],r,color=color2,material='gridNodeMat') 
)
#PFacet
O.bodies.append( 
pfacet(nodesIds[11],nodesIds[17],nodesIds[16],wire=False,material='sphereMat',color=color2)
 )
O.bodies.append( 
pfacet(nodesIds[11],nodesIds[12],nodesIds[17],wire=False,material='sphereMat',color=color2)
 )
# Constraining the ends of the geogrid
for i in range(nodesIds[0],nodesIds[4]):
  O.bodies[i].state.blockedDOFs='xyzXZ'
  for j in range(nodesIds[-1]-(5),nodesIds[-1]+1):
O.bodies[j].state.blockedDOFs='xyzXZ'

qt.Controller()
qtv = qt.View()
qtr = qt.Renderer()
qtr.light2=True
qtr.bgColor=[1,1,1]

O.saveTmp()

-- 
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 #669990]: error using saveVtk() to get tesselation geometry

2018-06-20 Thread rhaven
Question #669990 on Yade changed:
https://answers.launchpad.net/yade/+question/669990

Status: Answered => Open

rhaven is still having a problem:
Hi Bruno,
I looked at the tesselationwrapper, but didnt see a way to access the edges as 
a list pertaining to each voronoi cell. Is this possible?
I saw saveVtk can save out the voronoi diagram and seemed to be the easier way 
to access the geometry...

I should really say (taking yet another step back and looking at the bigger 
picture), what I really want to do is obtain a pore size distribution for my 
packing. (The pore size I am defining to be the radius of an inscribed sphere 
that fits in the space between particles.) 
So to calculate something that looks like this 
https://www.researchgate.net/profile/Frank_Werner/publication/273284325/figure/fig7/AS:294826168864779@1447303444628/An-example-of-a-Voronoi-diagram-in-Laguerre-geometry-for-a-set-of-multi-sized-circles.png
many thanks
Jesse

-- 
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 #670137]: installation Yade

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

Bruno Chareyre posted a new comment:
>Even the F keys do not work

This is to discuss with your specific terminal emulator, it is unrelated to 
compilation/installation of yade.
Bruno

-- 
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 #669990]: error using saveVtk() to get tesselation geometry

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

Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi, better reproduce the error with makeCloud to make a true MWE please.
Bruno

p.s. Why are you using FlowEngine instead of TesselationWrapper to get
list of edges? Just curious.

-- 
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 #670317]: Modelling and solving DEM-LBM problems

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

Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi, 
1) the LBM implemented in Yade (if that's what you have in mind) was a 2D 
model, it is not applicable in 3D.
I would say that, at best, this 2D LBM could inspire a bit someone who would be 
ready to re-implement in 3D but building on the top of it is not a good idea 
since it is old, it relies on matlab for some aspects, it is not well 
integrated.

2) I would say if you want a 3D multiphase LBM there is no point
starting from the current 2D one-phase code. You better start from
scratch or you use a 3rd party software like Palabos (that's what we are
doing here).

Bruno

-- 
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 #670318]: Yade on ubuntu18.04

2018-06-20 Thread Henry
Question #670318 on Yade changed:
https://answers.launchpad.net/yade/+question/670318

Status: Answered => Open

Henry is still having a problem:

Thanks a lot!
There is some errors when I install the  "libqglviewer-dev" directly.

Henry

-- 
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 #670300]: about facet and GridConnection

2018-06-20 Thread xjin
Question #670300 on Yade changed:
https://answers.launchpad.net/yade/+question/670300

Status: Answered => Solved

xjin confirmed that the question is solved:
Thanks Klaus Thoeni, that solved my question.

-- 
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 #670300]: about facet and GridConnection

2018-06-20 Thread Klaus Thoeni
Question #670300 on Yade changed:
https://answers.launchpad.net/yade/+question/670300

Status: Open => Answered

Klaus Thoeni proposed the following answer:
You need to use PFacets instead of Factes, see for example here [1].

Klaus

[1]
https://github.com/yade/trunk/blob/master/examples/cylinders/mikado.py


On Tue, Jun 19, 2018 at 3:42 PM, xjin 
wrote:

> New question #670300 on Yade:
> https://answers.launchpad.net/yade/+question/670300
>
> I write try to write a simulation, there exist facet and GridConnection.
>
>  but I do not find IGeomFunctorbetween facet and GridConnection?
>
> for example, between particles, I use Ig2_Sphere_Sphere_ScGeom().
>
> Thank s a lot!
>
> --
> 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


Re: [Yade-users] [Question #670318]: Yade on ubuntu18.04

2018-06-20 Thread Klaus Thoeni
Question #670318 on Yade changed:
https://answers.launchpad.net/yade/+question/670318

Status: Open => Answered

Klaus Thoeni proposed the following answer:
Yes, I did just recently. I am planning to update the doc at some stage,
just need some time. A few package names changed, other than that it was
straightforward. However, I should mention not all versions compile
smoothly, so you have to be careful which version you check out.

Any particular issues you are facing?

Klaus

On Wed, Jun 20, 2018 at 1:03 AM, Henry  wrote:

> New question #670318 on Yade:
> https://answers.launchpad.net/yade/+question/670318
>
> Hi all,
>Is there anyone who successfully compiled the Yade on Ubuntu 18.04?
> Thanks a lot!
> Best regards,
> Henry
>
> --
> 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


Re: [Yade-users] [Question #670332]: Running several simulations in a loop

2018-06-20 Thread Jan Stránský
Question #670332 on Yade changed:
https://answers.launchpad.net/yade/+question/670332

Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

please provide us with your script and also how yo do " insert the
script body into the loop" [1]

For the purpose you described, you can run yade in batch mode [2]

cheers
Jan

[1] https://yade-dem.org/wiki/Howtoask
[2] https://yade-dem.org/doc/user.html#batch-queuing-and-execution-yade-batch

-- 
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 #670332]: Running several simulations in a loop

2018-06-20 Thread Vinícius Godim
Question #670332 on Yade changed:
https://answers.launchpad.net/yade/+question/670332

Description changed to:
Hello! I am using Yade to run a few simulatiions in a loop by varying
parameters and saving the results to disk.

However, when I insert the script body, including the definition of
bodies and engines, the following is given by the terminal

FATAL /build/yade-KKgSmd/yade-1.20.0/core/ThreadRunner.cpp:30 run: Exception 
occured: 
boost: mutex lock failed in pthread_mutex_lock: Invalid argument

The same script outside a for loop yields no error at all.

-- 
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 #670332]: Running several simulations in a loop

2018-06-20 Thread Vinícius Godim
New question #670332 on Yade:
https://answers.launchpad.net/yade/+question/670332

Hello! I am using Yade to run a few simulatiions in a loop by varying 
parameters and saving the results to disk.

However, when I insert the script body, including the definition of bodies and 
engines, the following is given by the terminal

FATAL /build/yade-KKgSmd/yade-1.20.0/core/ThreadRunner.cpp:30 run: Exception 
occured: 
boost: mutex lock failed in pthread_mutex_lock: Invalid argument



-- 
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 #670332]: Running several simulations in a loop

2018-06-20 Thread Vinícius Godim
Question #670332 on Yade changed:
https://answers.launchpad.net/yade/+question/670332

Description changed to:
Hello! I am using Yade to run a few simulatiions in a loop by varying
parameters and saving the results to disk.

However, when I insert the script body into the loop, including the
definition of bodies and engines, the following is given by the terminal

FATAL /build/yade-KKgSmd/yade-1.20.0/core/ThreadRunner.cpp:30 run: Exception 
occured: 
boost: mutex lock failed in pthread_mutex_lock: Invalid argument

The same script outside a for loop yields no error at all.

-- 
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 #670255]: Modelling a Homogenous slope with properties of rock

2018-06-20 Thread Luc Scholtès
Question #670255 on Yade changed:
https://answers.launchpad.net/yade/+question/670255

Luc Scholtès posted a new comment:
Right, it is actually a cubic sample and not a cylindrical one that is
used in the examples.

Thanks Jerome for the precision.

-- 
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 #669964]: python 3.6 packages right selection

2018-06-20 Thread Launchpad Janitor
Question #669964 on Yade changed:
https://answers.launchpad.net/yade/+question/669964

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
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 #670255]: Modelling a Homogenous slope with properties of rock

2018-06-20 Thread Jérôme Duriez
Question #670255 on Yade changed:
https://answers.launchpad.net/yade/+question/670255

Jérôme Duriez proposed the following answer:
Hi,

In terms of examples of a (cubic) slope with some fracture, you may look
specifically at

https://github.com/yade/trunk/blob/master/examples/jointedCohesiveFrictionalPM/gravityBis.py

(that's in the folder mentioned by Luc)

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