Re: [Yade-users] [Question #688197]: Shear loading

2020-01-29 Thread mrhappy
Question #688197 on Yade changed:
https://answers.launchpad.net/yade/+question/688197

Status: Open => Solved

mrhappy confirmed that the question is solved:
Thank you so much for clearifying!

-- 
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 #688345]: Precrack

2020-01-29 Thread mrhappy
New question #688345 on Yade:
https://answers.launchpad.net/yade/+question/688345

Hi,

I want to put a precrack in my model. Currently, my model consists of 5 by 6 
particles in the xy plane. Each particle is linked with its neighbouring 
particle. I want to zero out the bonds (a precrack) between particle 11 and 16, 
12 and 17, and 13 and 18. How do I do this? 

Thanks!

MY CODE:
#MATERIAL PROPERTIES 
intR =   1.00 #connectivity parameter 
DENS = 2500.00 #Density (kg/mm^3) 
YOUNG = 1800.00 #Young's modulus (N/mm^2) 
FRICT =   7.00 #Friction angle (degrees) 
ALPHA =   0.10 #Poisson's ratio 
TENS = 100.00 #Tensile strength (N/mm^2) 
COH = 100.00 #Shear strength (N/mm^2) 
iterMax =   1.00 #Max Itteration 
rate =   0.00 #pull rate 

O.materials.append(JCFpmMat(type=1,density=DENS,young=YOUNG,poisson=ALPHA,frictionAngle=radians(FRICT),tensileStrength=TENS,cohesion=COH,label='mat1'))

# PARTICLES 
O.bodies.append([ 
sphere(center=(  1.00,  1.00,0),radius=  0.50,material='mat1'),
sphere(center=(  2.00,  1.00,0),radius=  0.50,material='mat1'),
sphere(center=(  3.00,  1.00,0),radius=  0.50,material='mat1'),
sphere(center=(  4.00,  1.00,0),radius=  0.50,material='mat1'),
sphere(center=(  5.00,  1.00,0),radius=  0.50,material='mat1'),
sphere(center=(  1.00,  2.00,0),radius=  0.50,material='mat1'),
sphere(center=(  2.00,  2.00,0),radius=  0.50,material='mat1'),
sphere(center=(  3.00,  2.00,0),radius=  0.50,material='mat1'),
sphere(center=(  4.00,  2.00,0),radius=  0.50,material='mat1'),
sphere(center=(  5.00,  2.00,0),radius=  0.50,material='mat1'),
sphere(center=(  1.00,  3.00,0),radius=  0.50,material='mat1'),
sphere(center=(  2.00,  3.00,0),radius=  0.50,material='mat1'),
sphere(center=(  3.00,  3.00,0),radius=  0.50,material='mat1'),
sphere(center=(  4.00,  3.00,0),radius=  0.50,material='mat1'),
sphere(center=(  5.00,  3.00,0),radius=  0.50,material='mat1'),
sphere(center=(  1.00,  4.00,0),radius=  0.50,material='mat1'),
sphere(center=(  2.00,  4.00,0),radius=  0.50,material='mat1'),
sphere(center=(  3.00,  4.00,0),radius=  0.50,material='mat1'),
sphere(center=(  4.00,  4.00,0),radius=  0.50,material='mat1'),
sphere(center=(  5.00,  4.00,0),radius=  0.50,material='mat1'),
sphere(center=(  1.00,  5.00,0),radius=  0.50,material='mat1'),
sphere(center=(  2.00,  5.00,0),radius=  0.50,material='mat1'),
sphere(center=(  3.00,  5.00,0),radius=  0.50,material='mat1'),
sphere(center=(  4.00,  5.00,0),radius=  0.50,material='mat1'),
sphere(center=(  5.00,  5.00,0),radius=  0.50,material='mat1'),
sphere(center=(  1.00,  6.00,0),radius=  0.50,material='mat1'),
sphere(center=(  2.00,  6.00,0),radius=  0.50,material='mat1'),
sphere(center=(  3.00,  6.00,0),radius=  0.50,material='mat1'),
sphere(center=(  4.00,  6.00,0),radius=  0.50,material='mat1'),
sphere(center=(  5.00,  6.00,0),radius=  0.50,material='mat1'),
])
nbSpheres =  30.00

# BOUNDARY CONDITIONS 
O.bodies[0].state.blockedDOFs = "xyzXYZ"
O.bodies[0].state.vel = (0,-0.10,0)
O.bodies[0].state.angVel = (0,0,0)
O.bodies[1].state.blockedDOFs = "xyzXYZ"
O.bodies[1].state.vel = (0,-0.10,0)
O.bodies[1].state.angVel = (0,0,0)
O.bodies[2].state.blockedDOFs = "xyzXYZ"
O.bodies[2].state.vel = (0,-0.10,0)
O.bodies[2].state.angVel = (0,0,0)
O.bodies[3].state.blockedDOFs = "xyzXYZ"
O.bodies[3].state.vel = (0,-0.10,0)
O.bodies[3].state.angVel = (0,0,0)
O.bodies[4].state.blockedDOFs = "xyzXYZ"
O.bodies[4].state.vel = (0,-0.10,0)
O.bodies[4].state.angVel = (0,0,0)
O.bodies[25].state.blockedDOFs = "xyzXYZ"
O.bodies[25].state.vel = (0,0.10,0)
O.bodies[25].state.angVel = (0,0,0)
O.bodies[26].state.blockedDOFs = "xyzXYZ"
O.bodies[26].state.vel = (0,0.10,0)
O.bodies[26].state.angVel = (0,0,0)
O.bodies[27].state.blockedDOFs = "xyzXYZ"
O.bodies[27].state.vel = (0,0.10,0)
O.bodies[27].state.angVel = (0,0,0)
O.bodies[28].state.blockedDOFs = "xyzXYZ"
O.bodies[28].state.vel = (0,0.10,0)
O.bodies[28].state.angVel = (0,0,0)
O.bodies[29].state.blockedDOFs = "xyzXYZ"
O.bodies[29].state.vel = (0,0.10,0)
O.bodies[29].state.angVel = (0,0,0)

# FUNCTIONAL COMPONENTS 
def addPlotData1(): 
plot.addData(t=O.time,DX1 = O.bodies[25].state.pos[0], DY1 = 
O.bodies[25].state.pos[1], DZ1 = O.bodies[25].state.pos[2], FX1 = 
O.forces.f(25)[0], FY1 = O.forces.f(25)[1], FZ1 = O.forces.f(25)[2], DX2 = 
O.bodies[26].state.pos[0], DY2 = O.bodies[26].state.pos[1], DZ2 = 
O.bodies[26].state.pos[2], FX2 = O.forces.f(26)[0], FY2 = O.forces.f(26)[1], 
FZ2 = O.forces.f(26)[2], DX3 = O.bodies[27].state.pos[0], DY3 = 
O.bodies[27].state.pos[1], DZ3 = O.bodies[27].state.pos[2], FX3 = 
O.forces.f(27)[0], FY3 = O.forces.f(27)[1], FZ3 = O.forces.f(27)[2], DX4 = 
O.bodies[28].state.pos[0], DY4 = O.bodies[28].state.pos[1], DZ4 = 
O.bodies[28].state.pos[2], FX4 = O.forces.f(28)[0], FY4 = O.forces.f(28)[1], 
FZ4 = O.forces.f(28)[2], DX5 = O.bodies[29].state.pos[0], DY5 = 
O.bodies[29].state.pos[1], DZ5 = O.bodies[29].state.pos[2], FX5 = 
O.forces.f(29)[0], FY5 = O.forces.f(29)[1], 

Re: [Yade-users] [Question #688340]: Problem about running yade in parallel

2020-01-29 Thread Huang peilun
Question #688340 on Yade changed:
https://answers.launchpad.net/yade/+question/688340

Huang peilun posted a new comment:
Thanks for your reply!

it's
"
Yade 20200119-3121~146d6de~xenial1.
Ubuntu 16.04 LTS xenial.
"

I can run the first few steps and then this problem occurs.

-- 
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 #688343]: Slow calculation speed with a large number of facets imported from stl mesh

2020-01-29 Thread gaoxuesong
New question #688343 on Yade:
https://answers.launchpad.net/yade/+question/688343

Hi. Now i am simulating a case where spherical particles are spreading on a 
substrate imported from a stl mesh. The number of the spherical particles is 
6,000 and the number of the facets from stl mesh is 447,262.  The calculation 
speed is low as 2~4 iter/s. 

I had tried to use more threads by the command of "yade -j4 myscript.py", 
however, i got the warning that there are fewer particles nad only some threads 
are used.  

Since the thread option doesn't work, i am wondering how to deal with a large 
number of facets to increase calculation speed?  

P.S. My system is ubuntu 18.04, yade version is 2018.02 and my cpu is intel 
i7-8or9 (quite new one, 12 threads in total). 

  


 

-- 
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 #688342]: how to use plt.plot in Yade?

2020-01-29 Thread ehsan benabbas
New question #688342 on Yade:
https://answers.launchpad.net/yade/+question/688342

Hello,

I am using Ubuntu 18.04, and Yade 2019-08-08.git-775ae74

I coded a triaxial test which works properly now (thanks to all of you for your 
helps) and I can get the plots for macro variables such as e22, s22, etc. 
successfully. However, the plot.plot() function in YADE it is not as flexible 
as matplotlib(pyplot) in python and I could not find what I want as I wen 
through the YADE documentation (BTW: the yade-dem.org does not open for me now).

My main problem with plot.plot is I cannot make multiple figures for multiple 
plots (not subplots). 

So, that is why I tried to use plt.plot() to plot e22, s22,... in the way I 
want but I give error as these variables are defined in a function(addplot 
history function). 


My code for this part is as follows:

from matplotlib import pyplot as plt

fig1, ax1=plt.subplots(figsize=(15, 10))
fig2, ax2=plt.subplots(figsize=(15, 10))
fig3, ax4=plt.subplots(figsize=(15, 10))
fig3, ax4=plt.subplots(figsize=(15, 10))

ax1.plot(e22,ev,color='k',linestyle='--',marker='D',linewidth=1,label='harchi')
ax1.legend()
ax1.set_title('sample graph')
ax1.set_xlabel('age')
ax1.set_ylabel('salary')
ax1.grid()
fig1.tight_layout()
fig1.savefig('plot1.eps', format='eps')

ax2.plot(i,s22,color='k',linestyle='--',marker='D',linewidth=1,label='harchi')
ax2.legend()
ax2.set_title('sample graph')
ax2.set_xlabel('age')
ax2.set_ylabel('salary')
ax2.grid()
fig2.tight_layout()
fig2.savefig('plot2.eps', format='eps')

ax3.plot(e22,s22,color='k',linestyle='--',marker='D',linewidth=1,label='harchi')
ax3.legend()
ax3.set_title('sample graph')
ax3.set_xlabel('age')
ax3.set_ylabel('salary')
ax3.grid()
fig3.tight_layout()
fig3.savefig('plot3.eps', format='eps')

ax4.plot(i,s11,color='k',linestyle='--',marker='D',linewidth=1,label='harchi')
ax4.legend()
ax4.set_title('sample graph')
ax4.set_xlabel('age')
ax4.set_ylabel('salary')
ax4.grid()
fig4.tight_layout()
fig4.savefig('plot1.eps', format='eps')


plt.show()



The error is as follows:

 RECORD AND PLOT DATA 
Traceback (most recent call last):
  File "/home/ehsan/yade/install/bin/yade-2019-08-08.git-775ae74", line 336, in 
runScript
execfile(script,globals())
  File "/usr/lib/python3/dist-packages/past/builtins/misc.py", line 82, in 
execfile
exec_(code, myglobals, mylocals)
  File "test.py", line 295, in 
print(e)
NameError: name 'e22' is not defined



P.S: I developed my code based on [1]
[1] 
https://gitlab.com/yade-dev/trunk/blob/master/examples/triax-tutorial/script-session1.py

Thank you,
Ehsan

-- 
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 #688340]: Problem about running yade in parallel

2020-01-29 Thread Jan Stránský
Question #688340 on Yade changed:
https://answers.launchpad.net/yade/+question/688340

Status: Open => Needs information

Jan Stránský requested more information:
Hello,

I could not reproduce the problem..
what version of Yade and what operating system do you use?

thanks
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #688324]: rotate to a certain degree

2020-01-29 Thread nobody
Question #688324 on Yade changed:
https://answers.launchpad.net/yade/+question/688324

Status: Answered => Solved

nobody 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 #688324]: rotate to a certain degree

2020-01-29 Thread Jan Stránský
Question #688324 on Yade changed:
https://answers.launchpad.net/yade/+question/688324

Jan Stránský posted a new comment:
> Body.dynamic can control this?

no, it would have opposite effect - the motion would be influenced by
interactions

> Do you mean that we can use B.state.ori to calculate the orientation,
which means rotation degree, regularly and check the calculated rotation
degree and compare it with the value that I want?

yes, exactly

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] [Question #688340]: Problem about running yade in parallel

2020-01-29 Thread Huang peilun
New question #688340 on Yade:
https://answers.launchpad.net/yade/+question/688340

Hi everyone!
I'm learning to run yadedaily in parallel. 

I use 'yadedaily --threads=2 test.py' to run my code.
First few steps works fine but then comes an error which says:

python3.5: 
/builds/yade-dev/trunk/deb/yadedaily/pkg/common/InsertionSortCollider.hpp:127: 
yade::InsertionSortCollider::Bounds& 
yade::InsertionSortCollider::VecBounds::operator[](long int): Assertion `idx < 
long(size()) && idx >= 0' failed.
Aborted (core dumped)

Here's my code:





from yade import pack

SoilMat=FrictMat(young=25e6,poisson=0.2,density=2650,frictionAngle=0.28)
O.materials.append((SoilMat))

O.bodies.append(geom.facetCylinder(center=(0,0,.5),radius=.38,height=1,wallMask=6))

sp=pack.SpherePack()
sp.makeCloud((-.38,-.38,0),(.38,.38,1),rMean=.025,rRelFuzz=.3)
cyl=pack.inCylinder((0,0,0),(0,0,1),.355)
sp=pack.filterSpherePack(cyl,sp,True)
sp.toSimulation(material=SoilMat)

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

[Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom(),Ig2_Wall_Sphere_ScGeom()],
[Ip2_FrictMat_FrictMat_FrictPhys()],
[Law2_ScGeom_FrictPhys_CundallStrack()]
),
# update position using Newton's equations
NewtonIntegrator(gravity=(0,0,-9.81),damping=0.05),
# call the checkUnbalanced function (defined below) every 2 seconds
]
O.dt=.2*PWaveTimeStep()

O.saveTmp()





And when I change the rMean of the spherepack, it works.
But I need to simulate a lot of spheres, can anyone help me solve the problem 
when rMean is small?

Thanks in advance!

-- 
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 #688195]: permeability model

2020-01-29 Thread Othman Sh
Question #688195 on Yade changed:
https://answers.launchpad.net/yade/+question/688195

Status: Answered => Solved

Othman Sh confirmed that the question is solved:
Thanks Robert. That was really helpful and solves my problem.

Regards,
Othman

-- 
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 #688324]: rotate to a certain degree

2020-01-29 Thread nobody
Question #688324 on Yade changed:
https://answers.launchpad.net/yade/+question/688324

nobody posted a new comment:
Hi Jan,

Do you mean that we can use B.state.ori to calculate the orientation,
which means rotation degree, regularly and check the calculated rotation
degree and compare it with the value that I want?

best,
Yong

-- 
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 #688324]: rotate to a certain degree

2020-01-29 Thread nobody
Question #688324 on Yade changed:
https://answers.launchpad.net/yade/+question/688324

nobody posted a new comment:
Hi Jerome,

Yeah, the movement of the shaft is controlled by myself. I want the
shaft rotates, for instance, 300 degrees in a clockwise direction and
then 100 degrees in a counterclockwise direction.

In your opinion, Body.dynamic can control this?

best,
Yong

-- 
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 #688333]: site yade-dem.org does not working

2020-01-29 Thread Daria
Question #688333 on Yade changed:
https://answers.launchpad.net/yade/+question/688333

Status: Answered => Solved

Daria confirmed that the question is solved:
Thanks Robert Caulk, 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 #688333]: site yade-dem.org does not working

2020-01-29 Thread Bruno Chareyre
Question #688333 on Yade changed:
https://answers.launchpad.net/yade/+question/688333

Bruno Chareyre proposed the following answer:
> Fixed once and forever?

Yes! Let computers be eternal and let them run only bug-free programs. I
wonder why we didn't realize before. :)

In addition to Robert's suggestion, please note that the documentation
should be on your hard-drive already (yade-doc package).

Regards

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 #688333]: site yade-dem.org does not working

2020-01-29 Thread Robert Caulk
Question #688333 on Yade changed:
https://answers.launchpad.net/yade/+question/688333

Status: Open => Answered

Robert Caulk proposed the following answer:
I am sorry for the inconvenience. Since we "update" the website multiple
times per day, the standard domain has issues.

>>Can it be fixed? Fixed once and forever?

It's honestly a good question and not the first time it has been made.

Anyways the forever fix, for now, is to always use this domain:

https://yade-dev.gitlab.io/trunk/index.html


Cheers,

Robert

-- 
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 #688333]: site yade-dem.org does not working

2020-01-29 Thread Daria
New question #688333 on Yade:
https://answers.launchpad.net/yade/+question/688333

https://yade-dem.org/  redirecting to https://yade-dem.org/doc/ and this page 
contain following information:

Index of /doc
[ICO]   NameLast modified   SizeDescription
[PARENTDIR] Parent Directory-
Apache/2.4.25 (Debian) Server at yade-dem.org Port 443

But there is no access to site. And it is not the first time this error occurs. 
Can it be fixed? Fixed once and forever?

-- 
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 #688195]: permeability model

2020-01-29 Thread Robert Caulk
Question #688195 on Yade changed:
https://answers.launchpad.net/yade/+question/688195

Status: Open => Answered

Robert Caulk proposed the following answer:
Hello,

>>"Vh==NULL!! id=6 Point=0.08606 0.0994361 0.0201042 rad=0.0048993"

Decrease the time step.

>>if the packing should be bounded by walls then I should have the
packing in a cylindrical wall, not in a box?

That really depends on what you are trying to simulate. From an
algorithmic perspective, it does not need walls (see boundaryUseMaxMin
comment below).

>>so if I want my packing to have pressure on the top surface I should
have: flow.bndCondIsPressure=[0,0,0,0,0,1]. Correct?

Yes.

>>So if I want water to pass the bottom surface (zmin) and to get the
flux at zmin I think I should have zmin turned to 1 in the
"flow.bndCondIsPressure []", correct?

Yes.

>>flow.boundaryUseMaxMin=[0,0,0,0,1,1]

This command tells yade to use walls or max min coordinates to create
the bounding spheres [2]. Right now, you are telling yade to use the
wall locations for x y and use max min for z. Instead, use
flow.boundaryUseMaxMin=[0,0,0,0,0,0] since you have 6 walls.

Cheers,

Robert

[1]https://gitlab.com/yade-dev/trunk/blob/master/examples/FluidCouplingPFV/oedometer.py
[2]https://yade-dev.gitlab.io/trunk/yade.wrapper.html#yade.wrapper.FlowEngine.boundaryUseMaxMin

-- 
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 #688321]: Not able to apply DOF constraints

2020-01-29 Thread Robert Caulk
Question #688321 on Yade changed:
https://answers.launchpad.net/yade/+question/688321

Status: Open => Solved

Robert Caulk changed the question status:
Status change: OP indicated question as 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


Re: [Yade-users] [Question #688321]: Not able to apply DOF constraints

2020-01-29 Thread Akm
Question #688321 on Yade changed:
https://answers.launchpad.net/yade/+question/688321

Status: Needs information => Open

Akm gave more information on the question:
The box started to disappear after a while when I entered the specific
degrees of freedom to be blocked. After your advice to include all the
DOFs as blocked, this works perfectly fine.  Many thanks.

-- 
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 #688203]: Simulation blocked after O.run in a conditional translation motion

2020-01-29 Thread Rioual
Question #688203 on Yade changed:
https://answers.launchpad.net/yade/+question/688203

Status: Answered => Solved

Rioual 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 #688324]: rotate to a certain degree

2020-01-29 Thread Jan Stránský
Question #688324 on Yade changed:
https://answers.launchpad.net/yade/+question/688324

Jan Stránský proposed the following answer:
> I didn't find any parameters in Rotationengine and Helixengine can set
the directions and the degrees.

RotationEngine.angularVelocity
positive / negative value change the sense of rotation w.r.t. rotation axis

"the degrees" is a more tricky, you will have to check regularly the
state (probably something like b.state.ori) and change the
angluarVelocity at suitable times/values.

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #688324]: rotate to a certain degree

2020-01-29 Thread Jérôme Duriez
Question #688324 on Yade changed:
https://answers.launchpad.net/yade/+question/688324

Status: Open => Answered

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

The shaft has its movements 100% controlled by yourself ?
If yes, you can look at 
https://yade-dev.gitlab.io/trunk/user.html#motion-constraints

Jérôme

-- 
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 #688321]: Not able to apply DOF constraints

2020-01-29 Thread Jérôme Duriez
Question #688321 on Yade changed:
https://answers.launchpad.net/yade/+question/688321

Status: Open => Needs information

Jérôme Duriez requested more information:
Hi,

I'm not sure I understood your objective.
The Box body is intended to move at a constant speed, and to provoke sphere 
movements once the box and the spheres interact ? With the movements of the 
sphere being not necessarily at constant speed ?

If yes, the best is to have the box completely "fixed" (blockedDOFs =
'xyzXYZ' and you won't need mass and inertia for that body) in my opinon

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