<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Scrapbook (Posts about quantum-chemistry)</title><link>https://scrapbook.netlify.app/</link><description></description><atom:link href="https://scrapbook.netlify.app/categories/quantum-chemistry.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2026 &lt;a href="mailto:non@existent.com"&gt;author&lt;/a&gt; </copyright><lastBuildDate>Fri, 16 Oct 2026 15:56:09 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>QM/MM</title><link>https://scrapbook.netlify.app/posts/qm-mm.html</link><dc:creator>author</dc:creator><description>&lt;nav id="TOC" role="doc-toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/qm-mm.html#reading_materials" id="toc-reading_materials"&gt;Reading
materials&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/qm-mm.html#software_codes_for_performing_qmmm" id="toc-software_codes_for_performing_qmmm"&gt;Software codes for
performing QM/MM&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;
&lt;h2 id="reading_materials"&gt;Reading materials&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Chapter 13 of Cramer, C. J. Essentials of Computational Chemistry:
Theories and Models, 2nd ed.; John Wiley &amp;amp; Sons, 2013.&lt;/li&gt;
&lt;li&gt;References in the "Molecular Simulation -&amp;gt; QM/MM" folder of the
group Zotero library, especially the following reviews:&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;Bramley, G. A.; Beynon, O. T.; Stishenko, P. V.; Logsdail, A. J. The
Application of QM/MM Simulations in Heterogeneous Catalysis. &lt;a href="https://doi.org/10.1039/D2CP04537K"&gt;Phys. Chem. Chem. Phys. 2023,
10.1039.D2CP04537K&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Chung, L. W.; Sameera, W. M. C.; Ramozzi, R.; Page, A. J.; Hatanaka,
M.; Petrova, G. P.; Harris, T. V.; Li, X.; Ke, Z.; Liu, F.; Li, H.-B.;
Ding, L.; Morokuma, K. The ONIOM Method and Its Applications. &lt;a href="https://doi.org/10.1021/cr5004419"&gt;Chem. Rev. 2015, 115,
5678–5796&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Senn, H. M.; Thiel, W. QM/MM Methods for Biomolecular Systems. &lt;a href="https://doi.org/10.1002/anie.200802019"&gt;Angew. Chem. Int. Ed.
2009, 48, 1198–1229&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Lin, H.; Truhlar, D. G. QM/MM: What Have We Learned, Where Are We,
and Where Do We Go from Here? &lt;a href="https://doi.org/10.1007/s00214-006-0143-z"&gt;Theor. Chem. Acc. 2007,
117, 185–199&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="software_codes_for_performing_qmmm"&gt;Software codes for
performing QM/MM&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://chemshell.org"&gt;ChemShell&lt;/a&gt;: A copy is uploaded to
our group SharePoint folder.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gaussian.com/oniom/"&gt;ONIOM methods in
Gaussian&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.gromacs.org/topic/qmmm.html"&gt;GROMACS/CP2K&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gulp.curtin.edu.au"&gt;GULP&lt;/a&gt; has very good support
for shell models for ionic materials and can interface with QMPot, &lt;a href="https://www.turbomole.org"&gt;TURBOMOLE&lt;/a&gt;, and &lt;a href="https://www.abinit.org"&gt;ABINIT&lt;/a&gt;. A copy is uploaded to our
group SharePoint folder.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dasher.wustl.edu/tinker/"&gt;Tinker&lt;/a&gt; (&lt;a href="https://tinkertools.org"&gt;next version&lt;/a&gt;) is a molecular
mechanics code and can interface with &lt;a href="http://www.csar.cfs.ac.uk/user_information/software/chemistry/gamess_uk.shtml"&gt;GAMESS-UK&lt;/a&gt;
and &lt;a href="https://www.q-chem.com"&gt;Q-Chem&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://inaqs.github.io/"&gt;INAQS&lt;/a&gt; supports both
Born-Oppenheimer, Ehrenfest, and surface hopping (non-adiabatic)
dynamics.&lt;/li&gt;
&lt;/ul&gt;</description><category>molecular-simulation</category><category>multiscale-modeling</category><category>quantum-chemistry</category><category>research</category><guid>https://scrapbook.netlify.app/posts/qm-mm.html</guid><pubDate>Sat, 25 Feb 2023 04:24:30 GMT</pubDate></item><item><title>DFT+U</title><link>https://scrapbook.netlify.app/posts/dft-u.html</link><dc:creator>author</dc:creator><description>&lt;ul&gt;
&lt;li&gt;References in the "DFT+U" folder of the group Zotero library.&lt;/li&gt;
&lt;li&gt;Tutorials for VASP
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.vasp.at/wiki/index.php/Calculate_U_for_LSDA%2BU"&gt;Calculating
linear response U parameter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.vasp.at/wiki/index.php/NiO_GGA%2BU"&gt;An example
NiO GGA+U calculation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://grandcentral.apam.columbia.edu:5555/tutorials/dft_procedures/linear_response_u/index.html"&gt;Calculating
linear response U parameters&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Tutorials for Quantum-ESPRESSO
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://hjkgrp.mit.edu/content/calculating-hubbard-u"&gt;Calculating
linear response and self-consistent U parameters: single site&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://hjkgrp.mit.edu/content/hubbard-u-multiple-sites"&gt;Calculating
linear response and self-consistent U parameters: multiple
sites&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;</description><category>quantum-chemistry</category><category>research</category><guid>https://scrapbook.netlify.app/posts/dft-u.html</guid><pubDate>Fri, 28 Aug 2020 21:17:00 GMT</pubDate></item><item><title>VASP How-tos</title><link>https://scrapbook.netlify.app/posts/vasp-how-tos.html</link><dc:creator>author</dc:creator><description>&lt;nav id="TOC" role="doc-toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#tutorials" id="toc-tutorials"&gt;Tutorials&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#set_up_vasp_tools_on_the_group_server" id="toc-set_up_vasp_tools_on_the_group_server"&gt;Set up vasp-tools on the
group server&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#set_up_open_studio" id="toc-set_up_open_studio"&gt;Set up
Open Studio&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#single_point_energy_calculations_geometry_optimizations" id="toc-single_point_energy_calculations_geometry_optimizations"&gt;Single-point
energy calculations / geometry optimizations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#neb_calculations" id="toc-neb_calculations"&gt;NEB
calculations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#dimer_calculations" id="toc-dimer_calculations"&gt;Dimer
calculations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#metadynamics" id="toc-metadynamics"&gt;Metadynamics&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#center_of_mass_drifting" id="toc-center_of_mass_drifting"&gt;Center-of-mass drifting&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;
&lt;h2 id="tutorials"&gt;Tutorials&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Work through tutorials SharePoint folder from a 2003 VASP
workshop.&lt;/li&gt;
&lt;li&gt;Tutorials in SharePoint folder for first-principle simulation
codes.&lt;/li&gt;
&lt;li&gt;Papers in the group Zotero library, inside folders labeled
classics.&lt;/li&gt;
&lt;li&gt;Classic texts listed under &lt;a href="https://scrapbook.netlify.app/posts/Books_and_Courses#Computational_modeling" title="wikilink"&gt;Computational modeling&lt;/a&gt; and &lt;a href="https://scrapbook.netlify.app/posts/Books_and_Courses#Catalysis" title="wikilink"&gt;Catalysis&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Official YouTube &lt;a href="https://www.youtube.com/@vasp8588"&gt;channel&lt;/a&gt; of VASP.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="set_up_vasp_tools_on_the_group_server"&gt;Set up vasp-tools on the
group server&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;SSH (PuTTY for Windows) to the group server and complete the steps
below.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="sourceCode" id="cb1"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb1-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb1-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="bu"&gt;cd&lt;/span&gt; ~&lt;/span&gt;
&lt;span id="cb1-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb1-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;ln&lt;/span&gt; &lt;span class="at"&gt;-sf&lt;/span&gt; /share/apps/vasp-tools .&lt;/span&gt;
&lt;span id="cb1-3"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb1-3" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;cp&lt;/span&gt; &lt;span class="at"&gt;-a&lt;/span&gt; /home/common/sample-input/vasp/my-vasp-tools .&lt;/span&gt;
&lt;span id="cb1-4"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb1-4" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;module&lt;/span&gt; add vasp-tools/linux&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Edit &lt;code&gt;~/my-vasp-tools/user_specs&lt;/code&gt; to suit your system and
use your Email address.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;To find out the available options &lt;code&gt;setrun&lt;/code&gt; supports,
locate &lt;code&gt;VASPROOT&lt;/code&gt; from the output of the following
command:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="sourceCode" id="cb2"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb2-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb2-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;module&lt;/span&gt; show vasp-tools&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Typically, the result will be &lt;code&gt;$HOME/vasp-tools&lt;/code&gt;, you can
then examine the set of system and job types:&lt;/p&gt;
&lt;div class="sourceCode" id="cb3"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb3-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb3-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;find&lt;/span&gt; &lt;span class="va"&gt;$HOME&lt;/span&gt;/vasp-tools/runfiles/system/ &lt;span class="at"&gt;-mindepth&lt;/span&gt; 2 &lt;span class="at"&gt;-maxdepth&lt;/span&gt; 2 &lt;span class="at"&gt;-type&lt;/span&gt; d  &lt;span class="co"&gt;# for system types, or&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb3-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb3-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;find&lt;/span&gt; &lt;span class="va"&gt;$HOME&lt;/span&gt;/vasp-tools/runfiles/jobtype/ &lt;span class="at"&gt;-mindepth&lt;/span&gt; 2 &lt;span class="at"&gt;-maxdepth&lt;/span&gt; 2 &lt;span class="at"&gt;-type&lt;/span&gt; d  &lt;span class="co"&gt;# for job types&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;You will see something like
&lt;code&gt;$HOME/vasp-tools/runfiles/system/gas/molecule&lt;/code&gt; and
&lt;code&gt;$HOME/vasp-tools/runfiles/jobtype/nrg/low&lt;/code&gt;, which means you
can use &lt;code&gt;-s gas/molecule&lt;/code&gt; and &lt;code&gt;-j nrg/low&lt;/code&gt; for
isolated molecular calculation and low-precision single-point energy
calculation, respectively.&lt;/p&gt;
&lt;p&gt;To create new systems or job types, or override existing ones, simply
create the necessary folder hierarchy in &lt;code&gt;~/my-vasp-tools&lt;/code&gt;.
For example, if we want to use a different &lt;code&gt;INCAR&lt;/code&gt; template
for &lt;code&gt;gas/molecule&lt;/code&gt;, copy the existing files from
&lt;code&gt;$HOME/vasp-tools&lt;/code&gt; to use as the basis:&lt;/p&gt;
&lt;div class="sourceCode" id="cb4"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb4-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb4-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;mkdir&lt;/span&gt; &lt;span class="at"&gt;-p&lt;/span&gt; ~/my-vasp-tools/runfiles/system/gas&lt;/span&gt;
&lt;span id="cb4-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb4-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;cp&lt;/span&gt; &lt;span class="at"&gt;-a&lt;/span&gt; ~/vasp-tools/runfiles/system/gas/molecule ~/my-vasp-tools/runfiles/system/gas/&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;We then make the necessary changes to &lt;code&gt;INCAR&lt;/code&gt; files in all
sub directories. We can also add &lt;code&gt;KPOINTS&lt;/code&gt; files to these sub
directories and skip the &lt;code&gt;-K&lt;/code&gt; option when running
&lt;code&gt;setrun&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Similarly, create/copy and edit files in
&lt;code&gt;~/my-vasp-tools/runfiles/jobtype&lt;/code&gt; to customize new job types
to use with the &lt;code&gt;-j&lt;/code&gt; option of &lt;code&gt;setrun&lt;/code&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make sure to understand Step 4 under &lt;a href="https://scrapbook.netlify.app/posts/Shotgun_job_management_system#Basic_workflow" title="wikilink"&gt;Shotgun basic workflow&lt;/a&gt;. Remember to copy the VASP
executable to the target HPC machine. Where the VASP executable should
be located is determined by the submission script. For example,
&lt;code&gt;/home/common/bin/sub-vasp-bridges.script&lt;/code&gt; has the following
line
&lt;code&gt;PROG="$HOME/vasp-tools/hosts/mesabi/vaspexec/vasp5.4.1_ifort_impi_mkl_vtst_vaspsol"&lt;/code&gt;,
which means a binary executable named
&lt;code&gt;vasp5.4.1_ifort_impi_mkl_vtst_vaspsol&lt;/code&gt; should exist in your
home directory on Bridges under
&lt;code&gt;vasp-tools/hosts/mesabi/vaspexec&lt;/code&gt;. We can rsync the
executable as follows:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="sourceCode" id="cb5"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb5-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb5-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;rsync&lt;/span&gt; &lt;span class="at"&gt;-avzP&lt;/span&gt; /share/apps/vasp-tools/hosts/mesabi bridges:.&lt;/span&gt;
&lt;span id="cb5-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb5-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;ssh&lt;/span&gt; bridges &lt;span class="st"&gt;'mkdir -p ~/vasp-tools/hosts; mv mesabi ~/vasp-tools/hosts/'&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;VASP executable&lt;/strong&gt;: If VASP has not been compiled on a
new HPC system, we can use a build for a different HPC machine assuming
they have the same microarchitecture (see this &lt;a href="https://scrapbook.netlify.app/posts/Compilation_&amp;amp;_Tuning#HPC_machine_microarchitecture" title="wikilink"&gt;list&lt;/a&gt;). Most VASP builds were compiled with Intel
compilers + MKL. Remember to &lt;code&gt;module add&lt;/code&gt; the latest Intel
compiler suite.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="set_up_open_studio"&gt;Set up Open Studio&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Log in with your UMass email at &lt;a href="https://openstudio.pengbai.org"&gt;Open Studio&lt;/a&gt; .&lt;/li&gt;
&lt;li&gt;Download the token script from the drop-down menu at the top right
corner and copy it to your &lt;code&gt;~/my-vasp-tools/bin&lt;/code&gt; folder on
the group server.&lt;/li&gt;
&lt;li&gt;Give the script executable permission and create the
&lt;code&gt;~/website&lt;/code&gt; folder:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="sourceCode" id="cb6"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb6-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb6-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;chmod&lt;/span&gt; +x ~/my-vasp-tools/bin/post2web.sh&lt;/span&gt;
&lt;span id="cb6-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb6-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;mkdir&lt;/span&gt; &lt;span class="at"&gt;-p&lt;/span&gt; ~/website&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;After the setup, &lt;code&gt;results_opt&lt;/code&gt;, &lt;code&gt;results_neb&lt;/code&gt;,
and &lt;code&gt;results_dim&lt;/code&gt; scripts will upload VASP results to your
Google Drive and return a link for web visualization.&lt;/li&gt;
&lt;li&gt;You can customize the look and feel, make measurements, or even use
Jmol console commands (right click on the visualization pane). You can
save the customization by clicking the Export Online button.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="single_point_energy_calculations_geometry_optimizations"&gt;Single-point
energy calculations / geometry optimizations&lt;/h2&gt;
&lt;p&gt;This &lt;a href="https://www.youtube.com/watch?v=gwA0KtAcmH4"&gt;video&lt;/a&gt;
gives a good introduction on geometry optimization, covering the theory,
and discussing the different algorithms implemented in VASP. Below is
the sequence of steps for running a VASP calculation to compute a
single-point energy or to optimize a structure.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On your workstation&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;Use Schrodinger or any other suitable software to prepare the
structure to be optimized, export it as a &lt;code&gt;.pdb&lt;/code&gt; file.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;rsync&lt;/code&gt; / &lt;code&gt;scp&lt;/code&gt; / WinSCP (Windows only) to
upload the file to group server.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;On the group server&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;Convert the &lt;code&gt;.pdb&lt;/code&gt; file to VASP POSCAR format. It may be
necessary to edit the &lt;code&gt;.pdb&lt;/code&gt; file by deleting all the
"CONECT" lines using a text editor.
&lt;div class="sourceCode" id="cb7"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb7-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb7-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="bu"&gt;cd&lt;/span&gt; /path/to/projects/ABC/moleculeX/reactant  &lt;span class="co"&gt;# go to the directory where the .pdb file is uploaded.&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb7-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb7-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;module&lt;/span&gt; add python/conda3.6  &lt;span class="co"&gt;# in order to use the ASE python module&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb7-3"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb7-3" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;ase&lt;/span&gt; convert moleculeX-reactant.pdb POSCAR  &lt;span class="co"&gt;# converts the .pdb file to POSCAR&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Set up other input files.
&lt;div class="sourceCode" id="cb8"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb8-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb8-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;module&lt;/span&gt; add vasp-tools  &lt;span class="co"&gt;# in order to use the setrun script (and others)&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb8-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb8-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;setrun&lt;/span&gt; &lt;span class="at"&gt;-f&lt;/span&gt; PBE &lt;span class="at"&gt;-F&lt;/span&gt; D3BJ &lt;span class="at"&gt;-p&lt;/span&gt; PAW54 &lt;span class="at"&gt;-K&lt;/span&gt; 1x1x1 &lt;span class="at"&gt;-s&lt;/span&gt; gas/molecule &lt;span class="at"&gt;-j&lt;/span&gt; opt/high&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;code&gt;setrun&lt;/code&gt; generates 3 directories: STEP1, STEP2, STEP3, for
a 3-stage optimization. STEP3 uses high K-point but low precision. It's
mostly for metals and not relevant for isolated molecules or zeolite
systems. Remove it by&lt;/p&gt;
&lt;div class="sourceCode" id="cb9"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb9-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb9-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;rm&lt;/span&gt; &lt;span class="at"&gt;-r&lt;/span&gt; STEP3&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;In the above command, &lt;code&gt;-s gas/molecule&lt;/code&gt; specifies the type
of system and &lt;code&gt;-j opt/high&lt;/code&gt; specifies the job type.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Prepare submission scripts. The best practice is to write a generic
submission script and put it in the local asset directory (e.g.,
&lt;code&gt;/path/to/projects/ABC/bin/&lt;/code&gt;). Then create symbolic links:
&lt;div class="sourceCode" id="cb10"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb10-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb10-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;ln&lt;/span&gt; &lt;span class="at"&gt;-sf&lt;/span&gt; ../../bin/sub-vasp.script .  &lt;span class="co"&gt;# Run in current directory /path/to/projects/ABC/moleculeX/reactant&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: these symlinks must use relative paths instead
of absolute paths, because the local asset directory will be synced to
the remote target under your home directory, which may have a different
absolute path.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Submit the job using shotgun
&lt;div class="sourceCode" id="cb11"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb11-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb11-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;shotgun&lt;/span&gt; submit &lt;span class="at"&gt;-c&lt;/span&gt; 8 &lt;span class="at"&gt;-m&lt;/span&gt; 5200 &lt;span class="at"&gt;-n&lt;/span&gt; 1 &lt;span class="at"&gt;-t&lt;/span&gt; 24 &lt;span class="at"&gt;-r&lt;/span&gt; ghpcc06 &lt;span class="at"&gt;-q&lt;/span&gt; long &lt;span class="at"&gt;-j&lt;/span&gt; ../../bin/sub-vasp-ghpcc.script  &lt;span class="co"&gt;# submitting the job&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: the &lt;code&gt;./&lt;/code&gt; part in
&lt;code&gt;./sub-vasp-ghpcc.script&lt;/code&gt; is required. See
&lt;code&gt;shotgun --help submit&lt;/code&gt; for a list of options that can be
used.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="neb_calculations"&gt;NEB calculations&lt;/h2&gt;
&lt;p&gt;The nudged elastic band method uses a series of structures to
approximate the states along a reaction pathway and optimize them in a
way so that they approach the minimum energy pathway. Below is the
sequence of steps for setting up a NEB calculation.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;On your workstation, use Schrodinger to gradually modify your
reactant structure and morph it into the desired product structure. Save
4 -- 8 intermediate states, depending on how complicated the reaction
is. Since we will use linear interpolation of Cartesian coordinates to
construct the initial guess for the reaction pathway, translation is
therefore easy while rotation is difficult.
&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: make sure you understand this point. To help
with understanding this, construct two "reactions": pure translation and
pure rotation of a single methane molecule. Use only reactant and
product to construct a 8-image pathway for both cases (see below for the
steps). Visualize the movie of the two pathways created and pay
attention to how bonds are compressed in the rotation "reaction". We
would want to avoid feeding obviously unphysical structures to DFT
calculations.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Optimize the reactant and product structures, following the steps
under &lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#Single-point_energy_calculations_/_geometry_optimizations" title="wikilink"&gt;Geometry Optimizations&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Export the intermediate states as &lt;code&gt;.pdb&lt;/code&gt; files and upload
them to group server.&lt;/li&gt;
&lt;li&gt;SSH to group server. On the group server, convert all the
&lt;code&gt;.pdb&lt;/code&gt; files to POSCARs:
&lt;div class="sourceCode" id="cb12"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb12-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb12-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="bu"&gt;cd&lt;/span&gt; /path/to/projects/ABC/moleculeX/NEB  &lt;span class="co"&gt;# go to the directory where the intermediate images are uploaded.&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb12-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb12-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;module&lt;/span&gt; add python/conda3.6  &lt;span class="co"&gt;# in order to use the ASE python module&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb12-3"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb12-3" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;ase&lt;/span&gt; convert moleculeX-intermediate1.pdb POSCAR1&lt;/span&gt;
&lt;span id="cb12-4"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb12-4" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;ase&lt;/span&gt; convert moleculeX-intermediate2.pdb POSCAR2&lt;/span&gt;
&lt;span id="cb12-5"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb12-5" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="co"&gt;# ... say you have saved five intermediate images ...&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb12-6"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb12-6" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;ase&lt;/span&gt; convert moleculeX-intermediate5.pdb POSCAR5&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Copy the optimized reactant and product structures as POSCAR0 and
POSCAR6. Make sure to use the FINAL optimized structure from STEP2, not
the stage 1 result in STEP1.&lt;/p&gt;
&lt;div class="sourceCode" id="cb13"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb13-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb13-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;cp&lt;/span&gt; &lt;span class="at"&gt;-a&lt;/span&gt; /path/to/projects/ABC/moleculeX/reactant/STEP2/CONTCAR POSCAR0&lt;/span&gt;
&lt;span id="cb13-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb13-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;cp&lt;/span&gt; &lt;span class="at"&gt;-a&lt;/span&gt; /path/to/projects/ABC/moleculeX/product/STEP2/CONTCAR POSCAR6&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Set up the input files:
&lt;div class="sourceCode" id="cb14"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb14-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb14-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;module&lt;/span&gt; add vasp-tools  &lt;span class="co"&gt;# in order to use the setrun script (and others)&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb14-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb14-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;setrun&lt;/span&gt; &lt;span class="at"&gt;-f&lt;/span&gt; PBE &lt;span class="at"&gt;-F&lt;/span&gt; D3BJ &lt;span class="at"&gt;-p&lt;/span&gt; PAW54 &lt;span class="at"&gt;-K&lt;/span&gt; 1x1x1 &lt;span class="at"&gt;-s&lt;/span&gt; zeolite/surface &lt;span class="at"&gt;-j&lt;/span&gt; neb/high &lt;span class="at"&gt;-i&lt;/span&gt; 8&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;code&gt;-i 8&lt;/code&gt; specifies that this is a 8-image setup. For
challenging reactions, you can increase the number of images to, say,
16, using &lt;code&gt;-i 16&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Visualize the output movie file &lt;code&gt;POSCAR.res&lt;/code&gt; that
represents the initial guess of the reaction pathway, and make sure that
it matches your expectation.&lt;/li&gt;
&lt;li&gt;Edit &lt;code&gt;INCAR&lt;/code&gt; to replace &lt;code&gt;IMAGES = $IMAGES&lt;/code&gt;
with the actual number of images used; e.g., &lt;code&gt;IMAGES = 8&lt;/code&gt;.
You can also do it from the command line:
&lt;div class="sourceCode" id="cb15"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb15-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb15-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;sed&lt;/span&gt; &lt;span class="at"&gt;-i&lt;/span&gt; &lt;span class="st"&gt;'s/$IMAGES/8/'&lt;/span&gt; INCAR&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Link the submission scripts:
&lt;div class="sourceCode" id="cb16"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb16-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb16-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;ln&lt;/span&gt; &lt;span class="at"&gt;-sf&lt;/span&gt; ../../bin/sub-vasp.script .  &lt;span class="co"&gt;# Run in current directory /path/to/projects/ABC/moleculeX/NEB&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Submit the job using shotgun
&lt;div class="sourceCode" id="cb17"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb17-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb17-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;shotgun&lt;/span&gt; submit &lt;span class="at"&gt;-n&lt;/span&gt; 2 &lt;span class="at"&gt;-t&lt;/span&gt; 24 &lt;span class="at"&gt;-r&lt;/span&gt; unity-40Cx2 &lt;span class="at"&gt;-j&lt;/span&gt; ../../bin/sub-vasp-ghpcc.script  &lt;span class="co"&gt;# submitting the job&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Here we are requesting 2 full nodes, all 40 cores on each node, for a
total of 80 (physical) cores. See the &lt;a href="https://scrapbook.netlify.app/posts/Shotgun_job_management_system" title="wikilink"&gt;hyper-threading
section here&lt;/a&gt; for physical vs. logical cores. With 80 cores, each
image will be run on 80/8 = 10 cores. Always aim for an even number of
cores per image by 1) targeting an HPC with nodes that have physical
cores that can divide your images evenly or 2) adjusting the number of
cores per image to fit the HPC's architecture. Use 8-12 cores per image,
usually no more than 12 cores. For example, a 16-image job could run on
Anvil which has nodes with 128 cores, so the job will use 8 cores per
image. Since NEB calculations typically use many cores, there is no good
reason to request &lt;code&gt;-c N&lt;/code&gt; with &lt;em&gt;N&lt;/em&gt; less than the full
core count per node.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;After the calculation converges, copy &lt;code&gt;OUTCAR&lt;/code&gt;s for
reactant and product to the corresponding directories. Then, perform
analysis and move the NEB trajectory movie from the
&lt;code&gt;~/website&lt;/code&gt; folder. Make sure the copied movie file
corresponds to the current calculation since the files may be in a
sub-directory such as &lt;code&gt;~/website/X&lt;/code&gt; where X is an integer.
One way to verify is to compare file time-stamps using
&lt;code&gt;ls -alhF&lt;/code&gt;. Another way is to compare file contents using
&lt;code&gt;vim -d ~/website/1/neb2.dat /path/to/calc/neb2.dat&lt;/code&gt;
&lt;div class="sourceCode" id="cb18"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb18-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb18-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;cp&lt;/span&gt; &lt;span class="at"&gt;-a&lt;/span&gt; /path/to/projects/ABC/moleculeX/reactant/STEP2/OUTCAR 00/&lt;/span&gt;
&lt;span id="cb18-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb18-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;cp&lt;/span&gt; &lt;span class="at"&gt;-a&lt;/span&gt; /path/to/projects/ABC/moleculeX/product/STEP2/OUTCAR 09/&lt;/span&gt;
&lt;span id="cb18-3"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb18-3" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;module&lt;/span&gt; add vasp-tools  &lt;span class="co"&gt;# in order to use the results_neb script (and others)&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb18-4"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb18-4" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;results_neb&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb18-5"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb18-5" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;mv&lt;/span&gt; ~/website/CONTCAR.res .&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="dimer_calculations"&gt;Dimer calculations&lt;/h2&gt;
&lt;p&gt;Dimer calculations use three images to represent the transition
state: a center image for the transition-state structure, and two others
for the direction of the reaction pathways. The following is the
sequence of steps for setting up a dimer calculation.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The initial structure for dimer optimizations needs to be reasonably
close to a saddle point. It is usually obtained from a NEB calculation.
Assuming NEB image 05 is closest to the transition state of interest, we
copy it as the dimer center image.
&lt;div class="sourceCode" id="cb19"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb19-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb19-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;cp&lt;/span&gt; &lt;span class="at"&gt;-a&lt;/span&gt; /path/to/NEB/05/CONTCAR POSCAR&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Next we need to provide a &lt;code&gt;MODECAR&lt;/code&gt; file to represent the
reaction direction. Using chemical intuition, pick either images 04
-&amp;gt; 05 or 05 -&amp;gt; 06 from the NEB calculation, and generate
&lt;code&gt;MODECAR&lt;/code&gt;.
&lt;div class="sourceCode" id="cb20"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb20-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb20-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;cp&lt;/span&gt; &lt;span class="at"&gt;-a&lt;/span&gt; /path/to/NEB/04/CONTCAR POSCAR02  &lt;span class="co"&gt;# or cp -a /path/to/NEB/06/CONTCAR POSCAR02&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb20-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb20-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;module&lt;/span&gt; add vasp-tools  &lt;span class="co"&gt;# in order to use the modemake, dimmovie, and setrun scripts&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb20-3"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb20-3" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;modemake&lt;/span&gt; POSCAR02 POSCAR  &lt;span class="co"&gt;# or modemake POSCAR POSCAR02, the order does not really matter&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb20-4"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb20-4" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;dimmovie&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;code&gt;dimmovie&lt;/code&gt; generates a movie file, which you can visualize
to verify the structure and mode.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Set up the input files:
&lt;div class="sourceCode" id="cb21"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb21-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb21-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;setrun&lt;/span&gt; &lt;span class="at"&gt;-f&lt;/span&gt; PBE &lt;span class="at"&gt;-F&lt;/span&gt; D3BJ &lt;span class="at"&gt;-p&lt;/span&gt; PAW54 &lt;span class="at"&gt;-K&lt;/span&gt; 1x1x1 &lt;span class="at"&gt;-s&lt;/span&gt; zeolite/surface &lt;span class="at"&gt;-j&lt;/span&gt; dim/high&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;code&gt;setrun&lt;/code&gt; generates 3 directories: STEP1, STEP2, STEP3, for
a 3-stage optimization. STEP3 uses high K-point but low precision. It's
mostly for metals and not relevant for isolated molecules or zeolite
systems. Remove it by&lt;/p&gt;
&lt;div class="sourceCode" id="cb22"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb22-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb22-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;rm&lt;/span&gt; &lt;span class="at"&gt;-r&lt;/span&gt; STEP3&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Link the submission scripts:
&lt;div class="sourceCode" id="cb23"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb23-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb23-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;ln&lt;/span&gt; &lt;span class="at"&gt;-sf&lt;/span&gt; ../../bin/sub-vasp.script .  &lt;span class="co"&gt;# Run in current directory /path/to/projects/ABC/moleculeX/dimer&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Submit the job using shotgun
&lt;div class="sourceCode" id="cb24"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb24-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb24-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;shotgun&lt;/span&gt; submit &lt;span class="at"&gt;-c&lt;/span&gt; 8 &lt;span class="at"&gt;-m&lt;/span&gt; 5200 &lt;span class="at"&gt;-n&lt;/span&gt; 1 &lt;span class="at"&gt;-t&lt;/span&gt; 24 &lt;span class="at"&gt;-r&lt;/span&gt; ghpcc06 &lt;span class="at"&gt;-q&lt;/span&gt; long &lt;span class="at"&gt;-j&lt;/span&gt; ../../bin/sub-vasp-ghpcc.script  &lt;span class="co"&gt;# submitting the job&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;After the calculation converges, perform the analysis in the STEP2
folder. The trajectory movie files &lt;code&gt;CONTCAR.res&lt;/code&gt; and
&lt;code&gt;Dimer_Mode.res&lt;/code&gt; are saved in &lt;code&gt;~/website&lt;/code&gt; and can
be moved to the job folder, especially before running another
&lt;code&gt;results_dim&lt;/code&gt; analysis since both files will be overwritten.
&lt;div class="sourceCode" id="cb25"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb25-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb25-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;module&lt;/span&gt; add vasp-tools&lt;/span&gt;
&lt;span id="cb25-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb25-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="bu"&gt;cd&lt;/span&gt; /path/to/dim/STEP2&lt;/span&gt;
&lt;span id="cb25-3"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb25-3" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;results_dim&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb25-4"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb25-4" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;mv&lt;/span&gt; ~/website/&lt;span class="dt"&gt;{CONTCAR.res&lt;/span&gt;&lt;span class="op"&gt;,&lt;/span&gt;&lt;span class="dt"&gt;Dimer_Mode.res}&lt;/span&gt; .&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="metadynamics"&gt;Metadynamics&lt;/h2&gt;
&lt;p&gt;Metadynamics is used to estimate the free energy and other state
functions of a system, where ergodicity is hindered by the form of the
system's energy landscape.&lt;/p&gt;
&lt;p&gt;VASP Settings&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Standard MD-related tags.&lt;/li&gt;
&lt;li&gt;To continue the Metadynamics run.
&lt;div class="sourceCode" id="cb26"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb26-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/vasp-how-tos.html#cb26-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;cp&lt;/span&gt; HILLSPOT PENALTYPOT&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Plumed Analysis&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Free energy calculated using bias potential (sum hills)&lt;/li&gt;
&lt;li&gt;Free energy calculated by reweighting&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="center_of_mass_drifting"&gt;Center-of-mass drifting&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Our simulation box is an isolated system that experiences no
external force and has no initial velocity, so its center of mass (COM)
should not move. If it does, it is usually a symptom of bad numerics,
i.e., energy and forces are not computed precisely enough.&lt;/li&gt;
&lt;li&gt;Say if the COM moves with a velocity of v and each atom moves
relative to the COM with velocity v_i, then v_i should be the velocity
used to compute the system kinetic energy and temperature. However, with
almost all MD codes, (v + v_i) will be used instead. So if the system is
thermostatted at T (using the inflated velocity), the real temperature
will be lower than T.&lt;/li&gt;
&lt;li&gt;The ideal solution to this problem may be quite expensive.
Oftentimes it can be permissible to remove the center of mass
velocity.&lt;/li&gt;
&lt;/ol&gt;</description><category>quantum-chemistry</category><category>research</category><guid>https://scrapbook.netlify.app/posts/vasp-how-tos.html</guid><pubDate>Fri, 11 Jan 2019 21:45:24 GMT</pubDate></item><item><title>Gaussian How-tos</title><link>https://scrapbook.netlify.app/posts/gaussian-how-tos.html</link><dc:creator>author</dc:creator><description>&lt;nav id="TOC" role="doc-toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#licensing" id="toc-licensing"&gt;Licensing&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#single_point_energy_calculations_geometry_optimizations" id="toc-single_point_energy_calculations_geometry_optimizations"&gt;Single-point
energy calculations / geometry optimizations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#pseudopotentials_for_heavy_atoms" id="toc-pseudopotentials_for_heavy_atoms"&gt;Pseudopotentials for heavy
atoms&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#constrained_optimizations" id="toc-constrained_optimizations"&gt;Constrained optimizations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#stretchingbendingtorsion_scans" id="toc-stretchingbendingtorsion_scans"&gt;Stretching/bending/torsion
scans&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#free_energy_calculations_using_implicit_solvent_models" id="toc-free_energy_calculations_using_implicit_solvent_models"&gt;Free
energy calculations using implicit solvent models&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#calculations_of_redox_potentials" id="toc-calculations_of_redox_potentials"&gt;Calculations of redox
potentials&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#adsorbed_molecular_free_energy_correction" id="toc-adsorbed_molecular_free_energy_correction"&gt;Adsorbed Molecular
Free Energy Correction&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#calculation_of_cm5_charges_gaussiancm5pac" id="toc-calculation_of_cm5_charges_gaussiancm5pac"&gt;Calculation of CM5
charges (Gaussian/cm5pac)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#neb_calculations" id="toc-neb_calculations"&gt;NEB
calculations&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;
&lt;h2 id="licensing"&gt;Licensing&lt;/h2&gt;
&lt;p&gt;XSEDE was updated to ACCESS in Fall 2022, see this &lt;a href="https://access-ci.atlassian.net/wiki/spaces/ACCESSdocumentation/pages/74590547/Cheatsheets+for+XSEDE+Users"&gt;"cheatsheet"
page&lt;/a&gt; for help transitioning. To use Gaussian on XSEDE machines:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SDSC Expanse: Open a &lt;a href="https://support.access-ci.org/open-a-ticket"&gt;help ticket on
ACCESS&lt;/a&gt; using these &lt;a href="https://access-ci.atlassian.net/wiki/spaces/ACCESSdocumentation/pages/76742892/Opening+a+Support+Ticket"&gt;instructions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;PSC Bridges2: Fill out &lt;a href="https://www.psc.edu/resources/software/gaussian/permission-form/"&gt;this
request form&lt;/a&gt;, no need for the help ticket&lt;/li&gt;
&lt;li&gt;TACC Stampede2: Fill out the license form &lt;a href="https://portal.tacc.utexas.edu/documents/10157/1667013/UT+Gaussian+user+agreement/95c13b8a-859d-439e-8dbe-3f2ba2b578b7"&gt;here&lt;/a&gt;
and submit an ACCESS help ticket with license form attached&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="single_point_energy_calculations_geometry_optimizations"&gt;Single-point
energy calculations / geometry optimizations&lt;/h2&gt;
&lt;p&gt;Below is the sequence of steps for running a Gaussian calculation to
compute a single-point energy or to optimize a structure.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use &lt;a href="https://gaussian.com/gv6main/"&gt;GaussView&lt;/a&gt; or any &lt;a href="https://scrapbook.netlify.app/posts/Visualization#Overview" title="wikilink"&gt;other suitable
software&lt;/a&gt; to prepare the structure to be optimized, export it in the
XYZ / MOL / MOL2 format, where you can extract the Cartesian
coordinates.&lt;/li&gt;
&lt;li&gt;Create an appropriate folder hierarchy and construct a Gaussian
input file called &lt;code&gt;gaussian.gjf&lt;/code&gt;:
&lt;div class="sourceCode" id="cb1"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb1-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#cb1-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="bu"&gt;cd&lt;/span&gt; /path/to/projects/ABC/moleculeX&lt;/span&gt;
&lt;span id="cb1-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#cb1-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;vim&lt;/span&gt; gaussian.gjf&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;A basic Gaussian input file may look like the following. You can
read about the different keywords on its &lt;a href="http://gaussian.com/keywords/"&gt;website&lt;/a&gt;. Important notes and
common changes include:
&lt;ul&gt;
&lt;li&gt;Gaussian has a very strict formatting: the empty lines between
different sections, the four stars and two empty lines after the basis
set definition.&lt;/li&gt;
&lt;li&gt;Lines starting with a exclamation mark are comment lines and
ignored.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gaussian.com/dft/"&gt;DFT functional&lt;/a&gt;: M062X,
M06L.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gaussian.com/basissets/"&gt;Basis set&lt;/a&gt; and &lt;a href="http://gaussian.com/gen/"&gt;Gen keyword&lt;/a&gt;: AUG-cc-pVDZ,
AUG-cc-pVTZ; 3-21G, 6-311+G(3df,3pd); etc.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gaussian.com/input/?tabid=0"&gt;Charge and spin
states&lt;/a&gt;: &lt;code&gt;0 1&lt;/code&gt; means a neutral singlet.&lt;/li&gt;
&lt;li&gt;Fill in the Cartesian coordinates you prepared earlier.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;nprocshared&lt;/code&gt; and &lt;code&gt;mem&lt;/code&gt; will be adjusted
automatically by the submission script below.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;%nprocshared=128
%mem=253000MB
%chk=gaussian.chk
# M062X/Gen/Auto
# Opt
!# Opt=ReadFC
!# Geom=(Check, NewDefinition) Guess=Read
# Integral(Grid=UltraFine) SCF=(Tight,IntRep,XQC) NoSymm
!#p Integral(Grid=UltraFine) SCF=(Conver=4,VarAcc,IntRep,XQC,MaxCycle=512,VShift=400) NoSymm

