Re: [Yade-users] [Question #700793]: About the "WallStresses_triax_base_" file in script-session1.py

2022-03-07 Thread CESAR FELIPE JIMENEZ SANTIAGO
Question #700793 on Yade changed:
https://answers.launchpad.net/yade/+question/700793

Status: Open => Solved

CESAR FELIPE JIMENEZ SANTIAGO confirmed that the question is solved:
Hi Jerome,

Thank you for your answer. It's solved

-- 
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 #700793]: About the "WallStresses_triax_base_" file in script-session1.py

2022-03-02 Thread CESAR FELIPE JIMENEZ SANTIAGO
New question #700793 on Yade:
https://answers.launchpad.net/yade/+question/700793

Hello everyone,

I am a new YADE user. I am using Yade 2020.01a. I ran the code 
script-session1.py from the triax-tutorial obtained in [1].

At the end of the simulation, the text file called "WallStresses_triax_base_" 
is obtained. This file saves the data for every 100 iterations. The file has 3 
"groups" of data with the following characteristics:

1. From row 2 to 192, Iteration from 0 to 19000. Its characteristic is that it 
has no deformations. I understand that it is the data of the "APPLYING 
CONFINING PRESSURE" process.

2. From row 193 to 420, Iteration 0 to 22700. Its characteristic is that it has 
the greatest number of Iterations and the volumetric deformation goes from 
negative to positive. I understand that it is the data of the "REACHING A 
SPECIFIED POROSITY PRECISELY" process.

3. From row 421 to 804, Iteration 0 to 21100. They have the characteristic that 
the volumetric deformation is always negative and the data is very similar 
(equal?) to the data in the graph in matplotlib obtained at the end of the 
script simulation -session1.py
 
I would like to know if the above mentioned by me for the 
"WallStresses_triax_base_" file is correct so that I can better understand the 
code. Thank you very much for the help.

[1] https://gitlab.com/yade-dev/trunk/-/tree/master/examples/triax-tutorial


Here is the code used:

from yade import pack

###   DEFINING VARIABLES AND MATERIALS   ###

nRead=readParamsFromTable(
num_spheres=1000,
compFricDegree = 30, 
key='_triax_base_',
unknownOk=True
)
from yade.params import table

num_spheres=table.num_spheres
key=table.key
targetPorosity = 0.43
compFricDegree = table.compFricDegree
finalFricDegree = 30
rate=-0.02
damp=0.2
stabilityThreshold=0.01
young=5e6
mn,mx=Vector3(0,0,0),Vector3(1,1,1)

O.materials.append(FrictMat(young=young,poisson=0.5,frictionAngle=radians(compFricDegree),density=2600,label='spheres'))
O.materials.append(FrictMat(young=young,poisson=0.5,frictionAngle=0,density=0,label='walls'))

walls=aabbWalls([mn,mx],thickness=0,material='walls')
wallIds=O.bodies.append(walls)

sp=pack.SpherePack()


clumps=False
if clumps:
 volume = (mx[0]-mn[0])*(mx[1]-mn[1])*(mx[2]-mn[2])
 mean_rad = pow(0.09*volume/num_spheres,0.)
 
c1=pack.SpherePack([((-0.2*mean_rad,0,0),0.5*mean_rad),((0.2*mean_rad,0,0),0.5*mean_rad)])
 sp.makeClumpCloud(mn,mx,[c1],periodic=False)
 sp.toSimulation(material='spheres')
 O.bodies.updateClumpProperties()
else:
 sp.makeCloud(mn,mx,-1,0.,num_spheres,False, 0.95,seed=1)
 O.bodies.append([sphere(center,rad,material='spheres') for center,rad in sp])

###   DEFINING ENGINES   ###

triax=TriaxialStressController(
maxMultiplier=1.+2e4/young,
finalMaxMultiplier=1.+2e3/young,
thickness = 0,
stressMask = 7,
internalCompaction=True,
)

newton=NewtonIntegrator(damping=damp)

O.engines=[
ForceResetter(),
InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Box_Aabb()]),
InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom()],
[Ip2_FrictMat_FrictMat_FrictPhys()],
[Law2_ScGeom_FrictPhys_CundallStrack()]
),

GlobalStiffnessTimeStepper(active=1,timeStepUpdateInterval=100,timestepSafetyCoefficient=0.8),
triax,
TriaxialStateRecorder(iterPeriod=100,file='WallStresses'+table.key),
newton
]

Gl1_Sphere.stripes=0
if nRead==0: yade.qt.Controller(), yade.qt.View()

###   APPLYING CONFINING PRESSURE   ###

triax.goal1=triax.goal2=triax.goal3=-1

while 1:
  O.run(1000, True)
  unb=unbalancedForce()
  print ('unbalanced force:',unb,' mean stress: ',triax.meanStress)
  if unbtargetPorosity:
compFricDegree = 0.95*compFricDegree
setContactFriction(radians(compFricDegree))
print ("\r Friction: ",compFricDegree," porosity:",triax.porosity,)
sys.stdout.flush()
O.run(500,1)

O.save('compactedState'+key+'.yade.gz')
print ("###Compacted state saved  ###")

###   DEVIATORIC LOADING   ###

triax.internalCompaction=False

setContactFriction(radians(finalFricDegree))

triax.stressMask = 5

triax.goal2=rate
triax.goal1=-1
triax.goal3=-1

