| 1 |
|
| 2 |
import "butane.lt" # <- defines the "Butane" molecule type. |
| 3 |
|
| 4 |
# Periodic boundary conditions: |
| 5 |
write_once("Data Boundary") { |
| 6 |
0.0 62.4 xlo xhi |
| 7 |
0.0 62.4 ylo yhi |
| 8 |
0.0 62.4 zlo zhi |
| 9 |
} |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
# Generate an array of 864 = 12 x 12 x 6 Butane molecules |
| 14 |
# which (more or less) uniformly fills the simulation box: |
| 15 |
|
| 16 |
molecules = new Butane [12].move(0, 0, 5.2) |
| 17 |
[12].move(0, 5.2, 0) |
| 18 |
[6].move(10.4, 0, 0) |
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
# NOTE: The spacing between molecules is large. There should be extra room to |
| 24 |
# move during the initial stages of equilibration. However, you will have to |
| 25 |
# run the simulation at NPT conditions later to compress the system to a |
| 26 |
# more realistic density. |