Re: [Yade-users] [Question #688342]: how to use plt.plot in Yade?

2020-01-30 Thread Robert Caulk
Question #688342 on Yade changed: https://answers.launchpad.net/yade/+question/688342 Status: Open => Answered Robert Caulk proposed the following answer: >> I give error as these variables are defined in a function(addplot history >> function). >>NameError: name 'e22' is not defined addpl

Re: [Yade-users] [Question #688342]: how to use plt.plot in Yade?

2020-01-30 Thread Jan Stránský
Question #688342 on Yade changed: https://answers.launchpad.net/yade/+question/688342 Jan Stránský proposed the following answer: Hello, > how to use plt.plot in Yade? the same way as in any other python script > My main problem with plot.plot is I cannot make multiple figures for multiple plot

Re: [Yade-users] [Question #688340]: Problem about running yade in parallel

2020-01-30 Thread Jan Stránský
Question #688340 on Yade changed: https://answers.launchpad.net/yade/+question/688340 Jan Stránský posted a new comment: I am using Ubuntu 18.04 LTS. I have tried with yade 2018-02b without any problem Then I used relatively new source version (2020-01-06.git-f6677ba) and got segmentation fault :

Re: [Yade-users] [Question #688345]: Precrack

2020-01-30 Thread Robert Caulk
Question #688345 on Yade changed: https://answers.launchpad.net/yade/+question/688345 Status: Open => Answered Robert Caulk proposed the following answer: i.phys.isCohesive = False [1] Where i is the interaction between two particles of interest (e.g. 11 and 16). [1]https://yade- dem.org/do

Re: [Yade-users] [Question #688343]: Slow calculation speed with a large number of facets imported from stl mesh

2020-01-30 Thread Jan Stránský
Question #688343 on Yade changed: https://answers.launchpad.net/yade/+question/688343 Status: Open => Answered Jan Stránský proposed the following answer: > spherical particles is 6,000 and the number of the facets from stl mesh is > 447,262. > i am wondering how to deal with a large number

Re: [Yade-users] [Question #688345]: Precrack

2020-01-30 Thread Robert Caulk
Question #688345 on Yade changed: https://answers.launchpad.net/yade/+question/688345 Robert Caulk proposed the following answer: Also, if you are thinking about using smooth joint logic, then you would use [1]. [1]https://yade- dem.org/doc/yade.wrapper.html#yade.wrapper.JCFpmPhys.isOnJoint --

Re: [Yade-users] [Question #688342]: how to use plt.plot in Yade?

2020-01-30 Thread ehsan benabbas
Question #688342 on Yade changed: https://answers.launchpad.net/yade/+question/688342 Status: Answered => Solved ehsan benabbas confirmed that the question is solved: Thank you Jan. You're awesome. That solved my problem and my code is kind of finalized now. I tried to make it nicer and make

Re: [Yade-users] [Question #688343]: Slow calculation speed with a large number of facets imported from stl mesh

2020-01-30 Thread gaoxuesong
Question #688343 on Yade changed: https://answers.launchpad.net/yade/+question/688343 Status: Answered => Solved gaoxuesong confirmed that the question is solved: Thanks, Jan. I cut off some parts of the mesh and get a total number of 93,011. The calculation speed is 60 iter/s. i think this c

[Yade-users] [Question #688366]: Error to get the final value of minimum and maximum radius

2020-01-30 Thread ehsan benabbas
New question #688366 on Yade: https://answers.launchpad.net/yade/+question/688366 Hello, I am using Ubuntu 18.04, and Yade 2019-08-08.git-775ae74 I have my code done based on [1] and somewhere at the middle of code I want to get the values of maximum and minimum radius of the packing. I used th

[Yade-users] [Question #688367]: Yade 2019.01a uses python2 or python3

2020-01-30 Thread Leonard
New question #688367 on Yade: https://answers.launchpad.net/yade/+question/688367 Hi, Just a quick question. I moved to Ubuntu19.04, and installed Yade 2019.01a. I wonder which python version Yade 2019.01a uses, so that I will install anaconda 2 or 3 correspondingly. Thanks, Leonard -- You rece

Re: [Yade-users] [Question #688366]: Error to get the final value of minimum and maximum radius

2020-01-30 Thread ehsan benabbas
Question #688366 on Yade changed: https://answers.launchpad.net/yade/+question/688366 Status: Open => Solved ehsan benabbas confirmed that the question is solved: I solved my problem. -- You received this question notification because your team yade-users is an answer contact for Yade. ___

[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

Re: [Yade-users] [Question #688367]: Yade 2019.01a uses python2 or python3

2020-01-30 Thread Jan Stránský
Question #688367 on Yade changed: https://answers.launchpad.net/yade/+question/688367 Status: Open => Answered Jan Stránský proposed the following answer: Hi, start Yade and execute: import sys; print(sys.version) it will tell you the python version used cheers Jan -- You received this ques

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

2020-01-30 Thread Jan Stránský
Question #688370 on Yade changed: https://answers.launchpad.net/yade/+question/688370 Status: Open => Answered Jan Stránský proposed the following answer: pack.randomDensePack has predicate as a parameter. You are using makeCloud, which is only initiated in a "box". You need to filter the pa

Re: [Yade-users] [Question #688367]: Yade 2019.01a uses python2 or python3

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

Re: [Yade-users] [Question #688280]: How to generate tiny particles in pore space

2020-01-30 Thread Leonard
Question #688280 on Yade changed: https://answers.launchpad.net/yade/+question/688280 Status: Answered => Solved Leonard confirmed that the question is solved: Hi Jan, > I tested the approach you suggested, it works very well, thanks. > rRelFuzz is a relative value. Thanks for your kind not