Re: [Yade-users] [Question #668264]: Why the interaction(force chain) between particles and facet all focusing on one point on the facet

2018-04-26 Thread Kun Zeng
Question #668264 on Yade changed: https://answers.launchpad.net/yade/+question/668264 Status: Answered => Open Kun Zeng is still having a problem: Hi Jan, I used polyhedra particles. [1] As you suggested, how can I do by using what "command" in Yade for dealing with the fac

[Yade-users] [Question #668264]: Why the interaction(force chain) between particles and facet all focusing on one point on the facet

2018-04-25 Thread Kun Zeng
New question #668264 on Yade: https://answers.launchpad.net/yade/+question/668264 I set up a model by using polyhedra partcles and use export.VTKExporter(name).exportInteractions() to export the interaction to VTK file. However, I saw the result in paraview and also in yade, and find the intera

Re: [Yade-users] [Question #667946]: Why use ymport.textPolyhedra command make the simulation to slow?

2018-04-24 Thread Kun Zeng
Question #667946 on Yade changed: https://answers.launchpad.net/yade/+question/667946 Status: Needs information => Open Kun Zeng gave more information on the question: Hi Bruno, Actually, I just run this two simulation individually and visually see the iteraction speed...One I direc

Re: [Yade-users] [Question #667946]: Why use ymport.textPolyhedra command make the simulation to slow?

2018-04-19 Thread Kun Zeng
Question #667946 on Yade changed: https://answers.launchpad.net/yade/+question/667946 Status: Answered => Open Kun Zeng is still having a problem: Hi Jan, I checked the interactions in my simulation(facet boundary and polyhedra particles), the poly particles number is 91361 and

[Yade-users] [Question #667946]: Why use ymport.textPolyhedra command make the simulation to slow?

2018-04-14 Thread Kun Zeng
New question #667946 on Yade: https://answers.launchpad.net/yade/+question/667946 I first prepare some polyhedra particle in my model and used 'export.textPolyhedra' to export the polyhedra layer into .txt file. When I use 'ymport.textPolyhedra' in a new input file to import the .txt file and ru

Re: [Yade-users] [Question #667746]: Segmentation fault (core dumped) with gmshPFacet

2018-04-14 Thread Kun Zeng
Question #667746 on Yade changed: https://answers.launchpad.net/yade/+question/667746 Status: Answered => Solved Kun Zeng 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

Re: [Yade-users] [Question #667815]: fill a box with polyhedra with size distribution

2018-04-10 Thread Kun Zeng
Question #667815 on Yade changed: https://answers.launchpad.net/yade/+question/667815 Status: Open => Solved Kun Zeng confirmed that the question is solved: Sorry... I got the method to do this -- You received this question notification because your team yade-users is an ans

[Yade-users] [Question #667815]: fill a box with polyhedra with size distribution

2018-04-10 Thread Kun Zeng
New question #667815 on Yade: https://answers.launchpad.net/yade/+question/667815 Hi, I am writing to ask how to fill a box with polyhedra with size distribution. I found one FAQ in[1]: Bruno said "can use makeCloud to generate a sphere cloud and use this list to place polyhedra of the same si

Re: [Yade-users] [Question #667746]: Segmentation fault (core dumped) with gmshPFacet

2018-04-10 Thread Kun Zeng
Question #667746 on Yade changed: https://answers.launchpad.net/yade/+question/667746 Kun Zeng gave more information on the question: Hi Jan, I found for my question #3: Here is a bug in /yade/ymport.py in line 379. It is now: if returnConnectivityTable: return unvReader.facets

Re: [Yade-users] [Question #667746]: Segmentation fault (core dumped) with gmshPFacet

2018-04-10 Thread Kun Zeng
Question #667746 on Yade changed: https://answers.launchpad.net/yade/+question/667746 Status: Needs information => Open Kun Zeng gave more information on the question: Hi Jan, Sure. 1. Here is my .mesh file: https://drive.google.com/file/d/1pOcEOdSkoRUarihCZeZsX_7K_o3pShEd/view?usp=shar

Re: [Yade-users] [Question #667746]: Segmentation fault (core dumped) with gmshPFacet

2018-04-09 Thread Kun Zeng
Question #667746 on Yade changed: https://answers.launchpad.net/yade/+question/667746 Status: Answered => Open Kun Zeng is still having a problem: Hi Jan and Bruno, I run the command as Jan suggested: catchsegv python yade mesh-pfacet.py and got output which I saved into a .txt file.

[Yade-users] [Question #667746]: Segmentation fault (core dumped) with gmshPFacet

2018-04-08 Thread Kun Zeng
New question #667746 on Yade: https://answers.launchpad.net/yade/+question/667746 Hi, I am trying to import a .mesh file into yade. I learn from the example "mesh-pfacet.py" and change the "sphere.mesh" file with my own .mesh file. And I got: Segmentation fault (core dumped) Do you know what

Re: [Yade-users] [Question #662551]: How to show contact force on particles or polyhedre using changing colors

2018-03-14 Thread Kun Zeng
Question #662551 on Yade changed: https://answers.launchpad.net/yade/+question/662551 Status: Answered => Solved Kun Zeng 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

Re: [Yade-users] [Question #662551]: How to show contact force on particles or polyhedre using changing colors

2018-01-17 Thread Kun Zeng
Question #662551 on Yade changed: https://answers.launchpad.net/yade/+question/662551 Status: Answered => Open Kun Zeng is still having a problem: Hi, Thanks for your suggestions. I mean if it is possible to show the contact force on the surface of the polyhedra particles not using fo

[Yade-users] [Question #662551]: How to show contact force on particles or polyhedre using changing colors

2018-01-04 Thread Kun Zeng
New question #662551 on Yade: https://answers.launchpad.net/yade/+question/662551 Hi, I was wondering if there is a method to show contact forces with changing colors on paricles or polyhedre in paraview? Thanks. Regards, -- You received this question notification because your team yade-users

Re: [Yade-users] [Question #661729]: Remove particle above a certain height

2017-12-26 Thread Kun Zeng
Question #661729 on Yade changed: https://answers.launchpad.net/yade/+question/661729 Status: Answered => Solved Kun Zeng 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

[Yade-users] [Question #661729]: Remove particle above a certain height

2017-12-13 Thread Kun Zeng
New question #661729 on Yade: https://answers.launchpad.net/yade/+question/661729 I was wondering if there is a method or input command I can use to remove or erase some particles above a certain height? Thanks. -- You received this question notification because your team yade-users is an answe

[Yade-users] [Question #660660]: How to speed up simulation

2017-11-12 Thread Kun Zeng
New question #660660 on Yade: https://answers.launchpad.net/yade/+question/660660 I am trying to set a larger sphere pack or polyhedra pack but it seems very slow to run this model. I was wondering if there is some method to speed up this simulation? Thanks. -- You received this question not

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-11 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Status: Answered => Solved Kun Zeng 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

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-11 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Kun Zeng posted a new comment: Thanks Jan -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-09 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Kun Zeng posted a new comment: Hi Jan, Sorry to post so many comments and questions above. I changed the NameError part in my code into this: rects = (movables + rect((p000,p100,p110,p010)) + rect((p200,p300

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-09 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Kun Zeng posted a new comment: Hi Jan, You mean the file named " example2-yade-prepoc.py" ? In my simualtion, I use this code to do preparation of the polyhedara particle layers: https://drive.googl

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-09 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Kun Zeng posted a new comment: The whole outcome is this: Traceback (most recent call last): File "example1.py", line 90, in dem = YADE_API(demName) File "/home/kun/femdem/include

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-09 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Kun Zeng posted a new comment: Hi Jan, I do used this code in my example1-yade.py file and it still same error: NameError: global name 'rect' is not defined... from libyade import yade from yade imp

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-09 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Kun Zeng posted a new comment: I would like to generate a beam by FEM and falling down on the Polyhedra particles layers which I generated by Yade before this coupling(ymport into this coupling). And when I run

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-05 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Kun Zeng posted a new comment: Hi Jan, I run the .sh file and it still shows: Traceback (most recent call last): File "example1.py", line 90, in dem = YADE_API(demName) File "/home/kun

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-04 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Kun Zeng posted a new comment: The complete code of example1-yade.py is as below: from libyade import yade from yade import * from yade import polyhedra_utils from yade import ymport from yade import Vector3

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-04 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Kun Zeng posted a new comment: Hi Jan, sorry for post so much questions here. I thought i figure the facet problem by changing the code to: yade.utils.facet((v1,v2,v3),**kw) And I run my code it shows: File

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-04 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Kun Zeng posted a new comment: Thanks Jan. I add from yade import Vector3 at the top of my code. it works. However, I changed the facet to: def rect(vs,**kw): v1,v2,v3,v4 = vs return [ f

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-04 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Kun Zeng posted a new comment: Sorry Jan, It is "NameError: name 'Vector3' is not defined" ... -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-04 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Kun Zeng posted a new comment: I run my code again and it still shows : sh example1.sh Traceback (most recent call last): File "example1.py", line 90, in dem = YADE_API(demName) File "/

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-04 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Kun Zeng posted a new comment: Hi Jan, Yes, I use Vector3 in my code. But the error shows ' name 'vector' is not defined ' like this: p000 = Vector3(0,0,0). -- You received this question

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-03 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Description changed to: I change the code of the example1-yade.py file in [1] to the following code: from libyade import yade from yade import polyhedra_utils from yade import ymport from yade import * widthl =

Re: [Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-03 Thread Kun Zeng
Question #658909 on Yade changed: https://answers.launchpad.net/yade/+question/658909 Description changed to: I change the code of the example1-yade.py file in [1] to the following code: from libyade import yade from yade import polyhedra_utils from yade import ymport from yade import * widthl =

[Yade-users] [Question #658909]: Question about FEM and DEM coupling

2017-10-03 Thread Kun Zeng
New question #658909 on Yade: https://answers.launchpad.net/yade/+question/658909 I change the code of the example1-yade.py file in [1] to the following code: from libyade import yade from yade import polyhedra_utils from yade import ymport from yade import * widthl = .3 widthr = .3 widthc = .3

Re: [Yade-users] [Question #657677]: How to export and import a irregular shape particles model.

2017-09-27 Thread Kun Zeng
Question #657677 on Yade changed: https://answers.launchpad.net/yade/+question/657677 Kun Zeng posted a new comment: @Bruno Thanks for your reply. Your information is very helpful -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #658606]: Engine about coupling DEM with FEM

2017-09-25 Thread Kun Zeng
Question #658606 on Yade changed: https://answers.launchpad.net/yade/+question/658606 Kun Zeng posted a new comment: Hi Jan, Thanks for your information. Can you add an example with polyhedra in the github? I am going to learn and do some simualtion related to the polyhedra particle in DEM and

[Yade-users] [Question #658606]: Engine about coupling DEM with FEM

2017-09-24 Thread Kun Zeng
New question #658606 on Yade: https://answers.launchpad.net/yade/+question/658606 I read one paper from Jan Stransky "COMBINATION OF FEM AND DEM WITH APPLICATION TO RAILWAY BALLAST-SLEEPER INTERACTION" and I notice in this paper. He simulated some nonsphere particle ballast contacting with slee

Re: [Yade-users] [Question #657677]: How to export and import a irregular shape particles model.

2017-09-24 Thread Kun Zeng
Question #657677 on Yade changed: https://answers.launchpad.net/yade/+question/657677 Status: Answered => Solved Kun Zeng 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

Re: [Yade-users] [Question #657677]: How to export and import a irregular shape particles model.

2017-09-10 Thread Kun Zeng
Question #657677 on Yade changed: https://answers.launchpad.net/yade/+question/657677 Kun Zeng posted a new comment: Hi Jan, Thanks for your suggestion. However, when I add a code like this: # gravel polyhedra_utils.fillBox((0,0,0),(width,thick,fillBoxHFactor*height),mat,sizemin=3*[sizeMin

[Yade-users] [Question #657677]: How to export and import a irregular shape particles model.

2017-09-06 Thread Kun Zeng
New question #657677 on Yade: https://answers.launchpad.net/yade/+question/657677 Hi all, I am a new user of yade. I tried polyhedra particles falling down into a box. I am wondering how can I export this model after it finishes this falling process and how to import it and down the next simula