-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
333 lines (262 loc) · 9.18 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
Flexible Water with Multiple Time Steps and Beadiabatic:
--------------------------------------------------------
dvdr holds low frequency forces
dvdr2 holds high frequency forces.
RP Contraction:
----------------
Splits the LJ and ewald from the intramolecular force and uses RP contraction on them.
07-03-08: Split LJ into a new subroutine. Beadiabatic forces routine is now passed iopt which determines which part of the force routine to perform beadiabatic separation on.
3 Split (3s) version : uses a different number of normal modes for the ewald sum as for the LJ.
10_03_07 : added rg routine static properties calculation
10_03_07_05 : beadd stores and repaces r rather than backwards FT.
11_03: added normal mode as primitive represenation (evolve_nm) which dramatically speeds up the beadiabatic program when used with large multiple time steps (e.g. MTS=5 or MTS=10) since it reduces the FTs from 44 per timestep to 23 at MTS=1 and 8 per timestep to 5 per timestep at MTS = 1. Beadiabatic evolution also incorporated into normal mode primtive scheme using beadd_forces_nm subroutine which takes in positions in normal mode rep and produces normal mode forces.
13_03 : RDF speeded up
13_03_p : Program now reads parameters from a parameter file. Code tidied up using ftnchek. mts is now in input file.
16_03 : Output of <vinter>,<vintra>,<tintra>,<tinter> seperately. Improved handling of exact estimators.
02_04: Added output of ewald and LJ energies seperately.
03_04: CHANGE IN ORDERING OF BEADD NORMAL MODE FREQUENCIES
14_05 : Program code cleaned up.
20_04: OCF for Classical fixed. ACMD evolution added.
01_05: Smeared Charge Ewald intermolecular and Fourth Order Morse intramolecular added.
06-05-f : Ice starting configuration. FCC initial lattice and non-cubic ewald.
12-05 : OCF problems fixed
30-05 : Linked cell list for LJ - used when nm = 700 or above.
09-06 : Major speed improvements in LJ evaluation and electrostatic contraction scheme. For large systems a linked cell list is used to create the neighbour list.
26-06 : Added knowledge of M-site to electrostatic RP contraction. Note:// still cannot use smeared charges with electrostatic contraction scheme in this version. Renamed to water_'date' from water_bea_nm_'date'-demwald.
03-07 : Minor changes. Param file now contains masses.
08-07 : tem RP electrostatic contraction implemented. Replacing dem method (although routines still included)
09-07 : Minor fixes to problems that stopped earlier versions comiling correctly using g77. Final version written in g77 :-(.
09-07-f90 : Program converted to take advantage of fortran 90. Allocatable arrays used allowing the use of large system sizes. Globals.inc no longer contains fixed size array parameters.
3-08 : Non-cubic linked cell list for non-cubic LJ and rwald.
4-08 : Non-cubic smeared charges added. Pressure calculation and Berendsen barostat.
5-08 : Cubic pressure calculation added. RP contraction NPT now working.
31-08 : Interface setup, Non-isotropic berendsen barostat, Option for harmonic bend with anharmonic stretch.
05-09 : Rigid water evolution added for NVT. Rigid virial not yet complete.
08-09 : Rigid NPT complete.
09-09 : Buckingham O-O interaction added.
16_09im : A few small problems removed and unneccesary variables culled.
13-10 : Dielectric constant calculation error corrected. RDF calculation and exact estimators now controlled by switches in input file.
14-10 : Improved SHAKE/RATTLE routine. Also fixed crashingof classical simualtions when beadiabatic paramaters set and density profile error in the melting routine.
16-10 : Parinello global thermostat implemented for classical rigid and flexible simulations. Parinello local thermostat also availiable : for relative merits see Comput. Phys. Comm. 179 (2008) p26-29.
5-11 : Additional NPT and pressure properties calculated by md_static routine. Fixed bug in rigid classical barostat.
29-01-09 : MAJOR sampling fix done!
23-02-09 : Changed to Fortran 90
Possible Future additions:
---------------------------
1.) Inclusion of Solute atoms/molecule.
2.) RP electrostatic contraction for smeared charges.
3.) NPT simulation / pressure calculation.
4.) Polarizability.
5.) Generalize solvent treatment.
Input parameters:
------------------
ens - ensemble - option of NVT or NPT
isotope - Type of molecule (D2O, HDO, H2O (Default))
temp - temperature in K
pres - pressure in bar
rho - density in g cm**(-3)
lattice - Starting lattice : CUB, FCC, ICE or VAC
vacfac - Factor for Surface (VACuum) Calculation ncellxyz = x y z*vacfac
iamcub - Allows selection of non-cubic vs cubic energy evaluation
dtfs - time step in fs
ecut - Ewald sum accuracy parameter. Set to 0.d0 for automatic
selection of ewald parameters
nt - Dynamic simulation trajectory length
ne - Equilibration steps
ntherm - Number of Steps between parallel trajectories
nb - Number of beads
m - Number of dynamic trajectories
ng - Number of static property sampling steps
print - Integers controlling which properties should be printed/saved (4 integers, 1 or 0: Positions, Forces, Velocities, molecular dipolemoment)
pt - Print trajectory interval
pb - Print beads interval
ncellxyz - Number of cells in each direction for initialization (3 integers)
irun - Random number seed (integer)
itcf - Integers controlling calculation of dynamic properties (3 integers, 1 or 0: Cvv, Dipole Spectrum (IR), OCF)
itst - Integers controlling calculation of static properties (2 integers, 1 or 0: RDF, Exact Estimators)
rcut - Real-space cut-off for LJ interactions in Angstroms
type - Type of calculation: RPMD or ACMD
therm - Thermostat - NON(None),AND(Anderson),PRL(Parrinello
Local),PRG(Parrinello Global), (....also GLE!)
ttaufs - tau parameter for Parrinello thermostats
baro - Barostat, 'BER' or 'MCI'
taufs - tau parameter for barostat
mts - Number of multiple time steps
om - ACMD adiabatic separation parameter.
nbdf1 - RP contraction modes for ewald forces (set to zero for full nb, set to 1 for electrostatic contraction)
nbdf2 - RP contraction modes for LJ forces (set to zero for full nb)
nbdf3 - RP contraction modes for RPMDDFT forces
sig - Electrostatic RP Contraction cut-off (Angstroms, usually ~ 5.0)
rpmddft - Use RPMDDFT force Calculation
rpmde3b - ALso calculate E3B (in addition to the usual force field). Does not work with RPMDDFT.
rctdk - Use the T.D. Kühne Method (important nbdf1 and nbdf2 have to be 0, nbdf3 is the delta Force contraction)
aieq - Use RPMDDFT forces for equilibration too
Parameters for popular water model
-----------------------------------
SPC/F
------
¶m
wmass = 32831.2525d0
omass = 29156.9471d0
hmass = 1837.1527d0
qo = -0.82d0
alpha = 1.d0
oo_sig = 5.98098d0
oo_eps = 2.477083d-4
oo_gam = 0.d0
thetad = 109.47d0
reoh = 1.889726d0
de = 0.d0
alp = 0.d0
deb = 0.d0
alpb = 0.d0
wm = 0.d0
wh = 0.d0
&end
SPCFW
------
¶m
wmass = 32831.2525d0
omass = 29156.9471d0
hmass = 1837.1527d0
qo = -0.82d0
alpha = 1.d0
oo_sig = 5.981913d0
oo_eps = 2.47686d-4
oo_gam = 0.d0
thetad = 113.24d0
reoh = 1.912403d0
apot = 0.472655d0
bpot = 0.120954d0
alp = 0.d0
alpb = 0.d0
wm = 0.d0
wh = 0.d0
&end
TIP3P/FS
--------
¶m
wmass = 32831.2525d0
omass = 29156.9471d0
hmass = 1837.1527d0
qo = -0.834d0
alpha = 1.d0
oo_sig = 5.95377d0
oo_eps = 2.42542d-4
oo_gam = 0.d0
thetad = 104.5d0
reoh = 1.814137d0
apot = 0.4726468d0
bpot = 0.10850d0
alp = 0.d0
alpb = 0.d0
wm = 0.d0
wh = 0.d0
&end
QSPCFW
-------
¶m
wmass = 32831.2525d0
omass = 29156.9471d0
hmass = 1837.1527d0
qo = -0.84d0
alpha = 1.d0
oo_sig = 5.981913d0
oo_eps = 2.47686d-4
oo_gam = 0.d0
thetad = 112.d0
reoh = 1.889726d0
apot = 0.472655d0
bpot = 0.120954d0
alp = 0.d0
alpb = 0.d0
wm = 0.d0
wh = 0.d0
&end
Scott's potential
------------------
¶m
wmass = 32831.2525d0
omass = 29156.9471d0
hmass = 1837.1527d0
qo = -1.084d0
alpha = 0.797d0
oo_sig = 5.761d0
oo_eps = 3.5211d-4
oo_gam = 0.d0
thetad = 106.416d0
reoh = 1.77956d0
apot = 0.17d0
bpot = 0.52d0
alp = 1.22d0
alpb = 0.37d0
wm = 0.482d0
wh = 0.686d0
&end
TIP4P/05 rigid
---------------
¶m
wmass = 32831.2525d0
omass = 29156.9471d0
hmass = 1837.1527d0
qo = -1.1128d0
alpha = 0.73612d0
sigma = 5.96946d0
epslon = 2.95147d-4
thetad = 104.52d0
reoh = 1.8088465d0
apot = 0.d0
bpot = 0.d0
alp = 0.d0
alpb = 0.d0
wm = 0.d0
wh = 0.d0
&end
TIP4P/05 flexible - Scott
--------------------------
¶m
wmass = 32831.2525d0
omass = 29156.9471d0
hmass = 1837.1527d0
qo = -1.1128d0
alpha = 0.73612d0
oo_sig = 5.96946d0
oo_eps = 2.95147d-4
oo_gam = 0.d0
thetad = 107.4d0
reoh = 1.78d0
apot = 0.185d0
bpot = 0.07d0
alp = 1.21d0
alpb = 0.d0
wm = 0.d0
wh = 0.d0
&end
LJ :
-----
TIP4P/2005 :
epslon = 2.95147d-4
sigma = 5.96946d0
TIP4P :
epslon = 2.47012d-4
sigma = 5.96020d0
SPC :
epslon = 2.477083d-4
sigma = 5.98098d0
q-SPC/Fw :
epslon = 2.4768586d-4
sigma = 5.981913d0
Charges and alpha :
--------------------
TIP4P/2005 :
qo = -1.1128d0
alpha = 0.73612d0
TIP4P :
qo = -1.04d0
alpha = 0.74398d0
SPC/F :
qo = -0.82d0
alpha = 1.d0
q-SPC/Fw :
qo = -0.84d0
alpha = 1.d0