Updated rounded/polygon example

This commit is contained in:
Trung Nguyen
2018-05-29 23:50:43 -05:00
parent d4cca615fb
commit 1fbd4fffd4
2 changed files with 5 additions and 5 deletions

View File

@ -2,14 +2,14 @@ LAMMPS data file for polygons: squares of edge length L: Izz = 1/6mL^2
2 atoms
2 bodies
1 atom types
-6 6 xlo xhi
-6 6 ylo yhi
0 12 xlo xhi
0 12 ylo yhi
-0.5 0.5 zlo zhi
Atoms
1 1 1 1 0 0 0
2 1 1 1 5 1 0
1 1 1 1 4 5 0
2 1 1 1 9 6 0
Bodies

View File

@ -38,7 +38,7 @@ timestep 0.001
#fix 1 all nve/body
#fix 1 all nvt/body temp $T $T 1.0
fix 1 all npt/body temp $T $T 1.0 x 0.001 $P 1.0 &
y 0.001 $P 1.0 couple xy
y 0.001 $P 1.0 couple xy fixedpoint 0 0 0
fix 2 all enforce2d