Re: [Yade-users] [Question #701880]: How to print out the resultant volume fraction and particle velocity when using and yade._utils.getDepthProfiles ?

2022-05-24 Thread evagb54
Question #701880 on Yade changed: https://answers.launchpad.net/yade/+question/701880 evagb54 posted a new comment: Thank you so much Jan ! -- You received this question notification because your team yade-users is an answer contact for Yade. ___

Re: [Yade-users] [Question #701880]: How to print out the resultant volume fraction and particle velocity when using and yade._utils.getDepthProfiles ?

2022-05-24 Thread Jan Stránský
Question #701880 on Yade changed: https://answers.launchpad.net/yade/+question/701880 Jan Stránský posted a new comment: Sometimes source code is your best friend [2].. Return value are 4 lists, phiAverage, velAverageX, velAverageY, velAverageZ, "the particle velocity and solid volume fraction

Re: [Yade-users] [Question #701880]: How to print out the resultant volume fraction and particle velocity when using and yade._utils.getDepthProfiles ?

2022-05-24 Thread evagb54
Question #701880 on Yade changed: https://answers.launchpad.net/yade/+question/701880 evagb54 posted a new comment: Thanks Jan for your answer ! I put now: print('getDepthProfiles=',getDepthProfiles(volume=5, nCell=10, dz=0.01, zRef=-0.2, activateCond=False, radiusPy=0.004, direction=1)) And

Re: [Yade-users] [Question #701880]: How to print out the resultant volume fraction and particle velocity when using and yade._utils.getDepthProfiles ?

2022-05-24 Thread evagb54
Question #701880 on Yade changed: https://answers.launchpad.net/yade/+question/701880 Status: Answered => Solved evagb54 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 #701880]: How to print out the resultant volume fraction and particle velocity when using and yade._utils.getDepthProfiles ?

2022-05-24 Thread Jan Stránský
Question #701880 on Yade changed: https://answers.launchpad.net/yade/+question/701880 Status: Open => Answered Jan Stránský proposed the following answer: >> please use () (assuming there are no attributes to pass) > Boost.Python.ArgumentError: The assumption is not fulfilled, see

Re: [Yade-users] [Question #701880]: How to print out the resultant volume fraction and particle velocity when using and yade._utils.getDepthProfiles ?

2022-05-24 Thread evagb54
Question #701880 on Yade changed: https://answers.launchpad.net/yade/+question/701880 Status: Answered => Open evagb54 is still having a problem: Hey Jérôme ! Thanks for your answer ! I tried it but I have this message: print('getDepthProfiles=',getDepthProfiles())

Re: [Yade-users] [Question #701880]: How to print out the resultant volume fraction and particle velocity when using and yade._utils.getDepthProfiles ?

2022-05-23 Thread Jérôme Duriez
Question #701880 on Yade changed: https://answers.launchpad.net/yade/+question/701880 Status: Open => Answered Jérôme Duriez proposed the following answer: For an actual execution of functions such as getDepthProfiles (or any other Python function), please use () (assuming there are no