Re: [Yade-users] [Question #657232]: Need suggestions on the computer server for YADE computation.

2017-09-01 Thread Christian Jakob
Question #657232 on Yade changed: https://answers.launchpad.net/yade/+question/657232 Status: Open => Answered Christian Jakob proposed the following answer: Hi, I would definitely prefer more single CPU power and less number of CPUs because DEM is bad to parallelize (in general, not j

Re: [Yade-users] [Question #644873]: getroundness

2017-07-04 Thread Christian Jakob
Question #644873 on Yade changed: https://answers.launchpad.net/yade/+question/644873 Christian Jakob posted a new comment: Hi, I developed the code for getRoundness function. It should work for any mixed clump-sphere-packing. You can have a look at the source code [1]. I dont know why

Re: [Yade-users] [Question #599179]: Capillary contact law

2017-03-29 Thread Christian Jakob
Question #599179 on Yade changed: https://answers.launchpad.net/yade/+question/599179 Christian Jakob posted a new comment: Hi, I think the best way to understand capillary effect on particle forces is a force-distance-plot. Fortunately I have one in my PhD. You can have a look at page 35 (pic

Re: [Yade-users] [Question #536811]: clump generation for sphere larger than one given size

2017-03-08 Thread Christian Jakob
Question #536811 on Yade changed: https://answers.launchpad.net/yade/+question/536811 Status: Open => Answered Christian Jakob proposed the following answer: hi, using O.bodies.replaceByClumps() within a loop is not a good idea. to solve your problem i see two ways: 1.) you gener

Re: [Yade-users] [Question #428045]: introduction

2017-01-04 Thread Christian Jakob
Question #428045 on Yade changed: https://answers.launchpad.net/yade/+question/428045 Status: Open => Answered Christian Jakob proposed the following answer: Hi You just have to type "yade tutorial" into google... Regards, Christian -- You received this question notific

Re: [Yade-users] [Question #402952]: Using a gts surface as a shell and filling it using radius expansion method

2016-10-12 Thread Christian Jakob
Question #402952 on Yade changed: https://answers.launchpad.net/yade/+question/402952 Christian Jakob proposed the following answer: I am not familiar with polyhedrons, but examples can be found here: https://github.com/yade/trunk/tree/master/examples/polyhedra -- You received this question

Re: [Yade-users] [Question #402952]: Using a gts surface as a shell and filling it using radius expansion method

2016-10-12 Thread Christian Jakob
Question #402952 on Yade changed: https://answers.launchpad.net/yade/+question/402952 Status: Open => Needs information Christian Jakob requested more information: Hi, Do you speak about clumps (rigid/non-deformable bodies consisting of several spherical particles) or about clust

Re: [Yade-users] [Question #394789]: Using radius expansion method to bulid a DEM model

2016-09-14 Thread Christian Jakob
Question #394789 on Yade changed: https://answers.launchpad.net/yade/+question/394789 Status: Open => Answered Christian Jakob proposed the following answer: Hi, Please have a look at the triax-tutorial. The TriaxialStressController provides the option "internalCompaction",

Re: [Yade-users] [Question #384899]: VoxelPorosity

2016-09-13 Thread Christian Jakob
Question #384899 on Yade changed: https://answers.launchpad.net/yade/+question/384899 Status: Open => Answered Christian Jakob proposed the following answer: I investigated your script a little bit and tried to use another range in voxelPorosity() function: VP=utils.voxelPorosity(200,(-g

Re: [Yade-users] [Question #384899]: VoxelPorosity

2016-09-07 Thread Christian Jakob
Question #384899 on Yade changed: https://answers.launchpad.net/yade/+question/384899 Status: Open => Answered Christian Jakob proposed the following answer: Hi, For voxelPorosity you need to specify a start point/vector and an end point/vector, not a volume. It will divide the cub

Re: [Yade-users] [Question #371126]: particles fly out of boundary

2016-08-30 Thread Christian Jakob
Question #371126 on Yade changed: https://answers.launchpad.net/yade/+question/371126 Status: Open => Answered Christian Jakob proposed the following answer: I am not familiar with randomDensePack, but as the name indicates it will generate a dense packing. So maybe particles are overlapp

Re: [Yade-users] [Question #371126]: particles fly out of boundary

2016-08-30 Thread Christian Jakob
Question #371126 on Yade changed: https://answers.launchpad.net/yade/+question/371126 Status: Open => Answered Christian Jakob proposed the following answer: Hi, Did you try to use a lower time step? -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #204526]: delete particles with active capillary law

2016-08-23 Thread Christian Jakob
Question #204526 on Yade changed: https://answers.launchpad.net/yade/+question/204526 Christian Jakob posted a new comment: O.bodies.erase(id) is working fine in this case. -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #295676]: Pack.inCylinder with specific clump

2016-06-28 Thread Christian Jakob
Question #295676 on Yade changed: https://answers.launchpad.net/yade/+question/295676 Status: Open => Answered Christian Jakob proposed the following answer: Hi, You can try replaceByClumps() method (see example in clumps folder). The procedure is to create spheres first and replace t

Re: [Yade-users] [Question #294232]: change in volume of meniscus as a function of capillary pressure

2016-05-25 Thread Christian Jakob
Question #294232 on Yade changed: https://answers.launchpad.net/yade/+question/294232 Status: Open => Answered Christian Jakob proposed the following answer: I think you do not need i.phys.isBroken at all. What you need is at least 1 step between parameter change and measurement. Good l

Re: [Yade-users] [Question #294232]: change in volume of meniscus as a function of capillary pressure

2016-05-25 Thread Christian Jakob
Question #294232 on Yade changed: https://answers.launchpad.net/yade/+question/294232 Status: Open => Answered Christian Jakob proposed the following answer: Hi, O.engines = O.engines[:3]+[Law2_ScGeom_CapillaryPhys_Capillarity(capillaryPressure=cur_capillary,label='capillary')]+O.engine

Re: [Yade-users] [Question #294215]: how computer configuration to run discrete element method in YADE

2016-05-25 Thread Christian Jakob
Question #294215 on Yade changed: https://answers.launchpad.net/yade/+question/294215 Status: Open => Answered Christian Jakob proposed the following answer: Please have a look to the installation instructions: https://yade-dem.org/doc/installation.html#prerequisities -- You recei

Re: [Yade-users] [Question #291202]: Clumping - angl of repose

2016-05-09 Thread Christian Jakob
Question #291202 on Yade changed: https://answers.launchpad.net/yade/+question/291202 Status: Open => Answered Christian Jakob proposed the following answer: Hi, I did not investigate your script very deeply, but I guess the explosion arises from replaceByClumps() function. A workaro

Re: [Yade-users] [Question #292663]: capillary pressure

2016-04-28 Thread Christian Jakob
Question #292663 on Yade changed: https://answers.launchpad.net/yade/+question/292663 Status: Open => Answered Christian Jakob proposed the following answer: Hi, I get the same message, when there is a contact between particles with radius quotient R1/R2 > 10. The solution for this co

Re: [Yade-users] [Question #279359]: MakeCloud() single-threaded?

2015-12-17 Thread Christian Jakob
Question #279359 on Yade changed: https://answers.launchpad.net/yade/+question/279359 Status: Open => Answered Christian Jakob proposed the following answer: Hi, makeCloud() is used for particle generation and has no influence on DEM calculation cycle. It is not parallelized atm

Re: [Yade-users] [Question #279270]: Problem with efficiency

2015-12-16 Thread Christian Jakob
Question #279270 on Yade changed: https://answers.launchpad.net/yade/+question/279270 Status: Open => Needs information Christian Jakob requested more information: Hi, Does the generation of clumps takes longer in the 1.20 version, or does the calculation takes longer? Can you please ch

Re: [Yade-users] [Question #275973]: Mannually Update Location of Components of Clumps

2015-12-01 Thread Christian Jakob
Question #275973 on Yade changed: https://answers.launchpad.net/yade/+question/275973 Christian Jakob proposed the following answer: If you really need to modify your clumps, I think O.bodies.releaseFromClump(0,3) O.bodies.addToClump([0],3) is the only way I know. -- You received

Re: [Yade-users] [Question #275973]: Mannually Update Location of Components of Clumps

2015-11-30 Thread Christian Jakob
Question #275973 on Yade changed: https://answers.launchpad.net/yade/+question/275973 Christian Jakob posted a new comment: Hi, I do not understand the reason this: > ## here is the example: > a = utils.sphere([0,0,0],1) > b = utils.sphere([0,0,1],1) > c = utils.sphe

Re: [Yade-users] [Question #270627]: translate problem

2015-08-25 Thread Christian Jakob
Question #270627 on Yade changed: https://answers.launchpad.net/yade/+question/270627 Christian Jakob posted a new comment: Hi, We (Yade community) really try to help people with answers on questions or solutions for problems. Unfortunately sometimes the questions can not be answered

Re: [Yade-users] [Question #270747]: Clumps

2015-08-24 Thread Christian Jakob
Question #270747 on Yade changed: https://answers.launchpad.net/yade/+question/270747 Status: Open = Answered Christian Jakob proposed the following answer: Hi, I do not fully understand your question, but I guess you want to avoid the explosion of your model after the replacement step

Re: [Yade-users] [Question #270488]: Clumping

2015-08-18 Thread Christian Jakob
Question #270488 on Yade changed: https://answers.launchpad.net/yade/+question/270488 Status: Open = Answered Christian Jakob proposed the following answer: Hi, Just a short answer regarding 1- and 2-: 1- Please have a look at [1]. There is also an example, see [2]. 2- I did not test your

Re: [Yade-users] [Question #269942]: How calculate the repose angle

2015-08-06 Thread Christian Jakob
Question #269942 on Yade changed: https://answers.launchpad.net/yade/+question/269942 Status: Open = Answered Christian Jakob proposed the following answer: I think you need to click on the mouse wheel ... (as mentioned in the script) -- You received this question notification because you

Re: [Yade-users] [Question #269942]: How calculate the repose angle

2015-08-04 Thread Christian Jakob
Question #269942 on Yade changed: https://answers.launchpad.net/yade/+question/269942 Status: Open = Answered Christian Jakob proposed the following answer: Hi, I had the same problem some years ago. I used pythons scatter function for this purpose. You need to give some input data

Re: [Yade-users] [Question #269912]: Problem with ClumpTemplate()

2015-08-02 Thread Christian Jakob
Question #269912 on Yade changed: https://answers.launchpad.net/yade/+question/269912 Status: Open = Answered Christian Jakob proposed the following answer: Hi, Did you had a look at the example [1] after line 83? HIH, Christian [1] https://github.com/yade/trunk/blob/master/examples

[Yade-users] [Question #253562]: Status of bug #1362090 changed to 'Fix Released' in Yade

2015-02-28 Thread Christian Jakob
Bug #1362090 status changed in Yade: Confirmed = Fix Released https://bugs.launchpad.net/yade/+bug/1362090 boundary thickness is 0.001 by default in FlowEngine This bug is linked to #253562. PFV compressibility in undrained triaxial test https://answers.launchpad.net/yade/+question/253562

Re: [Yade-users] [Question #261529]: a cylinder as a single body

2015-02-01 Thread Christian Jakob
Question #261529 on Yade changed: https://answers.launchpad.net/yade/+question/261529 Christian Jakob posted a new comment: Hi, updateProperties function assumes, that clump members are spheres. it will not work for facets atm ... regards, christian -- You received this question notification

Re: [Yade-users] [Question #258987]: updating O.bodies

2014-12-13 Thread Christian Jakob
Question #258987 on Yade changed: https://answers.launchpad.net/yade/+question/258987 Christian Jakob proposed the following answer: Hi, There is already a calm function in yade, that you can use: https://yade-dem.org/doc/yade.utils.html?highlight=calm#yade._utils.calm Regards, Christian

Re: [Yade-users] [Question #258859]: Clump mass issue with replaceByClumps()

2014-12-10 Thread Christian Jakob
Question #258859 on Yade changed: https://answers.launchpad.net/yade/+question/258859 Christian Jakob proposed the following answer: Hi, Thank you for your feedback on yade's clump logic. Your results look good even for a low discretization (in your case 6) ... updateClumpProperties() can

Re: [Yade-users] [Question #258859]: Clump mass issue with replaceByClumps()

2014-12-09 Thread Christian Jakob
Question #258859 on Yade changed: https://answers.launchpad.net/yade/+question/258859 Status: Open = Answered Christian Jakob proposed the following answer: Hi, For inertia/mass/volume calculation, use O.bodies.replaceByClumps(templates,[1.0], discretization=5) where discretization

Re: [Yade-users] [Question #257388]: Creating a pack with Nc more than 6

2014-11-13 Thread Christian Jakob
Question #257388 on Yade changed: https://answers.launchpad.net/yade/+question/257388 Christian Jakob posted a new comment: Hi, You can use clumps instead of spheres to increase number of contacts. But the packing will not be denser by doing so... Christian -- You received this question

Re: [Yade-users] [Question #257388]: Creating a pack with Nc more than 6

2014-11-13 Thread Christian Jakob
Question #257388 on Yade changed: https://answers.launchpad.net/yade/+question/257388 Christian Jakob posted a new comment: Of course compacting spheres before clumping leads to arbitrary large Nc depending on the number of spheres per clump, but I'm not really sure that clumps will give Nc5

Re: [Yade-users] [Question #255486]: Confusion about tutorial: creating and running simulation

2014-10-07 Thread Christian Jakob
Question #255486 on Yade changed: https://answers.launchpad.net/yade/+question/255486 Status: Open = Answered Christian Jakob proposed the following answer: Hi Robert, In 'Creating simulation', why does the example include an error message? I don't know. The command is working at my

Re: [Yade-users] [Question #255199]: CohFrictMat engine

2014-10-01 Thread Christian Jakob
Question #255199 on Yade changed: https://answers.launchpad.net/yade/+question/255199 Christian Jakob posted a new comment: hi, afaik you have set both factors to 1.2 (aabbEnlargeFactor and interactionDetectionFactor) for correct implementation. christian -- You received this question

Re: [Yade-users] [Question #253562]: PFV compressibility in undrained triaxial test

2014-08-27 Thread Christian Jakob
Question #253562 on Yade changed: https://answers.launchpad.net/yade/+question/253562 Linked to bug: #1362090 https://bugs.launchpad.net/bugs/1362090 problem with pressure calculation in PFV cells -- You received this question notification because you are a member of yade-users,

[Yade-users] [Question #253562]: PFV compressibility in undrained triaxial test

2014-08-25 Thread Christian Jakob
New question #253562 on Yade: https://answers.launchpad.net/yade/+question/253562 Hi, I want to get the pore pressure of a saturated soil sample in an undrained triaxial test when the sample volume is decreasing. ...

Re: [Yade-users] [Question #252374]: Porosity of a mixture of clumps and spheres

2014-07-30 Thread Christian Jakob
Question #252374 on Yade changed: https://answers.launchpad.net/yade/+question/252374 Status: Open = Answered Christian Jakob proposed the following answer: Hi, If you use makeCloud() it is recommended to call O.bodies.updateClumpProperties() It will correct volume/masses/inertia

Re: [Yade-users] [Question #252063]: PFV with clumps?

2014-07-27 Thread Christian Jakob
Question #252063 on Yade changed: https://answers.launchpad.net/yade/+question/252063 Status: Answered = Solved Christian Jakob confirmed that the question is solved: Thanks Bruno Chareyre, that solved my question. -- You received this question notification because you are a member of yade

Re: [Yade-users] [Question #252053]: Yade in PBS

2014-07-23 Thread Christian Jakob
Question #252053 on Yade changed: https://answers.launchpad.net/yade/+question/252053 Christian Jakob posted a new comment: Hi Carl, Nice to hear that you get yade running on your cluster. We are using yade on HPC in Freiberg too. It is hard to say what the problem is. Your pbs script looks

[Yade-users] [Question #252063]: PFV with clumps?

2014-07-23 Thread Christian Jakob
New question #252063 on Yade: https://answers.launchpad.net/yade/+question/252063 Hi, I am thinking about a simulation with clumps and PFV method. I know clumps are not compatible with PFV, yet. I simulate a sand at microscale and want to have a more realistic grain shape using clumps (maybe

Re: [Yade-users] [Question #250157]: minimum computer configuration

2014-06-13 Thread Christian Jakob
Question #250157 on Yade changed: https://answers.launchpad.net/yade/+question/250157 Christian Jakob proposed the following answer: Hi Anna, With my experience I can say, that for DEM calculations following specifications are important: - high CPU frequency - disable multithreading (just use

[Yade-users] [Question #250196]: undrained triax test of fully saturated material (using TriaxialStressController and FlowEngine)

2014-06-13 Thread Christian Jakob
New question #250196 on Yade: https://answers.launchpad.net/yade/+question/250196 Hi, For my simulations it is no problem to do a drained triax test with this PFV options: flow.bndCondIsPressure=[0,0,1,0,0,0] flow.bndCondValue=[0,0,0,0,0,0] I also want to do an undrained test, like this:

Re: [Yade-users] [Question #250196]: undrained triax test of fully saturated material (using TriaxialStressController and FlowEngine)

2014-06-13 Thread Christian Jakob
Question #250196 on Yade changed: https://answers.launchpad.net/yade/+question/250196 Christian Jakob posted a new comment: Hi Jerome, Ok, I see the problem is that FlowEngine supports just incompressible flow. Hm, then the question is how to make FlowEngine compressible? Christian -- You

Re: [Yade-users] [Question #249457]: Results

2014-05-29 Thread Christian Jakob
Question #249457 on Yade changed: https://answers.launchpad.net/yade/+question/249457 Status: Open = Answered Christian Jakob proposed the following answer: Hi Diego, For storing values, you can create a txt file and write data as ascii in it: f = open('myFile.txt','w') #'w' = write

Re: [Yade-users] [Question #247705]: PFV problems with sedimentation in fluid

2014-04-26 Thread Christian Jakob
Question #247705 on Yade changed: https://answers.launchpad.net/yade/+question/247705 Christian Jakob posted a new comment: hi, just a short answer to question (2): stressMask is not good explained in documentation, have a look at examples/triax-tutorial for a better documentation https

Re: [Yade-users] [Question #247158]: Yade rookie

2014-04-18 Thread Christian Jakob
Question #247158 on Yade changed: https://answers.launchpad.net/yade/+question/247158 Status: Open = Answered Christian Jakob proposed the following answer: Hi rookie ;) Assuming you use facets, FrictMat and ScGeom: It seems you forgot to add Ig2_Facet_SphereScGeom() to InteractionLoop

Re: [Yade-users] [Question #245755]: Setting manually the inertia and mass center of clumps

2014-03-20 Thread Christian Jakob
Question #245755 on Yade changed: https://answers.launchpad.net/yade/+question/245755 Christian Jakob posted a new comment: Hi Pascal, I can not really answer your question, but here some notes: - If you use complex clump geometries it is recommended to use the actual Yade version since

Re: [Yade-users] [Question #245755]: Setting manually the inertia and mass center of clumps

2014-03-20 Thread Christian Jakob
Question #245755 on Yade changed: https://answers.launchpad.net/yade/+question/245755 Christian Jakob posted a new comment: Do you use actual for current also in german? ;) right, I am speeking germish, not english ^^ -- You received this question notification because you are a member of yade

Re: [Yade-users] [Question #245072]: exciting box

2014-03-06 Thread Christian Jakob
Question #245072 on Yade changed: https://answers.launchpad.net/yade/+question/245072 Christian Jakob posted a new comment: Hi, I am not sure, but I think you forgot to set the materials to your bodies (spheres and facets). Changing these line may solve it (not tested): Mat

Re: [Yade-users] [Question #245072]: exciting box

2014-03-06 Thread Christian Jakob
Question #245072 on Yade changed: https://answers.launchpad.net/yade/+question/245072 Christian Jakob posted a new comment: sorry, wrong code. it has to be like... Mat = FrictMat(...) O.materials.append(Mat) -- You received this question notification because you are a member of yade-users

Re: [Yade-users] [Question #244312]: Clump templates

2014-03-01 Thread Christian Jakob
Question #244312 on Yade changed: https://answers.launchpad.net/yade/+question/244312 Christian Jakob posted a new comment: What does it do the new feature? Well for your script replacing 50 spheres by clumps I got a generation time about 35 seconds. The new feature allows you to run it at all

Re: [Yade-users] [Question #244312]: Clump templates

2014-02-28 Thread Christian Jakob
Question #244312 on Yade changed: https://answers.launchpad.net/yade/+question/244312 Christian Jakob posted a new comment: Hi Behzad, I hope you enjoy this new feature too ;) https://github.com/yade/trunk/commit/828893babba373d7c376c084a288e6af2f910512 Cheers, Christian -- You received

Re: [Yade-users] [Question #244634]: only 1 core working out of 32

2014-02-28 Thread Christian Jakob
Question #244634 on Yade changed: https://answers.launchpad.net/yade/+question/244634 Christian Jakob proposed the following answer: Definitely better! But still only 8 out of 16 CPU are used, between 30 and 50%. Instead 8 cores were never used for the entire time that yade was running. You

Re: [Yade-users] [Question #244634]: only 1 core working out of 32

2014-02-28 Thread Christian Jakob
Question #244634 on Yade changed: https://answers.launchpad.net/yade/+question/244634 Christian Jakob proposed the following answer: forgot to say that you should not use a higher value than 8 in the -j option: yade-Unknown -j8 checkPerf.py -- You received this question notification because

Re: [Yade-users] [Question #244312]: Clump templates

2014-02-26 Thread Christian Jakob
Question #244312 on Yade changed: https://answers.launchpad.net/yade/+question/244312 Status: Open = Needs information Christian Jakob requested more information: setting integrateInertia=False doesns't fix the problem. confirmed One problem I detected with my own script is, that I

Re: [Yade-users] [Question #244312]: Clump templates

2014-02-26 Thread Christian Jakob
Question #244312 on Yade changed: https://answers.launchpad.net/yade/+question/244312 Christian Jakob posted a new comment: sorry forgot to end my sentence: One problem I detected with my own script is, that when using replaceByClumps in a periodic space sometimes balls are created outside

Re: [Yade-users] [Question #244312]: Clump templates

2014-02-26 Thread Christian Jakob
Question #244312 on Yade changed: https://answers.launchpad.net/yade/+question/244312 Christian Jakob posted a new comment: when using replaceByClumps in a periodic space sometimes balls are created outside periodic cell It should not be a problem. Is it? In yade's PBC particles can

Re: [Yade-users] [Question #244312]: Clump templates

2014-02-26 Thread Christian Jakob
Question #244312 on Yade changed: https://answers.launchpad.net/yade/+question/244312 Status: Needs information = Answered Christian Jakob proposed the following answer: Hi again, I have a good and a bad message for you: The good one is: I found the problem and fixed it [1]. The bad one

Re: [Yade-users] [Question #244312]: Clump templates

2014-02-26 Thread Christian Jakob
Question #244312 on Yade changed: https://answers.launchpad.net/yade/+question/244312 Christian Jakob proposed the following answer: Would you please let me know how can I update my code to get change you made? I appreciate it. There are different possibilities: https://yade-dem.org/doc

Re: [Yade-users] [Question #244312]: Clump templates

2014-02-25 Thread Christian Jakob
Question #244312 on Yade changed: https://answers.launchpad.net/yade/+question/244312 Christian Jakob posted a new comment: Hi Behzad, Some time ago Francois Kneib detected this bug in clump generation: https://bugs.launchpad.net/yade/+bug/1273172 Please have a look at this. Is it the same

Re: [Yade-users] [Question #243019]: loop over cells in PFV using id

2014-01-31 Thread Christian Jakob
Question #243019 on Yade changed: https://answers.launchpad.net/yade/+question/243019 Christian Jakob posted a new comment: There is no python wrapping of the cell objects , hence we need one getter per variable. wouldnt it be better create wrapper for cell objects, so that users can do

Re: [Yade-users] [Question #243019]: loop over cells in PFV using id

2014-01-31 Thread Christian Jakob
Question #243019 on Yade changed: https://answers.launchpad.net/yade/+question/243019 Status: Answered = Solved Christian Jakob confirmed that the question is solved: Thanks Bruno Chareyre, that solved my question. -- You received this question notification because you are a member of yade

[Yade-users] [Question #243019]: loop over cells in PFV using id

2014-01-30 Thread Christian Jakob
New question #243019 on Yade: https://answers.launchpad.net/yade/+question/243019 Hi, How can I loop over all cells in PFV method? I noticed there is an id of each cell, but how can I find out all ids? -- You received this question notification because you are a member of yade-users, which is

Re: [Yade-users] [Question #226679]: Clump with wall

2014-01-09 Thread Christian Jakob
Question #226679 on Yade changed: https://answers.launchpad.net/yade/+question/226679 Christian Jakob proposed the following answer: But the Programme stop and warnt NameError: name 'makeClumpTemplate' is not defined. The command is clumpTemplate(), not makeClumpTemplate() ... hih c

Re: [Yade-users] [Question #240620]: tetra +facet

2013-12-12 Thread Christian Jakob
Question #240620 on Yade changed: https://answers.launchpad.net/yade/+question/240620 Christian Jakob posted a new comment: Polyhedra code was implemented with 3715, so the examples should work at 3730 http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/revision/3715 -- You received

Re: [Yade-users] [Question #240557]: error during make install

2013-12-11 Thread Christian Jakob
Question #240557 on Yade changed: https://answers.launchpad.net/yade/+question/240557 Christian Jakob posted a new comment: I try to install Yade on the high performance cluster of our university. I like to hear that. Do you really need GUI at the cluster? Does this cluster provide GUI

Re: [Yade-users] [Question #240620]: tetra +facet

2013-12-11 Thread Christian Jakob
Question #240620 on Yade changed: https://answers.launchpad.net/yade/+question/240620 Christian Jakob posted a new comment: hi martin, there are several examples in examples/tetra and examples/polyhedra folders. good luck, christian -- You received this question notification because you

[Yade-users] [Question #240628]: get fluid velocity in PFV cells

2013-12-11 Thread Christian Jakob
New question #240628 on Yade: https://answers.launchpad.net/yade/+question/240628 Hi, I am using PFV and want to know how I can get fluid velocity in the cells. While visualisation in paraview one can see fluid velocities, but how can i get this information in python code? I tried following

Re: [Yade-users] [Question #238797]: Update interaction physics after changing material of spheres

2013-11-07 Thread Christian Jakob
Question #238797 on Yade changed: https://answers.launchpad.net/yade/+question/238797 Christian Jakob proposed the following answer: You can avoid explosions by using calm() function, which sets velocities of all bodies to zero. In addition with a pyrunner, it can help you ... You can try

Re: [Yade-users] [Question #233232]: F

2013-10-17 Thread Christian Jakob
Question #233232 on Yade changed: https://answers.launchpad.net/yade/+question/233232 Christian Jakob posted a new comment: Finally I could fix the bouyancy example. The problem was in saturatedList: When a clump was added to this (python) list, its permanent forces added by addF() disappeared

Re: [Yade-users] [Question #233320]: compiling with quad precision

2013-10-14 Thread Christian Jakob
Question #233320 on Yade changed: https://answers.launchpad.net/yade/+question/233320 Christian Jakob posted a new comment: maxF = 0.0 minF = 1e9 for b in O.bodies: F = O.forces.f(b.id) maxF = max(maxF,F.norm()) minF = min(minF,F.norm()) -- You received this question notification because you

Re: [Yade-users] [Question #233320]: compiling with quad precision

2013-10-11 Thread Christian Jakob
Question #233320 on Yade changed: https://answers.launchpad.net/yade/+question/233320 Christian Jakob posted a new comment: std 0,0313071957 0,0460952889 hi matthias, thanks for this interesting results. that means quad precision shows nearly no effect on standard deviation in multithreading

Re: [Yade-users] [Question #233320]: compiling with quad precision

2013-10-11 Thread Christian Jakob
Question #233320 on Yade changed: https://answers.launchpad.net/yade/+question/233320 Christian Jakob posted a new comment: this standard deviation is the standard deviation of the posted data columns. yes, i followed this discussion from the beginning. so of course, also long double

Re: [Yade-users] [Question #233232]: F

2013-10-04 Thread Christian Jakob
Question #233232 on Yade changed: https://answers.launchpad.net/yade/+question/233232 Christian Jakob posted a new comment: Thanks Bruno for this new feature. Unfortunately it is not possible to use O.forces.addF() for clumps ... -- You received this question notification because you

Re: [Yade-users] [Question #233232]: F

2013-10-04 Thread Christian Jakob
Question #233232 on Yade changed: https://answers.launchpad.net/yade/+question/233232 Christian Jakob posted a new comment: https://github.com/yade/trunk/blob/master/examples/clumps/apply- buoyancy-clumps.py replace lines 99 - 104 by this line: O.forces.addF(b.id,F_buo,permanent=True) and you

Re: [Yade-users] [Question #233232]: F

2013-10-04 Thread Christian Jakob
Question #233232 on Yade changed: https://answers.launchpad.net/yade/+question/233232 Christian Jakob posted a new comment: Just to be sure, we are talking about the same script. This part is working fine: F_buo = -1*(pi/3)*dh*dh*(3*rad - dh)*rho_f*integrator.gravity # = -V*rho*g #apply

Re: [Yade-users] [Question #233232]: F

2013-10-04 Thread Christian Jakob
Question #233232 on Yade changed: https://answers.launchpad.net/yade/+question/233232 Christian Jakob posted a new comment: ... to be more precise: I also tested this 2-liner, which works equally well: O.bodies.appendClumped([sphere((0,0,0),1),sphere((1,0,0),1)]) O.forces.addF(2,(1,0,0),True

Re: [Yade-users] [Question #236206]: Capillary force as a function of interparticle distance

2013-10-02 Thread Christian Jakob
Question #236206 on Yade changed: https://answers.launchpad.net/yade/+question/236206 Status: Open = Answered Christian Jakob proposed the following answer: Hi, Fixed via: - setting a label to capillary law: Law2_ScGeom_CapillaryPhys_Capillarity(capillaryPressure=40,createDistantMeniscii

Re: [Yade-users] [Question #236323]: Yade-dem.org problem?

2013-10-02 Thread Christian Jakob
Question #236323 on Yade changed: https://answers.launchpad.net/yade/+question/236323 Christian Jakob posted a new comment: Confirm! -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade

Re: [Yade-users] [Question #236721]: Export periodic cell to vtk

2013-10-02 Thread Christian Jakob
Question #236721 on Yade changed: https://answers.launchpad.net/yade/+question/236721 Christian Jakob proposed the following answer: afaik, there is no such tool. i would definitely use this new feature! thanks in advance -- You received this question notification because you are a member

Re: [Yade-users] [Question #236206]: Capillary force as a function of interparticle distance

2013-10-01 Thread Christian Jakob
Question #236206 on Yade changed: https://answers.launchpad.net/yade/+question/236206 Christian Jakob posted a new comment: Hi, Sorry for this late reply. Are you still facing this problem? Christian. -- You received this question notification because you are a member of yade-users, which

Re: [Yade-users] [Question #235985]: Highest clump position in clump cloud

2013-09-20 Thread Christian Jakob
Question #235985 on Yade changed: https://answers.launchpad.net/yade/+question/235985 Status: Open = Answered Christian Jakob proposed the following answer: hi sergio, it is a bit tricky, but possible. one idea: - give your clump clouds different color - loop over clumps - find maximum

Re: [Yade-users] [Question #235552]: How to pass a python class to a C++ class

2013-09-11 Thread Christian Jakob
Question #235552 on Yade changed: https://answers.launchpad.net/yade/+question/235552 Christian Jakob posted a new comment: Hi, I tried to pass it as a python::object Yes this is tricky. An example how you can pass python lists and objects is here: https://github.com/yade/trunk/blob/master/py

Re: [Yade-users] [Question #235259]: How to count number of interactions

2013-09-06 Thread Christian Jakob
Question #235259 on Yade changed: https://answers.launchpad.net/yade/+question/235259 Status: Open = Answered Christian Jakob proposed the following answer: Maybe the problem is, that the material id can not be used for specify a material (not sure, if this is the problem) instead

Re: [Yade-users] [Question #235259]: How to count number of interactions

2013-09-06 Thread Christian Jakob
Question #235259 on Yade changed: https://answers.launchpad.net/yade/+question/235259 Christian Jakob proposed the following answer: My actual problem is, that only 1 interaction does appear in the container O.interactions. How many interactions would you expect from a simple model with one

Re: [Yade-users] [Question #235138]: how to define friction at the boundaries in triaxial test

2013-09-05 Thread Christian Jakob
Question #235138 on Yade changed: https://answers.launchpad.net/yade/+question/235138 Christian Jakob proposed the following answer: Hi, how ever, i have some additional development during the simulation. an error named FATAL /build/buildd/yade-0.70.0/core/ThreadRunner.cpp:31 run

Re: [Yade-users] [Question #235138]: how to define friction at the boundaries in triaxial test

2013-09-04 Thread Christian Jakob
Question #235138 on Yade changed: https://answers.launchpad.net/yade/+question/235138 Status: Open = Answered Christian Jakob proposed the following answer: Hi stephen, Welcome to yade community. In yade you have to define materials (e.g. one material for particles and one for boundaries

Re: [Yade-users] [Question #235138]: how to define friction at the boundaries in triaxial test

2013-09-04 Thread Christian Jakob
Question #235138 on Yade changed: https://answers.launchpad.net/yade/+question/235138 Status: Open = Answered Christian Jakob proposed the following answer: in your script i see some inconsistencies, that can lead to unexpected results: # 1. problem: idSand=O.materials.append(FrictMat

Re: [Yade-users] [Question #233232]: F

2013-08-21 Thread Christian Jakob
Question #233232 on Yade changed: https://answers.launchpad.net/yade/+question/233232 Christian Jakob posted a new comment: Actually this force will be erased at the next step, right? right, i tested that already. It gives me an idea on a possible variant that would store user defined

Re: [Yade-users] [Question #233241]: how to get the body numbers who is contact with a sphere

2013-07-30 Thread Christian Jakob
Question #233241 on Yade changed: https://answers.launchpad.net/yade/+question/233241 Christian Jakob posted a new comment: did you try this? count = 0 for i in O.interactions.withBody(i): if i.isReal: count += 1 print count -- You received this question notification because you

Re: [Yade-users] [Question #233241]: how to get the body numbers who is contact with a sphere

2013-07-30 Thread Christian Jakob
Question #233241 on Yade changed: https://answers.launchpad.net/yade/+question/233241 Status: Open = Answered Christian Jakob proposed the following answer: hm, personally I prefer using proofed and implemented methods: #if you have clumps in the model: coord_num = avgNumInteractions

Re: [Yade-users] [Question #233241]: how to get the body numbers who is contact with a sphere

2013-07-30 Thread Christian Jakob
Question #233241 on Yade changed: https://answers.launchpad.net/yade/+question/233241 Christian Jakob proposed the following answer: Yes, a simple way to get the coordination numbers in whole, but is there something wrong with my script to get coordination numbers in a small regin. So write

Re: [Yade-users] [Question #232941]: Capillary pressure between two particles

2013-07-25 Thread Christian Jakob
Question #232941 on Yade changed: https://answers.launchpad.net/yade/+question/232941 Christian Jakob proposed the following answer: Sorry for my totally dump suggestion in the last post. I checked out your script today and recognized, that you tried to plot a vector b0displ over iteration

Re: [Yade-users] [Question #232941]: Capillary pressure between two particles

2013-07-25 Thread Christian Jakob
Question #232941 on Yade changed: https://answers.launchpad.net/yade/+question/232941 Status: Open = Answered Christian Jakob proposed the following answer: None of them don't affect the movement of particles. Did you play with suction parameter in the script I send you? It definitely

Re: [Yade-users] [Question #232941]: Capillary pressure between two particles

2013-07-25 Thread Christian Jakob
Question #232941 on Yade changed: https://answers.launchpad.net/yade/+question/232941 Christian Jakob posted a new comment: ... , where aabb = axis aligned bounding box: https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Aabb -- You received this question notification because you

Re: [Yade-users] [Question #232941]: Capillary pressure between two particles

2013-07-24 Thread Christian Jakob
Question #232941 on Yade changed: https://answers.launchpad.net/yade/+question/232941 Christian Jakob posted a new comment: Sorry if my suggestions are wrong, I can not check out your script right now. But I think it is just a problem in order of commands. If you plot before calculation, you

  1   2   3   4   >