Re: [Yade-users] [Question #700411]: Aborted (core dumped) occured when I use the Hertz-Minlin contact law with non-zero krot and eta

2022-04-14 Thread Klaus Thoeni
Question #700411 on Yade changed: https://answers.launchpad.net/yade/+question/700411 Klaus Thoeni posted a new comment: I believe this was related to an issue in the GlobalStiffnessTimeStepper which was fixed here [1]. Please can you confirm that everything runs as expected with yadedaily so we

Re: [Yade-users] [Question #696376]: Contact between sphere-gridconnection not detected in a pfacet edge

2021-04-07 Thread Klaus Thoeni
Question #696376 on Yade changed: https://answers.launchpad.net/yade/+question/696376 Klaus Thoeni posted a new comment: Hi John, I am aware of the issue and I have a fix for it. However, it seems that there are some more issues with pFacets and we are trying to solve them. So please be patient

Re: [Yade-users] [Question #695868]: can PFacet deform like a bollon?

2021-03-21 Thread Klaus Thoeni
Question #695868 on Yade changed: https://answers.launchpad.net/yade/+question/695868 Klaus Thoeni posted a new comment: Hi Yong, interesting problem. Let me try to answer your questions: 1. As you already said, the pFacet is deformable. So if you have a hollow cylinder and you apply internal

Re: [Yade-users] [Question #696028]: GridConnection traction test, maximum force

2021-03-15 Thread Klaus Thoeni
Question #696028 on Yade changed: https://answers.launchpad.net/yade/+question/696028 Status: Open => Answered Klaus Thoeni proposed the following answer: Well that's because you interaction fails after a certain time. You should check if the interaction exists and/or stop the simulat

Re: [Yade-users] [Question #696028]: GridConnection traction test, maximum force

2021-03-13 Thread Klaus Thoeni
Question #696028 on Yade changed: https://answers.launchpad.net/yade/+question/696028 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi Fabio, welcome! You can look at the code to see how the threshold is calculated [1], but it's basically the value you def

Re: [Yade-users] [Question #695880]: When close the primary view, the simulation aborted and the terminal shows "Segmentation fault (core dumped)"

2021-03-07 Thread Klaus Thoeni
Question #695880 on Yade changed: https://answers.launchpad.net/yade/+question/695880 Status: Open => Answered Klaus Thoeni proposed the following answer: You can run several yade versions at the same time, so no need to remove it. If you still want to remove you can simply use the pack

Re: [Yade-users] [Question #695880]: When close the primary view, the simulation aborted and the terminal shows "Segmentation fault (core dumped)"

2021-03-05 Thread Klaus Thoeni
Question #695880 on Yade changed: https://answers.launchpad.net/yade/+question/695880 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, this is a known problem and it has been fixed in yadedaily. You can either install yadedaily or instead of pressing the X (Cl

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-25 Thread Klaus Thoeni
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Klaus Thoeni posted a new comment: Thanks for that. You are right. It is even more obvious is you use spheres instead of the cylinders and and extent them over the whole area of the pfactes. The spheres

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-23 Thread Klaus Thoeni
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Klaus Thoeni posted a new comment: Hi John, apparently there seems to be a bug in the distribution of the forces onto the gridNodes [1]. I have to look into it but maybe once fixed it might also fix part

Re: [Yade-users] [Question #695462]: triaxial test with Pfacet

2021-02-21 Thread Klaus Thoeni
Question #695462 on Yade changed: https://answers.launchpad.net/yade/+question/695462 Status: Open => Answered Klaus Thoeni proposed the following answer: Are you saying the spheres are penetrating the pFacets? This could be due to time step or contact stiffness. I suggest you have a p

Re: [Yade-users] [Question #695545]: There is an error fixing DOFs of pfacet?

2021-02-21 Thread Klaus Thoeni
Question #695545 on Yade changed: https://answers.launchpad.net/yade/+question/695545 Status: Open => Answered Klaus Thoeni proposed the following answer: You need to impose the blockedDOFs to the GridNodes. Also, blocking rotation will nit help here, you have to block displacements, beca

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-21 Thread Klaus Thoeni
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Klaus Thoeni posted a new comment: Yes, most likely the instability comes from numerical rounding errors and the error made by the integration of the equation of motion. Now, you are right. Newton damping

Re: [Yade-users] [Question #695587]: applying force on facet

2021-02-18 Thread Klaus Thoeni
Question #695587 on Yade changed: https://answers.launchpad.net/yade/+question/695587 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, facets in Yade are massless and non-dynamic. You cannot apply forces, you can only apply velicities/displacements. If you n

Re: [Yade-users] [Question #695558]: Dynamics of pfacet object does not appear to be correct

2021-02-18 Thread Klaus Thoeni
Question #695558 on Yade changed: https://answers.launchpad.net/yade/+question/695558 Status: Open => Answered Klaus Thoeni proposed the following answer: He John, you can find an example on how to use gridConnections and pFacets here [1]. Just as a reminder, the end no

Re: [Yade-users] [Question #692040]: How to fix a Pfacet with node

2020-07-24 Thread Klaus Thoeni
Question #692040 on Yade changed: https://answers.launchpad.net/yade/+question/692040 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi Ali, you can't just fix a node of a clump. A clump is one body and DOFs are related to the clump and not the elements form

Re: [Yade-users] [Question #685596]: GridConnection and PFacet: Segmentation fault

2019-11-12 Thread Klaus Thoeni
Question #685596 on Yade changed: https://answers.launchpad.net/yade/+question/685596 Klaus Thoeni proposed the following answer: I have reported a bug [1], but not sure when I will be able to look into this. Klaus [1] https://bugs.launchpad.net/yade/+bug/1852197 -- You received this question

Re: [Yade-users] [Question #685596]: GridConnection and PFacet: Segmentation fault

2019-11-12 Thread Klaus Thoeni
Question #685596 on Yade changed: https://answers.launchpad.net/yade/+question/685596 Linked to bug: #1852197 https://bugs.launchpad.net/bugs/1852197 "Segmentation fault on pfacet gridconnection contact" -- You received this question notification because your team yade-users is an

Re: [Yade-users] [Question #685596]: GridConnection and PFacet: Segmentation fault

2019-11-12 Thread Klaus Thoeni
Question #685596 on Yade changed: https://answers.launchpad.net/yade/+question/685596 Status: Open => Answered Klaus Thoeni proposed the following answer: I had a brief look at this and could reproduce your segmentation fault. At this stage I don't know where it is coming from. somethin

Re: [Yade-users] [Question #685596]: GridConnection and PFacet: Segmentation fault

2019-11-11 Thread Klaus Thoeni
Question #685596 on Yade changed: https://answers.launchpad.net/yade/+question/685596 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi Justin, I wouldn't consider this a MWE. Try to reproduce the problem with minimum number of bodies. By minimum I mean one sph

Re: [Yade-users] [Question #685729]: wire=True for pfacet

2019-11-11 Thread Klaus Thoeni
Question #685729 on Yade changed: https://answers.launchpad.net/yade/+question/685729 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi Antonio, from what I remember, wire=True has no effect for pFacets. In fact, it is probably something we should add. Klaus --

Re: [Yade-users] [Question #685596]: GridConnection and PFacet: Segmentation fault

2019-11-08 Thread Klaus Thoeni
Question #685596 on Yade changed: https://answers.launchpad.net/yade/+question/685596 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi Justin, the problem is the material in gridConnection and pfacet. If you use this approach you should only use the material o

Re: [Yade-users] [Question #681410]: Cylindrical flexible membrane from Pfacet elements

2019-06-14 Thread Klaus Thoeni
Question #681410 on Yade changed: https://answers.launchpad.net/yade/+question/681410 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, your variable r has two meanings: you use it for the radius and than as an index in the first loop. Hence, the rad

Re: [Yade-users] [Question #670318]: Yade on ubuntu18.04

2018-06-21 Thread Klaus Thoeni
Question #670318 on Yade changed: https://answers.launchpad.net/yade/+question/670318 Status: Open => Answered Klaus Thoeni proposed the following answer: You need to install libqglviewer-dev-qt5 On Wed, Jun 20, 2018 at 11:27 PM, Henry < question670...@answers.launchpad.net&

Re: [Yade-users] [Question #670300]: about facet and GridConnection

2018-06-20 Thread Klaus Thoeni
Question #670300 on Yade changed: https://answers.launchpad.net/yade/+question/670300 Status: Open => Answered Klaus Thoeni proposed the following answer: You need to use PFacets instead of Factes, see for example here [1]. Klaus [1] https://github.com/yade/trunk/blob/master/examp

Re: [Yade-users] [Question #670318]: Yade on ubuntu18.04

2018-06-20 Thread Klaus Thoeni
Question #670318 on Yade changed: https://answers.launchpad.net/yade/+question/670318 Status: Open => Answered Klaus Thoeni proposed the following answer: Yes, I did just recently. I am planning to update the doc at some stage, just need some time. A few package names changed, other t

Re: [Yade-users] [Question #670076]: PFacet exportation

2018-06-09 Thread Klaus Thoeni
Question #670076 on Yade changed: https://answers.launchpad.net/yade/+question/670076 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi Giulia, export of PFacets to Paraview is not implemented yet. The workaround would be to create "virtual" facets and exp

Re: [Yade-users] [Question #669404]: A bug for using of Pyrunner[]

2018-05-20 Thread Klaus Thoeni
Question #669404 on Yade changed: https://answers.launchpad.net/yade/+question/669404 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, can you reproduce the "bug" with a MWE [1]? You can't expect us to look at 800 lines of code. Also, I can run

Re: [Yade-users] [Question #668727]: How to give each clump a new material and a new color?

2018-05-14 Thread Klaus Thoeni
Question #668727 on Yade changed: https://answers.launchpad.net/yade/+question/668727 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, this should be easy as replaceByClumps actually returns a list: clumpList = O.bodies.replaceByClumps(templates,[.5,.3,.1]) You

Re: [Yade-users] [Question #668998]: Relative velocity for DragEngine()

2018-05-14 Thread Klaus Thoeni
Question #668998 on Yade changed: https://answers.launchpad.net/yade/+question/668998 Klaus Thoeni posted a new comment: To start with, you could also do it in Pyhton, simply create your own engine and run it as a PyRunner, e.g. O.engines=[ # define your engines first ForceResetter

Re: [Yade-users] [Question #668998]: Relative velocity for DragEngine()

2018-05-14 Thread Klaus Thoeni
Question #668998 on Yade changed: https://answers.launchpad.net/yade/+question/668998 Status: Open => Answered Klaus Thoeni proposed the following answer: Have a look at this: https://github.com/yade/trunk/blob/master/pkg/common/ForceEngine.cpp Klaus -- You received this quest

[Yade-users] [yade-users] Offering 1 year postdoc in Australia

2018-02-26 Thread Klaus Thoeni
Dear all, we have the possibility to offer 1 year post-doc to a young researcher who just finished the PhD and is looking for a short term experience here at the University of Newcastle in Australia. We are looking for someone who is familiar with Yade, enthusiastic and motivated. The topic is

Re: [Yade-users] [Question #663143]: Grid connections error/bug?

2018-01-18 Thread Klaus Thoeni
Question #663143 on Yade changed: https://answers.launchpad.net/yade/+question/663143 Klaus Thoeni posted a new comment: Hi Bruno, yes, regression and existing examples seem to be all fine. Below is the MWE to reproduce the problem based on CohesiveCylinderSphere.py as Justin mentioned

Re: [Yade-users] [Question #663143]: Grid connections error/bug?

2018-01-18 Thread Klaus Thoeni
Question #663143 on Yade changed: https://answers.launchpad.net/yade/+question/663143 Status: Open => Answered Klaus Thoeni proposed the following answer: Hm, I did some more testing based on the CohesiveCylinderSphere.py script and can confirm the behaviour. In facts the behaviour se

Re: [Yade-users] [Question #663143]: Grid connections error/bug?

2018-01-18 Thread Klaus Thoeni
Question #663143 on Yade changed: https://answers.launchpad.net/yade/+question/663143 Klaus Thoeni posted a new comment: Hm, I did some more testing based on the CohesiveCylinderSphere.py script and can confirm the behaviour. In facts the behaviour seems to depend on the number of gridconnections

Re: [Yade-users] [Question #663143]: Grid connections error/bug?

2018-01-16 Thread Klaus Thoeni
Question #663143 on Yade changed: https://answers.launchpad.net/yade/+question/663143 Status: Open => Needs information Klaus Thoeni requested more information: Hi, your main() function doesn't really make sense. What exactly are you trying to do? Also, I would recommend you start with

Re: [Yade-users] [Question #660871]: run a script in background

2017-11-23 Thread Klaus Thoeni
Question #660871 on Yade changed: https://answers.launchpad.net/yade/+question/660871 Klaus Thoeni proposed the following answer: Not sure what you are trying to do but it almost sounds like the batch mode could be useful: yade-batch --help yade-batch sometablefile.table yourscript.py

Re: [Yade-users] [Question #658846]: simulate interactions between soil and plastic membrance

2017-10-04 Thread Klaus Thoeni
Question #658846 on Yade changed: https://answers.launchpad.net/yade/+question/658846 Klaus Thoeni posted a new comment: Hi, some examples on how to build membranes are here [1]. You should probably also look into [2] as pFactes are constructed from cylinders. You can combine pFactes

Re: [Yade-users] [Question #656498]: WireMat -> Change Force Displacement curve during simulation

2017-08-18 Thread Klaus Thoeni
Question #656498 on Yade changed: https://answers.launchpad.net/yade/+question/656498 Klaus Thoeni proposed the following answer: It should be possible if you don't change the equilibrium state. So let's say in your first phase you are loading up to a specific strain (or displacement

Re: [Yade-users] [Question #656498]: WireMat -> Change Force Displacement curve during simulation

2017-08-18 Thread Klaus Thoeni
Question #656498 on Yade changed: https://answers.launchpad.net/yade/+question/656498 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, here my short answers: add 1: in order to create an interaction you need to execute 1 step, i.e., just createInteraction(id1,

Re: [Yade-users] [Question #650560]: micro parameters of Frictional material

2017-07-20 Thread Klaus Thoeni
Question #650560 on Yade changed: https://answers.launchpad.net/yade/+question/650560 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi Seti, CohFrictMat is derived from FrictMat, i.e., it is also a FrictMat. If you need rolling resistance you can use CohFrict

Re: [Yade-users] [Question #647827]: sphere factory

2017-07-13 Thread Klaus Thoeni
Question #647827 on Yade changed: https://answers.launchpad.net/yade/+question/647827 Status: Open => Answered Klaus Thoeni proposed the following answer: Have you tried Yade's SPhereFactory [1] or more specifically for a rectangular inlet BoxFactory [2]. An example is given here [3]. Kl

Re: [Yade-users] [Question #646049]: problem in drag force using

2017-07-04 Thread Klaus Thoeni
Question #646049 on Yade changed: https://answers.launchpad.net/yade/+question/646049 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, you need to call the DragEngine before the NewtonIntegrator. HTH Klaus -- You received this question notification because y

Re: [Yade-users] [Question #643798]: gridpfacet.cylinder interacting with walls, spheres, facetbox etc.

2017-06-18 Thread Klaus Thoeni
Question #643798 on Yade changed: https://answers.launchpad.net/yade/+question/643798 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi Andrea, you have to understand how "rounded cylinders" work in yade. They are made of gridNodes (equivalen

Re: [Yade-users] [Question #643154]: installing prerequisites on Ubuntu 14.0.4

2017-06-18 Thread Klaus Thoeni
Question #643154 on Yade changed: https://answers.launchpad.net/yade/+question/643154 Klaus Thoeni proposed the following answer: Hi Mohsen, from my understanding you are installing/compiling an old version because you have old simulation files to load. If so, you should check the prerequisites

Re: [Yade-users] [Question #632960]: How to erase GridConnection

2017-06-04 Thread Klaus Thoeni
Question #632960 on Yade changed: https://answers.launchpad.net/yade/+question/632960 Klaus Thoeni proposed the following answer: Hi Loic, I see the problem but I can't find a quick fix for it at the moment. So deleting and recreating GridConnections is not recommended at the current stage

Re: [Yade-users] [Question #632960]: How to erase GridConnection

2017-05-31 Thread Klaus Thoeni
Question #632960 on Yade changed: https://answers.launchpad.net/yade/+question/632960 Klaus Thoeni proposed the following answer: Hi Loic, I played a bit with it myself and the trick is to also delete the non real interaction. Also, I would first delete the body and then the interaction because

Re: [Yade-users] [Question #636692]: soil-tire contact by FEM-DEM coupling

2017-05-30 Thread Klaus Thoeni
Question #636692 on Yade changed: https://answers.launchpad.net/yade/+question/636692 Status: Open => Answered Klaus Thoeni proposed the following answer: The current implementation of the pFacet is based on gridConnections, i.e., it is a discrete element with "internal contac

Re: [Yade-users] [Question #636692]: soil-tire contact by FEM-DEM coupling

2017-05-30 Thread Klaus Thoeni
Question #636692 on Yade changed: https://answers.launchpad.net/yade/+question/636692 Klaus Thoeni proposed the following answer: Hi Ryota, not sure if it helps but yade has deformable elements the tire could be represented with. If you are interested in the soil-tire interaction I would

Re: [Yade-users] [Question #634452]: A question about the function

2017-05-25 Thread Klaus Thoeni
Question #634452 on Yade changed: https://answers.launchpad.net/yade/+question/634452 Klaus Thoeni proposed the following answer: This is another problem, since cz is a float (cz = O.bodies(i).state.pos[2] gives you one value) and you can't do max(cz) or max(cz). Didn't see this before. Not sure

Re: [Yade-users] [Question #634452]: A question about the function

2017-05-25 Thread Klaus Thoeni
Question #634452 on Yade changed: https://answers.launchpad.net/yade/+question/634452 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, try something like this if you want to loop over all bodies: for i in O.bodies: i.state... Alternatively, toSimulat

Re: [Yade-users] [Question #632960]: How to erase GridConnection

2017-05-23 Thread Klaus Thoeni
Question #632960 on Yade changed: https://answers.launchpad.net/yade/+question/632960 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, I never tried to erase a GridConnection, so not sure what's going on here. Also, without seeing your script it is difficult to gu

Re: [Yade-users] [Question #631650]: Export the model as stl format

2017-05-10 Thread Klaus Thoeni
Question #631650 on Yade changed: https://answers.launchpad.net/yade/+question/631650 Klaus Thoeni proposed the following answer: Hi, here my thoughts: 1. export your packing as txt (r,x,y,z) 2. export a sphere with radius r=1 as STL from e.g. Meshlab (you can specify the subdivision level, i.e

Re: [Yade-users] [Question #631227]: Porosity of a packing with overlapped particles

2017-05-10 Thread Klaus Thoeni
Question #631227 on Yade changed: https://answers.launchpad.net/yade/+question/631227 Status: Open => Answered Klaus Thoeni proposed the following answer: Well, are you sure you selected the right volume? Make sure you use the methods the right way and set the right parameters. With

Re: [Yade-users] [Question #629486]: Particle Cylinder

2017-05-08 Thread Klaus Thoeni
Question #629486 on Yade changed: https://answers.launchpad.net/yade/+question/629486 Klaus Thoeni posted a new comment: Please open a new question as it is not related to your first question! Also, be more specific what you mean by coupled (clump?). Klaus -- You received this question

Re: [Yade-users] [Question #629486]: Particle Cylinder

2017-05-07 Thread Klaus Thoeni
Question #629486 on Yade changed: https://answers.launchpad.net/yade/+question/629486 Status: Open => Answered Klaus Thoeni proposed the following answer: Use PFacets instead of Facets, see [1] for example. HTH Klaus [1] https://github.com/yade/trunk/blob/master/examples/cylind

Re: [Yade-users] [Question #631227]: Porosity of a packing with overlapped particles

2017-05-05 Thread Klaus Thoeni
Question #631227 on Yade changed: https://answers.launchpad.net/yade/+question/631227 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, you should use utils.voxelPorosity [1] instead of utils.porosity(), this works fine for overlapping particles. HTH Klaus [1] ht

Re: [Yade-users] [Question #629486]: Particle Cylinder

2017-05-03 Thread Klaus Thoeni
Question #629486 on Yade changed: https://answers.launchpad.net/yade/+question/629486 Klaus Thoeni proposed the following answer: Hi, yade has also cylinders with rounded edges. Not sure what exactly you are after but have a look here: https://github.com/yade/trunk/tree/master/examples

Re: [Yade-users] [Question #295951]: yade on kubuntu 16.04

2017-04-25 Thread Klaus Thoeni
Question #295951 on Yade changed: https://answers.launchpad.net/yade/+question/295951 Klaus Thoeni posted a new comment: Hi Luc and others, I just posted my work-around here: https://bugs.launchpad.net/yade/+bug/1604266 HTH Klaus -- You received this question notification because your team

Re: [Yade-users] [Question #626577]: Batch - error that doesn't appear in non-batch module

2017-04-23 Thread Klaus Thoeni
Question #626577 on Yade changed: https://answers.launchpad.net/yade/+question/626577 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, this might work for you but it is difficult to guess without the full script. Try to put your definition of addPlotData bef

Re: [Yade-users] [Question #455132]: yadedaily on ubuntu 16.04: import error

2017-02-12 Thread Klaus Thoeni
Question #455132 on Yade changed: https://answers.launchpad.net/yade/+question/455132 Status: Open => Answered Klaus Thoeni proposed the following answer: Have you tried: sudo apt-get install python-pyqt5.qtwebkit HTH Klaus -- You received this question notification because your t

Re: [Yade-users] [Question #455132]: yadedaily on ubuntu 16.04: import error

2017-02-12 Thread Klaus Thoeni
Question #455132 on Yade changed: https://answers.launchpad.net/yade/+question/455132 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, the error indicates that qtwebkit is not installed on your machine. Try installing the package python-pyqt5.qtwebkit, it sho

Re: [Yade-users] [Question #446239]: Yade Installation Process

2017-01-23 Thread Klaus Thoeni
Question #446239 on Yade changed: https://answers.launchpad.net/yade/+question/446239 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, the error indicates that qtwebkit is not installed on your machine. Try installing the package python-pyqt5.qtwebkit, it sho

Re: [Yade-users] [Question #432848]: yade compiled installation in a redhat cluster

2017-01-19 Thread Klaus Thoeni
Question #432848 on Yade changed: https://answers.launchpad.net/yade/+question/432848 Status: Open => Answered Klaus Thoeni proposed the following answer: Have you tried to compile with cmake option -DDEBUG=1? HTH Klaus -- You received this question notification because your team y

Re: [Yade-users] [Question #407567]: the global cannot work

2016-12-18 Thread Klaus Thoeni
Question #407567 on Yade changed: https://answers.launchpad.net/yade/+question/407567 Status: Open => Answered Klaus Thoeni proposed the following answer: Sorry, your script fragments don't make sense to me. If you want to delete particles from a simulation you should use this

Re: [Yade-users] [Question #407555]: read Parameters from external file (non batch mode)

2016-12-18 Thread Klaus Thoeni
Question #407555 on Yade changed: https://answers.launchpad.net/yade/+question/407555 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, I guess this is more a python related question unless you want to do a parameter study and run Yade in batch mode. For the lat

Re: [Yade-users] [Question #407567]: the global cannot work

2016-12-18 Thread Klaus Thoeni
Question #407567 on Yade changed: https://answers.launchpad.net/yade/+question/407567 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, not sure what you are trying to do with the second line but this should work: x = 1 y = 1 print x# gives 1 print y# give

Re: [Yade-users] [Question #404513]: Is there any possibility that GPU be apllied in the calculation of YADE?

2016-11-30 Thread Klaus Thoeni
Question #404513 on Yade changed: https://answers.launchpad.net/yade/+question/404513 Klaus Thoeni posted a new comment: Yes, there is an upper limit. It will depend on the type of simulation you are doing. We did some performance tests a couple of years ago [1,2]. Have a look. Klaus [1] https

Re: [Yade-users] [Question #403534]: How to make certain particles "invisibles" to others?

2016-10-27 Thread Klaus Thoeni
Question #403534 on Yade changed: https://answers.launchpad.net/yade/+question/403534 Status: Open => Answered Klaus Thoeni proposed the following answer: Not sure if there is a good example. Long story short it is a bit wise comparison. Here a short example assuming three bodies: O.bod

Re: [Yade-users] [Question #231633]: Problem with stress mask value

2016-10-27 Thread Klaus Thoeni
Question #231633 on Yade changed: https://answers.launchpad.net/yade/+question/231633 Klaus Thoeni posted a new comment: Not sure if there is a good example. Long story short it is a bit wise comparison. Here a short example assuming three bodies: O.bodies[0].mask=1 # 0001 -> correspo

Re: [Yade-users] [Question #403534]: How to make certain particles "invisibles" to others?

2016-10-27 Thread Klaus Thoeni
Question #403534 on Yade changed: https://answers.launchpad.net/yade/+question/403534 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi Luc, what do you mean by invisible? No interaction between certain particles? In that case I would try mask/groupMask [1]. HTH Kl

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

2016-10-12 Thread Klaus Thoeni
Question #402952 on Yade changed: https://answers.launchpad.net/yade/+question/402952 Status: Open => Answered Klaus Thoeni proposed the following answer: Also, in regards of filling a GTS surface, have a look in examples/gts- horse [1], especially gts-random-pack.py. HTH Klaus [1] ht

Re: [Yade-users] [Question #397825]: change the material properties during simulation

2016-09-17 Thread Klaus Thoeni
Question #397825 on Yade changed: https://answers.launchpad.net/yade/+question/397825 Klaus Thoeni proposed the following answer: Hi, as Jerome mentioned, changing materials/laws is not straight forward. However, you can change material parameters and parameters of the contact physics

Re: [Yade-users] [Question #397321]: particle compaction in cylinder with different sizes

2016-09-17 Thread Klaus Thoeni
Question #397321 on Yade changed: https://answers.launchpad.net/yade/+question/397321 Klaus Thoeni proposed the following answer: Hi, alternatively you can use the CircularFactory [1]. You can generate a cylindrical packing by pluviation. Have a look at the hourglass example [2]. HTH Klaus [1

Re: [Yade-users] [Question #392660]: how can set shear viscous damping ratio betas in yade in linear elastic model?

2016-09-14 Thread Klaus Thoeni
Question #392660 on Yade changed: https://answers.launchpad.net/yade/+question/392660 Klaus Thoeni posted a new comment: Hi, I still think this is not the contact law you want to use for triax tests as it was designed for rock impacts. Other contact laws provide much more features. In the case

Re: [Yade-users] [Question #392660]: how can set shear viscous damping ratio betas in yade in linear elastic model?

2016-09-12 Thread Klaus Thoeni
Question #392660 on Yade changed: https://answers.launchpad.net/yade/+question/392660 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, in most of the cases I know only normal viscous damping is used. This makes sense since friction is dissipating energy in tangent

Re: [Yade-users] [Question #392660]: how can set shear viscous damping ratio betas in yade in linear elastic model?

2016-09-12 Thread Klaus Thoeni
Question #392660 on Yade changed: https://answers.launchpad.net/yade/+question/392660 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, this contact law was designed for a specific purpose (see [1]) where no tangential viscous damping was needed. In fact, in that c

Re: [Yade-users] [Question #297855]: AttributeError: 'module' object has no attribute 'inGtsSurface'

2016-08-22 Thread Klaus Thoeni
Question #297855 on Yade changed: https://answers.launchpad.net/yade/+question/297855 Klaus Thoeni posted a new comment: Hi Colin, what distro are you using? Have you tried to compile the latest trunk version? We recently compiled yade on our HPC running with Red Hat 7.2. There were some

Re: [Yade-users] [Question #327433]: Installation Yade on Ubuntu 16.04 Xenial

2016-08-15 Thread Klaus Thoeni
Question #327433 on Yade changed: https://answers.launchpad.net/yade/+question/327433 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, have you tried to manually install python-pyqt5.qtwebkit? HTH K -- You received this question notification because your team y

Re: [Yade-users] [Question #315039]: How to reset contact properties?

2016-08-02 Thread Klaus Thoeni
Question #315039 on Yade changed: https://answers.launchpad.net/yade/+question/315039 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, have you tried looping over the interactions and changing the physics? That should do the job. Also, for new contacts you sho

Re: [Yade-users] [Question #298001]: Input Kn and Ks directly

2016-07-24 Thread Klaus Thoeni
Question #298001 on Yade changed: https://answers.launchpad.net/yade/+question/298001 Klaus Thoeni proposed the following answer: FYI, your materials are not append to the simulation (i.e., spheresMaterial=O.materials.append(FrictViscoMat(...)) is missing) and there are no bodies. Klaus -- You

Re: [Yade-users] [Question #300592]: problems when I run examples

2016-07-24 Thread Klaus Thoeni
Question #300592 on Yade changed: https://answers.launchpad.net/yade/+question/300592 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi. did you import the plot module, i.e.: from yade import plot HTH Klaus -- You received this question notification because y

Re: [Yade-users] [Question #298001]: Input Kn and Ks directly

2016-07-19 Thread Klaus Thoeni
Question #298001 on Yade changed: https://answers.launchpad.net/yade/+question/298001 Klaus Thoeni proposed the following answer: Hi, you can indeed use FrictViscoMat and the corresponding functors to do this task. Have a closer look at [1] and you will see that the Ip2 functor supports

Re: [Yade-users] [Question #295951]: yade on kubuntu 16.04

2016-07-19 Thread Klaus Thoeni
Question #295951 on Yade changed: https://answers.launchpad.net/yade/+question/295951 Status: Answered => Open Klaus Thoeni is still having a problem: Hi James, thanks for confirming. I just filed a bug report. Hopefully we will soon find out what the problem is. Klaus -- You recei

Re: [Yade-users] [Question #295951]: yade on kubuntu 16.04

2016-07-18 Thread Klaus Thoeni
Question #295951 on Yade changed: https://answers.launchpad.net/yade/+question/295951 Klaus Thoeni posted a new comment: Hi Henry, this specific issue seems to be related to VTK. Nevertheless, I still think you should have the same problem as described above. Yade is just running fine but has

Re: [Yade-users] [Question #295554]: ubuntu 14.04 can not use apt to install python-pyqt5

2016-06-22 Thread Klaus Thoeni
Question #295554 on Yade changed: https://answers.launchpad.net/yade/+question/295554 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, on 14.04 you need compile with qt4 and install related packages: python-qt4 pyqt4-dev-tools When compiling you have to

Re: [Yade-users] [Question #294529]: random orientation of chained cylinders

2016-05-30 Thread Klaus Thoeni
Question #294529 on Yade changed: https://answers.launchpad.net/yade/+question/294529 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi Michael, ChainedCylinder is deprecated and will be removed in the future. Please use GridConnection instead, see

Re: [Yade-users] [Question #293179]: 'Name error' while calling function

2016-05-05 Thread Klaus Thoeni
Question #293179 on Yade changed: https://answers.launchpad.net/yade/+question/293179 Klaus Thoeni posted a new comment: add #10: you have two options: 1. execute the line plot.saveDataTxt('file2.txt.bz2') in the terminal after you have finished the simulation 2. put the line back where you had

Re: [Yade-users] [Question #293179]: 'Name error' while calling function

2016-05-03 Thread Klaus Thoeni
Question #293179 on Yade changed: https://answers.launchpad.net/yade/+question/293179 Klaus Thoeni posted a new comment: Hi, by using execfile not all yade modules are imported correctly. Regarding your SnapshotEngine, just use it the way you had it before and make sure the directory you want

Re: [Yade-users] [Question #293179]: 'Name error' while calling function

2016-05-03 Thread Klaus Thoeni
Question #293179 on Yade changed: https://answers.launchpad.net/yade/+question/293179 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, the script is working for me and I can't see why it shouldn't work. You should execute the script in the terminal as follows: y

Re: [Yade-users] [Question #293179]: 'Name error' while calling function

2016-05-03 Thread Klaus Thoeni
Question #293179 on Yade changed: https://answers.launchpad.net/yade/+question/293179 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, I didn't run the script previously but when looking at it in more detail now I can see there are a couple of issues. Be

Re: [Yade-users] [Question #293179]: 'Name error' while calling function

2016-05-02 Thread Klaus Thoeni
Question #293179 on Yade changed: https://answers.launchpad.net/yade/+question/293179 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, simply move the definition "def plotAddData():" before your engines. The function needs to be defined before calling i

Re: [Yade-users] [Question #292672]: Creating an agglomerate from pack

2016-04-27 Thread Klaus Thoeni
Question #292672 on Yade changed: https://answers.launchpad.net/yade/+question/292672 Status: Open => Answered Klaus Thoeni proposed the following answer: I don't get it but the functions replaceByClumps or appendClumped will exactly do what the picture is showing, unless you want to perf

Re: [Yade-users] [Question #292672]: Creating an agglomerate from pack

2016-04-27 Thread Klaus Thoeni
Question #292672 on Yade changed: https://answers.launchpad.net/yade/+question/292672 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, agglomerates are called clumps in Yade. In order to create a packing with agglomerates or clumps you can simply use replaceByClu

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

2016-04-17 Thread Klaus Thoeni
Question #291202 on Yade changed: https://answers.launchpad.net/yade/+question/291202 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi, you are using randomDensePack to generate your assembly. The function uses TriaxialTest [1] so the packing you get is most cert

Re: [Yade-users] [Question #287915]: Cylinder-Pfacet contact

2016-03-10 Thread Klaus Thoeni
Question #287915 on Yade changed: https://answers.launchpad.net/yade/+question/287915 Status: Open => Answered Klaus Thoeni proposed the following answer: You where right, there was as well a problem in the code. Should be fixed in the latest trunk version [1]. K [1] https://github.

Re: [Yade-users] [Question #287915]: Cylinder-Pfacet contact

2016-03-09 Thread Klaus Thoeni
Question #287915 on Yade changed: https://answers.launchpad.net/yade/+question/287915 Klaus Thoeni proposed the following answer: Hi, the material for your GridConnection should be pFacetMat and not gridNodeMat as the latter is cohesive. As Anna mentioned, in your case the cylinder is trying

Re: [Yade-users] [Question #280376]: overlap with no force, pollygon collision, membrane

2016-02-08 Thread Klaus Thoeni
Question #280376 on Yade changed: https://answers.launchpad.net/yade/+question/280376 Klaus Thoeni posted a new comment: Hi, Bruno is right. The basic code is up and running in the latest trunk version. For examples see [1]. Have fun, Klaus [1] https://github.com/yade/trunk/tree/master/examples

Re: [Yade-users] [Question #277994]: Yade on Ubuntu 15.10

2016-02-07 Thread Klaus Thoeni
Question #277994 on Yade changed: https://answers.launchpad.net/yade/+question/277994 Klaus Thoeni posted a new comment: Have you tried: from yade import qt qt.Controller() qt.View() K -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #277521]: Can tensile and compressive modulus be separately defined for GridConnection?

2015-12-10 Thread Klaus Thoeni
Question #277521 on Yade changed: https://answers.launchpad.net/yade/+question/277521 Status: Open => Answered Klaus Thoeni proposed the following answer: Hi Alex, 1) In the specific script gridNodeMat, i.e., the material used to create the gridNodes, defines the properties of the inter

Re: [Yade-users] [Question #277521]: Can tensile and compressive modulus be separately defined for GridConnection?

2015-12-10 Thread Klaus Thoeni
Question #277521 on Yade changed: https://answers.launchpad.net/yade/+question/277521 Klaus Thoeni posted a new comment: Yes, I guess you can see it this way. "relpos" defines the location of the contact in "local" coordinates. So for a cylinder it should be between 0 and 1.

  1   2   3   >