Re: [Yade-users] [Question #675496]: ymport textExt attrs

2018-10-24 Thread bruna
Question #675496 on Yade changed:
https://answers.launchpad.net/yade/+question/675496

bruna posted a new comment:
Thanks for the answer and sorry for the lack of information. 
Next time I will pay more attention in my question informations. 

Cheers,

Bruna.

-- 
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 #675496]: ymport textExt attrs

2018-10-24 Thread bruna
Question #675496 on Yade changed:
https://answers.launchpad.net/yade/+question/675496

Status: Answered => Solved

bruna 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 #674932]: makeClumpCloud from regularHexa pack

2018-10-23 Thread bruna
Question #674932 on Yade changed:
https://answers.launchpad.net/yade/+question/674932

Status: Answered => Solved

bruna 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 #675496]: ymport textExt attrs

2018-10-23 Thread bruna
New question #675496 on Yade:
https://answers.launchpad.net/yade/+question/675496

Hello everyone! 

I am trying to use a pre created agglomerate in a compression test. For this I 
use export and ymport textExt. 
In the creating script I use after creating my aggregate : 

part = 
export.textExt('Agregado2.txt',format='x_y_z_r_attrs',attrs=['b.material.normalCohesion',
 'b.material.shearCohesion'])

The file created contains all properties I need. Everything is working fine 
until here.
 Although, when I import the aggregate in the compression script, spheres don't 
present the attrs that I exported before. I am using: 

aggregate = ymport.textIExt('Agregado2.txt', material = CohFrictMat(), format = 
'x_y_z_r_attrs', attrs=['b.material.normalCohesion', 
'b.material.shearCohesion'])
O.bodies.append(aggregate)


The spheres imported has CohFrictMat() material but the normalCohesion and 
shearCohesion are equal to -1 (would it be the default value?).

I would like to know if it is possible to export and import the normal and 
shear Cohesion. If it is possible, am I doing something wrong? Why my final 
script doesn't import the attrs that I have exported? 

Many thanks! 

Bruna. 

-- 
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 #674932]: makeClumpCloud from regularHexa pack

2018-10-09 Thread bruna
New question #674932 on Yade:
https://answers.launchpad.net/yade/+question/674932

Hi everyone! 

I am trying to use makeClumpCloud using a clump c1 that I have created. This is 
the clump: 
c1 = pack.regularHexa(pred,r,-.0005,color=(.5,.5,.5))

When I use makeClumpCloud, yade returns this error: 
TypeError: No registered converter was able to produce a C++ rvalue of type 
boost::shared_ptr from this Python object of type list

I am trying this: 
sp = pack.SpherePack()
sp.makeClumpCloud((0,0,0),(2,2,2),[c1])

My question is if makeClumpCloud accepts clumps that were made using the 
regularHexa package of spheres. If no, there is another manner to do a sample 
from a pre-created clump? 

Thanks 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


[Yade-users] [Question #446171]: Contact Smoothing

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

Hello everybody! 

Does anybody know if it is possible to smooth the contact between two particles 
so that it loses its angularity? I am trying to create a 2D circular particle 
gluing spheres and locking one of the free planes. 

Thanks a lot in advance! 

Bruna. 

-- 
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 #403901]: Sample of pre-defined shaped particles

2016-11-22 Thread bruna
Question #403901 on Yade changed:
https://answers.launchpad.net/yade/+question/403901

bruna 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 #403901]: Sample of pre-defined shaped particles

2016-11-22 Thread bruna
Question #403901 on Yade changed:
https://answers.launchpad.net/yade/+question/403901

Status: Answered => Solved

bruna confirmed that the question is solved:
Hi Jan!

Now I see what I wasn't understanding. Your script definitely helped me. 
Thanks a lot! 

Bruna.

-- 
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 #403901]: Sample of pre-defined shaped particles

2016-11-09 Thread bruna
Question #403901 on Yade changed:
https://answers.launchpad.net/yade/+question/403901

Status: Answered => Open

bruna is still having a problem:
Hello, Jan.

Thanks a lot for your answer.

I have one question about this code. Is it possible that in instead of
the regularHexa I use a pack formed by particles that are formed by
spheres (the particle of my sample is going to be an agglomerate of
spheres). In other words, I want to create a sample that is formed by
particles made from spheres (the spheres that form one particle interact
by means of CohFrictMat interactions) and these spheres are responsable
to give a determined shape to my particles.  I am trying to simulate
breakage of particles that has an specific shape.

Once more thanks for all the help!

Bruna.

-- 
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 #403901]: Sample of pre-defined shaped particles

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

Hello everybody! 

I would like to create a sample formed by particles that are sphere 
agglomerates with a determined shape (u-shaped). 
I was thinking that I could create the particle (that is a pattern) in a 
scritpt and them import it in another script as many times as necessary 
rotating and translating the copied particles.
I don't know if it is possible or if it is an inteligente manner to do this. 

Does anybody knows a function that could help me or a better way to do this? 

Thanks a lot for your help and patience. 

Bruna. 

-- 
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 #403777]: Breakage bibliography and examples

2016-11-03 Thread bruna
New question #403777 on Yade:
https://answers.launchpad.net/yade/+question/403777

Hi all. 

I am trying to simulate breakage of particles in yade. I am having some 
troubles because I am unable to make particles formed by agglomerates that 
breaks under defined condition.  One of my problems is that I am not able to 
apply different interactions between the particles of the sample and the 
spheres that form one particle. Does the yade accept two or more types of 
interaction in the same simulation? If yes, how could I define that a number of 
spheres is my particle and make it interact with other particles also formed by 
a number of particles? 

Is there any recomended bibliography that I can follow to try making the 
breakage of particle formed by agglomerates? 
Also is there any examples that somebody has already made? 

In advance, thanks a lot for all contribution and for the patience.

Bruna. 

-- 
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 #403339]: Interactions in a clump

2016-11-03 Thread bruna
Question #403339 on Yade changed:
https://answers.launchpad.net/yade/+question/403339

Status: Answered => Solved

bruna 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 #403339]: Interactions in a clump

2016-10-25 Thread bruna
Question #403339 on Yade changed:
https://answers.launchpad.net/yade/+question/403339

Status: Answered => Open

bruna is still having a problem:
Jerome, thank you for the clarifications.

I still have a question in this subject. Does the same that happens with
the interactions happen with forces? Is it possible to get forces
between two bodies that form the same clump?

I am trying to simulate a particle breakage and a maximum force or the
existence of interactions between the bodies of the clump would be my
criteria to release a body from the clump. Like this, when a body inside
my clump reach a limit, this body would be released simulating a
breakage. Do you know if there is another way to simulate this?  I want
to create a particle that is formed by a determined number of spheres
and separate them because of determined criteria.

Once more, thanks a lot!

Bruna.

-- 
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 #403339]: Interactions in a clump

2016-10-21 Thread bruna
New question #403339 on Yade:
https://answers.launchpad.net/yade/+question/403339

Hi all, 

Do the particles of a clump interact between themselves? Is it possible to get 
an interaction between two particles that are part of the same clump? 
For example, particles A, B, C and D form the clump 1. I would like to get the 
interaction, for example, between particles A and B or see if the body A has 
any interaction with another sphere of the clump. Is it possible?

Thanks a lot for your help! 

Bruna. 


-- 
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 #378138]: Rolling Resistance

2016-09-02 Thread bruna
Question #378138 on Yade changed:
https://answers.launchpad.net/yade/+question/378138

Status: Answered => Open

bruna is still having a problem:
Hello Luc, thank you very much for your answer.

I am using FrictMat for my materials. The property that more would approach is 
the friction angle and it is already defined. If I am not wrong, there isn't a 
rolling resistance property for FrictMat. 
I thought I could maybe change my material to CohFrictMat using cohesion = 0 
but in this case I would have to change my Mindlin contact law. Would it be a 
good ideia?

Thanks again.

Bruna.

-- 
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 #378138]: Rolling Resistance

2016-09-01 Thread bruna
New question #378138 on Yade:
https://answers.launchpad.net/yade/+question/378138

Hello everyone! 

I am trying to simulate a shear test. The rolling resistance is very important 
for my testing. I don't know if I have understood wrong but my attempts to 
simulate the rolling resistance didn't work. 

I am using 
Ip2_FrictMat_FrictMat_MindlinPhys(en=0.5,es=0.7,krot=valorKrot,eta=valorEta) 
and Law2_ScGeom_MindlinPhys_Mindlin(includeMoment=True) but as I determine 
values for krot and eta nothing different happens when I compare to results 
without this parameters. In other words, with or without krot and eta the 
results are the same.

What could I be doing wrong? Have I missed something? 
Which would be the magnitude order of this parameters? I am simulating a low 
resistance granite. 

Thanks 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


Re: [Yade-users] [Question #309164]: Plan with no interactions

2016-07-29 Thread bruna
Question #309164 on Yade changed:
https://answers.launchpad.net/yade/+question/309164

Status: Answered => Solved

bruna confirmed that the question is solved:
Thanks a lot for your answer, Bruno. I had not thought of that. I was
thinking that measuring the stress in the middle would be a good manner
to observe the behaviour of the sample but use the stress exerted on the
the boundary will be helpfull as well. Thanks again!

-- 
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 #309164]: Plan with no interactions

2016-07-29 Thread bruna
Question #309164 on Yade changed:
https://answers.launchpad.net/yade/+question/309164

bruna confirmed that the question is solved:
Thanks Bruno Chareyre, 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 #309164]: Plan with no interactions

2016-07-29 Thread bruna
New question #309164 on Yade:
https://answers.launchpad.net/yade/+question/309164

Hello everyone! 

I'm trying to simulate a shear teste using yade. I want to track the forces in 
the shear band. For this I thought I could position a plan in the middle of my 
sample and measure the forces in this plan. However when I put this plan in the 
simulation it interacts with the spheres. In the manual there is 'sense' that 
allows me to set interactions in negative side, positive side or both sides of 
the plan (utils.wall) but it doesn't gives me the option of interactions in 
none. 
My question is if there is a manner to measure the forces in a virtual plane in 
the middle of my sample. Putting a plan (utils.wall) is an option? If yes, is 
it possible to set this plan so that it doesn't interacts with my spheres? 

Thanks 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


[Yade-users] [Question #279689]: Free plan

2015-12-19 Thread bruna
New question #279689 on Yade:
https://answers.launchpad.net/yade/+question/279689

Hello everyone,

I think my question is simple.  I'm trying to simulate shear observing the 
rearrangement of the particles. For this I tryed to put a plan in the top of my 
box. With this I want to, by the observation of the movement of the plan that 
is supposed to go up and down, see the movement of the sample's particles that 
will expand or not. My problem is that I can't put a plan that is free for 
moving. Always I put the plan in the position I want, it keeps steady with the 
forces on it growing. 
I also tryed to put a Box with fixed=False instead of a Plan but when the 
simulation starts, the Box just disappear. 

Does anybody has a suggestion that can helps me? 

Thanks 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


[Yade-users] [Question #272484]: Geometric Algorithm with Geometry and PSD inputs

2015-10-15 Thread bruna
New question #272484 on Yade:
https://answers.launchpad.net/yade/+question/272484

Hello everyone!

Does anybody know a  geometric algorithm for packing spheres that uses as input 
the PSD and a specific geometry in contour?  Is there any script with such 
algorithm already implemented?

Thanks 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


Re: [Yade-users] [Question #270818]: Porosity

2015-08-26 Thread bruna
Question #270818 on Yade changed:
https://answers.launchpad.net/yade/+question/270818

Status: Answered => Open

bruna is still having a problem:
Hello Jan,

Thank you for your answer and sorry for the lack of details. 
I'm using the porosity in the makeCloud function. Inspite I set a specif value, 
when I confer the value after the script has ran, it's not the porosity that I 
have set. 

Thanks a lot.

Bruna.

-- 
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 #270818]: Porosity

2015-08-26 Thread bruna
New question #270818 on Yade:
https://answers.launchpad.net/yade/+question/270818

Hello everyone!

I'm trying to make a sample with a defined psd into a determined volume. I want 
to vary the porosity so that I can see how the sample will behave for 
differents values. But I don't know how to set the porosity because just 
"porosity=" is not working.
Does anybody can help me? 
Thanks a lot.


-- 
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 #270747]: Clumps

2015-08-24 Thread bruna
New question #270747 on Yade:
https://answers.launchpad.net/yade/+question/270747

Hello everyone!

I have created a script where I deposite spheres using the CircularFactory 
engine so that I can have a specif PSD that represents my material. Although, I 
want to test how the shape influences the sample so I'm trying to create clumps 
with the spheres that I have already created. When I clump them using 
replaceByClumps, the sample seems to explode. I think this happens because the 
spheres that will form the clumps are not close together so they looks for 
another sphere that will follow the rule of the template that I have created 
making a mess in the sample. 
Maybe if it's possible just to clump two or three spheres that is next to the 
other this problem would be solved. So my question is if there is a way to 
clump a specific number of spheres that are just next to the other without been 
necessary list the relation between their radius. 

Thanks a lot.

Bruna.

-- 
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 #268041]: Unable to place new sphere after 5000 attempts

2015-06-11 Thread bruna
New question #268041 on Yade:
https://answers.launchpad.net/yade/+question/268041

Hello everyone!

I'm still learning yade-dem and I am trying to fill a cylinder with a 
determined type of soil with especific porosity and PSD. For this, I created a 
cylinder and to fill it up, I tryed to use the CircularFactory engine. 
Unfortunately, always I run the script the following message appears and 
nothing happens: 

Unable to place new sphere after 5000 attempts

I can't realize where my mistake is. 
Please, I would like to know where my mistake is or if there is a better way to 
fill my cylinder with spheres.
Thanks a lot,

Bruna.

Here is the script:

# -*- coding: utf-8 -*-

O.bodies.append(geom.facetCylinder(center=(0.,0.,0.5), radius=.5, height=1., 
wallMask=6))
O.bodies.append(utils.sphere((0.,0.,0.05),radius=.05))

O.engines=[
ForceResetter(), 
InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Wall_Aabb(),Bo1_Facet_Aabb()]),
InteractionLoop(

[Ig2_Sphere_Sphere_ScGeom(),Ig2_Wall_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom()],
 
[Ip2_FrictMat_FrictMat_FrictPhys()],  
[Law2_ScGeom_FrictPhys_CundallStrack()] 
),
NewtonIntegrator(damping=.2,gravity=(0.,0.,-9.81),label='newton'),

CircularFactory(center=(0,0,1),radius=.5,massFlowRate=500.,PSDcum=[0.01,0.25,0.40,0.45,0.50,0.55,0.60,1.0],PSDsizes=[0.0075,0.0095,0.019,0.025,0.0375,0.05,0.075,0.1],exactDiam=True,color=(0,0,1),goalMass=1800,vMin=100,vMax=100,vAngle=0,normalVel=(0,0,-1))
]

O.dt=0.5*utils.PWaveTimeStep()



-- 
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 #266644]: creating a predicate

2015-06-11 Thread bruna
Question #266644 on Yade changed:
https://answers.launchpad.net/yade/+question/266644

Status: Answered => Solved

bruna confirmed that the question is solved:
Thanks Václav Šmilauer, 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


[Yade-users] [Question #266644]: creating a predicate

2015-05-07 Thread bruna
New question #266644 on Yade:
https://answers.launchpad.net/yade/+question/266644

Hello everyone!

I'm new in yade-dem and I would like to simulate a rockfill dam. For this, I've 
already created my body with facets but I can't fill it with spheres. 
I noticed that there are some options but they all need a predicate. So I want 
to know if is it possible to create a predicate with the shape that I want (a 
truncated pyramid). 

Thanks a lot

Bruna. 

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