| 1 |
import "oplsaa2024.lt" # OPLSAA atom types and force field params used by Ethanol |
| 2 |
|
| 3 |
|
| 4 |
# Atom type numbers are from the "oplsaa2024.lt" file |
| 5 |
# (located in moltemplate/force_fields/) Excerpt: |
| 6 |
# |
| 7 |
# @atom:80 charge -0.18 mass 12.011 # "Alkane CH3-" |
| 8 |
# @atom:85 charge 0.06 mass 1.008 # "Alkane H-C" |
| 9 |
# @atom:96 charge -0.683 mass 15.999 # "Alcohol -OH" |
| 10 |
# @atom:97 charge 0.418 mass 1.008 # "Alcohol -OH" |
| 11 |
# @atom:98 charge 0.04 mass 1.008 # "Methanol CH3-" |
| 12 |
# @atom:99 charge 0.145 mass 12.011 # "Alcohol CH3OH & RCH2OH" |
| 13 |
|
| 14 |
|
| 15 |
Ethanol inherits OPLSAA { |
| 16 |
|
| 17 |
# atomID molID atomTyle charge X Y Z |
| 18 |
write('Data Atoms') { |
| 19 |
$atom:O $mol:m @atom:96 0.0 1.2322305822 -0.2731895077 -0.1276123902 |
| 20 |
$atom:H $mol:m @atom:97 0.0 1.2473876659 -0.8998737590 0.6150681570 |
| 21 |
$atom:C1 $mol:m @atom:99 0.0 0.0849758188 0.5590385475 0.0510545434 |
| 22 |
$atom:H11 $mol:m @atom:98 0.0 0.1506137362 1.1200249874 0.9943015309 |
| 23 |
$atom:H12 $mol:m @atom:98 0.0 0.1316093068 1.2841805400 -0.7645223601 |
| 24 |
$atom:C2 $mol:m @atom:80 0.0 -1.2129704155 -0.2295285634 -0.0097156258 |
| 25 |
$atom:H21 $mol:m @atom:85 0.0 -1.2655910941 -0.9539857247 0.8097953440 |
| 26 |
$atom:H22 $mol:m @atom:85 0.0 -1.2737541560 -0.7748626513 -0.9540587845 |
| 27 |
$atom:H23 $mol:m @atom:85 0.0 -2.0801425360 0.4329727646 0.0722817289 |
| 28 |
} |
| 29 |
|
| 30 |
# Charges will be assigned by OPLSAA, so we can leave them 0.0 here. |
| 31 |
# |
| 32 |
# (The "m" in "$mol:m" refers to this molecule-object's molecule-ID number. |
| 33 |
# If there are multiple different molecules contained in this object, |
| 34 |
# then you can give them different names, eg "$mol:m1", "$mol:m2" |
| 35 |
# If this molecule is part of a larger molecule, then use "$mol:...") |
| 36 |
|
| 37 |
write('Data Bond List') { |
| 38 |
$bond:OH $atom:O $atom:H |
| 39 |
$bond:C1HO $atom:C1 $atom:O |
| 40 |
$bond:C1H11 $atom:C1 $atom:H11 |
| 41 |
$bond:C1H12 $atom:C1 $atom:H12 |
| 42 |
$bond:C1C2 $atom:C1 $atom:C2 |
| 43 |
$bond:C2H21 $atom:C2 $atom:H21 |
| 44 |
$bond:C2H22 $atom:C2 $atom:H22 |
| 45 |
$bond:C2H23 $atom:C2 $atom:H23 |
| 46 |
} |
| 47 |
|
| 48 |
} # Ethanol |