yade-users team mailing list archive
Mailing list archive
Re: [Question #689407]: Are there any way to stop particles poping out of the box?
Question #689407 on Yade changed:
Status: Open => Answered
Jan Stránský proposed the following answer:
> Do you have any idea how to stop top box?
See answer #1
>> To make the box step, just assign it zero velocity:
>> top.state.vel = Vector3.Zero
> I want compaction ... at ... stage which volume equal to 1.0*1.0*1.0.
How to do it ?
use e.g. PyRunner:
O.engines = [
area = ...
height = ...
volume = area * height
if volume < 1.0*1.0*1.0:
top.state.vel = Vector3.Zero
O.pause() # ?
You received this question notification because your team yade-users is
an answer contact for Yade.