You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/examples/md.md
+10-12Lines changed: 10 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,24 +33,22 @@ basis_type lcao
33
33
mixing_beta 0.4
34
34
charge_extrap second-order
35
35
36
-
md_mdtype 1 //choose ensemble
36
+
md_type 1 //choose ensemble
37
37
md_dt 1 //time step
38
38
md_tfirst 700 //the first target temperature
39
-
md_rstmd 0 //whether restart md
40
-
md_qmass 1 //mass of themostat
41
-
md_dumpfred 10 //The period to dump MD information for monitoring and restarting MD
39
+
md_restart 0 //whether restart md
40
+
md_dumpfreq 10 //The period to dump MD information
42
41
```
43
42
44
43
These MD parameters means that ABACUS will use NVT ensemble with Nosé-hoover themostat; the time step is 1fs, and target temperature is 700K; start renew without restart file, set the mass of themostat as 1g/mol, and calculate the MSD and diffusion coefficent from first step.
45
44
46
45
Note: *Please turn off symmetry when do MD simulation.*
- md_tfirst : target temperature in md simulation(K), you should set parameter md_tlast and md_fixtemperature when you want to change temperature during md simulation.
51
-
- md_rstmd : 0, no need of restart ; 1, restart with restart file, you must repalce STRU file with STRU_MD before you run the restart task.
52
-
- md_qmass : mass of thermostat, set by experience, if you don’t know how to set, set it to 0 will have a number autosetted by ABACUS
53
-
- md_dumpfred : frequency for output consequence of md simulation
49
+
- md_tfirst : target temperature in md simulation(K), you should set parameter md_tlast when you want to change temperature during md simulation.
50
+
- md_restart : 0, no need of restart ; 1, restart with restart file, you must repalce STRU file with STRU_MD before you run the restart task.
51
+
- md_dumpfreq : frequency for output consequence of md simulation
54
52
55
53
The STRU file is:
56
54
```
@@ -149,9 +147,9 @@ Gamma
149
147
```
150
148
151
149
Run the program, and see results in the output directory. The following files are about MD:
152
-
-md_pos_$num.cif optimized structure in direct coordinate
153
-
-MD_RESTART output the information of md for restart
154
-
-STRU_MD if you want to restart md, you must replace the STRU with this file.
150
+
-STRU_MD_$num: optimized structures in direct coordinate
151
+
-Restart_md.dat: output the information of md for restart
152
+
-If you want to restart md, you must replace the STRU with STRU_MD_$num.
155
153
156
154
MD information can be found in file running_md.log or in file MD_OUT
@@ -1113,61 +1113,56 @@ This part of variables are used to control the molecular dynamics calculations.
1113
1113
- *Description*: control the ensemble to run md.
1114
1114
- -1: FIRE method to relax;
1115
1115
- 0: NVE ensemble;
1116
-
- 1: NVT ensemble with Anderson thermostat;
1117
-
- 2: NVT ensemble with Nose Hoover Chain;
1118
-
- 3: NVT ensemble with Langevin method;
1116
+
- 1: NVT ensemble with Nose Hoover Chain;
1117
+
- 2: NVT ensemble with Langevin method;
1118
+
- 3: NVT ensemble with Anderson thermostat;
1119
1119
- 4: MSST method;
1120
-
- *Default*: 2
1120
+
- *Default*: 1
1121
1121
1122
1122
[back to top](#input-file)
1123
1123
1124
-
- md_potential<a id="md-potential"></a>
1124
+
- md_ensolver<a id="md-ensolver"></a>
1125
1125
- *Type*: String
1126
-
- *Description*: choose the potential type.
1126
+
- *Description*: choose the energy solver for MD.
1127
1127
- FP: First-Principles MD;
1128
1128
- LJ: Leonard Jones potential;
1129
1129
- DP: DeeP potential;
1130
1130
- *Default*: FP
1131
1131
1132
1132
[back to top](#input-file)
1133
1133
1134
-
- md_rstmd<a id="md-rstmd"></a>
1134
+
- md_restart<a id="md-restart"></a>
1135
1135
- *Type*: Boolean
1136
1136
- *Description*: to control whether restart md.
1137
1137
- 0: When set to 0, ABACUS will calculate md normolly.
1138
1138
- 1: When set to 1, ABACUS will calculate md from last step in your test before.
1139
1139
- *Default*: 0
1140
1140
1141
1141
[back to top](#input-file)
1142
-
- md_dt<a id="md_dt"></a>
1142
+
- md_dt<a id="md-dt"></a>
1143
1143
- *Type*: Double
1144
1144
- *Description*: This is the time step(fs) used in md simulation .
1145
1145
- *Default*: 1
1146
1146
1147
1147
[back to top](#input-file)
1148
1148
- md_tfirst & md_tlast<a id="md-t"></a>
1149
1149
- *Type*: Double
1150
-
- *Description*: This is the temperature used in md simulation, md_tlast’s default value is md_tfirst. If md_tlast is setted and be different from the md_tfirst, ABACUS will automatically generate a linear temperature gradient file named ”ChangeTemp.dat”, you can also set this file according to your needs instead.
1150
+
- *Description*: This is the temperature (K) used in md simulation, md_tlast’s default value is md_tfirst. If md_tlast is set to be different from md_tfirst, ABACUS will automatically change the temperature from md_tfirst to md_tlast.
1151
1151
- *Default*: No default
1152
1152
1153
1153
[back to top](#input-file)
1154
-
- md_qmass<a id="md-qmass"></a>
1155
-
- *Type*: Double
1156
-
- *Description*: Inertia of extended system variable. Used only when md_type is 4, you should set a number which is larger than 0. Note that Qmass of NHC is set by md_tfreq.
1157
-
- *Default*: No default
1158
1154
1159
-
[back to top](#input-file)
1160
-
- md_dumpfred<a id="md-dumpfred"></a>
1155
+
- md_dumpfreq<a id="md-dumpfreq"></a>
1161
1156
- *Type*: Integer
1162
1157
- *Description*:This is the frequence to dump md information.
1163
1158
- *Default*: 1
1164
1159
1165
1160
[back to top](#input-file)
1166
1161
1167
-
- md_rstfred<a id="md-rstfred"></a>
1162
+
- md_restartfreq<a id="md-restartfreq"></a>
1168
1163
- *Type*: Integer
1169
1164
- *Description*:This is the frequence to output restart information.
1170
-
- *Default*: 1
1165
+
- *Default*: 5
1171
1166
1172
1167
[back to top](#input-file)
1173
1168
@@ -1180,63 +1175,70 @@ This part of variables are used to control the molecular dynamics calculations.
1180
1175
1181
1176
[back to top](#input-file)
1182
1177
1183
-
- MNHC<a id="mnhc"></a>
1178
+
- md_mnhc<a id="md-mnhc"></a>
1184
1179
- *Type*: Integer
1185
1180
- *Description*: Number of Nose-Hoover chains.
1186
1181
- *Default*: 4
1187
1182
1188
1183
[back to top](#input-file)
1189
1184
1190
-
- rcut_lj<a id="rcut_lj"></a>
1185
+
- lj_rcut<a id="lj-rcut"></a>
1191
1186
- *Type*: Real
1192
1187
- *Description*: Cut-off radius for Leonard Jones potential (angstrom).
1193
1188
- *Default*: 8.5 (for He)
1194
1189
1195
1190
[back to top](#input-file)
1196
1191
1197
-
- epsilon_lj<a id="epsilon_lj"></a>
1192
+
- lj_epsilon<a id="lj-epsilon"></a>
1198
1193
- *Type*: Real
1199
1194
- *Description*: The value of epsilon for Leonard Jones potential (eV).
1200
1195
- *Default*: 0.01032 (for He)
1201
1196
1202
1197
[back to top](#input-file)
1203
1198
1204
-
- sigma_lj<a id="sigma_lj"></a>
1199
+
- lj_sigma<a id="lj-sigma"></a>
1205
1200
- *Type*: Real
1206
1201
- *Description*: The value of sigma for Leonard Jones potential (angstrom).
1207
1202
- *Default*: 3.405 (for He)
1208
1203
1209
1204
[back to top](#input-file)
1210
1205
1211
-
- direction<a id="direction"></a>
1206
+
- msst_direction<a id="msst-direction"></a>
1212
1207
- *Type*: Integer
1213
1208
- *Description*: the direction of shock wave for MSST.
1214
1209
- *Default*: 2 (z direction)
1215
1210
1216
1211
[back to top](#input-file)
1217
1212
1218
-
- velocity<a id="velocity"></a>
1213
+
- msst_vel<a id="msst-vel"></a>
1219
1214
- *Type*: Real
1220
1215
- *Description*: the velocity of shock wave (\AA/fs) for MSST.
1221
1216
- *Default*: 0
1222
1217
1223
1218
[back to top](#input-file)
1224
1219
1225
-
- viscosity<a id="viscosity"></a>
1220
+
- msst_vis<a id="msst-vis"></a>
1226
1221
- *Type*: Real
1227
1222
- *Description*: artificial viscosity (mass/length/time) for MSST.
1228
1223
- *Default*: 0
1229
1224
1230
1225
[back to top](#input-file)
1231
1226
1232
-
- tscale<a id="tscale"></a>
1227
+
- msst_tscale<a id="msst-tscale"></a>
1233
1228
- *Type*: Real
1234
1229
- *Description*: reduction in initial temperature (0~1) used to compress volume in MSST.
1235
1230
- *Default*: 0
1236
1231
1237
1232
[back to top](#input-file)
1238
1233
1239
-
- damp<a id="damp"></a>
1234
+
- msst_qmass<a id="msst-qmass"></a>
1235
+
- *Type*: Double
1236
+
- *Description*: Inertia of extended system variable. Used only when md_type is 4, you should set a number which is larger than 0. Note that Qmass of NHC is set by md_tfreq.
1237
+
- *Default*: No default
1238
+
1239
+
[back to top](#input-file)
1240
+
1241
+
- md_damp<a id="md-damp"></a>
1240
1242
- *Type*: Real
1241
1243
- *Description*: damping parameter (fs) used to add force in Langevin method.
0 commit comments