Re: [Yade-users] [Question #692420]: Select bodies under post2d.extractor function

2020-08-20 Thread Yuxuan Wang
Question #692420 on Yade changed: https://answers.launchpad.net/yade/+question/692420 Status: Needs information => Solved Yuxuan Wang confirmed that the question is solved: Thank you so much Jan, I used extractVelocity=lambda b: flattener.normal(b,b.state.vel) if -0.15< b.state.pos[2] <=

Re: [Yade-users] [Question #692420]: Select bodies under post2d.extractor function

2020-08-18 Thread Jan Stránský
Question #692420 on Yade changed: https://answers.launchpad.net/yade/+question/692420 Status: Open => Needs information Jan Stránský requested more information: Hello, > I was only able to think of two ways it is actually one way, see below > but seems like lambda expressions cannot take

Re: [Yade-users] [Question #692420]: Select bodies under post2d.extractor function

2020-08-17 Thread Yuxuan Wang
Question #692420 on Yade changed: https://answers.launchpad.net/yade/+question/692420 Description changed to: Hello yade programmers and fellow users, Hope all is well! I have been trying to mimic the uniax-post.py example to produce a velocity contour plot of a slice of particles in the

[Yade-users] [Question #692420]: Select bodies under post2d.extractor function

2020-08-17 Thread Yuxuan Wang
New question #692420 on Yade: https://answers.launchpad.net/yade/+question/692420 Hello yade programmers and fellow users, Hope all is well! I have been trying to mimic the uniax-post.py example to produce a velocity contour plot of a slice of particles in the simulation. Following Jan’s advice