Molecule

0   1
 H               -118.70001270  -91.91738745 -127.75908914
... More lines of Cartesian coordinates
 O               -120.07157063  -94.57259547 -129.34664170

H O 0
AUG-cc-pVTZ
****&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;Prepare submission scripts. The best practice is to write a generic
submission script and put it in the local asset directory (e.g.,
&lt;code&gt;/path/to/projects/ABC/bin/&lt;/code&gt;). Then create symbolic links:
&lt;div class="sourceCode" id="cb3"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb3-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#cb3-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;ln&lt;/span&gt; &lt;span class="at"&gt;-sf&lt;/span&gt; ../bin/sub-gaussian.script .  &lt;span class="co"&gt;# Run in current directory /path/to/projects/ABC/moleculeX&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: these symlinks must use relative paths instead
of absolute paths, because the local asset directory will be synced to
the remote target under your home directory, which may have a different
absolute path.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Submit the job using shotgun
&lt;div class="sourceCode" id="cb4"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb4-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#cb4-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;shotgun&lt;/span&gt; submit &lt;span class="at"&gt;-c&lt;/span&gt; 8 &lt;span class="at"&gt;-m&lt;/span&gt; 2000 &lt;span class="at"&gt;-n&lt;/span&gt; 1 &lt;span class="at"&gt;-t&lt;/span&gt; 24 &lt;span class="at"&gt;-r&lt;/span&gt; bridges2 &lt;span class="at"&gt;-q&lt;/span&gt; RM-shared &lt;span class="at"&gt;-j&lt;/span&gt; ../../bin/sub-gaussian-bridges2.script  &lt;span class="co"&gt;# submitting the job&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: the &lt;code&gt;./&lt;/code&gt; part in
&lt;code&gt;./sub-gaussian-bridges2.script&lt;/code&gt; is required. See
&lt;code&gt;shotgun --help submit&lt;/code&gt; for a list of options that can be
used.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;If the job runs out of time and you want to continue the
calculation, you have two choices:
&lt;ul&gt;
&lt;li&gt;Copy the Cartesian coordinates of the last configuration from output
file &lt;code&gt;gaussian.log&lt;/code&gt; to &lt;code&gt;gaussian.gjf&lt;/code&gt;. There is a
script that may help with this task:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="sourceCode" id="cb5"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb5-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#cb5-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;/home/common/sample-input/gaussian/bin/g_copy_last_geom.sh&lt;/span&gt; gaussian.log gaussian.gjf&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Read frequencies and coordinates from the checkpoint file
&lt;code&gt;gaussian.chk&lt;/code&gt; by commenting and un-commenting the relevant
lines.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;!# Opt
# Opt=ReadFC
# Geom=(Check, NewDefinition) Guess=Read&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You also need to comment out or delete the coordinates lines. When
all is done, rename the output files and submit the job again:&lt;/p&gt;
&lt;div class="sourceCode" id="cb7"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb7-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#cb7-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="fu"&gt;mv&lt;/span&gt; gaussian.log equil1.log&lt;/span&gt;
&lt;span id="cb7-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#cb7-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;shotgun&lt;/span&gt; submit &lt;span class="at"&gt;-c&lt;/span&gt; 8 &lt;span class="at"&gt;-m&lt;/span&gt; 2000 &lt;span class="at"&gt;-n&lt;/span&gt; 1 &lt;span class="at"&gt;-t&lt;/span&gt; 24 &lt;span class="at"&gt;-r&lt;/span&gt; bridges2 &lt;span class="at"&gt;-q&lt;/span&gt; RM-shared &lt;span class="at"&gt;-j&lt;/span&gt; ../../bin/sub-gaussian-bridges2.script  &lt;span class="co"&gt;# submitting the job&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;If you keep the structure of the sample input file, you can try using
a script to make this change:&lt;/p&gt;
&lt;div class="sourceCode" id="cb8"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb8-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#cb8-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;/home/common/sample-input/gaussian/bin/g_change.sh&lt;/span&gt; &lt;span class="at"&gt;-c&lt;/span&gt; gaussian.gjf  &lt;span class="co"&gt;# -c for continuation, absence of the flag will switch back to the normal calculation&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="pseudopotentials_for_heavy_atoms"&gt;Pseudopotentials for heavy
atoms&lt;/h2&gt;
&lt;p&gt;You may want to use effective core potentials starting from the
first-row transition metal elements. You can use the [&lt;a href="http://gaussian.com/gen/"&gt;GenECP keyword&lt;/a&gt; and specify the
flavor of pseudopotential. A basic example is given below. Again note
the empty lines and four-star separators.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# M06L/GenECP/Auto
...skipping the remaining input until the last Cartesian coordinates line
Cr 0 -33.587176 33.370038 -45.351159

H C O F 0
AUG-cc-pVDZ
****
Cr 0
SDD
****

Cr 0
SDD&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="constrained_optimizations"&gt;Constrained optimizations&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;On your workstation&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;In Materials Studio, you can constrain atoms by clicking the menu
item Modify -&amp;gt; Constraints and tick Fix Cartesian position in the
dialogue.&lt;/li&gt;
&lt;li&gt;File -&amp;gt; Export the structure, choose the &lt;code&gt;.xsd&lt;/code&gt;
format, and click Options to select version 6.1.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;rsync&lt;/code&gt; / &lt;code&gt;scp&lt;/code&gt; / WinSCP (Windows only) to
upload the file to group server.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;On the group server&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;Convert the &lt;code&gt;.xsd&lt;/code&gt; file to Gaussian format.
&lt;div class="sourceCode" id="cb10"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb10-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#cb10-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="bu"&gt;cd&lt;/span&gt; /path/to/projects/ABC/moleculeX  &lt;span class="co"&gt;# go to the directory where the .xsd file is uploaded.&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb10-2"&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#cb10-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;module&lt;/span&gt; add vasp-tools/linux materialsstudio  &lt;span class="co"&gt;# in order to use the vasp-tools Materials Studio integration&lt;/span&gt;&lt;/span&gt;
&lt;span id="cb10-3"&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#cb10-3" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;msvasp&lt;/span&gt; ms2gaussian moleculeX.xsd gaussian.gjf  &lt;span class="co"&gt;# converts the .xsd file to Gaussian format&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Edit &lt;code&gt;gaussian.gjf&lt;/code&gt; to include other input
parameters.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="stretchingbendingtorsion_scans"&gt;&lt;a href="https://scrapbook.netlify.app/posts/Stretching/bending/torsion_scans" title="wikilink"&gt;Stretching/bending/torsion scans&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;See the tutorial in the linked section header above to perform
Gaussian scans.&lt;/p&gt;
&lt;h2 id="free_energy_calculations_using_implicit_solvent_models"&gt;Free
energy calculations using implicit solvent models&lt;/h2&gt;
&lt;p&gt;In order to find the free energy of your system in the solvent,
follow the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Add the following keyword to the Route section of the input file to
calculate the harmonic &lt;a href="http://gaussian.com/freq/"&gt;frequencies&lt;/a&gt; at the end of a
geometry optimization job. Thermochemistry will be calculated at 298K
unless specified otherwise.
&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt; Please read and understand the document written
by Joseph W. Ochterski from Gaussian, Inc. on &lt;a href="https://drive.google.com/file/d/1qcV4GU_FPbduUtcKLJ3qukG_Ke_mk3IM/view?usp=sharing"&gt;our
group's Google Drive&lt;/a&gt; or &lt;a href="http://gaussian.com/thermo/"&gt;on the
Gaussian website&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# Freq
# Temperature=523&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;Add the following keyword to the Route section of the input file
with an appropriate &lt;a href="http://gaussian.com/scrf/?tabid=7"&gt;solvent
model&lt;/a&gt;. The SMD solvation model developed by Cramer and Truhlar at
Minnesota is often a good choice.
&lt;pre&gt;&lt;code&gt;# SCRF=(SMD,Solvent=n-Octanol)&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;In certain cases (see discussions &lt;a href="https://doi.org/10.1021/jp107136j"&gt;here&lt;/a&gt; and &lt;a href="https://doi.org/10.1021/jp205508z"&gt;here&lt;/a&gt;), depending on the
system and the solvation model, it may be more appropriate to perform a
gas-phase optimization and a single-point energy calculation at the gas
phase optimized structure. The solvent phase free energy is then
calculated as G&lt;sub&gt;solv&lt;/sub&gt; = E&lt;sub&gt;solv&lt;/sub&gt; +
ΔG&lt;sub&gt;corr_gas&lt;/sub&gt;, where, G&lt;sub&gt;solv&lt;/sub&gt; is the free energy of the
system in the solvent, E&lt;sub&gt;solv&lt;/sub&gt; is the electronic energy of the
system in the solvent, and ΔG&lt;sub&gt;corr_gas&lt;/sub&gt; is the gas phase
thermal correction term to the free energy.&lt;/li&gt;
&lt;li&gt;If you keep the structure of the sample input file, you can use a
script to switch on and off solvation and frequency calculations:
&lt;div class="sourceCode" id="cb13"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb13-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#cb13-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;/home/common/sample-input/gaussian/bin/g_change.sh&lt;/span&gt; &lt;span class="at"&gt;-f&lt;/span&gt; &lt;span class="at"&gt;-s&lt;/span&gt; gaussian.gjf  &lt;span class="co"&gt;# -f for frequency, -g for solvation, absence of a flag will turn off the corresponding option&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="calculations_of_redox_potentials"&gt;Calculations of redox
potentials&lt;/h3&gt;
&lt;p&gt;On Zotero, the Electrochemistry/Redox folder includes a few useful
papers. Of particular interest is Ho, J.; Coote, M. L.; Cramer, C. J.;
Truhlar, D. G. Chapter 6 Theoretical Calculation of Reduction
Potentials. In Organic Electrochemistry; CRC Press, 2016; pp
229–259.&lt;/p&gt;
&lt;p&gt;Here we use an example from &lt;a href="https://doi.org/10.1021/jacs.9b01886"&gt;J. Am. Chem. Soc. 2019, 141,
6392&lt;/a&gt;, specifically one of the reactions illustrated in the top left
panel of the &lt;a href="https://pubs.acs.org/cms/10.1021/jacs.9b01886/asset/images/large/ja-2019-01886b_0002.jpeg"&gt;figure&lt;/a&gt;:
L&lt;sub&gt;2&lt;/sub&gt;Ni(+1)Br + e&lt;sup&gt;-&lt;/sup&gt; &lt;span class="math inline"&gt;→&lt;/span&gt;
L&lt;sub&gt;2&lt;/sub&gt;Ni(0) + Br&lt;sup&gt;-&lt;/sup&gt; (all species in DMF solvent). This
is written as a reduction reaction. The reaction free energy can
therefore be converted to the reduction potential via the Nernst
equation.&lt;/p&gt;
&lt;p&gt;To calculate the reaction free energy, three geometry optimization
jobs need to be performed for the three chemical species using implicit
DMF solvent. The following excerpt can be found near the end of the
output files for L&lt;sub&gt;2&lt;/sub&gt;Ni(+1)Br:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; SCF Done:  E(UM06L) =  -1332.49281641
...
...
 Zero-point correction=                           0.428097 (Hartree/Particle)
 Thermal correction to Energy=                    0.458133
 Thermal correction to Enthalpy=                  0.459077
 Thermal correction to Gibbs Free Energy=         0.362588
 Sum of electronic and zero-point Energies=          -1332.064719
 Sum of electronic and thermal Energies=             -1332.034684
 Sum of electronic and thermal Enthalpies=           -1332.033739
 Sum of electronic and thermal Free Energies=        -1332.130229&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;There is a script to extract these numbers, but please make sure to
double check the first few times you use the script for a new type of
calculations.&lt;/p&gt;
&lt;div class="sourceCode" id="cb15"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb15-1"&gt;&lt;a href="https://scrapbook.netlify.app/posts/gaussian-how-tos.html#cb15-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;/home/common/sample-input/gaussian/bin/g_grep_result.sh&lt;/span&gt; &lt;span class="at"&gt;-g&lt;/span&gt; gaussian.log&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Collecting the results into the table below, where all species were
computed in DMF solution, except the last column, we have the electronic
energy, enthalpy, and free energy at T = 298 K and &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;0&lt;/sub&gt;(1atm) = &lt;em&gt;p&lt;/em&gt;/&lt;em&gt;R&lt;/em&gt;&lt;em&gt;T&lt;/em&gt; = 101325/8.3144621/298 = 40.89 mol/m&lt;sup&gt;3&lt;/sup&gt;&lt;/span&gt;.
From the last two columns, we can in principle compute the solvation
free energy for Br&lt;sup&gt;-&lt;/sup&gt; [i.e., the reaction free energy for
Br&lt;sup&gt;-&lt;/sup&gt; (gas, &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;0&lt;/sub&gt;&lt;/span&gt;) &lt;span class="math inline"&gt;→&lt;/span&gt; Br&lt;sup&gt;-&lt;/sup&gt; (DMF, &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;0&lt;/sub&gt;&lt;/span&gt;) ]: &lt;span class="math inline"&gt; − 13.554610 − (−13.468305) =  − 0.086305 Ha =  − 0.086305 * 2625.4997356709 kJ/mol =  − 226.59 kJ/mol&lt;/span&gt;.
However, in standard definition, solution-phase species should use a
reference state with a density of &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;1M&lt;/sub&gt;&lt;/span&gt; = 1 mol/L = 1000
mol/m&lt;sup&gt;3&lt;/sup&gt; and we should compute the free energy for
Br&lt;sup&gt;-&lt;/sup&gt; (gas, &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;0&lt;/sub&gt;&lt;/span&gt;) &lt;span class="math inline"&gt;→&lt;/span&gt; Br&lt;sup&gt;-&lt;/sup&gt; (DMF, 1 M)]. To do this, we
need to add the conversion factor G[Br&lt;sup&gt;-&lt;/sup&gt;(DMF, &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;1M&lt;/sub&gt;&lt;/span&gt;)] -
G[Br&lt;sup&gt;-&lt;/sup&gt;(DMF, &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;0&lt;/sub&gt;&lt;/span&gt;)] = &lt;span class="math inline"&gt;&lt;em&gt;R&lt;/em&gt;&lt;em&gt;T&lt;/em&gt;ln (&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;1M&lt;/sub&gt;/&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;0&lt;/sub&gt;) = 8.3144621 * 298 * ln (1000/40.89) J/mol = 7.92 kJ/mol&lt;/span&gt;,
to give &lt;span class="math inline"&gt; − 226.59 + 7.92 =  − 218.7 kJ/mol&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Compared to the experimental value, -241.8 kJ/mol (Marcus, Y. Ions in
solutions and their solvation, 2015 John Wiley &amp;amp; Sons, Inc.), the
implicit solvation calculation is underestimated by 23 kJ/mol. It is
common for these small ions to use the experimental solvation free
energy instead. Therefore, we take G[Br&lt;sup&gt;-&lt;/sup&gt;(DMF, &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;1M&lt;/sub&gt;&lt;/span&gt;)] = &lt;span class="math inline"&gt; − 13.468305 − 241.8/2625.4997356709 =  − 13.5604018 Ha&lt;/span&gt;.
Finally, the reaction free energy is G[Br&lt;sup&gt;-&lt;/sup&gt;(DMF, &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;1M&lt;/sub&gt;&lt;/span&gt;)] +
G[L&lt;sub&gt;2&lt;/sub&gt;Ni(0)(DMF, &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;1M&lt;/sub&gt;&lt;/span&gt;)] -
G[L&lt;sub&gt;2&lt;/sub&gt;Ni(+1)Br(DMF, &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;1M&lt;/sub&gt;&lt;/span&gt;)] =
G[Br&lt;sup&gt;-&lt;/sup&gt;(DMF, &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;1M&lt;/sub&gt;&lt;/span&gt;)] +
G[L&lt;sub&gt;2&lt;/sub&gt;Ni(0)(DMF, &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;0&lt;/sub&gt;&lt;/span&gt;)] -
G[L&lt;sub&gt;2&lt;/sub&gt;Ni(+1)Br(DMF, &lt;span class="math inline"&gt;&lt;em&gt;ρ&lt;/em&gt;&lt;sub&gt;0&lt;/sub&gt;&lt;/span&gt;)] = &lt;span class="math inline"&gt; − 13.5604018 − 1318.665092 − (−1332.130229) =  − 0.0952648 Ha =  − 250.12 kJ/mol&lt;/span&gt;.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr class="header"&gt;
&lt;th&gt;&lt;p&gt;Species&lt;/p&gt;&lt;/th&gt;
&lt;th&gt;&lt;p&gt;L&lt;sub&gt;2&lt;/sub&gt;Ni(+1)Br&lt;/p&gt;&lt;/th&gt;
&lt;th&gt;&lt;p&gt;L&lt;sub&gt;2&lt;/sub&gt;Ni(0)&lt;/p&gt;&lt;/th&gt;
&lt;th&gt;&lt;p&gt;Br&lt;sup&gt;-&lt;/sup&gt;&lt;/p&gt;&lt;/th&gt;
&lt;th&gt;&lt;p&gt;Br&lt;sup&gt;-&lt;/sup&gt; (gas)&lt;/p&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr class="odd"&gt;
&lt;td&gt;&lt;p&gt;E&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-1332.492816&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-1319.034577&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-13.538435&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-13.452129&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="even"&gt;
&lt;td&gt;&lt;p&gt;H&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-1332.033739&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-1318.579726&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-13.536074&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-13.449769&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="odd"&gt;
&lt;td&gt;&lt;p&gt;G&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-1332.130229&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-1318.665092&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-13.554610&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-13.468305&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Using the Nernst equation, we can convert this standard-state
reaction free energy to standard reduction potential: &lt;span class="math inline"&gt; − (−250.12) * 1000/96485.33289 = 2.59 V&lt;/span&gt;.
Finally, if we want to compute reduction potential relative to the
standard hydrogen electrode, we need to know the standard-state reaction
free energy for H&lt;sup&gt;+&lt;/sup&gt; (DMF, 1 M) + e&lt;sup&gt;-&lt;/sup&gt; &lt;span class="math inline"&gt;→&lt;/span&gt; 1/2H&lt;sub&gt;2&lt;/sub&gt; (gas, 1 atm), and its
corresponding standard reduction potential. This is a completely
analogous calculation. We use the experimental solvation free energy for
H&lt;sup&gt;+&lt;/sup&gt; in DMF, -1118.98 kJ/mol. Reaction free energy: &lt;span class="math inline"&gt; − 1.17094/2 * 2625.4997356709 − (−0.01*2625.4997356709−1118.98) =  − 391.92 kJ/mol&lt;/span&gt;,
which is &lt;span class="math inline"&gt; − (−391.92) * 1000/96485.33289 = 4.06 V&lt;/span&gt;.
Therefore, the reduction potential for L&lt;sub&gt;2&lt;/sub&gt;Ni(+1)Br +
e&lt;sup&gt;-&lt;/sup&gt; &lt;span class="math inline"&gt;→&lt;/span&gt; L&lt;sub&gt;2&lt;/sub&gt;Ni(0) +
Br&lt;sup&gt;-&lt;/sup&gt; is &lt;span class="math inline"&gt;2.59 − 4.06 =  − 1.47 V&lt;/span&gt;. If we want to
express this to other reference such as Ag/AgNO3 (10 mM), we just need
to further subtract the potential of Ag/AgNO3 (10 mM) relative to SHE,
which is &lt;span class="math inline"&gt; − 1.47 − 0.5 =  − 2.0 V&lt;/span&gt;.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr class="header"&gt;
&lt;th&gt;&lt;p&gt;Species&lt;/p&gt;&lt;/th&gt;
&lt;th&gt;&lt;p&gt;H&lt;sup&gt;+&lt;/sup&gt; (gas)&lt;/p&gt;&lt;/th&gt;
&lt;th&gt;&lt;p&gt;H&lt;sub&gt;2&lt;/sub&gt; (gas)&lt;/p&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr class="odd"&gt;
&lt;td&gt;&lt;p&gt;E&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;0&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-1.16958&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="even"&gt;
&lt;td&gt;&lt;p&gt;H&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;0.00236&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-1.15615&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="odd"&gt;
&lt;td&gt;&lt;p&gt;G&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-0.01&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;-1.17094&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;You can find this and other computed results in the figure on pg. S27
of the &lt;a href="https://pubs.acs.org/doi/suppl/10.1021/jacs.9b01886/suppl_file/ja9b01886_si_001.pdf"&gt;Supporting
Information&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="adsorbed_molecular_free_energy_correction"&gt;Adsorbed Molecular
Free Energy Correction&lt;/h3&gt;
&lt;p&gt;Unlike gas molecules, adsorbed molecules form chemical bonds with
substrate, which limits the translational and rotational freedom of the
adsorbed molecules. So the contribution of translation and rotation to
entropy and enthalpy is significantly reduced (so called hindered
translator / hindered rotor model). This does not mean no translational
or rotational contribution.&lt;/p&gt;
&lt;p&gt;One common method is to attribute the translational or rotational
part of the contribution to vibration, that is, the 3N vibrations of the
surface-adsorbing molecules (except the virtual frequency) are all used
to calculate the correction of the thermo energy.&lt;/p&gt;
&lt;p&gt;The small the vibration frequencies have large contribution to
entropy. It is very likely that a small vibration frequency will lead to
abnormal entropy and free energy correction. So, it suggests that when
the free energy of the surface adsorption molecule is corrected, the
contribution of the frequency below 50 cm&lt;sup&gt;-1&lt;/sup&gt; is calculated as
50 cm&lt;sup&gt;-1&lt;/sup&gt;, and VASPKIT also does this. And VASPKIT neglects the
electron motion because of its small contribution.&lt;/p&gt;
&lt;p&gt;And the PV term is also delete. At last VASPKIT will output:&lt;/p&gt;
&lt;p&gt;1. Zero-point energy &lt;span class="math inline"&gt;&lt;em&gt;ε&lt;/em&gt;&lt;sub&gt;ZPE&lt;/sub&gt;&lt;/span&gt;;&lt;/p&gt;
&lt;p&gt;2. Thermal correction to &lt;span class="math inline"&gt;&lt;em&gt;U&lt;/em&gt;(&lt;em&gt;T&lt;/em&gt;)&lt;/span&gt; = &lt;span class="math inline"&gt;&lt;em&gt;H&lt;/em&gt;(&lt;em&gt;T&lt;/em&gt;)&lt;/span&gt; = &lt;span class="math inline"&gt;&lt;em&gt;ε&lt;/em&gt;&lt;sub&gt;ZPE&lt;/sub&gt; + &lt;em&gt;Δ&lt;/em&gt;&lt;em&gt;U&lt;/em&gt;&lt;sub&gt;0 → &lt;em&gt;T&lt;/em&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;3. Thermal correction to &lt;span class="math inline"&gt;&lt;em&gt;G&lt;/em&gt;(&lt;em&gt;T&lt;/em&gt;)&lt;/span&gt; = &lt;span class="math inline"&gt;&lt;em&gt;ε&lt;/em&gt;&lt;sub&gt;ZPE&lt;/sub&gt; + &lt;em&gt;Δ&lt;/em&gt;&lt;em&gt;U&lt;/em&gt;&lt;sub&gt;0 → &lt;em&gt;T&lt;/em&gt;&lt;/sub&gt;&lt;/span&gt;
+ TS = &lt;span class="math inline"&gt;&lt;em&gt;ε&lt;/em&gt;&lt;sub&gt;ZPE&lt;/sub&gt; + &lt;em&gt;Δ&lt;/em&gt;&lt;em&gt;G&lt;/em&gt;&lt;sub&gt;0 → &lt;em&gt;T&lt;/em&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h4 id="example_thermo_energy_correction_for_adsorbed_o_on_au111"&gt;Example:
Thermo energy correction for adsorbed O on Au(111)&lt;/h4&gt;
&lt;p&gt;(1) Fix all slab metal atoms, do frequency calculation for the
adsorbed molecule. Check the frequencies:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;   $ grep cm OUTCAR
      1 f  =   10.904836 THz    68.517103 2PiTHz  363.746154 cm-1    45.098792 meV
      2 f  =   10.827330 THz    68.030119 2PiTHz  361.160834 cm-1    44.778253 meV
      3 f  =   10.751668 THz    67.554721 2PiTHz  358.637024 cm-1    44.465340 meV&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;(2) In the same folder, run VASPKIT &lt;code&gt;501&lt;/code&gt;. Input
