Re: [Yade-users] [Question #708020]: Reassigning rolling friction after compaction

2023-09-24 Thread Kevin Kuei
Question #708020 on Yade changed: https://answers.launchpad.net/yade/+question/708020 Status: Open => Solved Kevin Kuei confirmed that the question is solved: Update: seems to be working now. I needed to use Ig2_Sphere_Sphere_ScGeom6D instead of Ig2_Sphere_Sphere_ScGeom for the geome

[Yade-users] [Question #708020]: Reassigning rolling friction after compaction

2023-09-23 Thread Kevin Kuei
New question #708020 on Yade: https://answers.launchpad.net/yade/+question/708020 Hello, I am having some difficulties with reassigning the rolling friction using the PeriTriaxController after compaction. In the example code below, I use an initial rolling friction 'eta_roll_init' of 0 (slid

Re: [Yade-users] [Question #707350]: Stop Sim After Reaching StressTriaxController Goal from doneHook?

2023-07-21 Thread Kevin Kuei
Question #707350 on Yade changed: https://answers.launchpad.net/yade/+question/707350 Kevin Kuei posted a new comment: Hi Jan, that worked perfect, cheers! -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #707350]: Stop Sim After Reaching StressTriaxController Goal from doneHook?

2023-07-21 Thread Kevin Kuei
Question #707350 on Yade changed: https://answers.launchpad.net/yade/+question/707350 Kevin Kuei 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 #707350]: Stop Sim After Reaching StressTriaxController Goal from doneHook?

2023-07-21 Thread Kevin Kuei
Question #707350 on Yade changed: https://answers.launchpad.net/yade/+question/707350 Status: Answered => Solved Kevin Kuei confirmed that the question is solved: Hi Jan, Thanks for the suggestion. I changed it to the following and it works. ``` N = 100 while True: O.run(N,True)

[Yade-users] [Question #707350]: Stop Sim After Reaching StressTriaxController Goal from doneHook?

2023-07-20 Thread Kevin Kuei
New question #707350 on Yade: https://answers.launchpad.net/yade/+question/707350 Hello, I'm compacting a specimen with the PeriTriaxController, then changing boundaries and switching to TriaxialStressController using the doneHook. I'm having trouble with pausing/stopping the simulation once

[Yade-users] [Question #707239]: Contact sliding and rolling friction values different than assigned?

2023-07-07 Thread Kevin Kuei
clearly different. Just want to understand what I might be missing here. Cheers, Kevin truncated output for contact friction at end of test: ``` for i in O.interactions: print(i.phys.maxRollPl, i.phys.tangensOfFrictionAngle ): 0.5773502691896257 0.5773502691896257 0.57735026

Re: [Yade-users] [Question #707170]: Accessing Periodic Corner Volume Vectors for Porosity Calcs

2023-07-05 Thread Kevin Kuei
Question #707170 on Yade changed: https://answers.launchpad.net/yade/+question/707170 Kevin Kuei posted a new comment: Hi Jerome, Thanks for the suggestion. That makes sense. I wasn't sure at the time if the walls in the PeriTriaxController were fixed to one corner or if they moved relati

Re: [Yade-users] [Question #707170]: Accessing Periodic Corner Volume Vectors for Porosity Calcs

2023-07-01 Thread Kevin Kuei
Question #707170 on Yade changed: https://answers.launchpad.net/yade/+question/707170 Status: Open => Solved Kevin Kuei confirmed that the question is solved: Update: I found what I needed in the utils module. I missed this the first time around. https://yade-dem.org/doc/yade.utils.h

[Yade-users] [Question #707170]: Accessing Periodic Corner Volume Vectors for Porosity Calcs

2023-07-01 Thread Kevin Kuei
There is also an `hSize` attribute, but as far as I can tell, it seems O.cell.hSize is just O.cell.trsf * O.cell.refHSize. I think otherwise, I would need to estimate the box based on the strains and initial dimensions, or approximate it based on the min/max limits of the body centers--but wa

Re: [Yade-users] [Question #707019]: plot.plot() issue...unexpected keyword argument 'verts'

2023-06-21 Thread Kevin Kuei
Question #707019 on Yade changed: https://answers.launchpad.net/yade/+question/707019 Kevin Kuei posted a new comment: Hi Bruno, Yes, I see what you mean. I tried again with the uninstalling/reinstalling, and using the apt install command instead, but still get the same error, so it seems the

Re: [Yade-users] [Question #707019]: plot.plot() issue...unexpected keyword argument 'verts'

2023-06-20 Thread Kevin Kuei
Question #707019 on Yade changed: https://answers.launchpad.net/yade/+question/707019 Status: Needs information => Open Kevin Kuei gave more information on the question: HI Jérôme, That also appears to trigger a segfault. Output provided below for reference. ``` ~/yade-dem/tutorials$ y

Re: [Yade-users] [Question #707019]: plot.plot() issue...unexpected keyword argument 'verts'

2023-06-19 Thread Kevin Kuei
Question #707019 on Yade changed: https://answers.launchpad.net/yade/+question/707019 Kevin Kuei gave more information on the question: I thought maybe this could maybe be due to conflict with anaconda already being installed on the system, so I uninstalled yadedaily, yade, anaconda and

[Yade-users] [Question #707019]: plot.plot() issue...unexpected keyword argument 'verts'

2023-06-18 Thread Kevin Kuei
from the thread of uninstalling and reinstalling matplotlib version 3.1.2, as well as trying on yadedaily. Both seem to produce different errors. Can anyone help with suggestions for fixing this issue? Example code and output below. Cheers, Kevin The example code/script I am running: ```

[Yade-users] [Question #690836]: Phi (volume fraction) returned from getDepthProfiles were far too low

2020-05-19 Thread Kevin
------ As for the parameters, they are listed in meters for inner and outer cylinder (outer_cylinder_radius=0.007m, inner_cylinder_radius=0.00

Re: [Yade-users] [Question #690348]: How to use getDepthProfiles() with an example of code?

2020-05-01 Thread Kevin
Question #690348 on Yade changed: https://answers.launchpad.net/yade/+question/690348 Kevin posted a new comment: Thanks Robert for the quick reply! Nothing changed between the two questions. I am just having a hard time understanding how to implement the util functions like getDepthProfile. Any

[Yade-users] [Question #690348]: How to use getDepthProfiles() with an example of code?

2020-04-30 Thread Kevin
New question #690348 on Yade: https://answers.launchpad.net/yade/+question/690348 Hey all, The summary says it all. I am learning how to use Yade to find a volume fraction of a cylindrical body of a number of spheres. Any help would be appreciated. Where do I put the code and how do you print o

[Yade-users] [Question #690224]: Obtaining Volume Fraction of Filled Cylinder

2020-04-26 Thread Kevin
New question #690224 on Yade: https://answers.launchpad.net/yade/+question/690224 Hey guys! So I have been having trouble finding a way in which to obtain the volume fraction for a filled coaxial cylinder model of spheres using utils.getDepthProfiles. I imported a quarter cylinder model via soli

[Yade-users] [Question #688370]: Two concentric cylinders but subtracting out the inner cylinder

2020-01-30 Thread Kevin
New question #688370 on Yade: https://answers.launchpad.net/yade/+question/688370 I am still having trouble filling in the outer cylinder while leaving inner cylinder empty. I searched the Yade book for usage in predicates but I do not understand how to implement this in my code (specifically Pa

[Yade-users] [Question #688281]: Finding a way to pack two concentric cylinders of differing radii with spheres of differing radii

2020-01-27 Thread Kevin
New question #688281 on Yade: https://answers.launchpad.net/yade/+question/688281 I am fairly new to Yade in general so any help at all would be most appreciated! I need to construct two concentric cylinders of differing radii with each having their own collision detection and having spheres of r