newton.damping=0.1

O.saveTmp()

###Example of how to record and plot data ###

from yade import plot

def history():
plot.addData(e11=-triax.strain[0], e22=-triax.strain[1], 
e33=-triax.strain[2],
ev=-triax.strain[0]-triax.strain[1]-triax.strain[2],
s11=-triax.stress(triax.wall_right_id)[0],
s22=-triax.stress(triax.wall_top_id)[1],
s33=-triax.stress(triax.wall_front_id)[2],
i=O.iter)

if 1:
  
O.engines=O.engines[0:5]+[PyRunner(iterPeriod=20,command='history()',label='recorder')]+O.engines[5:7]
  

Re: [Yade-users] [Question #660999]: How to fill inside a gts file with spheres

2017-11-27 Thread Felipe
Question #660999 on Yade changed:
https://answers.launchpad.net/yade/+question/660999

Status: Open => Solved

Felipe confirmed that the question is solved:
Hello Jan,

Thanks for the information. That's solved my problem.

cheers,

Felipe Silva

-- 
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 #660999]: How to fill inside a gts file with spheres

2017-11-27 Thread Felipe
Question #660999 on Yade changed:
https://answers.launchpad.net/yade/+question/660999

Felipe confirmed that the question is solved:
Thanks Jan Stránský, 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 #660999]: How to fill inside a gts file with spheres

2017-11-22 Thread Felipe
Question #660999 on Yade changed:
https://answers.launchpad.net/yade/+question/660999

Status: Answered => Open

Felipe is still having a problem:
Hello Jan,

Thanks for answering me so fast. By the way, i tried your comment above
and still not working. I may be not familiar with type of code and
that's why i did not get the same results than you.

Have you tried to simulate my script within your notes? If yes, could
you share me the full script that had worked?

Again, thanks for so fast to replying me.

Cheers,

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


Re: [Yade-users] [Question #660999]: How to fill inside a gts file with spheres

2017-11-22 Thread Felipe
Question #660999 on Yade changed:
https://answers.launchpad.net/yade/+question/660999

Felipe posted a new comment:
Hello Jan,

Please, see the link below. As soon as you got the answer for this
question, let me know because i am looking for the correct yade script
to do it.

https://www.dropbox.com/sh/ttqmryfp5gugsla/AAB7rkWKb2Pyb0fXGvWAe5wfa?dl=0

Thanks.

Felipe Thadeu

-- 
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 #660999]: How to fill inside a gts file with spheres

2017-11-22 Thread Felipe
Question #660999 on Yade changed:
https://answers.launchpad.net/yade/+question/660999

Status: Needs information => Open

Felipe gave more information on the question:
Hello Jan,

Please, see the link below. As soon as you got the answer for this
question, let me know because i am looking for the correct yade script
to do it.

https://www.dropbox.com/sh/ttqmryfp5gugsla/AAB7rkWKb2Pyb0fXGvWAe5wfa?dl=0

Thanks.

Felipe Thadeu

-- 
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 #660999]: How to fill inside a gts file with spheres

2017-11-21 Thread Felipe
New question #660999 on Yade:
https://answers.launchpad.net/yade/+question/660999

Hello everyone,

I have looked the questions [1] that had already posted on the YADE community 
and i did not find a correct way to solve my problem.

Let me describe step by step what i am doing on this project.

Basically, i have created a gts file based on stl file (stl2gts -r 
 filename.gts. There is no issue on this part of simulation.

Then, i have imported the gts file on the YADE by the code below and also there 
is no issue on this part of simulation.
___
"import gts
surf=gts.read(open('filename.gts'))
O.bodies.append(pack.gtsSurface2Facets(surf,wire=False))"


Finally, i have tried to fill my predicate (gts) with sphere inside of my gts 
geometry. However, the spheres are filling outside my gts file (around the 
body). So, my question is How Do I fill inside my gts file? Is there any 
specific code to do it?

My completely Yade code is below:

#
#!/usr/bin/python
# -*- coding: utf-8 -*-

from yade.pack import *
from yade import pack,export,qt
from math import *
from yade import plot
from yade import ymport
import gts

 surf=gts.read(open('filename.gts'))

if surf.is_closed():
 pred=pack.inGtsSurface(surf)
 aabb=pred.aabb()
 dim0=aabb[1][0]-aabb[0][0]; radius=dimk0/40.
 O.bodies.append(pack.regularHexa(pred,radius=radius,gap=0))

O.bodies.append(pack.gtsSurface2Facets(surf,wire=True))

O.dt=.7*PWaveTimeStep()
O.saveTmp()
O.timingEnabled=True
O.trackEnergy=True
qt.View()
###


[1] Just one more comment, I would like to share all questions that I have 
looked to find a answer for this question.

https://answers.launchpad.net/yade/+question/643823
https://answers.launchpad.net/yade/+question/247095
https://answers.launchpad.net/yade/+question/254316
https://answers.launchpad.net/yade/+question/295158
https://answers.launchpad.net/yade/+question/402952
https://answers.launchpad.net/yade/+question/406791
https://answers.launchpad.net/yade/+question/280730
https://answers.launchpad.net/yade/+question/497350
https://answers.launchpad.net/yade/+question/247095
https://answers.launchpad.net/yade/+question/257199


Hope i have provided all information to understand what i am looking for 
getting to do.

I will be waiting for one answer about this case.

Thanks an advance.

Felipe Silva





-- 
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 #580450]: Applying differents force values

2017-03-27 Thread Felipe
Question #580450 on Yade changed:
https://answers.launchpad.net/yade/+question/580450

Status: Answered => Solved

Felipe confirmed that the question is solved:
Thanks Jan Stránský, 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 #580450]: Applying differents force values

2017-03-27 Thread Felipe
Question #580450 on Yade changed:
https://answers.launchpad.net/yade/+question/580450

Felipe posted a new comment:
Hello Jan,

Really sorry for my response delay.

I guess what you are saying about reading force. You are totally right.

Just one point, how can i use the command O.forces.permF(someId) that
you have mentioned?

O.forces.permF(540) or O.forces.permF(upBox.id) or
O.forces.permF(O.bodies[540]).

Also, you said i can use this command to get prescribed force and SAVE
IT. How does it works?

Thanks.

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


Re: [Yade-users] [Question #431251]: How to read the force value

2017-03-27 Thread Felipe
Question #431251 on Yade changed:
https://answers.launchpad.net/yade/+question/431251

Status: Answered => Solved

Felipe confirmed that the question is solved:
Thanks Jérôme Duriez, 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 #580450]: Applying differents force values

2017-03-23 Thread Felipe
Question #580450 on Yade changed:
https://answers.launchpad.net/yade/+question/580450

Felipe gave more information on the question:
Hello Jan,

As you have requested me, i am sharing the full script on the link.

https://www.dropbox.com/s/ykyva1ywy01iaxs/caixa_inferior_100mm_ascii.stl?dl=0

https://www.dropbox.com/s/aasvk3umptt4fk2/caixa_superior_100mm_ascii.stl?dl=0

https://www.dropbox.com/s/2xgx3iut15frqbm/script.py?dl=0

Let me know if i need to provide anything more.

cheers,

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


Re: [Yade-users] [Question #580450]: Applying differents force values

2017-03-22 Thread Felipe
Question #580450 on Yade changed:
https://answers.launchpad.net/yade/+question/580450

Status: Answered => Open

Felipe is still having a problem:
Hello Jan,

I guess the correct way in MWE to ask this question. Below, you can see the 
short script that i am using to apply the force.

# Yade 1.20 - Ubuntu 16.04 LTS

upBox = box( center=(0,210,0), extents=(35,1,35)
,fixed=True,wire=False,material='peso')

p1=O.bodies.append([upBox])

sp=pack.SpherePack()
sp.makeCloud((-35,-45,-35),(35,200,35),rMean=5,periodic=False,porosity=0.8,distributeMass=False,seed=0)
sp.toSimulation()


upBox = O.bodies[540]   
O.forces.addF(upBox.id,(0,-2e2,0), permanent=True)  
upBox.dynamic = True
upBox.state.mass = 10   
upBox.state.inertia =(20,20,1)  
upBox.state.blockedDOFs = 'xzXYZ'   


I was hoping to apply a force value of 200 the spheres to compress and
also this constant force.

When I read the force, I noticed that the applied values were different
from 200.

How should I apply force to keep the determined value constant and when
reading the body to plot on the graph does the force value find exactly
the value that was applied?

The results that were found is on the link.

https://www.dropbox.com/s/9rpfigjaqfy3171/Normal_force2.dat?dl=0

https://www.dropbox.com/s/7u4jlfo1nv4gd1r/Normal_force.dat?dl=0


thanks.

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


Re: [Yade-users] [Question #580403]: Displacement Recorder

2017-03-22 Thread Felipe
Question #580403 on Yade changed:
https://answers.launchpad.net/yade/+question/580403

Status: Answered => Solved

Felipe confirmed that the question is solved:
Thanks Jan Stránský, 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 #578362]: Error When apply constant force

2017-03-21 Thread Felipe
Question #578362 on Yade changed:
https://answers.launchpad.net/yade/+question/578362

Status: Answered => Solved

Felipe confirmed that the question is solved:
Hello Jan,

I am using the Ubuntu 16.04 Lts and  Yade 1.20.0

When I changed to addF, it's work it.

Thanks Jan

cheeres,

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


[Yade-users] [Question #580450]: Applying differents force values

2017-03-21 Thread Felipe
New question #580450 on Yade:
https://answers.launchpad.net/yade/+question/580450

Hello guys,

I have found divergences when i have apply the force on the surface and then I 
read the value that i recorded.

I am applying four different forces (10N, 20N, 50N and 100N). 

To do it, i am using the script below:

upBox = O.bodies[540]   
#identify the body
O.forces.addF(upBox.id,(0,-2e1,0), permanent=True)  #force value = 
20N
upBox.dynamic = True
upBox.state.mass = 10   
upBox.state.inertia =(20,20,1)  
upBox.state.blockedDOFs = 'xzXYZ'   
#block displacement


is it the correct way to apply the force on the surface? How can i be sure that 
i really applied the force value on the surface?

thanks for advance.

cheers,

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


Re: [Yade-users] [Question #578362]: Error When apply constant force

2017-03-21 Thread Felipe
Question #578362 on Yade changed:
https://answers.launchpad.net/yade/+question/578362

Felipe confirmed that the question is solved:
Thanks Jan Stránský, 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


[Yade-users] [Question #580403]: Displacement Recorder

2017-03-21 Thread Felipe
New question #580403 on Yade:
https://answers.launchpad.net/yade/+question/580403

Hello guys,

I am applying force on the surface and also moving one box left to right.

In this simulation, i am recording the force value due to command 
ForceRecorder(ids=p1,file='Normal_force.dat',iterPeriod=100).

Moreover, I also would like to recorder the displacement both of bodies 
(surface and box).

Is there any way to recorder the displacement and also export how one file .dat 
or other extension similar?

Very thanks for any helping me.

cheers,

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


Re: [Yade-users] [Question #578362]: Error When apply constant force

2017-03-20 Thread Felipe
Question #578362 on Yade changed:
https://answers.launchpad.net/yade/+question/578362

Summary changed to:
Error When apply constant force

-- 
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 #578362]: Erro when apply constant force

2017-03-20 Thread Felipe
New question #578362 on Yade:
https://answers.launchpad.net/yade/+question/578362

Hello guys,

I am applying a constant force on the surface using " 
O.forces.setPermF(upBox.id,(0,-1000,0)) " and i found the erro below.

 File "/usr/bin/yade", line 182, in runScript
execfile(script,globals())
  File "teste3luis.py", line 67, in 
O.forces.setPermF(540,(0,-1000,0)) #aqui é a força que deseja aplicar
AttributeError: 'ForceContainer' object has no attribute 'setPermF'


In past, i have already asked how I could apply constant force 
(https://answers.launchpad.net/yade/+question/406621), and that time had been 
done.

So, anyone know what is it meaning of this error?

Thanks for advance.

cheers,

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


Re: [Yade-users] [Question #537735]: Error Stl import

2017-03-08 Thread Felipe
Question #537735 on Yade changed:
https://answers.launchpad.net/yade/+question/537735

Felipe requested more information:
Hello Jan,

I am supporting Luis's questions to provide feedback on this issue.
Regarding your questions, we are using on Ubuntu 16.04 LTS too and Yade
2017.01a-11-11c276f~xenial .


Hello Bruno,

Regarding your question, we have already tried with ./ and complete path.
I will model a new stl to verify your point.


On more comments to both of you guys,

Just in case, I have opened either file and script on Ubuntu 14.10 on my
personnal computer and it worked. Moreover, in the past, we had opened a
similiar questions when the last update was to reinstall either ubuntu
and yade programs.

https://answers.launchpad.net/yade/+question/446239 (Felipe)

After that, we decided to open a new question to this issue.

Really thanks for advance support.

Cheeres,

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


Re: [Yade-users] [Question #446239]: Yade Installation Process

2017-03-08 Thread Felipe
Question #446239 on Yade changed:
https://answers.launchpad.net/yade/+question/446239

Status: Expired => Open

Felipe is still having a problem:
Hello guys,

Regarding the last update, we have reinstalled either Ubuntu and Yade
programs due to trying solving the problems.

However, we still have problems with import stl files. Also, we opened a
new questions about this topic.

https://answers.launchpad.net/yade/+question/537735 (Luis barbosa).

Thanks for advance.

Cheeres,

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


Re: [Yade-users] [Question #446239]: Yade Installation Process

2017-03-08 Thread Felipe
Question #446239 on Yade changed:
https://answers.launchpad.net/yade/+question/446239

Description changed to:
Hello guys,

I have found some issues after i installed the new Ubuntu version on my
computer.

I'm using the UBUNTU 16.10 and also the packages are Yakkety.

So, When i run the program, i am finding this error below:

"Welcome to Yade 2017.01a-1-g8b81444~yakkety 
TCP python prompt on localhost:9000, auth cookie `kydseu'
XMLRPC info provider on http://localhost:21000
Traceback (most recent call last):
  File "/usr/bin/yadedaily", line 294, in 
import yade.qt
  File "/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/qt/__init__.py", line 16, 
in 
from PyQt5 import QtWebKit, QtWebKitWidgets
ImportError: cannot import name QtWebKit
"

Do someone know how to solve this problem? What is it going on?

Thanks  for advance.

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


Re: [Yade-users] [Question #446239]: Yade Installation Process

2017-01-25 Thread Felipe
Question #446239 on Yade changed:
https://answers.launchpad.net/yade/+question/446239

Felipe gave more information on the question:
This is the error for the script shared:

ERROR /data/trunk/pkg/dem/STLImporter.cpp:23 import: Can't open file:
caixa_inferior_100mm_ascii.stl

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


Re: [Yade-users] [Question #446239]: Yade Installation Process

2017-01-25 Thread Felipe
Question #446239 on Yade changed:
https://answers.launchpad.net/yade/+question/446239

Status: Answered => Open

Felipe is still having a problem:
Hello Jan,

I am using the same script that have shared with you.

When i was using the Ubuntu 14.10 with YADE (package = xenial), i did
not have any problem.

After needed to update the software (Ubuntu 14.10 to 16.10) wiht YADE
(package = yakkety), i have been finding some problem to run the same
script.

I am supposed to yade installation is the main problem in this case.
Maybe i have to update some package to solve it but i really dont know.

thanks,

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


Re: [Yade-users] [Question #446239]: Yade Installation Process

2017-01-25 Thread Felipe
Question #446239 on Yade changed:
https://answers.launchpad.net/yade/+question/446239

Status: Answered => Open

Felipe is still having a problem:
Hello Jan,

I have created a folder on the Dropbox.

the link is
https://www.dropbox.com/sh/5xfofzw7rs0w7dw/AAD_YwtOMRgYKhAVXcnp7tYya?dl=0

Really thanks for your attention.

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


Re: [Yade-users] [Question #446239]: Yade Installation Process

2017-01-24 Thread Felipe
Question #446239 on Yade changed:
https://answers.launchpad.net/yade/+question/446239

Status: Answered => Open

Felipe is still having a problem:
Hello Robert,

As you have asked me, i am sharing the error message below.

WARN  /data/trunk/pkg/common/KinematicEngines.cpp:20 action: The list of
ids is empty! Can't move any body.


Also, i have checked either the commands and folder as my script. Everything is 
the same location.

Due to this information, do you have any idea what is happening? May i
have to install any more package?

thanks for advance.

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


[Yade-users] [Question #446239]: Yade Installation Process

2017-01-23 Thread Felipe
New question #446239 on Yade:
https://answers.launchpad.net/yade/+question/446239

Hello guys,

I have found some issues after i installed the new Ubuntu version on my 
computer.

I'm using the UBUNTU 16.10 and also the packages are Yakkety.

So, When i run the program, i am finding this error below:

"Welcome to Yade 2017.01a-1-g8b81444~yakkety 
TCP python prompt on localhost:9000, auth cookie `kydseu'
XMLRPC info provider on http://localhost:21000
Traceback (most recent call last):
  File "/usr/bin/yadedaily", line 294, in 
import yade.qt
  File "/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/qt/__init__.py", line 16, 
in 
from PyQt5 import QtWebKit, QtWebKitWidgets
ImportError: cannot import name QtWebKit
"

Do someone know how to solve this problem? What is it going on?

Thanks  for advance.

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


Re: [Yade-users] [Question #431258]: Creating an circular face

2017-01-10 Thread Felipe
Question #431258 on Yade changed:
https://answers.launchpad.net/yade/+question/431258

Status: Answered => Solved

Felipe confirmed that the question is solved:
Thanks Jérôme Duriez, 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


[Yade-users] [Question #431258]: Creating an circular face

2017-01-06 Thread Felipe
New question #431258 on Yade:
https://answers.launchpad.net/yade/+question/431258

Hello everybody,

I would like to know If is it possible to create a circular face instead of 
rectangular face?

I have found any ways to create a rectangular face as i am showing below.

-> upBox = box( center=(0,260,0), extents=(35,1,35) 
,fixed=True,wire=False,material='peso'

-> p1=O.bodies.append(utils.geom.facetBox((0,50,0),(50,25,50),wallMask=8))

-> plan1 = O.bodies.append(geom.facetBox(center=(0,50,0), extents=(50,0.5,50) , 
orientation=Quaternion((1,0,0),0), wallMask=63, wire=False, material='peso'))

So, is there any way to create a circular face?

Thanks for any comments.

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


[Yade-users] [Question #431251]: How to read the force value

2017-01-06 Thread Felipe
New question #431251 on Yade:
https://answers.launchpad.net/yade/+question/431251

Hello everybody,

I would like to know how to read the force value to apply on the conditional 
formula, like the example below that i'm using the position of body.

example -> if O.bodies[543].state.pos[1] > 25 and O.bodies[390].state.pos[0] < 
-35:

Is it possible to do it anything similar?

I am very interesting to using the force value to give one conditional to move 
another body. The proposal is while the force don't reach the minimum value, 
the next body wont move.

##Conditional
if O.force.f[540] > 1000
O.engines=O.engines+[TranslationEngine(ids=rod2,translationAxis=[1,0,0],velocity=1,dead
 = False)]

Thanks for any comments.

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


Re: [Yade-users] [Question #406621]: How to apply a constant force value

2016-12-13 Thread Felipe
Question #406621 on Yade changed:
https://answers.launchpad.net/yade/+question/406621

Status: Answered => Open

Felipe is still having a problem:
Hello Jan,

thanks for all comments that you provided me.

By the way, i did not get to apply your solution on my  program. Maybe,
I am putting some incorrect values. Due to this information, i would
like to ask to you how can i define the values to:

upBox = O.bodies[540]

O.forces.addF(upBox.id) 
O.forces.setPermF(upBox.id,(0,10,0))
upBox.dynamic = True # [4]
upBox.state.mass = 10
upBox.state.inertia =(0,1,0)


is it correct?


# Def of the Imported Bodies #
rod1 = O.bodies.append(ymport.stl(mesh1+'.stl',wire=True,material='caixasup'))
rod2 = O.bodies.append(ymport.stl(mesh2+'.stl',wire=False,material='caixainf'))

# Def of the Plan #
upBox = box( center=(0,255,-25), extents=(50,1,50) ,fixed=True,wire=False)

O.bodies.append([upBox])

# Def of the Particles #
sp=pack.SpherePack()
sp.makeCloud((-35,-45,-35),(35,250,35),rMean=5,periodic=False,porosity=0.8,distributeMass=False,seed=0)
sp.toSimulation()

# Def of the Engines #
O.engines=[
ForceResetter(),

InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb(),Bo1_Box_Aabb()]),
InteractionLoop(

[Ig2_Sphere_Sphere_ScGeom6D(),Ig2_Box_Sphere_ScGeom6D(),Ig2_Facet_Sphere_ScGeom6D()],
[Ip2_FrictMat_FrictMat_FrictPhys()],
[Law2_ScGeom_FrictPhys_CundallStrack()]
),
NewtonIntegrator(damping=0.7, gravity=[0,-9.81,0]),

GlobalStiffnessTimeStepper(active=1,timeStepUpdateInterval=100,timestepSafetyCoefficient=0.8),
]


# Def of the Force #
upBox = O.bodies[540]

O.forces.addF(upBox.id) 
O.forces.setPermF(upBox.id,(0,10,0))
upBox.dynamic = True # [4]
upBox.state.mass = 10
upBox.state.inertia =(0,1,0)


# Def of the Plots #
from yade import plot
qt.Controller()

O.run(3000,True)
qt.View()
O.run(3000)

-- 
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 #406621]: How to apply a constant force value

2016-12-10 Thread Felipe
New question #406621 on Yade:
https://answers.launchpad.net/yade/+question/406621

Hello everybody,

I am doing some simulation with some parts that have imported from design 
software (CATIA, CREO, AUTOCAD). In fact, I had found some issues when I tried 
to apply a force value to compression the material, like a compression test 
where I have cylinder pack created and a plane that is applying force on it 
(see illustration on the link).

https://www.dropbox.com/s/5frs3x234loxma9/Apply%20Force.png?dl=0
 

I have looked some examples that it is possible to apply a force value on the 
surface that is moving at constant velocity (upBox).

So, I would like to know how I can get to apply a force value to compression 
the material using:

1 – A surface which was created by 
O.bodies.append([leftBox,lowBox,rightBox,upBox,behindBox,inFrontBox])

2- A geometry which was imported by rod1 = 
O.bodies.append(ymport.stl(mesh1+'.stl',wire=True,material='caixasup'))

Thanks for any comments.

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


Re: [Yade-users] [Question #403360]: Packing Cylinder with MakeCloud

2016-11-02 Thread Felipe
Question #403360 on Yade changed:
https://answers.launchpad.net/yade/+question/403360

Status: Open => Solved

Felipe confirmed that the question is solved:
Thanks mohsen, 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 #403360]: Packing Cylinder with MakeCloud

2016-10-26 Thread Felipe
Question #403360 on Yade changed:
https://answers.launchpad.net/yade/+question/403360

Status: Answered => Open

Felipe is still having a problem:
Hello Mohsen,

Sorry for delaying the answer. Regarding your comment, i am using
different coordinates because depends what strategic is using to create
the pack. I mean, when it is trying to create by pack cylinder where
have to define either down and top center of cylinder, including the
radii. By the way, when it is trying to create by make cloud that has to
define the limits like a volume parallelepiped.

In fact, i was creating by pack cylinder but it seems like there is
stress/overlap local even i didn't apply any force before. That's why i
try to find another method to do it without starting with
tensioned/overlap.

it's really important the numbers of particles because i am wondering if
the best simulation will be creating either more less 1, 2 or
5 particles. is it possible to do it by using method 3?

-- 
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 #403360]: Packing Cylinder with MakeCloud

2016-10-22 Thread Felipe
New question #403360 on Yade:
https://answers.launchpad.net/yade/+question/403360

Hello everybody,

i am doing a script to fill a cylinder and then it is going to apply a force on 
the normal direction.

So, how can i get to do it by using packing cylinder and makecloud? Also, is it 
possible to include spheres material?

Following the examples that i have done separate.

#Only pack cylinder
pred=pack.inCylinder((0,-45,0),(0,40,0),radius=50)
sp=SpherePack()
sp=pack.randomDensePack(pred,radius=5,returnSpherePack=True, material='shperes')
sp.toSimulation()

#Only MakeCloud
sp=pack.SpherePack()
sp.makeCloud((-35,-45,-35),(35,50,35),rMean=2,rRelFuzz=.1,num=1,periodic=False,porosity=0.9,distributeMass=False,seed=0)
sp.toSimulation()


There is one script example that i found which is joining the two command, but 
it's not working as well as i expect. how is it working the predicate?

from yade import pack
sp = pack.SpherePack()
maxCorner = (45,45,45)
sp.makeCloud(maxCorner=maxCorner,rMean=1.0,num=5000)
pred = pack.inCylinder((0,-45,0),(0,45,0),radius=50)
for c,r in sp:
if pred(c,r): # determines if a sphere with center c and radius r is 
inside
#predicate...
O.bodies.append(sphere(c,r)) # ... if yes, append it to simulation


Hope to hear from guys some ideas to solve these problems.


Thanks,

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


[Yade-users] [Question #340018]: Simulation of the shearbox

2016-08-11 Thread Felipe
New question #340018 on Yade:
https://answers.launchpad.net/yade/+question/340018

Hello Everybody,


I am having some issues about simulation of the shear box. When the surface was 
moving down, the motion is not constant. It's sounds like leaps in motion.

I have tried to change all my script to build the same program with different 
ways. However, the result was the same. I was wondering if anyone could help me 
to understand what is happening.

I am sharing one video which was produced at the ParaView (version 5.0.1) were 
simulated on Ubuntu 16.04 LTS.

https://www.dropbox.com/sh/yu6crs6d4bpu996/AACeT41RsvgpBPmJkcX2gr7ra?dl=0


The best motion will be moving down constantly  and when the surface gets 
either the correct position or apply stress, the box is going to move right, 
like shear motion.

Do Anyone have any idea to solve this problem?

Hope getting a solution about this problem.

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


[Yade-users] [Question #295676]: Cylinder Pack with specific clump

2016-06-26 Thread Felipe
New question #295676 on Yade:
https://answers.launchpad.net/yade/+question/295676

Hello Everybody,

I would like to know if it is possible to create pack.inCylinder with a 
specific clump? 

For example, let me show the example below of the normal pack.inCylinder that i 
am creating in my simulation.

pred=pack.inCylinder((X,Y,Z),(X',Y',Z'), radius=R)
sp=SpherePack()
sp=pack.randomDensePack(pred,radius=5,returnSpherePack=True,material='spheres')
sp.toSimulation()

After that, I want to create the same pack.inCylinder but including clump 
spheres, following the next example.

clump1=O.bodies.appendClumped([\
sphere([X,Y,Z], material='spheres', radius=R),\
sphere([X',Y',Z'], material='spheres', radius=R)\
])

*Note: X,Y,Z are only aleatory coordinates of the system and R is the radius.

Is there a way to do it? It mean, Do I get to create this pack.inCylinder 
including clumps?

If you have any queries about my question, please let me know.

Thank you for attention.

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


Re: [Yade-users] [Question #295676]: Pack.inCylinder with specific clump

2016-06-26 Thread Felipe
Question #295676 on Yade changed:
https://answers.launchpad.net/yade/+question/295676

Summary changed to:
Pack.inCylinder with specific clump

-- 
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 #293600]: Periodic Cell and Periodic Boundary

2016-05-11 Thread 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


Re: [Yade-users] [Question #293216]: Creating Ellipse or Ellipsoid

2016-05-06 Thread Felipe
Question #293216 on Yade changed:
https://answers.launchpad.net/yade/+question/293216

Status: Answered => Solved

Felipe confirmed that the question is solved:
Thanks Jan Stránský, 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


[Yade-users] [Question #293216]: Creating Ellipse or Ellipsoid

2016-05-03 Thread Felipe
New question #293216 on Yade:
https://answers.launchpad.net/yade/+question/293216

Hello Everyone,

I'am looking for creating some particle wich will be simulating ellipse or 
ellipsoid in Yade but I didn't find yet.

So, I would like to ask if it is possible to do:

1-> Creating one ellipse or ellpsoid;

2-> Simulating bouncing.py changing the sphere to ellipse;

3-> How is it work the function "pack.inEllipsoid";

4-> Is it possible to create one ellipsoid like one pack.cylinder. I have 
created a pack cylinder and right now i would like to change this pack for one 
pack in ellipsoid.

Thanks for everything.

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


Re: [Yade-users] [Question #292672]: Creating an agglomerate from pack

2016-04-28 Thread Felipe
Question #292672 on Yade changed:
https://answers.launchpad.net/yade/+question/292672

Felipe posted a new comment:
Hello Jane,

Thanks for answerign me. I was studying about Klaus said and I had
concluded that he solved my problem.

By the way, you was right and the next question i will try to say more
details about my question.

thanks for your attention.

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


Re: [Yade-users] [Question #292672]: Creating an agglomerate from pack

2016-04-28 Thread Felipe
Question #292672 on Yade changed:
https://answers.launchpad.net/yade/+question/292672

Felipe posted a new comment:
Hello Jan,

Thanks for answerign me. I was studying about Klaus said and I had
concluded that he solved my problem.

By the way, you was right and the next question i will try to say more
details about my question.

thanks for your attention.

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


Re: [Yade-users] [Question #292672]: Creating an agglomerate from pack

2016-04-28 Thread Felipe
Question #292672 on Yade changed:
https://answers.launchpad.net/yade/+question/292672

Felipe posted a new comment:
Hello Klaus,

I have tested all information wich is your answer following step by step
and also the examples inside the github and I understood the correct way
to create an agglomerate by clumps.

I only am having some problem with the "replaceByClumps", but this
problem can be solved if  I study more. Don't worry about that.

thank you for answering me.

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


Re: [Yade-users] [Question #292672]: Creating an agglomerate from pack

2016-04-28 Thread Felipe
Question #292672 on Yade changed:
https://answers.launchpad.net/yade/+question/292672

Status: Answered => Solved

Felipe 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 #292672]: Creating an agglomerate from pack

2016-04-27 Thread Felipe
Question #292672 on Yade changed:
https://answers.launchpad.net/yade/+question/292672

Status: Answered => Open

Felipe is still having a problem:
Hello Klaus,

Thanks for answering my question. However, I know how to create clumps
and also it is not exactly what i want.

Maybe, I didn't explain very well.

The main question is: "Is there already some function capable of create
another dense pack (pack 2) composed by many pack 1? Considering that
the contact parameters between these pack 1 is different from parameters
1 (parameters 2). In other words, pack 2 keeps parameters 1 inside pack
1, but uses parameters 2 in the interaction", following the question
before (https://answers.launchpad.net/yade/+question/291194).

Thanks for the moment.

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


[Yade-users] [Question #292672]: Creating an agglomerate from pack

2016-04-27 Thread Felipe
New question #292672 on Yade:
https://answers.launchpad.net/yade/+question/292672

Hi Everyone,

I'm looking for a way to built an agglomerate from an irregular pack. I have 
seen all questions in  Launchpad (YADE) about this topic and I only found some 
answers which told me there is a function called the "Omega" class that can use 
to do it 
(https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Omega.switchToScene).

So, I have tried to use this function but i don't know exactly how to built the 
program.

If it's possible, could someone send me one example that I can apply this 
function? For more detail where i will use this function, following the concept 
to create on agglomerate like this 
https://www.dropbox.com/s/9rlbvh0vidlc188/Agglomerate.png?dl=0.

Thank you for everything.

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


Re: [Yade-users] [Question #271596]: Track Energy (Plot variables)

2016-04-23 Thread Felipe
Question #271596 on Yade changed:
https://answers.launchpad.net/yade/+question/271596

Status: Answered => Solved

Felipe confirmed that the question is solved:
Thanks Jérôme Duriez, 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


[Yade-users] [Question #271596]: Track Energy (Plot variables)

2015-09-20 Thread Felipe
New question #271596 on Yade:
https://answers.launchpad.net/yade/+question/271596

Hi everybody,

I'm looking for more information about track Energy.
When I am running one program and type the code below:
"
0.trackEnergy=True
def Data():
b=O.bodies[21799]#cone plano

plot.addData(z1=b.state.pos[1],i=O.iter,total=O.energy.total(),**O.energy)
O.run(39,True)
plot.plots={
'z1':('total',O.energy.keys)
}
plot.plot()
plot.saveDataTxt('/tmp/dataFile.txt')
"

I'll get the "figure1" that will show me some variables of energy (total, 
gravWork, Kinetic, nonviscDamp, elastPotential, plastDissip).

So, I would like to know how I can compare these energies with others, for 
example, body energy, strain energy, friction energy. Is it possible to exist 
relationship between both energies that I mentioned . I mean, Could you explain 
more detail for each type of variable?

By the way, If anyone knows any local where i can find more information for 
each type of variable (total, gravWork, Kinetic, nonviscDamp, elastPotential, 
plastDissip), I`ll be very grateful!

Thank you guys again for your help and effort!

-- 
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 #264142]: Law Functor

2015-03-26 Thread Felipe
Question #264142 on Yade changed:
https://answers.launchpad.net/yade/+question/264142

Felipe posted a new comment:
Hello Jerome,

Thank you for answering my question..

I'll read both tutorial. I also liked the link about others examples.

For the moment, you solved my questions.

Cheeres,

Felipe

-- 
You received this question notification because you are a member of
yade-users, which 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 #264142]: Law Functor

2015-03-26 Thread Felipe
Question #264142 on Yade changed:
https://answers.launchpad.net/yade/+question/264142

Felipe confirmed that the question is solved:
Thanks Jan Stránský, that solved my question.

-- 
You received this question notification because you are a member of
yade-users, which 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 #264142]: Law Functor

2015-03-26 Thread Felipe
Question #264142 on Yade changed:
https://answers.launchpad.net/yade/+question/264142

Status: Answered = Solved

Felipe confirmed that the question is solved:
Hello Jan,

Thank you again.

For sure, the next time I will try more specific in my questions.

For the moment, you solved my questions.

Thank you so much.

Cheeres,

Felipe

-- 
You received this question notification because you are a member of
yade-users, which 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 #264142]: Law Functor

2015-03-25 Thread Felipe
Question #264142 on Yade changed:
https://answers.launchpad.net/yade/+question/264142

Status: Answered = Open

Felipe is still having a problem:
Hey Jan,

Thank you for answering my question.

I'm really appreciate that.

However, I would like to learn more specific about contact laws.

If you have examples about it, could you send me to learn and also
seeing how you construct in .py?

Cheers,

Felipe

-- 
You received this question notification because you are a member of
yade-users, which 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 #264142]: Law Functor

2015-03-24 Thread Felipe
New question #264142 on Yade:
https://answers.launchpad.net/yade/+question/264142

Hey guys,

I'm a new user of the YADE and I'm studying some law functor (contact law).

By the way, I have had some problem about how I can construct the program, for 
example:

[Law2_L3Geom_FrictPhys_ElPerfPl()]

http://yade-dem.org/doc/yade.wrapper.html#constitutive-laws

When I choose this law and select it, We can see many explanation about it. 
Although there are many descriptions (you can see following), I don't know 
exactly how I should do to construct correct program to Yade.

class yade.wrapper.Law2_L3Geom_FrictPhys_ElPerfPl((object)arg1)
Basic law for testing L3Geom; it bears no cohesion (unless noBreak is True), 
and plastic slip obeys the Mohr-Coulomb criterion (unless noSlip is True).

bases
Ordered list of types (as strings) this functor accepts.

dict() → dict
Return dictionary of attributes.

label(=uninitalized)
Textual label for this object; must be a valid python identifier, you can refer 
to it directly from python.

noBreak(=false)
Do not break contacts when particles separate.

noSlip(=false)
No plastic slipping.

timingDeltas
Detailed information about timing inside the Dispatcher itself. Empty unless 
enabled in the source code and O.timingEnabled==True.

updateAttrs((dict)arg2) → None
Update object attributes from given dictionary

Could we give any explanation how I must assembly the program at the Yade 
(correct structure)?

thanks for any helps.

Best Regards,
Felipe

-- 
You received this question notification because you are a member of
yade-users, which 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