temperature(K).&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;   501
    +-------------------------- Warm Tips --------------------------+
    This Feature Was Contributed by Nan XU, Qiang LI and Jincheng LIU.
        See An Example in vaspkit/examples/thermo_correction/ORR.
    Only vibrations! No Translation &amp;amp; Rotation &amp;amp; Electron contributions.
    +---------------------------------------------------------------+

    Please Enter The Temperature (K):

    ------------&amp;gt;&amp;gt;
   298.15
     --&amp;gt;&amp;gt; (01) Reading OUTCAR File...
    +-------------------------- Summary ----------------------------+
    Neglect PV contribution to translation for adsorbed molecules.
    To avoid abnormal entropy contribution,
    frequencies less than 50 cm-1 are set to 50 cm-1.
    U(T) = H(T) = ZPE + Delat_U(0-&amp;gt;T)
    G(T) = H(T) - TS = ZPE + Delat_U(0-&amp;gt;T) - TS

    Temperature (K): 298.1
    Zero-point energy E_ZPE   :       1.549 kcal/mol    0.067171 eV
    Thermal correction to U(T):       2.206 kcal/mol    0.095670 eV
    Thermal correction to H(T):       2.206 kcal/mol    0.095670 eV
    Thermal correction to G(T):       1.207 kcal/mol    0.052342 eV
    Entropy S                 :      14.021 J/(mol*K)   0.000145 eV&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So, ZPE is &lt;span class="math inline"&gt;0.067171 eV&lt;/span&gt;. Thermal
