venuspython 1.0.7__tar.gz → 1.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {venuspython-1.0.7 → venuspython-1.1.2}/PKG-INFO +34 -7
- {venuspython-1.0.7 → venuspython-1.1.2}/README.md +33 -6
- venuspython-1.1.2/venuspy/__init__.py +1 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/initialSampling.py +5 -5
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspython.egg-info/PKG-INFO +34 -7
- venuspython-1.0.7/venuspy/__init__.py +0 -1
- {venuspython-1.0.7 → venuspython-1.1.2}/pyproject.toml +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/setup.cfg +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/calc/bagelcalc.py +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/calc/chempotpycalc.py +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/calc/minisgdmlcalc.py +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/calc/mopaccalc.py +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/calc/nwchemcalc.py +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/calc/nwchemexcalc.py +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/calc/original_nwchemexcalc.py +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/calc/physnetcalc.py +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/calc/psi4calc.py +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/calc/qcengineGAMESScalc.py +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/calc/xtbcalc.py +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/cli.py +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspy/md.py +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspython.egg-info/SOURCES.txt +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspython.egg-info/dependency_links.txt +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspython.egg-info/entry_points.txt +0 -0
- {venuspython-1.0.7 → venuspython-1.1.2}/venuspython.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: venuspython
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: VENUSpy Initial Sampling and Molecular Dynamics
|
|
5
5
|
Keywords: moleculardynamics,initialsampling
|
|
6
6
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -70,17 +70,17 @@ Water is a nonlinear molecule with three atoms, so it has three normal modes. Th
|
|
|
70
70
|
venuspy-cli examples/H2O.input.xyz examples/H2O.input.xtb . --atomsInFirstGroup "1 2 3" --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --TVIBa 298.0 --TROTa 0.001 --n_threads 1 > production.log
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `
|
|
73
|
+
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `EVIBS` keyword in the output to see energies of each mode (in eV).
|
|
74
74
|
|
|
75
75
|
```
|
|
76
|
-
grep
|
|
76
|
+
grep "#VENUS EVIBS" production.log
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
When this is done repeatedly, we can get some statistical information by looking at the distribution of individual and total vibrational energies sampled.
|
|
80
80
|
|
|
81
81
|
<img align="center" width="600" height="250" src="images/canonical.298K.png">
|
|
82
82
|
|
|
83
|
-
The resulting distribution of vibrational energies in each mode is shown in the figure above. Nearly all molecules are in their ground vibrational state with energies of 0.23, 0.23, and 0.10
|
|
83
|
+
The resulting distribution of vibrational energies in each mode is shown in the figure above. Nearly all molecules are in their ground vibrational state with energies of 0.23, 0.23, and 0.10 eV. This results in only a single possible combination of energies sampled. At higher temperatures, the higher vibrational states start to get populated. At 3000K, if we repeat the procedure with the argument `--TVIBa 3000.0`, we instead see a distribution as follows:
|
|
84
84
|
|
|
85
85
|
<img align="center" width="600" height="250" src="images/canonical.3000K.png">
|
|
86
86
|
|
|
@@ -97,22 +97,49 @@ Water is a nonlinear molecule with three atoms, so it has three normal modes. Th
|
|
|
97
97
|
venuspy-cli examples/H2O.input.xyz examples/H2O.input.xtb . --atomsInFirstGroup "1 2 3" --production 100 --interval 1 --time_step 0.15 --INITQPa "microcanonical" --EVIBa 12.6372 --EROTa 0.00001 --n_threads 1 > production.log
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `
|
|
100
|
+
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `EVIBS` keyword in the output to see energies of each mode (in eV).
|
|
101
101
|
|
|
102
102
|
```
|
|
103
|
-
grep
|
|
103
|
+
grep "#VENUS EVIBS" production.log
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
When this is done repeatedly, we can get some statistical information by looking at the distribution of individual and total vibrational energies sampled.
|
|
107
107
|
|
|
108
108
|
<img align="center" width="600" height="250" src="images/microcanonical.12.63.png">
|
|
109
109
|
|
|
110
|
-
The resulting distribution of vibrational energies in each mode is shown in the figure above. Although only a single total vibrational energy is sampled, the energy is uniformly mixed over all three modes, resulting in a seemingly random distribution of combinations of energies. In this way, a microcanonical ensemble favors mixing mode energies over explicit quantizations. The same behaviour is seen at all excitations, including one corresponding to the
|
|
110
|
+
The resulting distribution of vibrational energies in each mode is shown in the figure above. Although only a single total vibrational energy is sampled, the energy is uniformly mixed over all three modes, resulting in a seemingly random distribution of combinations of energies. In this way, a microcanonical ensemble favors mixing mode energies over explicit quantizations. The same behaviour is seen at all excitations, including one corresponding to the average energy of the 3000K canonical ensemble (21.22 kcal/mol) from the previous example. If we repeat the procedure with the argument `--EVIBa 21.220`, we then see a distribution as follows:
|
|
111
111
|
|
|
112
112
|
<img align="center" width="600" height="250" src="images/microcanonical.21.22.png">
|
|
113
113
|
|
|
114
114
|
</details>
|
|
115
115
|
|
|
116
|
+
### Normal Mode Sampling
|
|
117
|
+
|
|
118
|
+
<details>
|
|
119
|
+
<summary>Click here to do the example</summary>
|
|
120
|
+
|
|
121
|
+
Water is a nonlinear molecule with three atoms, so it has three normal modes. If a specific amount of energy is needed to be sampled for each mode, then instead a microcanonical normal mode sampling can be done with the `--INITQPa "microcanonicalnormalmode"` argument. The frequency of the modes dictates the absolute amount of energy ultimately given to a mode. With xTB, these frequencies are 3653 cm<sup>-1</sup> > 3645 cm<sup>-1</sup> > 1538 cm<sup>-1</sup> for the symmetric stretch, asymmetric stretch, and bending modes, respectively. For example, for an equal-energy sampling, VENUSpy can sample these with:
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
venuspy-cli examples/H2O.input.xyz examples/H2O.input.xtb . --atomsInFirstGroup "1 2 3" --production 100 --interval 1 --time_step 0.15 --INITQPa "microcanonicalnormalmode" --EVIBNMODESa 4.21,4.21,4.21 --EROTa 0.00001 --n_threads 1 > production.log
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `EVIBS` keyword in the output to see energies of each mode (in eV).
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
grep "#VENUS EVIBS" production.log
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
When this is done repeatedly, we can get some statistical information by looking at the distribution of individual and total vibrational energies sampled.
|
|
134
|
+
|
|
135
|
+
<img align="center" width="600" height="250" src="images/normalmode.1to1to1.12.63.png">
|
|
136
|
+
|
|
137
|
+
The resulting distribution of vibrational energies in each mode is shown in the figure above. Each mode is given a specific amount of energy so effectively a single state and total energy are sampled. However, the amount of energy is arbitrary and any mix can be requested. For example, if we repeat the procedure with the argument `--EVIBNMODESa X,Y,0.0` where X and Y are two random numbers that add to 12.63 kcal/mol, we then see a distribution as follows:
|
|
138
|
+
|
|
139
|
+
<img align="center" width="600" height="250" src="images/normalmode.RtoRto0.12.63.png">
|
|
140
|
+
|
|
141
|
+
</details>
|
|
142
|
+
|
|
116
143
|
### Semiclassical Sampling
|
|
117
144
|
|
|
118
145
|
Finally, there is one more special case for diatomic molecules. Because polyatomic molecules have multiple normal modes, experimentally there is often more leeway in assigning exact rovibrational states to molecules---a difficult and often intractable problem. However, diatomic molecules can have exact rovibrational states assigned through computational quantization procedures. The phase and kinetic/potential distribution of the vibration can then be sampled classically. This semiclassical method is the preferred sampling method for diatoms.
|
|
@@ -57,17 +57,17 @@ Water is a nonlinear molecule with three atoms, so it has three normal modes. Th
|
|
|
57
57
|
venuspy-cli examples/H2O.input.xyz examples/H2O.input.xtb . --atomsInFirstGroup "1 2 3" --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --TVIBa 298.0 --TROTa 0.001 --n_threads 1 > production.log
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `
|
|
60
|
+
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `EVIBS` keyword in the output to see energies of each mode (in eV).
|
|
61
61
|
|
|
62
62
|
```
|
|
63
|
-
grep
|
|
63
|
+
grep "#VENUS EVIBS" production.log
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
When this is done repeatedly, we can get some statistical information by looking at the distribution of individual and total vibrational energies sampled.
|
|
67
67
|
|
|
68
68
|
<img align="center" width="600" height="250" src="images/canonical.298K.png">
|
|
69
69
|
|
|
70
|
-
The resulting distribution of vibrational energies in each mode is shown in the figure above. Nearly all molecules are in their ground vibrational state with energies of 0.23, 0.23, and 0.10
|
|
70
|
+
The resulting distribution of vibrational energies in each mode is shown in the figure above. Nearly all molecules are in their ground vibrational state with energies of 0.23, 0.23, and 0.10 eV. This results in only a single possible combination of energies sampled. At higher temperatures, the higher vibrational states start to get populated. At 3000K, if we repeat the procedure with the argument `--TVIBa 3000.0`, we instead see a distribution as follows:
|
|
71
71
|
|
|
72
72
|
<img align="center" width="600" height="250" src="images/canonical.3000K.png">
|
|
73
73
|
|
|
@@ -84,22 +84,49 @@ Water is a nonlinear molecule with three atoms, so it has three normal modes. Th
|
|
|
84
84
|
venuspy-cli examples/H2O.input.xyz examples/H2O.input.xtb . --atomsInFirstGroup "1 2 3" --production 100 --interval 1 --time_step 0.15 --INITQPa "microcanonical" --EVIBa 12.6372 --EROTa 0.00001 --n_threads 1 > production.log
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `
|
|
87
|
+
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `EVIBS` keyword in the output to see energies of each mode (in eV).
|
|
88
88
|
|
|
89
89
|
```
|
|
90
|
-
grep
|
|
90
|
+
grep "#VENUS EVIBS" production.log
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
When this is done repeatedly, we can get some statistical information by looking at the distribution of individual and total vibrational energies sampled.
|
|
94
94
|
|
|
95
95
|
<img align="center" width="600" height="250" src="images/microcanonical.12.63.png">
|
|
96
96
|
|
|
97
|
-
The resulting distribution of vibrational energies in each mode is shown in the figure above. Although only a single total vibrational energy is sampled, the energy is uniformly mixed over all three modes, resulting in a seemingly random distribution of combinations of energies. In this way, a microcanonical ensemble favors mixing mode energies over explicit quantizations. The same behaviour is seen at all excitations, including one corresponding to the
|
|
97
|
+
The resulting distribution of vibrational energies in each mode is shown in the figure above. Although only a single total vibrational energy is sampled, the energy is uniformly mixed over all three modes, resulting in a seemingly random distribution of combinations of energies. In this way, a microcanonical ensemble favors mixing mode energies over explicit quantizations. The same behaviour is seen at all excitations, including one corresponding to the average energy of the 3000K canonical ensemble (21.22 kcal/mol) from the previous example. If we repeat the procedure with the argument `--EVIBa 21.220`, we then see a distribution as follows:
|
|
98
98
|
|
|
99
99
|
<img align="center" width="600" height="250" src="images/microcanonical.21.22.png">
|
|
100
100
|
|
|
101
101
|
</details>
|
|
102
102
|
|
|
103
|
+
### Normal Mode Sampling
|
|
104
|
+
|
|
105
|
+
<details>
|
|
106
|
+
<summary>Click here to do the example</summary>
|
|
107
|
+
|
|
108
|
+
Water is a nonlinear molecule with three atoms, so it has three normal modes. If a specific amount of energy is needed to be sampled for each mode, then instead a microcanonical normal mode sampling can be done with the `--INITQPa "microcanonicalnormalmode"` argument. The frequency of the modes dictates the absolute amount of energy ultimately given to a mode. With xTB, these frequencies are 3653 cm<sup>-1</sup> > 3645 cm<sup>-1</sup> > 1538 cm<sup>-1</sup> for the symmetric stretch, asymmetric stretch, and bending modes, respectively. For example, for an equal-energy sampling, VENUSpy can sample these with:
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
venuspy-cli examples/H2O.input.xyz examples/H2O.input.xtb . --atomsInFirstGroup "1 2 3" --production 100 --interval 1 --time_step 0.15 --INITQPa "microcanonicalnormalmode" --EVIBNMODESa 4.21,4.21,4.21 --EROTa 0.00001 --n_threads 1 > production.log
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `EVIBS` keyword in the output to see energies of each mode (in eV).
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
grep "#VENUS EVIBS" production.log
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
When this is done repeatedly, we can get some statistical information by looking at the distribution of individual and total vibrational energies sampled.
|
|
121
|
+
|
|
122
|
+
<img align="center" width="600" height="250" src="images/normalmode.1to1to1.12.63.png">
|
|
123
|
+
|
|
124
|
+
The resulting distribution of vibrational energies in each mode is shown in the figure above. Each mode is given a specific amount of energy so effectively a single state and total energy are sampled. However, the amount of energy is arbitrary and any mix can be requested. For example, if we repeat the procedure with the argument `--EVIBNMODESa X,Y,0.0` where X and Y are two random numbers that add to 12.63 kcal/mol, we then see a distribution as follows:
|
|
125
|
+
|
|
126
|
+
<img align="center" width="600" height="250" src="images/normalmode.RtoRto0.12.63.png">
|
|
127
|
+
|
|
128
|
+
</details>
|
|
129
|
+
|
|
103
130
|
### Semiclassical Sampling
|
|
104
131
|
|
|
105
132
|
Finally, there is one more special case for diatomic molecules. Because polyatomic molecules have multiple normal modes, experimentally there is often more leeway in assigning exact rovibrational states to molecules---a difficult and often intractable problem. However, diatomic molecules can have exact rovibrational states assigned through computational quantization procedures. The phase and kinetic/potential distribution of the vibration can then be sampled classically. This semiclassical method is the preferred sampling method for diatoms.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.1.2"
|
|
@@ -858,8 +858,8 @@ class initialSampling:
|
|
|
858
858
|
qq += nmodes[i] * dq[i]
|
|
859
859
|
|
|
860
860
|
for i in range(Natoms):
|
|
861
|
-
p[i] = p[i] *
|
|
862
|
-
q[i] = q0[i] + qq[i]
|
|
861
|
+
p[i] = p[i] * masses[i] # The (M^1/2) factor "cancels out" the mass-weighting of the normal modes (M^-1/2)(NMODE)
|
|
862
|
+
q[i] = q0[i] + qq[i] # Now, Q = (M^-1) P = (M^-1/2) (M^-1/2)(NMODE)
|
|
863
863
|
|
|
864
864
|
qCM = self.getCenterOfMass(masses,q)
|
|
865
865
|
|
|
@@ -1043,8 +1043,8 @@ class initialSampling:
|
|
|
1043
1043
|
qq += nmodes[i] * dq[i]
|
|
1044
1044
|
|
|
1045
1045
|
for i in range(Natoms):
|
|
1046
|
-
p[i] = p[i] *
|
|
1047
|
-
q[i] = q0[i] + qq[i]
|
|
1046
|
+
p[i] = p[i] * masses[i] # The (M^1/2) factor "cancels out" the mass-weighting of the normal modes (M^-1/2)(NMODE)
|
|
1047
|
+
q[i] = q0[i] + qq[i] # Now, Q = (M^-1) P = (M^-1/2) (M^-1/2)(NMODE)
|
|
1048
1048
|
|
|
1049
1049
|
qCM = self.getCenterOfMass(masses,q)
|
|
1050
1050
|
|
|
@@ -1346,7 +1346,7 @@ class initialSampling:
|
|
|
1346
1346
|
print("#VENUS NONZEROFREQS:",*nonzeroEs)
|
|
1347
1347
|
# print("#VENUS NONZEROMODES:",nonzeroModes)
|
|
1348
1348
|
print("#VENUS EROT:",Erot)
|
|
1349
|
-
print("#VENUS EVIB:",sum(
|
|
1349
|
+
print("#VENUS EVIB:",sum([float((x+0.5)*y) for x,y in zip (vibNums,nonzeroEs)]))
|
|
1350
1350
|
print("#VENUS L:", L)
|
|
1351
1351
|
print("#VENUS NVIBS:",*[float(x) for x in vibNums])
|
|
1352
1352
|
print("#VENUS EVIBS:",*[float((x+0.5)*y) for x,y in zip (vibNums,nonzeroEs)])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: venuspython
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: VENUSpy Initial Sampling and Molecular Dynamics
|
|
5
5
|
Keywords: moleculardynamics,initialsampling
|
|
6
6
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -70,17 +70,17 @@ Water is a nonlinear molecule with three atoms, so it has three normal modes. Th
|
|
|
70
70
|
venuspy-cli examples/H2O.input.xyz examples/H2O.input.xtb . --atomsInFirstGroup "1 2 3" --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --TVIBa 298.0 --TROTa 0.001 --n_threads 1 > production.log
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `
|
|
73
|
+
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `EVIBS` keyword in the output to see energies of each mode (in eV).
|
|
74
74
|
|
|
75
75
|
```
|
|
76
|
-
grep
|
|
76
|
+
grep "#VENUS EVIBS" production.log
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
When this is done repeatedly, we can get some statistical information by looking at the distribution of individual and total vibrational energies sampled.
|
|
80
80
|
|
|
81
81
|
<img align="center" width="600" height="250" src="images/canonical.298K.png">
|
|
82
82
|
|
|
83
|
-
The resulting distribution of vibrational energies in each mode is shown in the figure above. Nearly all molecules are in their ground vibrational state with energies of 0.23, 0.23, and 0.10
|
|
83
|
+
The resulting distribution of vibrational energies in each mode is shown in the figure above. Nearly all molecules are in their ground vibrational state with energies of 0.23, 0.23, and 0.10 eV. This results in only a single possible combination of energies sampled. At higher temperatures, the higher vibrational states start to get populated. At 3000K, if we repeat the procedure with the argument `--TVIBa 3000.0`, we instead see a distribution as follows:
|
|
84
84
|
|
|
85
85
|
<img align="center" width="600" height="250" src="images/canonical.3000K.png">
|
|
86
86
|
|
|
@@ -97,22 +97,49 @@ Water is a nonlinear molecule with three atoms, so it has three normal modes. Th
|
|
|
97
97
|
venuspy-cli examples/H2O.input.xyz examples/H2O.input.xtb . --atomsInFirstGroup "1 2 3" --production 100 --interval 1 --time_step 0.15 --INITQPa "microcanonical" --EVIBa 12.6372 --EROTa 0.00001 --n_threads 1 > production.log
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `
|
|
100
|
+
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `EVIBS` keyword in the output to see energies of each mode (in eV).
|
|
101
101
|
|
|
102
102
|
```
|
|
103
|
-
grep
|
|
103
|
+
grep "#VENUS EVIBS" production.log
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
When this is done repeatedly, we can get some statistical information by looking at the distribution of individual and total vibrational energies sampled.
|
|
107
107
|
|
|
108
108
|
<img align="center" width="600" height="250" src="images/microcanonical.12.63.png">
|
|
109
109
|
|
|
110
|
-
The resulting distribution of vibrational energies in each mode is shown in the figure above. Although only a single total vibrational energy is sampled, the energy is uniformly mixed over all three modes, resulting in a seemingly random distribution of combinations of energies. In this way, a microcanonical ensemble favors mixing mode energies over explicit quantizations. The same behaviour is seen at all excitations, including one corresponding to the
|
|
110
|
+
The resulting distribution of vibrational energies in each mode is shown in the figure above. Although only a single total vibrational energy is sampled, the energy is uniformly mixed over all three modes, resulting in a seemingly random distribution of combinations of energies. In this way, a microcanonical ensemble favors mixing mode energies over explicit quantizations. The same behaviour is seen at all excitations, including one corresponding to the average energy of the 3000K canonical ensemble (21.22 kcal/mol) from the previous example. If we repeat the procedure with the argument `--EVIBa 21.220`, we then see a distribution as follows:
|
|
111
111
|
|
|
112
112
|
<img align="center" width="600" height="250" src="images/microcanonical.21.22.png">
|
|
113
113
|
|
|
114
114
|
</details>
|
|
115
115
|
|
|
116
|
+
### Normal Mode Sampling
|
|
117
|
+
|
|
118
|
+
<details>
|
|
119
|
+
<summary>Click here to do the example</summary>
|
|
120
|
+
|
|
121
|
+
Water is a nonlinear molecule with three atoms, so it has three normal modes. If a specific amount of energy is needed to be sampled for each mode, then instead a microcanonical normal mode sampling can be done with the `--INITQPa "microcanonicalnormalmode"` argument. The frequency of the modes dictates the absolute amount of energy ultimately given to a mode. With xTB, these frequencies are 3653 cm<sup>-1</sup> > 3645 cm<sup>-1</sup> > 1538 cm<sup>-1</sup> for the symmetric stretch, asymmetric stretch, and bending modes, respectively. For example, for an equal-energy sampling, VENUSpy can sample these with:
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
venuspy-cli examples/H2O.input.xyz examples/H2O.input.xtb . --atomsInFirstGroup "1 2 3" --production 100 --interval 1 --time_step 0.15 --INITQPa "microcanonicalnormalmode" --EVIBNMODESa 4.21,4.21,4.21 --EROTa 0.00001 --n_threads 1 > production.log
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `EVIBS` keyword in the output to see energies of each mode (in eV).
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
grep "#VENUS EVIBS" production.log
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
When this is done repeatedly, we can get some statistical information by looking at the distribution of individual and total vibrational energies sampled.
|
|
134
|
+
|
|
135
|
+
<img align="center" width="600" height="250" src="images/normalmode.1to1to1.12.63.png">
|
|
136
|
+
|
|
137
|
+
The resulting distribution of vibrational energies in each mode is shown in the figure above. Each mode is given a specific amount of energy so effectively a single state and total energy are sampled. However, the amount of energy is arbitrary and any mix can be requested. For example, if we repeat the procedure with the argument `--EVIBNMODESa X,Y,0.0` where X and Y are two random numbers that add to 12.63 kcal/mol, we then see a distribution as follows:
|
|
138
|
+
|
|
139
|
+
<img align="center" width="600" height="250" src="images/normalmode.RtoRto0.12.63.png">
|
|
140
|
+
|
|
141
|
+
</details>
|
|
142
|
+
|
|
116
143
|
### Semiclassical Sampling
|
|
117
144
|
|
|
118
145
|
Finally, there is one more special case for diatomic molecules. Because polyatomic molecules have multiple normal modes, experimentally there is often more leeway in assigning exact rovibrational states to molecules---a difficult and often intractable problem. However, diatomic molecules can have exact rovibrational states assigned through computational quantization procedures. The phase and kinetic/potential distribution of the vibration can then be sampled classically. This semiclassical method is the preferred sampling method for diatoms.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.7"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|