Re: [Yade-users] [Question #295521]: contact-normal in Yade

2016-06-23 Thread Fu zuoguang
Question #295521 on Yade changed:
https://answers.launchpad.net/yade/+question/295521

Status: Answered => Open

Fu zuoguang is still having a problem:
Dear Jan,

Thanks for your suggestion and e.g. I am afraid that I had a wrong
understanding of contact normal analysis and plotting.

As my original standpoint, all the contact normal data obtained by
(i.geom.normal) should be uniformly located in the circle edge (Fig.1)
in Cartesian system.

Fig.1 dir:http://tinypic.com/view.php?pic=66gfmf&s=9

They can be used to represent the unit vector with the start point O. 
So, in my test codes uploaded yesterday, I used (++), (-+), (--) and (+-) to 
define respectively 4 quadrants and considered that the number of data in each 
group may almost the same in isotropic condition. But I was wrong, they are not 
the same at all. As reported by many tested cases in Yade, the number of data 
in 3rd quadrant is the largest and that in 4th quadrant is larger than the 
others. I think it is caused by Yade calculation system, and another DEM 
platform may have the same case.

Your opinion is very useful as the solution. You skillfully transformed
all the vectors which are originally in 1st and 2nd quadrant,
respectively to 3 and 4 quadrant BY (angle+pi). As shown in Fig.1,
vector 1 is to be equivalent to 3 and 2 to 4. Thus, all the thetas are
just in (0, pi), which can perfectly meet your point as

‘plotting normal is meaningful only for values (0,pi)’.

And your dealing with 
'quadrant_1_num+quadrant_3_num= quadrant_2_num+quadrant_4_num' is reasonable.

I hope that I had no wrong in getting your points. But I had not seen
all the details above in previous papers and simultaneously I am afraid
that this method may get fabric tensor calculation into trouble.

Did you have some related papers which have recorded these details? If
necessary, please tell me that.

cheers
zuoguang

-- 
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 #295592]: Problems for allowBiggerThanPeriod

2016-06-23 Thread Bruno Chareyre
Question #295592 on Yade changed:
https://answers.launchpad.net/yade/+question/295592

Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,

> allowBiggerThanPeriod can be used for large deformation

Absolutely not, as you find. This is for large bodies, not large deformations.
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 #295521]: contact-normal in Yade

2016-06-23 Thread Bruno Chareyre
Question #295521 on Yade changed:
https://answers.launchpad.net/yade/+question/295521

Status: Open => Answered

Bruno Chareyre proposed the following answer:
>I am afraid that this method may get fabric tensor calculation into
trouble.

Fabric tensor is based on squared normal, so the problem disappears: n
and -n gives the same fabric.

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 #295587]: Box Free Oscillation

2016-06-23 Thread Jan Stránský
Question #295587 on Yade changed:
https://answers.launchpad.net/yade/+question/295587

Jan Stránský proposed the following answer:
Hi Luis,
even if you set fixed=False, the facets have by default zero mass and
inertia, which causes NaNs in NewtonIntegrator (a=F/m) and particle's
positions and they disappear.

There are several options:
1) set manually mass and inertia (but then each facet would behave like
independent particle, which is probably not what you want)
2) use facet box as a clump (assign mass and inertia to facets before
O.bodies.appendClumped)
3) use one Box instead of several facets

personally I vote for 3
cheers
Jan


2016-06-23 3:57 GMT+02:00 Luis Barbosa :