correction to &lt;span class="math inline"&gt;&lt;em&gt;U&lt;/em&gt;(&lt;em&gt;T&lt;/em&gt;)&lt;/span&gt;,
&lt;span class="math inline"&gt;&lt;em&gt;H&lt;/em&gt;(&lt;em&gt;T&lt;/em&gt;)&lt;/span&gt;, and &lt;span class="math inline"&gt;&lt;em&gt;G&lt;/em&gt;(&lt;em&gt;T&lt;/em&gt;)&lt;/span&gt; are &lt;span class="math inline"&gt;0.095670 eV&lt;/span&gt;, &lt;span class="math inline"&gt;0.187167 eV&lt;/span&gt;, and &lt;span class="math inline"&gt; − 0.446723 eV&lt;/span&gt;, respectively.&lt;/p&gt;
&lt;h2 id="calculation_of_cm5_charges_gaussiancm5pac"&gt;&lt;a href="https://scrapbook.netlify.app/posts/Calculation_of_CM5_charges" title="wikilink"&gt;Calculation of CM5
charges&lt;/a&gt; (Gaussian/cm5pac)&lt;/h2&gt;
&lt;p&gt;See the tutorial in the linked section header above to perform CM5
charge calculations.&lt;/p&gt;
&lt;h2 id="neb_calculations"&gt;&lt;a href="https://scrapbook.netlify.app/posts/ASE-MC#NEB/Gaussian_calculations" title="wikilink"&gt;NEB calculations&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;See the tutorial in the linked section header above to perform NEB
calculations.&lt;/p&gt;</description><category>quantum-chemistry</category><category>research</category><guid>https://scrapbook.netlify.app/posts/gaussian-how-tos.html</guid><pubDate>Mon, 05 Dec 2016 23:02:55 GMT</pubDate></item></channel></rss>