Re: [Yade-users] [Question #707913]: Stress remains 0 during the simulation of a direct shear test

2023-09-15 Thread Karol Brzezinski
Question #707913 on Yade changed: https://answers.launchpad.net/yade/+question/707913 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, I noticed you already asked this question in Gitlab (which is now recommended). So, please note that I posted the full ans

Re: [Yade-users] [Question #707888]: Why do particles in the concrete cube compression test disperse directly?

2023-09-11 Thread Karol Brzezinski
Question #707888 on Yade changed: https://answers.launchpad.net/yade/+question/707888 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Antonia, 1) Macro behavior is a result of microparameters, particle size, and shape, constitutive laws, etc. For example, r

Re: [Yade-users] [Question #707885]: Create arbitrary ellipsoid using level set

2023-09-11 Thread Karol Brzezinski
Question #707885 on Yade changed: https://answers.launchpad.net/yade/+question/707885 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, Quaternion is composed of axis direction (three components) followed by angle of rotation: ### lsb1 = levelSetB

Re: [Yade-users] [Question #707875]: Servo control of cylindrical triaxial test

2023-09-09 Thread Karol Brzezinski
Question #707875 on Yade changed: https://answers.launchpad.net/yade/+question/707875 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Ruidong, In this loop, you iterated over the wall but denoted elements 'f', while in the loop you referred to '

Re: [Yade-users] [Question #707788]: Porosity in rotated measuring area

2023-08-30 Thread Karol Brzezinski
Question #707788 on Yade changed: https://answers.launchpad.net/yade/+question/707788 Status: Open => Needs information Karol Brzezinski requested more information: Hi Paul, Do you need to measure the porosity on the fly (required to trigger some actions in the simulation)? If it can

Re: [Yade-users] [Question #707167]: ModuleNotFoundError: No module named 'pandas'

2023-06-30 Thread Karol Brzezinski
Question #707167 on Yade changed: https://answers.launchpad.net/yade/+question/707167 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Kyle, Just install pandas before running the script: sudo apt install python3-pandas Cheers Karol -- You received t

Re: [Yade-users] [Question #707090]: How to generate a cylinder?

2023-06-27 Thread Karol Brzezinski
Question #707090 on Yade changed: https://answers.launchpad.net/yade/+question/707090 Karol Brzezinski posted a new comment: Hi William, You can clump the facets as well. Cheers, Karol -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #707088]: Dynamic Compaction Can't Repeat

2023-06-25 Thread Karol Brzezinski
Question #707088 on Yade changed: https://answers.launchpad.net/yade/+question/707088 Status: Open => Needs information Karol Brzezinski requested more information: Hi, Honestly, I don't understand the question. Could you please rephrase it? Secondly, I thought that running the co

Re: [Yade-users] [Question #707090]: How to generate a cylinder?

2023-06-25 Thread Karol Brzezinski
Question #707090 on Yade changed: https://answers.launchpad.net/yade/+question/707090 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi William, Maybe try facetCylinder [1] (a prism made of facets that approximates a cylinder): ### import geom O.bodies.app

Re: [Yade-users] [Question #706976]: Reconstruct particles from ct images

2023-06-18 Thread Karol Brzezinski
Question #706976 on Yade changed: https://answers.launchpad.net/yade/+question/706976 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Kyle, If you use ymport.text() function, you don't have to append bodies (it is included in the function). If you

Re: [Yade-users] [Question #706976]: Reconstruct particles from ct images

2023-06-15 Thread Karol Brzezinski
Question #706976 on Yade changed: https://answers.launchpad.net/yade/+question/706976 Status: Open => Answered Karol Brzezinski proposed the following answer: I can also recommend Matlab code for clumo generation developed by Angelidakis et al. It is described in [3]. [3] Angelidakis et

Re: [Yade-users] [Question #706976]: Reconstruct particles from ct images

2023-06-15 Thread Karol Brzezinski
Question #706976 on Yade changed: https://answers.launchpad.net/yade/+question/706976 Status: Open => Needs information Karol Brzezinski requested more information: Are the particles somehow bonded (I mean grains in the sample)? If not, I think that particles rearrange and change the hei

Re: [Yade-users] [Question #706976]: Reconstruct particles from ct images

2023-06-15 Thread Karol Brzezinski
Question #706976 on Yade changed: https://answers.launchpad.net/yade/+question/706976 Karol Brzezinski posted a new comment: Hi Kyle, I think that you need to be much more specific. For example, is each of the 800 gts files modelling a single particle? Do you try to reproduce the exact shape of

Re: [Yade-users] [Question #706883]: The particle deposition rate is too slow

2023-06-03 Thread Karol Brzezinski
Question #706883 on Yade changed: https://answers.launchpad.net/yade/+question/706883 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, I checked that decreasing young parameter of wall to WYoung = 500e7, increases timestep (hence the speed of the simulation)

Re: [Yade-users] [Question #706883]: The particle deposition rate is too slow

2023-06-03 Thread Karol Brzezinski
Question #706883 on Yade changed: https://answers.launchpad.net/yade/+question/706883 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi William, First of all I need to tell you how to slow down your simulation. In the last line, you should change the timestep to

Re: [Yade-users] [Question #706854]: Code availability of Yuan2016, Sweijen2016

2023-06-02 Thread Karol Brzezinski
Question #706854 on Yade changed: https://answers.launchpad.net/yade/+question/706854 Karol Brzezinski proposed the following answer: If there is only a single sphere involved, I don't see the point in coupling anything. So, yes - it is just using the swelling model only. Of course,

Re: [Yade-users] [Question #706854]: Code availability of Yuan2016, Sweijen2016

2023-06-02 Thread Karol Brzezinski
Question #706854 on Yade changed: https://answers.launchpad.net/yade/+question/706854 Karol Brzezinski requested more information: What kind of coupling do you mean? Do you have a particular theory/equation that you want to apply? Best wishes, Karol -- You received this question notification

Re: [Yade-users] [Question #706854]: Code availability of Yuan2016, Sweijen2016

2023-06-01 Thread Karol Brzezinski
Question #706854 on Yade changed: https://answers.launchpad.net/yade/+question/706854 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Sebastian, For a single particle, you can change its radius. You can write a Python function and run it in PyRunner

Re: [Yade-users] [Question #706854]: Code availability of Yuan2016, Sweijen2016

2023-06-01 Thread Karol Brzezinski
Question #706854 on Yade changed: https://answers.launchpad.net/yade/+question/706854 Karol Brzezinski posted a new comment: Hello Sebastian, I don't have a video and I don't think that there is one. But you could try to run the example and see what it looks like. Cheers, Karo

Re: [Yade-users] [Question #706854]: Code availability of Yuan2016, Sweijen2016

2023-05-31 Thread Karol Brzezinski
Question #706854 on Yade changed: https://answers.launchpad.net/yade/+question/706854 Karol Brzezinski posted a new comment: Hi Sebastian, Hehe you looked in the examples? I checked the examples in the main repository, and this one seem to be the closest to your problem [1]. Cheers, Karol [1

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

2023-05-24 Thread Karol Brzezinski
Question #706766 on Yade changed: https://answers.launchpad.net/yade/+question/706766 Karol Brzezinski proposed the following answer: Hi Leonard, Try this (please note that I am using python 3, so the call pf print function is modified): ## ### 2D MWE # from

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

2023-05-24 Thread Karol Brzezinski
Question #706766 on Yade changed: https://answers.launchpad.net/yade/+question/706766 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Leonard, The algorithm in Yade builds a 3D tesselation. It is hard for the algorithm to build it if all the particles lie on

Re: [Yade-users] [Question #706768]: Difference between CundallStrack and HertzMindlin

2023-05-23 Thread Karol Brzezinski
Question #706768 on Yade changed: https://answers.launchpad.net/yade/+question/706768 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Senel, In the Cundall-Strack model, the contact stiffness is linear (does not depend on the contact force or particles'

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

2023-05-23 Thread Karol Brzezinski
Question #706766 on Yade changed: https://answers.launchpad.net/yade/+question/706766 Status: Open => Answered Karol Brzezinski proposed the following answer: Hello Leonard, I think that the main problem is 2D formulation. I would try to prepare thicker samples (artificially replicate y

Re: [Yade-users] [Question #706652]: Running code with 4 threads

2023-05-16 Thread Karol Brzezinski
Question #706652 on Yade changed: https://answers.launchpad.net/yade/+question/706652 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Carine, I could not run your example, because I don't have 'PotentialParticleVTKRecorder', but I am pretty s

Re: [Yade-users] [Question #706653]: Modifying the size of potential particles

2023-05-16 Thread Karol Brzezinski
Question #706653 on Yade changed: https://answers.launchpad.net/yade/+question/706653 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Carine, I could not run your example, because I don't have 'PotentialParticleVTKRecorder', but I am pretty s

Re: [Yade-users] [Question #706654]: Position of particles become NaN after using Break Function

2023-05-16 Thread Karol Brzezinski
Question #706654 on Yade changed: https://answers.launchpad.net/yade/+question/706654 Status: Open => Answered Karol Brzezinski proposed the following answer: Hello Ketian, As you noticed the real problem is that NaN interactions are produced during your simulation. The breakage funct

Re: [Yade-users] [Question #706626]: attach force to a certain point of the box

2023-05-13 Thread Karol Brzezinski
Question #706626 on Yade changed: https://answers.launchpad.net/yade/+question/706626 Status: Open => Needs information Karol Brzezinski requested more information: Hi Ramin, Could you elaborate a little bit more on what you want to achieve in your simulation? Right now I have s

Re: [Yade-users] [Question #706573]: Troble with porosity calculation

2023-05-11 Thread Karol Brzezinski
Question #706573 on Yade changed: https://answers.launchpad.net/yade/+question/706573 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Huanm it should be top = abs(plate.state.pos[2] + height/2) Cheers, Karol -- You received this question notification beca

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

2023-05-09 Thread Karol Brzezinski
Question #706553 on Yade changed: https://answers.launchpad.net/yade/+question/706553 Karol Brzezinski posted a new comment: After second thought I think that I misunderstood the problem. Because you are actually checking if the obtained strain is equall to the value expected from the

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

2023-05-09 Thread Karol Brzezinski
Question #706553 on Yade changed: https://answers.launchpad.net/yade/+question/706553 Karol Brzezinski proposed the following answer: After some 'gymnastics', I would propose: triax.goal2=-(2*rate+rate**2)/(1+2*rate+rate**2) triax.goal1=rate triax.goal3=rate Cheers, Karol -- You rec

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

2023-05-09 Thread Karol Brzezinski
Question #706553 on Yade changed: https://answers.launchpad.net/yade/+question/706553 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Leonard, triax.goal2=rate triax.goal1=-0.5*rate triax.goal3=-0.5*rate Comes from the fact that volumetric strain is equal to

Re: [Yade-users] [Question #706540]: Trouble in generating sphere packing

2023-05-09 Thread Karol Brzezinski
Question #706540 on Yade changed: https://answers.launchpad.net/yade/+question/706540 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Huan, For each radius, I prescribed some 'spread', so the radii of particles fall between given sieve sizes (rRelF

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

2023-05-08 Thread Karol Brzezinski
Question #706533 on Yade changed: https://answers.launchpad.net/yade/+question/706533 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Leonard, OK, I get it. You need to apply the 'tube' filter to the "CellDatatoPointData1', not direc

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

2023-05-08 Thread Karol Brzezinski
Question #706533 on Yade changed: https://answers.launchpad.net/yade/+question/706533 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Leonard, Exactly, it is the list that you pointed to in [3]. Your example file [2] works well on my computer. Maybe there

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

2023-05-08 Thread Karol Brzezinski
Question #706533 on Yade changed: https://answers.launchpad.net/yade/+question/706533 Status: Open => Answered Karol Brzezinski proposed the following answer: I mean that you should have selected the 'forceN' from the drop-down list at the top of the 'tube' fil

Re: [Yade-users] [Question #706540]: Trouble in generating sphere packing

2023-05-08 Thread Karol Brzezinski
Question #706540 on Yade changed: https://answers.launchpad.net/yade/+question/706540 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Huan, The good news is that you can cal makeCloud() multiple times with different radii and new spheres are added to

Re: [Yade-users] [Question #706529]: Seeking any guidance on beginning using yade

2023-05-08 Thread Karol Brzezinski
Question #706529 on Yade changed: https://answers.launchpad.net/yade/+question/706529 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Hongwei, I guess that Yade should work more stable on LST Ubuntu versions (e.g. 22.04), since it is tested for those versi

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

2023-05-08 Thread Karol Brzezinski
Question #706533 on Yade changed: https://answers.launchpad.net/yade/+question/706533 Karol Brzezinski posted a new comment: I noticed that instructions don't mention this part, but it is usually selected automatically (e.g., I didn't have to do this in my Paraview). Karol -- You rec

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

2023-05-08 Thread Karol Brzezinski
Question #706533 on Yade changed: https://answers.launchpad.net/yade/+question/706533 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Leonard, Please select 'forceN' from 'Scalar' list at the top of the tubę filter settings. Cheers, Karol

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

2023-05-07 Thread Karol Brzezinski
Question #706533 on Yade changed: https://answers.launchpad.net/yade/+question/706533 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Leonard, If you follow the instructions it should be OK. Try to play with Radous and Radius Factor parameters. Cheers, Ka

Re: [Yade-users] [Question #706494]: Spherical packing of binary mixtures in a cylindrical container

2023-05-05 Thread Karol Brzezinski
Question #706494 on Yade changed: https://answers.launchpad.net/yade/+question/706494 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Soheil, As you can find in the documentation [1] "distributeMass (bool) – if True, given distribution will be used to di

Re: [Yade-users] [Question #706494]: Spherical packing of binary mixtures in a cylindrical container

2023-05-04 Thread Karol Brzezinski
Question #706494 on Yade changed: https://answers.launchpad.net/yade/+question/706494 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Soheil, I recommend using the makeCloud() [1] method which allows you to create packing with a prescribed size distribution (

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

2023-05-04 Thread Karol Brzezinski
Question #706506 on Yade changed: https://answers.launchpad.net/yade/+question/706506 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, MWE would be appreciated [1]. Using the' calculator filter', you can always compute anything in ParaView from matr

Re: [Yade-users] [Question #706106]: Load the data to plot

2023-04-09 Thread Karol Brzezinski
Question #706106 on Yade changed: https://answers.launchpad.net/yade/+question/706106 Status: Needs information => Answered Karol Brzezinski proposed the following answer: Hi Przemek, MVE always makes it easier for everyone[1]. Do you mean something like this? # MVE from yade imp

Re: [Yade-users] [Question #705760]: How to get the runtime or CPU time?

2023-03-08 Thread Karol Brzezinski
Question #705760 on Yade changed: https://answers.launchpad.net/yade/+question/705760 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Danny, It may be a little bit of a workaround, but every periodic engine (e.g. PyRunner) stores the information about the t

Re: [Yade-users] [Question #705642]: Workstation

2023-02-28 Thread Karol Brzezinski
Question #705642 on Yade changed: https://answers.launchpad.net/yade/+question/705642 Karol Brzezinski posted a new comment: Hi, Consider cloud computing if you need a machine for running some scripts once. There is a tutorial on how to use Yade with Amazon EC2 [1]. Cheers, Karol [1] https

Re: [Yade-users] [Question #705075]: replace by clump

2023-02-16 Thread Karol Brzezinski
Question #705075 on Yade changed: https://answers.launchpad.net/yade/+question/705075 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, The size of the clump is adjusted to balance the mass (~volume for the same material) of the replaced sphere. Every figure w

Re: [Yade-users] [Question #705016]: Can we generate randomly particles shape in yade eg.rocks?

2023-02-10 Thread Karol Brzezinski
Question #705016 on Yade changed: https://answers.launchpad.net/yade/+question/705016 Status: Open => Answered Karol Brzezinski proposed the following answer: Hello, I think that polyhedra_utils.fillBox()[1] could be helpful. It generates random polyhedral particles according to

Re: [Yade-users] [Question #705007]: contact model for overlappped part of a clump

2023-02-08 Thread Karol Brzezinski
Question #705007 on Yade changed: https://answers.launchpad.net/yade/+question/705007 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Guo, Yade is really well-documented. I recommend reading the Guided Tour, DEM Formulation, and User's Manual. There is a

Re: [Yade-users] [Question #705005]: problem of erasing particle

2023-02-08 Thread Karol Brzezinski
Question #705005 on Yade changed: https://answers.launchpad.net/yade/+question/705005 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Guo, You are removing particles while the simulation is still in process. You need to make the script wait, units the simulat

Re: [Yade-users] [Question #704485]: bodies which are controlled by "setPermF" does not move. Is it right?

2023-01-29 Thread Karol Brzezinski
Question #704485 on Yade changed: https://answers.launchpad.net/yade/+question/704485 Karol Brzezinski posted a new comment: Hi, Please open separate threads for new questions [1]. Also, remember about MVE (especially for the sphere-facet interaction question because there are no spheres in your

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

2023-01-27 Thread Karol Brzezinski
Question #704551 on Yade changed: https://answers.launchpad.net/yade/+question/704551 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Leonard, I think that you can use 'rot()' method of body state or Jan's proposal in VTKExporter. MV

Re: [Yade-users] [Question #704485]: bodies which are controlled by "setPermF" does not move. Is it right?

2023-01-20 Thread Karol Brzezinski
Question #704485 on Yade changed: https://answers.launchpad.net/yade/+question/704485 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Jinsun, The major issue is not the setPermF function but the fact that facets are massless and not dynamic bodies by default.

Re: [Yade-users] [Question #704389]: Problem with OpenMP

2023-01-17 Thread Karol Brzezinski
Question #704389 on Yade changed: https://answers.launchpad.net/yade/+question/704389 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Roxana, Please note that this was discussed in this forum several times, and you can find more information on other topics (

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

2023-01-05 Thread Karol Brzezinski
Question #704293 on Yade changed: https://answers.launchpad.net/yade/+question/704293 Karol Brzezinski posted a new comment: Sorry, but I am 'computerless' right now, and I cannot check it to confirm. Can you please take the above example, comment out the triangulation part and see

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

2023-01-05 Thread Karol Brzezinski
Question #704293 on Yade changed: https://answers.launchpad.net/yade/+question/704293 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Leonard, Regarding your questions: 1. Yes - the order of spheres in files must be identical. 2. You still need to triangul

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

2023-01-04 Thread Karol Brzezinski
Question #704293 on Yade changed: https://answers.launchpad.net/yade/+question/704293 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Leonard, How about strings the packing at different states in external txt files, and computing strains between pairs of fi

Re: [Yade-users] [Question #703735]: Bonded (CohFrictMat) particles freeze during collision

2022-12-20 Thread Karol Brzezinski
Question #703735 on Yade changed: https://answers.launchpad.net/yade/+question/703735 Karol Brzezinski posted a new comment: Thank you for your comment. Maybe it is a particular example where damping oscillations 'inside agglomerate' can affect its movement as a whole. This would ha

Re: [Yade-users] [Question #704035]: O.save/O.load problem

2022-12-08 Thread Karol Brzezinski
Question #704035 on Yade changed: https://answers.launchpad.net/yade/+question/704035 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Roxana, I don't have your full code, so I cannot run exactly the same example. But maybe you could try my previous

Re: [Yade-users] [Question #704065]: particle size distribution

2022-12-08 Thread Karol Brzezinski
Question #704065 on Yade changed: https://answers.launchpad.net/yade/+question/704065 Karol Brzezinski proposed the following answer: Hi, First of all, please remember to create MVE to support your question, to save some time for people who are trying to help you [1]. Secondly, note that

Re: [Yade-users] [Question #704048]: aabbDim() and Triax.box volume difference ?

2022-12-06 Thread Karol Brzezinski
Question #704048 on Yade changed: https://answers.launchpad.net/yade/+question/704048 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Ahmad, could you provide the MWE (Minimum Working Example)[1] that shows the difference that you are talking about? 1 - aabb

Re: [Yade-users] [Question #704035]: O.save/O.load problem

2022-12-06 Thread Karol Brzezinski
Question #704035 on Yade changed: https://answers.launchpad.net/yade/+question/704035 Karol Brzezinski posted a new comment: Hi Roxana, I wanted to try to store the interaction state separately and load it in the second script. But there is something wrong with the serialization of interaction

Re: [Yade-users] [Question #704035]: O.save/O.load problem

2022-12-06 Thread Karol Brzezinski
Question #704035 on Yade changed: https://answers.launchpad.net/yade/+question/704035 Karol Brzezinski posted a new comment: Hi, In my opinion there is something wrong with saving the interactions. I don't know how to fix the source. If you inspect interactions right after loading the simul

Re: [Yade-users] [Question #704035]: O.save/O.load problem

2022-12-05 Thread Karol Brzezinski
Question #704035 on Yade changed: https://answers.launchpad.net/yade/+question/704035 Status: Open => Needs information Karol Brzezinski requested more information: Hi, Are you sure it is a working example? ViscElCapMat has no attribute 'eta'. Cheers, Karol -- You received

Re: [Yade-users] [Question #703735]: Bonded (CohFrictMat) particles freeze during collision

2022-11-28 Thread Karol Brzezinski
Question #703735 on Yade changed: https://answers.launchpad.net/yade/+question/703735 Status: Expired => Open Karol Brzezinski is still having a problem: Hi, thank you for your comments. I believe you are talking about this equation (https://gitlab.com/yade- dev/trunk/-/blob/master/pkg/

Re: [Yade-users] [Question #703940]: How can I remove Somengines from the existing O.engines?

2022-11-27 Thread Karol Brzezinski
Question #703940 on Yade changed: https://answers.launchpad.net/yade/+question/703940 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, To remove the last engine from the list do this: O.engines = O.engines[:-1] That means take all the engines from the exist

Re: [Yade-users] [Question #703735]: Bonded (CohFrictMat) particles freeze during collision

2022-11-10 Thread Karol Brzezinski
Question #703735 on Yade changed: https://answers.launchpad.net/yade/+question/703735 Karol Brzezinski gave more information on the question: Hi, I haven't found out the solution, but I wanted to comment that using very small damping ( <1e-5) seems to give decent results. For some rea

Re: [Yade-users] [Question #703626]: How does yade import models externally

2022-11-06 Thread Karol Brzezinski
Question #703626 on Yade changed: https://answers.launchpad.net/yade/+question/703626 Status: Open => Needs information Karol Brzezinski requested more information: Hi, would you mind sharing with us how the problem was solved? Cheers, Karol -- You received this question notificat

Re: [Yade-users] [Question #703734]: Get force on Facet

2022-11-06 Thread Karol Brzezinski
Question #703734 on Yade changed: https://answers.launchpad.net/yade/+question/703734 Status: Open => Needs information Karol Brzezinski requested more information: Hi Ginna, Are you sure that you provided the working example (except for the plotting issue of course)? - There are

Re: [Yade-users] [Question #703734]: Get force on Facet

2022-11-06 Thread Karol Brzezinski
Question #703734 on Yade changed: https://answers.launchpad.net/yade/+question/703734 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, please provide more information (e.g., MVE [1]). Do you have any errors, or just nothing happens? You need to pass body id

[Yade-users] [Question #703735]: Bonded (CohFrictMat) particles freeze during collision

2022-11-06 Thread Karol Brzezinski
New question #703735 on Yade: https://answers.launchpad.net/yade/+question/703735 Hi, Recently I encountered I strange behavior of bonded particles (CohFrictMat). I wanted to simulate gravity deposition, and I noticed that if two agglomerates touch, their velocity drops to zero. This problem oc

Re: [Yade-users] [Question #703498]: Young's modulus or the effect of the wall on the test

2022-10-16 Thread Karol Brzezinski
Question #703498 on Yade changed: https://answers.launchpad.net/yade/+question/703498 Status: Open => Needs information Karol Brzezinski requested more information: Hi, Please provide the MVE [1]. If the results are not symmetric, the simulation is not symmetric either. You descri

Re: [Yade-users] [Question #703446]: Feasibility of deep-sea mining simulation using Yade

2022-10-11 Thread Karol Brzezinski
Question #703446 on Yade changed: https://answers.launchpad.net/yade/+question/703446 Status: Open => Needs information Karol Brzezinski requested more information: Hi Ziyu, I would call Yade a multibody dynamics software :) What effects do you want to include? Does it need to be a coup

Re: [Yade-users] [Question #703351]: Simulation of Dynamic compaction

2022-10-02 Thread Karol Brzezinski
Question #703351 on Yade changed: https://answers.launchpad.net/yade/+question/703351 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Sirasak, As previously mentioned, you should open separate questions for separate problems [1]. You are at an early stage

Re: [Yade-users] [Question #703351]: Simulation of Dynamic compaction

2022-10-01 Thread Karol Brzezinski
Question #703351 on Yade changed: https://answers.launchpad.net/yade/+question/703351 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Sirasak, As Jan said you should try to explain better how you imagine your code should work. Your code is a little bit me

Re: [Yade-users] [Question #703169]: Energy conservation of clump

2022-09-17 Thread Karol Brzezinski
Question #703169 on Yade changed: https://answers.launchpad.net/yade/+question/703169 Karol Brzezinski posted a new comment: Hi Xu, Thank you for your MWE. It looks like it is not what I thought at the beginning. I don't know what is the reason. My last clue is that 'utils.getStr

Re: [Yade-users] [Question #703169]: Energy conservation of clump

2022-09-16 Thread Karol Brzezinski
Question #703169 on Yade changed: https://answers.launchpad.net/yade/+question/703169 Karol Brzezinski posted a new comment: Hi, Sorry, but I cannot run this. There are some syntax errors and the script requires loading external files. Please try to prepare MWE [2]: "Do your best to send

Re: [Yade-users] [Question #703169]: Energy conservation of clump

2022-09-15 Thread Karol Brzezinski
Question #703169 on Yade changed: https://answers.launchpad.net/yade/+question/703169 Status: Open => Needs information Karol Brzezinski requested more information: Hi, If you provided MWE, I could show what I mean based on your example. The simplest approach is to create a single clump

Re: [Yade-users] [Question #703169]: Energy conservation of clump

2022-09-15 Thread Karol Brzezinski
Question #703169 on Yade changed: https://answers.launchpad.net/yade/+question/703169 Karol Brzezinski posted a new comment: Hi, I endorse all the comments from Jan. I can add one more. It is very likely that there are some interactions between clump members. Those interactions do not affect the

Re: [Yade-users] [Question #703130]: How to integrate motion in only one direction?

2022-09-12 Thread Karol Brzezinski
Question #703130 on Yade changed: https://answers.launchpad.net/yade/+question/703130 Karol Brzezinski posted a new comment: It is because you can give a new attribute to the body this way. For example, if you want to discriminate between groups of bodies, you can do something like this. ### if

Re: [Yade-users] [Question #703130]: How to integrate motion in only one direction?

2022-09-12 Thread Karol Brzezinski
Question #703130 on Yade changed: https://answers.launchpad.net/yade/+question/703130 Karol Brzezinski proposed the following answer: Hi, Try PPClump.state.blockedDOFs='xyXYZ' Instead of PPClump.state.blockDOFs='xyXYZ' Cheers, Karol -- You received this question notif

Re: [Yade-users] [Question #703130]: How to integrate motion in only one direction?

2022-09-12 Thread Karol Brzezinski
Question #703130 on Yade changed: https://answers.launchpad.net/yade/+question/703130 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Guo, You can block all degrees of freedom, except for 'z'. Let's say 'b' is your body, so: b.st

Re: [Yade-users] [Question #703121]: Torque output for STL

2022-09-11 Thread Karol Brzezinski
Question #703121 on Yade changed: https://answers.launchpad.net/yade/+question/703121 Karol Brzezinski posted a new comment: Hi, I cannot test it right now on the computer, but it would be something like this: clumpId = O.bodies.appendClumped(EO) You, can drive this clump as one body by

Re: [Yade-users] [Question #703121]: Torque output for STL

2022-09-11 Thread Karol Brzezinski
Question #703121 on Yade changed: https://answers.launchpad.net/yade/+question/703121 Karol Brzezinski posted a new comment: Just a comment: instead of using CombinedKinematicEngine, I would clump all the facets together, and drive them as one body. Cheers, Karol -- You received this question

Re: [Yade-users] [Question #703121]: Torque output for STL

2022-09-11 Thread Karol Brzezinski
Question #703121 on Yade changed: https://answers.launchpad.net/yade/+question/703121 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Nima, I guess that you want to compute 'global' torque acting on your 'vane' (driving torque of your tool

Re: [Yade-users] [Question #703098]: Trying to pass on property from python to shape

2022-09-09 Thread Karol Brzezinski
Question #703098 on Yade changed: https://answers.launchpad.net/yade/+question/703098 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Danny, are you sure that you need to modify the *.hpp file? You can add a new property to the body directly from Yade (Pyt

Re: [Yade-users] [Question #703024]: Particles in the middle of the cylinder disappeared after adding the thermal engine

2022-09-03 Thread Karol Brzezinski
Question #703024 on Yade changed: https://answers.launchpad.net/yade/+question/703024 Karol Brzezinski posted a new comment: Hi, I don't know whether such a coupling can be used for your problem. I noticed that the example from tutorial [1] uses extremely high density. Maybe someone else

Re: [Yade-users] [Question #703024]: Particles in the middle of the cylinder disappeared after adding the thermal engine

2022-09-03 Thread Karol Brzezinski
Question #703024 on Yade changed: https://answers.launchpad.net/yade/+question/703024 Status: Open => Needs information Karol Brzezinski requested more information: Hi Ziyu, I tried to run your example but it requires loading sphere packing from an external file: >OSError: p

Re: [Yade-users] [Question #703030]: run yade

2022-09-03 Thread Karol Brzezinski
Question #703030 on Yade changed: https://answers.launchpad.net/yade/+question/703030 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, maybe it is just a typo? I see in the error that you have an extra space in the filename: 'script .py' instead

Re: [Yade-users] [Question #702962]: How to disable function in PyRunner

2022-08-29 Thread Karol Brzezinski
Question #702962 on Yade changed: https://answers.launchpad.net/yade/+question/702962 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, You can set some lab for a specific PyRunner, and at some point of simulation use this label as reference to your PyRunner,

Re: [Yade-users] [Question #702665]: How to calculate the height of particle accumulation?

2022-08-11 Thread Karol Brzezinski
Question #702665 on Yade changed: https://answers.launchpad.net/yade/+question/702665 Karol Brzezinski posted a new comment: If you use (xmin,ymin,zmin),(xmax,ymax,zmax) = aabbExtrema() zmax is the highest point. If you use (xdim,ydim,zdim)= aabbDim() zdim is packing

Re: [Yade-users] [Question #702665]: How to calculate the height of particle accumulation?

2022-08-10 Thread Karol Brzezinski
Question #702665 on Yade changed: https://answers.launchpad.net/yade/+question/702665 Karol Brzezinski proposed the following answer: Hi, The information about the height is printed. It is just between "initial lines". If you want to know the height anytime later during the simulation

Re: [Yade-users] [Question #702665]: How to calculate the height of particle accumulation?

2022-08-09 Thread Karol Brzezinski
Question #702665 on Yade changed: https://answers.launchpad.net/yade/+question/702665 Karol Brzezinski posted a new comment: Are you sure? What is the console output after running this code? -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #702665]: How to calculate the height of particle accumulation?

2022-08-09 Thread Karol Brzezinski
Question #702665 on Yade changed: https://answers.launchpad.net/yade/+question/702665 Karol Brzezinski posted a new comment: aabbDim() gives you dimensions (three values), so it should rather be: # O.bodies.append(geom.facetBox((0.05, 3, 4), (0.1, 3, 4), wallMask=63)) sp = pack.SpherePack

Re: [Yade-users] [Question #702665]: How to calculate the height of particle accumulation?

2022-08-08 Thread Karol Brzezinski
Question #702665 on Yade changed: https://answers.launchpad.net/yade/+question/702665 Karol Brzezinski proposed the following answer: Hi, Yes, first you generate facets, next particles. I only meant that facetbox() function creates facets, not particles (as stated in the first post). Referring

Re: [Yade-users] [Question #702665]: How to calculate the height of particle accumulation?

2022-08-07 Thread Karol Brzezinski
Question #702665 on Yade changed: https://answers.launchpad.net/yade/+question/702665 Karol Brzezinski posted a new comment: And one more comment Are you sure that you generate particles with this function geom.facetbox ((,), (,), wallmask=)? You generate bodies (facets), but I wouldn't

Re: [Yade-users] [Question #702665]: How to calculate the height of particle accumulation?

2022-08-04 Thread Karol Brzezinski
Question #702665 on Yade changed: https://answers.launchpad.net/yade/+question/702665 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, Function aabbExtrema() returns boundary box of particle packing (min and max corner positions). If you are only interested

Re: [Yade-users] [Question #702205]: facet disappear when adding flowengine to the examples/concrete/triax.py

2022-06-20 Thread Karol Brzezinski
Question #702205 on Yade changed: https://answers.launchpad.net/yade/+question/702205 Status: Needs information => Answered Karol Brzezinski proposed the following answer: Hi, your example still needs some patching before working at all ('damp' not defined etc.). However, the

Re: [Yade-users] [Question #702229]: yade and terminal

2022-06-19 Thread Karol Brzezinski
Question #702229 on Yade changed: https://answers.launchpad.net/yade/+question/702229 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Haoding, when you create a function in 'live' terminal Yade doesn't see it. It is always better tonrun scripts

  1   2   3   >