Re: [Yade-users] [Question #697642]: Many errors with PeriodicFlowEngine
Question #697642 on Yade changed: https://answers.launchpad.net/yade/+question/697642 Status: Answered => Solved Zhicheng Gao confirmed that the question is solved: Thanks Bruno Chareyre, that solved my question. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697791]: yade installation: AttributeError: module 'mpmath.ctx_mp_python' has no attribute 'mpf'
Question #697791 on Yade changed: https://answers.launchpad.net/yade/+question/697791 Status: Open => Answered Janek Kozicki proposed the following answer: No, The standard method to install is following: sudo apt install cmake git freeglut3-dev libloki-dev libboost-all-dev fakeroot \ dpkg-dev build-essential g++ python3-dev python3-ipython python3-matplotlib \ libsqlite3-dev python3-numpy python3-tk gnuplot libgts-dev python3-pygraphviz \ libvtk6-dev libeigen3-dev python3-xlib python3-pyqt5 pyqt5-dev-tools python3-mpi4py \ python3-pyqt5.qtwebkit gtk2-engines-pixbuf python3-pyqt5.qtsvg libqglviewer-dev-qt5 \ python3-pil libjs-jquery python3-sphinx python3-git libxmu-dev libxi-dev libcgal-dev \ help2man libbz2-dev zlib1g-dev libopenblas-dev libsuitesparse-dev \ libmetis-dev python3-bibtexparser python3-future coinor-clp coinor-libclp-dev \ python3-mpmath libmpfr-dev libmpfrc++-dev note the package: python3-mpmath above. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697791]: yade installation: AttributeError: module 'mpmath.ctx_mp_python' has no attribute 'mpf'
Question #697791 on Yade changed: https://answers.launchpad.net/yade/+question/697791 Status: Answered => Open Rohit John is still having a problem: Dear Janek Kozicki, I thought pip was the standard method to install python modules. I am able to import mpmath to python, however, it says it does not have the attribute 'mpf' in it. Moreover, I had this problem way before I tried installing mpmath using pip. Kind regards, Rohit K. John -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697791]: yade installation: AttributeError: module 'mpmath.ctx_mp_python' has no attribute 'mpf'
Question #697791 on Yade changed: https://answers.launchpad.net/yade/+question/697791 Status: Open => Answered Janek Kozicki proposed the following answer: Hi, mixing third party package management software (e.g. pip) with native apt/aptitude/dpkg/*.deb package management does not go well. I recommended complete uninstall of packages installed with pip and use the system native method for installing packages. Otherwise if you want to use pip you will have to find yourself what non-standard paths are necessary for python to find mpmath. This isn't related much to yade in fact. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697799]: CPM model "omega threshold" parameter in source code
Question #697799 on Yade changed: https://answers.launchpad.net/yade/+question/697799 Status: Answered => Solved chanaka Udaya 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 contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697799]: CPM model "omega threshold" parameter in source code
Question #697799 on Yade changed: https://answers.launchpad.net/yade/+question/697799 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > I would like to know what it means by > (void)">=1. concerning line [1], have a look at documentation [2] how it looks "rendered". ">=1. ... is a part of a docstring (note the starting quotation mark) (void) ... this is C++ way to cast (change) types, here a "string" to void (for some internal reasons). Have a look at [3] and search "(void)" (there are 2 occurrences and explanation for almost this case). > In addition, If I want to delete a cohesive contact when the omega Threshold > reaching to 0.8, should the code block be modified to the following format, > (Real,omegaThreshold,((void)">=0.8 to deactivate, i.e. never delete any > contacts",0.8),,"damage after which the contact disappears (<0.8), since > omega reaches 1 only for strain →+∞")) NO! It is possible to do it this way, but it is very discouraged approach for various reasons (one is the need to recompilation, other is divergence from git source code) The first and third 0.8 is inside quotation marks and appear only in docstrings (have absolutely no effect on computation itself). The second 0.8 is default value. But I think 1.0 is more reasonable. The way to change the value for simulation is: ### O.engines = [ ... Law2_ScGeom_CpmPhys_Cpm(omegaThreshold=0.8), ... ] ### Cheers Jan [1] https://gitlab.com/yade-dev/trunk/-/blob/master/pkg/dem/ConcretePM.hpp#L284 [2] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Law2_ScGeom_CpmPhys_Cpm.omegaThreshold [3] https://yade-dem.org/doc/prog.html -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697313]: Facing problem in stabilizing the DEM simulation sample when using Hertz-mindlin contact model
Question #697313 on Yade changed: https://answers.launchpad.net/yade/+question/697313 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697790]: Generating a cone shaped single particle
Question #697790 on Yade changed: https://answers.launchpad.net/yade/+question/697790 Status: Open => Needs information Jan Stránský requested more information: Hello, please provide more information and context [1]: - what does "vary the shape" mean? Change the shape before simulation? During the simulation? something like deformable body? ... ? - what is "single particle"? Is a clump a single particle or not? - is a "many-face-pyramid-shaped polyhedron" ("almost" cone) acceptable as a cone? - ... ? Cheers Jan [1] https://www.yade-dem.org/wiki/Howtoask -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697642]: Many errors with PeriodicFlowEngine
Question #697642 on Yade changed: https://answers.launchpad.net/yade/+question/697642 Status: Open => Answered Bruno Chareyre proposed the following answer: Just replace it with a new one in O.engines. Something like: O.engines = O.engines[:3]+FlowEngine()+O.engines[4:] B -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp