Simulating a pseudo 2D box
I'm trying to simulate a 2D box with a fixed number of particles (spheres). Once the particles are inserted, one of the walls moves to pack the configuration, while the opposite wall rolls using the conveyor option. I got this part working. My problem is the following: I read in these forums that it's advised to use a thin simulation box instead of the 2D-related commands. I managed to get the thin box with the following lines:
region reg block 0 0.85*${sigma} 0 $l 0 $l units box
variable tmp equal $l-${sigma}
region insreg block 0 0.85*${sigma} 0 $l 0 ${tmp} units box
Forums:
- Read more about Simulating a pseudo 2D box
- Log in or register to post comments