move particles to specific position

Submitted by Silias on Mon, 04/23/2012 - 16:53

Hi everybody,

to do a "quasi-2D" simulation set the forces in y-dimension to zero (fix setforce all setforce NULL 0 NULL) and use a very narrow box in the y-dimension where I insert my particles.
Now, all the particles have "nearly" the same y-position, but I'd like them to have EXACTLY the same y-position.
Is there a possibility to move the particles manually so that every particles has the y-position =0? How else could I handle this?

Thanks in advance,
kind regards

Sebastian

Philippe's picture

Philippe | Tue, 04/24/2012 - 12:06

Hello Sebastian,

you could give

set group all y 0.

a try. Additional information on the set command can be found in the manual.

regards
Philippe