> New question #295587 on Yade:
> https://answers.launchpad.net/yade/+question/295587
>
> Hello everyone,
>
> Consider a box (made using facetbox, facet, .stl...).
> The box is created between 2 fixed spheres (one in each side) outside the
> box.
> The box is free to move horizontally (limited by the spheres).
> A step of force is given to the box, which starts to oscillate between the
> 2 spheres.
>
> That is the system I'm trying to analyse, but when I use facet
> (fixed=False) the box simply disappears.
> Does anybody have some idea?
>
> Follows the code:
>
> #!/usr/bin/python
> # -*- coding: utf-8 -*-
>
> # Spheres
>
> O.materials.append(CohFrictMat(young=15e8,poisson=0.3,density=1000,frictionAngle=radians(30),label='spheres'))
> O.bodies.append([
>
> utils.sphere(center=(0.5,0.5,0.5),radius=0.1,material='spheres',fixed=False),
>
> utils.sphere(center=(0.5,0.2,0.2),radius=0.1,material='spheres',fixed=False),
>
> utils.sphere(center=(0.5,-0.5,0.5),radius=0.3,material='spheres',fixed=True),
> utils.sphere(center=(0.5,1.5,0.5),radius=0.3,material='spheres',fixed=True)
> ])
>
>
> 
> O.bodies.append([
> facet([[0,0,0],[1,0,0],[0,1,0]],fixed=False,color=[1,0,0]),
> facet([[1,0,0],[1,1,0],[0,1,0]],fixed=False),
> facet([[0,0,0],[0,0,1],[0,1,0]],fixed=False),
> facet([[0,0,1],[0,1,0],[0,1,1]],fixed=False),
> facet([[0,0,1],[1,0,1],[0,1,1]],fixed=False),
> facet([[1,1,1],[1,0,1],[0,1,1]],fixed=False),
> facet([[1,1,1],[1,0,1],[1,0,0]],fixed=False),
> facet([[1,1,1],[1,1,0],[1,0,0]],fixed=False),
> facet([[0,0,0],[1,0,0],[0,0,1]],fixed=False),
> facet([[0,0,1],[1,0,0],[1,0,1]],fixed=False),
> facet([[0,1,0],[1,1,0],[0,1,1]],fixed=False),
> facet([[0,1,1],[1,1,0],[1,1,1]],fixed=False)
> ])
>
> O.engines=[
>   ForceResetter(),
>   InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
>   InteractionLoop(
> [Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom()],
> [Ip2_FrictMat_FrictMat_FrictPhys()],
> [Law2_ScGeom_FrictPhys_CundallStrack()]
>   ),
>
>   NewtonIntegrator(damping=0.1,gravity=[0,0,-9.81]),
>
> ]
> O.dt=1e-3*utils.PWaveTimeStep()
>
> from yade import qt
> qt.View()
> qt.Controller()
>
> Thanks,
> Luis
>
>
>
> --
> 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 #295592]: Problems for allowBiggerThanPeriod

2016-06-23 Thread Jan Stránský
Question #295592 on Yade changed:
https://answers.launchpad.net/yade/+question/295592

Jan Stránský proposed the following answer:
Hello,
I could not reproduce your problem. I ran the simulation until exz=3.0 with
more or less constant stresses..
What version of Yade do you use?
cheers
Jan


2016-06-23 12:08 GMT+02:00 Bruno Chareyre <
question295...@answers.launchpad.net>:

> Question #295592 on Yade changed:
> https://answers.launchpad.net/yade/+question/295592
>
> Status: Open => Answered
>
> Bruno Chareyre proposed the following answer:
> Hi,
>
> > allowBiggerThanPeriod can be used for large deformation
>
> Absolutely not, as you find. This is for large bodies, not large
> deformations.
> 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
>

-- 
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@lists.launchpad.net

2016-06-23 Thread liukeqi
Question #295563 on Yade changed:
https://answers.launchpad.net/yade/+question/295563

Status: Answered => Solved

liukeqi confirmed that the question is solved:
Thanks Anton. I have successfully compiled the lastest released version
of yade by using ubuntu 16.04 and kdevelop.

-- 
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 #295531]: Cohesion/Moment only work with TriaxialCompressionEngine?

2016-06-23 Thread Gary Pekmezi
Question #295531 on Yade changed:
https://answers.launchpad.net/yade/+question/295531

Status: Open => Solved

Gary Pekmezi confirmed that the question is solved:
Thanks Jerome,

My issue is resolved.

-- 
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 #295586]: Axis-aligned bounding box parameters (meaning)

2016-06-23 Thread Marcus Moravia
Question #295586 on Yade changed:
https://answers.launchpad.net/yade/+question/295586

Status: Answered => Solved

Marcus Moravia 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 #295586]: Axis-aligned bounding box parameters (meaning)

2016-06-23 Thread Marcus Moravia
Question #295586 on Yade changed:
https://answers.launchpad.net/yade/+question/295586

Marcus Moravia posted a new comment:
Hi Jérôme,

Thank you for all your assistance. I really appreciate your help in
giving references.

Marcus.

-- 
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 #295587]: Box Free Oscillation

2016-06-23 Thread Luis Barbosa
Question #295587 on Yade changed:
https://answers.launchpad.net/yade/+question/295587

Status: Answered => Open

Luis Barbosa is still having a problem:
Thank you for the answers.

Jan, is it possible create spheres inside the box?
When I do that, no contact spheres - box is detected.

Thanks again,
Luis

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