[Yade-users] [Question #708473]: Get bodyStressTensors with body ID

2023-11-16 Thread Leonard
; to get the correct stress of the particular particle? If not, do you have any idea how to get the stress tensors of particular particles using body's Id. Thanks. Leonard [1]https://yade-dev.gitlab.io/trunk/yade.utils.html?highlight=bodystresstensors#yade._utils.bodyStressTensors [2]https:/

Re: [Yade-users] [Question #707675]: Shear force is lower than MaxShearForce but sliding occurs

2023-09-17 Thread Leonard
Question #707675 on Yade changed: https://answers.launchpad.net/yade/+question/707675 Status: Answered => Solved Leonard confirmed that the question is solved: Thanks Karol Brzezinski, that solved my question. -- You received this question notification because your team yade-users is

Re: [Yade-users] [Question #707069]: How to determine if a cohesive link is broken (Law2_ScGeom6D_CohFrictPhys_CohesionMoment)

2023-06-22 Thread Leonard
Question #707069 on Yade changed: https://answers.launchpad.net/yade/+question/707069 Status: Answered => Solved Leonard 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 ans

[Yade-users] [Question #707069]: How to determine if a cohesive link is broken (Law2_ScGeom6D_CohFrictPhys_CohesionMoment)

2023-06-22 Thread Leonard
Law2_ScGeom6D_CohFrictPhys_CohesionMoment [1], it says that if the maximum tensile or maximum shear force is reached and CohFrictPhys::fragile =True (default), the cohesive link is broken. I would like to ask how to know if a cohesive link is broken or not. Thanks Leonard [1]https://yade-dem.org/doc/yade.wrapper.html

Re: [Yade-users] [Question #706766]: How to get Micro-strain field from a 2D simulation in YADE

2023-05-25 Thread Leonard
Question #706766 on Yade changed: https://answers.launchpad.net/yade/+question/706766 Status: Answered => Solved Leonard confirmed that the question is solved: Thanks Karol, this is a great idea! Cheers, Leonard -- You received this question notification because your team yade-users is

Re: [Yade-users] [Question #706766]: How to get Micro-strain field from a 2D simulation in YADE

2023-05-24 Thread Leonard
Question #706766 on Yade changed: https://answers.launchpad.net/yade/+question/706766 Status: Answered => Open Leonard is still having a problem: Hi Karol, Thank you for your reply. Could you please give more hints? Sorry that I didn't get the answer. Thanks Leonard -- You recei

[Yade-users] [Question #706766]: How to get Micro-strain field from a 2D simulation in YADE

2023-05-23 Thread Leonard
microstrain vtk for a 2D case in YADE? Thanks, Leonard ### 2D MWE # from __future__ import division from yade import pack, plot num_spheres=1000 rate=-0.01 damp=0.6 stabilityThreshold=0.001 young=5e6 confinement=6.7e3 mn,mx=Vector3(0,0,0.02),Vector3(1,2,0.02

Re: [Yade-users] [Question #706553]: About simulating constant volume condition in a triaxial test

2023-05-11 Thread Leonard
Question #706553 on Yade changed: https://answers.launchpad.net/yade/+question/706553 Status: Answered => Solved Leonard confirmed that the question is solved: Thanks Karol Brzezinski, that solved my question. -- You received this question notification because your team yade-users is

Re: [Yade-users] [Question #706553]: About simulating constant volume condition in a triaxial test

2023-05-09 Thread Leonard
Question #706553 on Yade changed: https://answers.launchpad.net/yade/+question/706553 Leonard posted a new comment: Hi Karol, Thanks very much for your reply. Yes, the strainDamping is a good clue. I add one line of code "triax.strainDamping=0.01" in the MWE and run the simulation.

[Yade-users] [Question #706553]: About simulating constant volume condition in a triaxial test

2023-05-09 Thread Leonard
d='history()',label='recorder')]+O.engines[5:7] O.run(100,True) plot.plots={'e22':('s11',None,'ev')} plot.plot() ## Thanks Leonard -- You received this question notification because your team yade-users is an answer contact for Yade.

Re: [Yade-users] [Question #706533]: Visualise forcechain in paraview

2023-05-08 Thread Leonard
Question #706533 on Yade changed: https://answers.launchpad.net/yade/+question/706533 Status: Answered => Solved Leonard confirmed that the question is solved: Thanks Karol Brzezinski, that solved my question. -- You received this question notification because your team yade-users is

Re: [Yade-users] [Question #706533]: Visualise forcechain in paraview

2023-05-08 Thread Leonard
Question #706533 on Yade changed: https://answers.launchpad.net/yade/+question/706533 Status: Answered => Open Leonard is still having a problem: Hi Karol Thanks very much. I will try to avoid external links next time. The state file can be found here: https://we.tl/t-6NtnmZ6IR0 Tha

Re: [Yade-users] [Question #706533]: Visualise forcechain in paraview

2023-05-08 Thread Leonard
Question #706533 on Yade changed: https://answers.launchpad.net/yade/+question/706533 Status: Answered => Open Leonard is still having a problem: Hi Karol, Many thanks for your reply. I updated my paraview version to 5.10.1. But it has the same problem. Which drop-down list do you mean

Re: [Yade-users] [Question #706533]: Visualise forcechain in paraview

2023-05-08 Thread Leonard
Question #706533 on Yade changed: https://answers.launchpad.net/yade/+question/706533 Status: Answered => Open Leonard is still having a problem: Hi Karol, Do you mean that your paraview automatically shows the force chain scaled with its magnitude? May I ask that what version of parav

Re: [Yade-users] [Question #706533]: Visualise forcechain in paraview

2023-05-07 Thread Leonard
Question #706533 on Yade changed: https://answers.launchpad.net/yade/+question/706533 Status: Answered => Open Leonard is still having a problem: Hi Karol, Thank you for your reply. Sorry I still couldn't make it. I followed the instructions and played with Radius and Radius fact

[Yade-users] [Question #706533]: Visualise forcechain in paraview

2023-05-07 Thread Leonard
e the tube sizes scaled by the force magnitude. Thanks. Leonard [1]https://yade-dev.gitlab.io/trunk/user.html?highlight=micro%20stress#rendering-interactions-as-force-chain -- You received this question notification because your team yade-users is an answer contact for

Re: [Yade-users] [Question #706506]: How to output volumetric strain (micro strain field) in vtk file

2023-05-05 Thread Leonard
Question #706506 on Yade changed: https://answers.launchpad.net/yade/+question/706506 Status: Answered => Solved Leonard confirmed that the question is solved: Thanks Karol Brzezinski, that solved my question. -- You received this question notification because your team yade-users is

[Yade-users] [Question #706506]: How to output volumetric strain (micro strain field) in vtk file

2023-05-04 Thread Leonard
,"output_deviatoricStrain.vtk"). In this vtk file, it can show: solid color, strain_deviator and strain_matrix. It seems that no volumetric strain field from this vtk file. I would like to ask how to write a vtk file to visualise the volumetric strain field. Thanks. Leonard [1]https://yade-dev.gitla

Re: [Yade-users] [Question #699998]: How to simulate small-strain triaxial compression test

2023-04-14 Thread Leonard
Question #68 on Yade changed: https://answers.launchpad.net/yade/+question/68 Leonard posted a new comment: Hi William, >However, the unbalanced force is nan and the mean stress is 0 all the time whlie I modfy this using your code. The reason I think is that: you modify only the yo

Re: [Yade-users] [Question #704551]: How to make VTK file of relative particle rotation angle from state1 to state2

2023-01-31 Thread Leonard
Question #704551 on Yade changed: https://answers.launchpad.net/yade/+question/704551 Leonard 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

Re: [Yade-users] [Question #704551]: How to make VTK file of relative particle rotation angle from state1 to state2

2023-01-31 Thread Leonard
Question #704551 on Yade changed: https://answers.launchpad.net/yade/+question/704551 Status: Answered => Solved Leonard confirmed that the question is solved: Hi, Yes, that is a good idea and I am moving to the latest version of Yade. Just because lots of project data have been obtai

Re: [Yade-users] [Question #704551]: How to make VTK file of relative particle rotation angle from state1 to state2

2023-01-30 Thread Leonard
Question #704551 on Yade changed: https://answers.launchpad.net/yade/+question/704551 Status: Needs information => Open Leonard gave more information on the question: Hi Jan, It is python 2.7.17. Obtained by: In [1]: import sys; print(sys.version) 2.7.17 (default, Nov 28 2022, 18:51

Re: [Yade-users] [Question #704551]: How to make VTK file of relative particle rotation angle from state1 to state2

2023-01-29 Thread Leonard
Question #704551 on Yade changed: https://answers.launchpad.net/yade/+question/704551 Status: Answered => Open Leonard is still having a problem: Hi Jan and Karol, Thanks for your MWEs. Because I use an old version of Yade (2018.02b), consequently executing the MWE gives error: ValueEr

Re: [Yade-users] [Question #704551]: How to make VTK file of relative particle rotation angle from state1 to state2

2023-01-27 Thread Leonard
Question #704551 on Yade changed: https://answers.launchpad.net/yade/+question/704551 Status: Answered => Open Leonard is still having a problem: Hi Jan, Thanks for your reply. I got the solution for each individual question. But I am not clear how to combine the two. If I underst

[Yade-users] [Question #704551]: How to make VTK file of relative particle rotation angle from state1 to state2

2023-01-26 Thread Leonard
e the relative rotation angle of a sphere between two states? (2) how to write these information into VTK so that it can be visualised in paraview? Thanks Leonard -- You received this question notification because your team yade-users is an answer contact for

Re: [Yade-users] [Question #704293]: How to use TW.triangulate() to calculate strain between two states by importing samples

2023-01-05 Thread Leonard
Question #704293 on Yade changed: https://answers.launchpad.net/yade/+question/704293 Leonard gave more information on the question: Hi Karol, Many thanks for your reply. Here are the output with triangulation part (i.e. not comment out) # Triangulated Grains : 33 sym_grad_u_total_g

Re: [Yade-users] [Question #704293]: How to use TW.triangulate() to calculate strain between two states by importing samples

2023-01-05 Thread Leonard
Question #704293 on Yade changed: https://answers.launchpad.net/yade/+question/704293 Status: Answered => Open Leonard is still having a problem: Hi Karol, Thanks very much for your reply and the nice reference example. >>You still need to triangulate and compute volumes Maybe it

Re: [Yade-users] [Question #704293]: How to use TW.triangulate() to calculate strain between two states by importing samples

2023-01-05 Thread Leonard
Question #704293 on Yade changed: https://answers.launchpad.net/yade/+question/704293 Status: Answered => Open Leonard is still having a problem: Hi Karol, Haha, thanks for addressing this question again. Just two things to be confirmed to make sure I correctly understood: 1. In the

[Yade-users] [Question #704293]: How to use TW.triangulate() to calculate strain between two states by importing samples

2023-01-04 Thread Leonard
ode): ### O.load("sample_strain0.yade") TW.setState(0) #store current positions internaly for later use as the "0" state O.load("sample_strain1.yade") TW.setState(1) #store current positions internaly in the "1" (deformed) state TW.de

Re: [Yade-users] [Question #702735]: Possible reasons why not introduce gravity in triaxial compression tests in DEM

2022-08-13 Thread Leonard
Question #702735 on Yade changed: https://answers.launchpad.net/yade/+question/702735 Status: Answered => Solved Leonard confirmed that the question is solved: Thanks Janek Kozicki, that solved my question. -- You received this question notification because your team yade-users is

Re: [Yade-users] [Question #702735]: Possible reasons why not introduce gravity in triaxial compression tests in DEM

2022-08-11 Thread Leonard
Question #702735 on Yade changed: https://answers.launchpad.net/yade/+question/702735 Leonard posted a new comment: Hi, Thanks for your reply. I am sorry that I didn't fully get the link between what you mentioned and DEM gravity. Could you please explain more details? Thanks Leonard --

[Yade-users] [Question #702735]: Possible reasons why not introduce gravity in triaxial compression tests in DEM

2022-08-11 Thread Leonard
New question #702735 on Yade: https://answers.launchpad.net/yade/+question/702735 Hi, Reading from literatures that most of the DEM studies on element tests (e.g., triaixal compression tests) don't introduce gravity. Do you know what are the possible reasons for this? Thanks Leonard --

Re: [Yade-users] [Question #701941]: How to restart recording triax data

2022-05-28 Thread Leonard
Question #701941 on Yade changed: https://answers.launchpad.net/yade/+question/701941 Status: Answered => Solved Leonard 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 ans

[Yade-users] [Question #701941]: How to restart recording triax data

2022-05-24 Thread Leonard
rain at state 1 to Vector3(0,0,0). Is it possible? Thanks Leonard A MWE for illustrating compression process from state 0 to state 1 is as below: from yade import pack nRead=readParamsFromTable( num_spheres=1000,# number of spheres compFricDegree = 30, # contact friction during the confi

Re: [Yade-users] [Question #701385]: Which factors cause the fluctuation/uncertainty in DEM simulation

2022-04-19 Thread Leonard
Question #701385 on Yade changed: https://answers.launchpad.net/yade/+question/701385 Status: Answered => Solved Leonard confirmed that the question is solved: Hi, Thanks Karol and Jan for your reply. Currently I don't have an example at hand, I had this question when I read DEM p

Re: [Yade-users] [Question #701385]: Which factors cause the fluctuation/uncertainty in DEM simulation

2022-04-19 Thread Leonard
Question #701385 on Yade changed: https://answers.launchpad.net/yade/+question/701385 Leonard 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

[Yade-users] [Question #701385]: Which factors cause the fluctuation/uncertainty in DEM simulation

2022-04-17 Thread Leonard
e curve is not smooth, why? (2) It seems that different results can be got when run the same simulations for several times. which factors cause this uncertainty? Thanks Leonard -- You received this question notification because your team yade-users is an answer contac

Re: [Yade-users] [Question #701150]: Details about radii expansion method in yade

2022-04-02 Thread Leonard
Question #701150 on Yade changed: https://answers.launchpad.net/yade/+question/701150 Status: Answered => Solved Leonard 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 ans

[Yade-users] [Question #701150]: Details about radii expansion method in yade

2022-03-31 Thread Leonard
of radii expansion method implemented in yade? 4. Currently I cite Yade there in my manuscript because it is implemented in Yade. It would be good if there is a specific paper then I can cite together. Thanks! Leonard [1]https://gitlab.com/yade-dev/trunk/blob/master/examples/triax-tutorial

Re: [Yade-users] [Question #700617]: core dumped after replacing boundary walls

2022-02-15 Thread Leonard
Question #700617 on Yade changed: https://answers.launchpad.net/yade/+question/700617 Status: Open => Solved Leonard confirmed that the question is solved: Hi Jérôme, Yes, your answer can perfectly solve the problem. Thanks Leonard -- You received this question notification because y

Re: [Yade-users] [Question #700617]: core dumped after replacing boundary walls

2022-02-14 Thread Leonard
Question #700617 on Yade changed: https://answers.launchpad.net/yade/+question/700617 Status: Answered => Open Leonard is still having a problem: Hi Bruno, >> This script will not run with python3. Yes, my yade version is 2018.02b so it doesn't work with python3. >>why

[Yade-users] [Question #700617]: core dumped after replacing boundary walls

2022-02-14 Thread Leonard
### def stop(): if -triax.strain[1]>0.15: O.pause() print "deviatoric loading finished" O.engines=O.engines+[PyRunner(iterPeriod=1,command='stop()',label='stop')] If it is not possible to replace the walls, do you have any other idea to enlarge

Re: [Yade-users] [Question #700531]: Contacts in function getStress()

2022-02-08 Thread Leonard
Question #700531 on Yade changed: https://answers.launchpad.net/yade/+question/700531 Leonard posted a new comment: Hi Karol, Thanks very much for your sharing. As described in the code: branch = b1->state->pos - b2->state->pos; stressTensor += (nsi->normalForce +

Re: [Yade-users] [Question #700531]: Contacts in function getStress()

2022-02-08 Thread Leonard
Question #700531 on Yade changed: https://answers.launchpad.net/yade/+question/700531 Status: Answered => Solved Leonard confirmed that the question is solved: Thanks Karol Brzezinski, that solved my question. -- You received this question notification because your team yade-users is

Re: [Yade-users] [Question #700476]: Output micro-stress vtk

2022-02-02 Thread Leonard
Question #700476 on Yade changed: https://answers.launchpad.net/yade/+question/700476 Status: Answered => Solved Leonard 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 ans

Re: [Yade-users] [Question #700476]: Output micro-stress vtk

2022-02-02 Thread Leonard
Question #700476 on Yade changed: https://answers.launchpad.net/yade/+question/700476 Status: Needs information => Open Leonard gave more information on the question: Hi Jan, I use Ubuntu 18.04, Yade 2018.02b. Does it mean that Yade 2018.02b could not output microstress in this

[Yade-users] [Question #700476]: Output micro-stress vtk

2022-02-01 Thread Leonard
Spheres(ids=[i for i in particleIds],what=[("stress","b.mystress")]) ## Do you know why this error occurs for the second MWE? Thanks Leonard [1]https://yade-dev.gitlab.io/trunk/user.html?highlight=paraview#micro-stress [2]https://answers.launchpad.net/yade/+question/6

Re: [Yade-users] [Question #700439]: How to use TW.triangulate() for only part of particles

2022-02-01 Thread Leonard
Question #700439 on Yade changed: https://answers.launchpad.net/yade/+question/700439 Status: Answered => Solved Leonard confirmed that the question is solved: Thanks Karol Brzezinski, that solved my question. -- You received this question notification because your team yade-users is

Re: [Yade-users] [Question #700439]: How to use TW.triangulate() for only part of particles

2022-01-29 Thread Leonard
Question #700439 on Yade changed: https://answers.launchpad.net/yade/+question/700439 Status: Answered => Open Leonard is still having a problem: Hi Karol, Firstly many thanks for your quick reply. As this defToVtkFromPositions() is new info for me, if I understood correctly, what I need

[Yade-users] [Question #700439]: How to use TW.triangulate() for only part of particles

2022-01-29 Thread Leonard
.computeVolumes(packing1), but I got the feedback: did not match C++ signature. My question is that can we pass only packing1 to TW.triangulate()? Thanks Leonard [1]https://yade-dev.gitlab.io/trunk/user.html?highlight=paraview#micro-strain [2]https://gitlab.com/yade-dev/trunk/-/blob/

Re: [Yade-users] [Question #700258]: How to involve adhesionForce in Hertz-Mindlin contact model

2022-01-19 Thread Leonard
Question #700258 on Yade changed: https://answers.launchpad.net/yade/+question/700258 Leonard confirmed that the question is solved: Thanks Karol Brzezinski, that solved my question. -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #700258]: How to involve adhesionForce in Hertz-Mindlin contact model

2022-01-19 Thread Leonard
Question #700258 on Yade changed: https://answers.launchpad.net/yade/+question/700258 Status: Open => Solved Leonard confirmed that the question is solved: Hi Karol, Thanks for your feedback, I will start a new thread to ask this. Best, Leonard -- You received this question notificat

Re: [Yade-users] [Question #700258]: How to involve adhesionForce in Hertz-Mindlin contact model

2022-01-18 Thread Leonard
Question #700258 on Yade changed: https://answers.launchpad.net/yade/+question/700258 Status: Answered => Open Leonard is still having a problem: Hi Karol, Thanks for your reply which really helps me. I added gamma in Ip2_FrictMat_FrictMat_MindlinPhys as you suggested: O.engi

[Yade-users] [Question #700258]: How to involve adhesionForce in Hertz-Mindlin contact model

2022-01-16 Thread Leonard
cted by DMT", what is DMT? (3) Where I can find the source code of Hertz-Mindline contact model in Yade trunk? Thanks! Leonard [1]https://yade-dev.gitlab.io/trunk/yade.wrapper.html?highlight=dmt#yade.wrapper.MindlinPhys -- You received this question notification because your team yade-use

Re: [Yade-users] [Question #699998]: How to simulate small-strain triaxial compression test

2022-01-06 Thread Leonard
Question #68 on Yade changed: https://answers.launchpad.net/yade/+question/68 Status: Answered => Solved Leonard 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

Re: [Yade-users] [Question #700004]: What is non-dynamic body

2021-12-28 Thread Leonard
Question #74 on Yade changed: https://answers.launchpad.net/yade/+question/74 Status: Answered => Solved Leonard 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 ans

[Yade-users] [Question #700004]: What is non-dynamic body

2021-12-27 Thread Leonard
tion for non-dynamic bodies is not modified." Thereby I'd like to ask this question. Thanks Leonard [1]https://gitlab.com/yade-dev/trunk/blob/master/examples/triax-tutorial/script-session1.py [2]https://yade-dev.gitlab.io/trunk/yade.utils.html?highlight=setcontactfriction#yade._uti

Re: [Yade-users] [Question #699998]: How to simulate small-strain triaxial compression test

2021-12-26 Thread Leonard
Question #68 on Yade changed: https://answers.launchpad.net/yade/+question/68 Leonard posted a new comment: Hi, I came up with a way: using a small enough dt for the simulation. Do you have any other ideas? Cheers Leonard -- You received this question notification because your team

[Yade-users] [Question #699998]: How to simulate small-strain triaxial compression test

2021-12-26 Thread Leonard
ok at such a small range and in such a short time, this will lead to inaccurate results. So my question is how can we make the simulation of triaxial compression test within a small-strain level. Thanks, Leonard [1]https://gitlab.com/yade-dev/trunk/blob/master/examples/triax-tutorial/s

Re: [Yade-users] [Question #699741]: How to fix boundary walls

2021-12-05 Thread Leonard
Question #699741 on Yade changed: https://answers.launchpad.net/yade/+question/699741 Leonard 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

Re: [Yade-users] [Question #699741]: How to fix boundary walls

2021-12-05 Thread Leonard
Question #699741 on Yade changed: https://answers.launchpad.net/yade/+question/699741 Status: Answered => Solved Leonard confirmed that the question is solved: Hi Jan, Yes yes!!! That is the point! Thanks very much! Leonard -- You received this question notification because your t

[Yade-users] [Question #699741]: How to fix boundary walls

2021-12-03 Thread Leonard
in range(6): O.bodies[i].state.blockedDOFs='xyzXYZ' ### However, I found that in some cases, the size of the sample changes a lot after running for a long time, which means the boundary walls are actually not fully fixed. Do you have any idea about why this happened? Thanks Leonard [1]htt

Re: [Yade-users] [Question #699510]: How to get the resultant force on a particle

2021-11-16 Thread Leonard
Question #699510 on Yade changed: https://answers.launchpad.net/yade/+question/699510 Status: Answered => Solved Leonard 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 ans

[Yade-users] [Question #699510]: How to get the resultant force on a particle

2021-11-15 Thread Leonard
in O.bodies[20].intrs(): f = i.phys.normalForce + i.phys.shearForce a.append(f) resultF=Vector3(0,0,0) for i in range(len(a)): resultF=resultF+a[i] print resultF Thanks Leonard [1]https://yade-dev.gitlab.io/trunk/tutorial-examples.html -- You received this question n

Re: [Yade-users] [Question #699135]: How to reduce average particle velocity of a packing

2021-10-20 Thread Leonard
Question #699135 on Yade changed: https://answers.launchpad.net/yade/+question/699135 Status: Answered => Solved Leonard 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 ans

Re: [Yade-users] [Question #699135]: How to reduce average particle velocity of a packing

2021-10-18 Thread Leonard
Question #699135 on Yade changed: https://answers.launchpad.net/yade/+question/699135 Status: Answered => Open Leonard is still having a problem: Hi Jan, Thanks for your reply. >>Why do you want to reduce average particle velocity? I want to make an attempt to look at the wave pr

[Yade-users] [Question #699135]: How to reduce average particle velocity of a packing

2021-10-17 Thread Leonard
want. Do you have any idea about how to reduce the average velocity while keeping the packing fabric the same? Thanks Leonard MWE: ### from __future__ import print_function sigmaIso = -100e3 from yade import pack, qt, plot mn,mx=Vector3(0,0,0),Vector3(0.07,0.14,0.07) O.periodic =

Re: [Yade-users] [Question #698594]: Triaxial test comparison between periodic boundary and rigid boundary

2021-09-03 Thread Leonard
Question #698594 on Yade changed: https://answers.launchpad.net/yade/+question/698594 Status: Answered => Open Leonard is still having a problem: Hello Jan and Luc, Thanks very much for your reply. Here I made two MWE for rigid wall case and periodic boundary case respectively. It may t

[Yade-users] [Question #698594]: Triaxial test comparison between periodic boundary and rigid boundary

2021-09-01 Thread Leonard
? Thanks! Leonard -- 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

Re: [Yade-users] [Question #698541]: Material of particle changed in the repeated cell

2021-08-29 Thread Leonard
Question #698541 on Yade changed: https://answers.launchpad.net/yade/+question/698541 Status: Answered => Solved Leonard confirmed that the question is solved: Hi karol, Thanks for your reply and the very clear example codes. My question has been solved. Cheers Leonard -- You recei

[Yade-users] [Question #698541]: Material of particle changed in the repeated cell

2021-08-27 Thread Leonard
lor=[1,1,1]) ## remove the original particles in the 1st cell for i in idIn1stCell: O.bodies.erase(i) ## print the material ids, I found that all the material ids are 1, but I expect to have two types of materials. for i in O.bodies: print (i.material.id) ### Th

Re: [Yade-users] [Question #698498]: How to use cellRepeat

2021-08-25 Thread Leonard
Question #698498 on Yade changed: https://answers.launchpad.net/yade/+question/698498 Status: Open => Solved Leonard confirmed that the question is solved: Hi, I made some attempts and seems got how to use cellRepeat. Below is a MWE. from yade import pack; from math imp

[Yade-users] [Question #698498]: How to use cellRepeat

2021-08-24 Thread Leonard
entity triax.goal = (sigmaIso, -0.1, sigmaIso) triax.stressMask = 5 triax.maxStrainRate = (1., 0.5, 1.) triax.maxUnbalanced = 10 O.pause() # here I want to repeat the current cell def triaxFinished(): print('Finished') O.pause() MWE finish

[Yade-users] [Question #698487]: Change boundary condition from rigid wall to periodic boundary

2021-08-24 Thread Leonard
.) # next time, call triaxFinished instead of compactionFinished triax.doneHook = 'triaxFinished()' # do not wait for stabilization before calling triaxFinished triax.maxUnbalanced = 10 def triaxFinished(): print('Finished') O.pause() ##

Re: [Yade-users] [Question #697610]: How to get the acceleration of body

2021-06-21 Thread Leonard
Question #697610 on Yade changed: https://answers.launchpad.net/yade/+question/697610 Status: Answered => Solved Leonard 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

Re: [Yade-users] [Question #697612]: Velocity distribution in paraview

2021-06-21 Thread Leonard
Question #697612 on Yade changed: https://answers.launchpad.net/yade/+question/697612 Leonard confirmed that the question is solved: Thanks Karol Brzezinski, that solved my question. -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #697612]: Velocity distribution in paraview

2021-06-21 Thread Leonard
Question #697612 on Yade changed: https://answers.launchpad.net/yade/+question/697612 Status: Answered => Solved Leonard confirmed that the question is solved: Hi Karol Yes! Now I set the paraviw as follow and it works! Glyph Type = Arrow Scalars = linVelLen Vectors = linVelVec Tha

[Yade-users] [Question #697612]: Velocity distribution in paraview

2021-06-18 Thread Leonard
VTKRecorder(fileName='fileName',recorders=['all']). Do you have any comments on why it only shows one direction for all the velocity? Thanks Leonard [1]https://we.tl/t-cRsRDHJJ9c -- You received this question notification because your team yade-users is an ans

[Yade-users] [Question #697610]: How to get the acceleration of body

2021-06-18 Thread Leonard
h can be gained by O.forces.f(b.id), and m is the mass of the body. I just wonder is there any built-in functions that I can get the acceleration? Thanks! Leonard -- You received this question notification because your team yade-users is an answer contact for

Re: [Yade-users] [Question #696704]: How to get P-wave and S-wave velocity

2021-05-09 Thread Leonard
Question #696704 on Yade changed: https://answers.launchpad.net/yade/+question/696704 Status: Answered => Solved Leonard confirmed that the question is solved: Thanks Jérôme and Bruno! -- You received this question notification because your team yade-users is an answer contact for Y

[Yade-users] [Question #696704]: How to get P-wave and S-wave velocity

2021-04-22 Thread Leonard
so I guess there is already an function that can directly get the P-Wave velocity, but I didn't find it. For the Shear wave velocity, do you have any suggestions to get it? Thanks! Leonard [1]https://yade-dev.gitlab.io/trunk/yade.polyhedra_utils.html?highlight=pwave#yade._polyhedra_utils.PWa

Re: [Yade-users] [Question #694664]: Tiny particles don't react with the wall

2021-01-01 Thread Leonard
Question #694664 on Yade changed: https://answers.launchpad.net/yade/+question/694664 Leonard 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

Re: [Yade-users] [Question #694664]: Tiny particles don't react with the wall

2021-01-01 Thread Leonard
Question #694664 on Yade changed: https://answers.launchpad.net/yade/+question/694664 Status: Answered => Solved Leonard confirmed that the question is solved: Hi Jan, Thanks for your reply. Besides the way you suggest, I also tried using O.dt=(small value)*PWaveTimeStep[5] to decrease

[Yade-users] [Question #694664]: Tiny particles don't react with the wall

2020-12-24 Thread Leonard
e more safe the dt is? (2) Is there any other way to let the missed contacts being detected correctly during the simulation? Thanks very much! Leonard [1]https://we.tl/t-SRQDF5JLh8 -- You received this question notification because your team yade-users is an answer c

Re: [Yade-users] [Question #694240]: How to reach ctitical state in a triaxial compression test?

2020-12-07 Thread Leonard
Question #694240 on Yade changed: https://answers.launchpad.net/yade/+question/694240 Status: Answered => Open Leonard is still having a problem: Hi Jérôme, >which axial strain did you actually reach ? I sheared to 40% of strain, typical results could be found in [1] if you are inte

[Yade-users] [Question #694240]: How to reach ctitical state in a triaxial compression test?

2020-11-28 Thread Leonard
ble suggestions on this issue. For example, does the occurrence of this state only depend on the contact parameters? Is it related to the strain rate? Any efficient way to get this state? Thanks very much! Leonard [1]https://we.tl/t-tQUUETv2L5 [2]Hosn, R. A., Sibille, L., Benahmed, N., &

Re: [Yade-users] [Question #694134]: How to use only rolling but no twisting when using CohFricMat.

2020-11-25 Thread Leonard
Question #694134 on Yade changed: https://answers.launchpad.net/yade/+question/694134 Status: Open => Solved Leonard 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 ans

Re: [Yade-users] [Question #694134]: How to use only rolling but no twisting when using CohFricMat.

2020-11-24 Thread Leonard
Question #694134 on Yade changed: https://answers.launchpad.net/yade/+question/694134 Status: Answered => Open Leonard is still having a problem: Hi Jérôme and Luc, Thanks very much for the reply from both of you! This perfectly answered my question. Just another curiosity: I didn&#x

[Yade-users] [Question #694134]: How to use only rolling but no twisting when using CohFricMat.

2020-11-22 Thread Leonard
ters about twisting (i.e., Ktw and etaTwist). Did they use another material? Or did they also use CohFricMat but just not active the twisting? If so, my question is how to introduce only rolling but no twisting when using CohFricMat. Thanks Leonard [1]https://yade-dev.gitlab.io/trunk/yade.wr

Re: [Yade-users] [Question #693984]: How to export VTK file of walls

2020-11-17 Thread Leonard
Question #693984 on Yade changed: https://answers.launchpad.net/yade/+question/693984 Status: Answered => Solved Leonard 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 ans

Re: [Yade-users] [Question #693984]: How to export VTK file of walls

2020-11-14 Thread Leonard
Question #693984 on Yade changed: https://answers.launchpad.net/yade/+question/693984 Status: Answered => Open Leonard is still having a problem: Hi Jan, Thanks for your reply. The general way to output VTK files could be (in O.engines): VTKRecorder(fileName='vtkRecorder',re

[Yade-users] [Question #693984]: How to export VTK file of walls

2020-11-12 Thread Leonard
27; (for triaxial test). In [1] it mentions that using VTKExport can export: spheres facets polyhedra PotentialBlocks interactions contact points periodic cell I just wonder is it possible to export the walls using VTKExport? Thanks Leonard [1]https://yade-dev.gitlab.io/trunk/yad

Re: [Yade-users] [Question #693769]: The whole view becomes very large at the end of a triaxial test

2020-11-02 Thread Leonard
Question #693769 on Yade changed: https://answers.launchpad.net/yade/+question/693769 Status: Answered => Solved Leonard 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 ans

Re: [Yade-users] [Question #693769]: The whole view becomes very large at the end of a triaxial test

2020-11-02 Thread Leonard
Question #693769 on Yade changed: https://answers.launchpad.net/yade/+question/693769 Status: Answered => Open Leonard is still having a problem: Hi Jan, Thanks for your reply. > check use aabbExtrema() The initial size of my model is (vector3(0,0,0), vector3(0.07,0.14,0.07)) by

[Yade-users] [Question #693769]: The whole view becomes very large at the end of a triaxial test

2020-11-01 Thread Leonard
wall I think. Do you have any ideas for avoiding this problem? Thanks Leonard [1]https://we.tl/t-fEElfCnqgZ -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net

Re: [Yade-users] [Question #693506]: How to get tension force of a cohesive contact

2020-10-20 Thread Leonard
Question #693506 on Yade changed: https://answers.launchpad.net/yade/+question/693506 Status: Answered => Solved Leonard 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 ans

Re: [Yade-users] [Question #693506]: How to get tension force of a cohesive contact

2020-10-20 Thread Leonard
Question #693506 on Yade changed: https://answers.launchpad.net/yade/+question/693506 Leonard posted a new comment: Hi Jérôme, Yes, thanks for your reminder! Leonard -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #693506]: How to get tension force of a cohesive contact

2020-10-20 Thread Leonard
Question #693506 on Yade changed: https://answers.launchpad.net/yade/+question/693506 Status: Answered => Open Leonard is still having a problem: Hi Jan, I test your idea with two particles which works really fine! I just have a question: For example, for one interaction in the mo

[Yade-users] [Question #693506]: How to get tension force of a cohesive contact

2020-10-18 Thread Leonard
i.phys.normalForce.norm() to get the value of the contact normal force, but I don't know how to extract the contact force in compression and tension respectively. Thanks, Leonard -- You received this question notification because your team yade-users is an answer contact for

[Yade-users] [Question #693469]: questions about plotDirections

2020-10-14 Thread Leonard
ectors and draw these diagrams in python. Thanks! Leonard [1]https://yade-dev.gitlab.io/trunk/yade.utils.html?highlight=plotdirections#yade.utils.plotDirections -- You received this question notification because your team yade-users is an answer contac

  1   2   3   >