Re: [Yade-users] [Question #684504]: stress field

2019-10-01 Thread procrastinator
Question #684504 on Yade changed:
https://answers.launchpad.net/yade/+question/684504

procrastinator posted a new comment:
Hi Jan,

can you give me some hints to solve this problem.

thanks,
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 #684115]: Some basic concepts in FrictPhys.cpp

2019-10-01 Thread gaoxuesong
Question #684115 on Yade changed:
https://answers.launchpad.net/yade/+question/684115

Status: Answered => Solved

gaoxuesong confirmed that the question is solved:
Thanks very much for your answers. Helps me 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 #684547]: A proper PC for DEM or FEMxDEM simulation

2019-10-01 Thread Alireza Sadeghi
New question #684547 on Yade:
https://answers.launchpad.net/yade/+question/684547

Hello,

Do have any suggestions for a proper system? My project is about DEM simulation 
and I have problem with high run time. My professor asked me if I need faster 
PC. I have a PC now with this configuration: Intel Core i7-4790@3.6GHz x 8. It 
is really fast but it is not enough. The price is not important. Thank you for 
your help.

Best Regards

Alireza



-- 
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 #684504]: stress field

2019-10-01 Thread Jan Stránský
Question #684504 on Yade changed:
https://answers.launchpad.net/yade/+question/684504

Status: Open => Answered

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

> It seems that the stress files are still the same.
>
> for b in O.bodies:
>  if isinstance(b.shape,Sphere):
>   b.mystress = s[b.id]

the stress is set just once, so there is no reason for the stress to be
different..

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 #684504]: stress field

2019-10-01 Thread procrastinator
Question #684504 on Yade changed:
https://answers.launchpad.net/yade/+question/684504

Status: Answered => Open

procrastinator is still having a problem:
Hi Jan,
I did something like you said,


step1 = 0
while -triax.strain[1]-re22< target_strain:
#step1 = step1+1
O.run(1,True)
vtk.exportSpheres(ids='all',what=[('stress','b.mystress')],useRef=True)
step1 = step1+1


It seems that the stress files are still the same.

-- 
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 #684492]: Model particles (polyhedra) have moved far from each other from the first

2019-10-01 Thread Jan Stránský
Question #684492 on Yade changed:
https://answers.launchpad.net/yade/+question/684492

Status: Open => Answered

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

> they are near each other.

not only they are near each other, they DOES overlap, which generates
repulsive forces and results in "they have moved far from each other"

Try before O.run():
###
O.step()
for i in O.interactions:
   print(i.geom.penetrationVolume)
###

Visually, you can try:
###
for b in O.bodies:
b.shape.wire = True
b.shape.color = randomColor()
###
which reveals significant overlaps in the initial geometry

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 #684504]: stress field

2019-10-01 Thread Jan Stránský
Question #684504 on Yade changed:
https://answers.launchpad.net/yade/+question/684504

Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,
> however, all the values in each file are the same.
>
> while -triax.strain[1]-re22< target_strain:
>  step1 = step1+1 # I want to save it every 1 steps.
>  vtk.exportSpheres(ids='all',what=[('stress','b.mystress')],useRef=True)

just read the while loop again. While something, set step1 and then 
exportSpheres and than again set step1, exportSpheres, set step1, 
exportSpheres
Probably you are missing something like O.run(1,True) before 
vtk.exportSpheres

> I want to save the files every 1 steps. while the vtk.flies save
every step.

see above, the vtk files are saved all just in one step

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