<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://chemwiki.ch.ic.ac.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fg1020</id>
	<title>ChemWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://chemwiki.ch.ic.ac.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fg1020"/>
	<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/wiki/Special:Contributions/Fg1020"/>
	<updated>2026-05-16T14:36:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814332</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814332"/>
		<updated>2023-05-30T13:43:38Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Building within Pymatgen */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
Getting Pymatgen &lt;br /&gt;
&lt;br /&gt;
(method 1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conda install --channel conda-forge pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(method 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; pip install pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from mp_api.client import MPRester &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Please check you API code here:&lt;br /&gt;
https://materialsproject.org/api&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core.structure import Structure &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; # import  structure from local cif file &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; primitive = Structure.from_file(&amp;quot;./primitive.cif&amp;quot;) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.symmetry.analyzer import SpacegroupAnalyzer &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; SGA = SpacegroupAnalyzer(primitive) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conventional = SGA.get_conventional_standard_structure() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
statements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen import * &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
create primitive cell from space group&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core import Structure, Lattice &amp;lt;/code&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core.surface import SlabGenerator, Slab &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; latt_length = number_1 #lattice length, here a=b=c, in A &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; latt_angle = number_2 #lattice angle, here alpha=beta=gamma, in degree &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; latt = Lattice.from_parameters(a=latt_length,b=latt_length,c=latt_length,alpha=latt_angle,beta=latt_angle,gamma=latt_angle) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; print(latt) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
fractional coordinates&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; coord = [[x1,y1,z1],  &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; [x2,y2,z2], &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; [x3,y3,z3], &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; [x4,y4,z4],  &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; [x5,y5,z5],  &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; [x6,y6,z6]]  &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; cell_name = Structure.from_spacegroup(&amp;quot;P1&amp;quot;, latt, [&amp;quot;ATOM1&amp;quot;,&amp;quot;ATOM2&amp;quot;,&amp;quot;ATOM3&amp;quot;,&amp;quot;ATOM4&amp;quot;,&amp;quot;ATOM5&amp;quot;,&amp;quot;ATOM6&amp;quot;], coord,coords_are_cartesian=False)   &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; print(cell_name) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
Generate slab using slab generator&lt;br /&gt;
      &lt;br /&gt;
&amp;lt;code&amp;gt; slabgen = SlabGenerator(conventional, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         miller_index=(0,0,1), &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_slab_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_vacuum_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         center_slab=False) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt; slabs = slabgen.get_slabs() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;The number of distinct terminations is: {}&amp;quot;.format(len(slabs))) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save these slabs in .cif files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; for n,slab in enumerate(slabs): &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    print(n, &amp;quot;writing slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    slab.to(fmt=&amp;quot;cif&amp;quot;, filename=&amp;quot;slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;Slabs terminated at shift = {}&amp;quot;.format(slab.shift)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
statements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.analysis.adsorption import AdsorbateSiteFinder, plot_slab &amp;lt;/code&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt; from matplotlib import pyplot as plt &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; fig = plt.figure() &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; ax = fig.add_subplot(111) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
find adsorbate sites of slab 0 generated in Step 1&lt;br /&gt;
will write a for loop to include all slabs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; ASF = AdsorbateSiteFinder(slabs[0]).find_adsorption_sites(distance=2.0, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; put_inside=True, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; symm_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; near_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; positions=(&#039;ontop&#039;,&#039;hollow&#039;,&#039;bridge&#039;), &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; no_obtuse_hollow=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
Plot slab with adsorption sites&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; plot_slab(slabs[0],ax,adsorption_sites=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
save as png&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; fig.savefig(&amp;quot;./slab0.png&amp;quot;, dpi=200) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
print a list of sites coordinate&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; sites_dict = AdsorbateSiteFinder(slabs[0]).find_adsorption_sites(distance=2.0, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  put_inside=True, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  symm_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                 near_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  positions=(&#039;ontop&#039;,&#039;hollow&#039;,&#039;bridge&#039;), &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  no_obtuse_hollow=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
    &lt;br /&gt;
&amp;lt;code&amp;gt; print(sites_dict) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
statements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.io.cif import CifWriter &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.io.xyz import XYZ &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Write cif files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wcif = CifWriter(structure) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wcif.write_file(&amp;quot;test.cif&amp;quot;) &amp;lt;/code&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
Write xyz files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wxyz = XYZ() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wxyz.write_file(&amp;quot;test.xyz&amp;quot;) &amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814331</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814331"/>
		<updated>2023-05-30T13:29:04Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Build slab model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
Getting Pymatgen &lt;br /&gt;
&lt;br /&gt;
(method 1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conda install --channel conda-forge pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(method 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; pip install pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from mp_api.client import MPRester &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Please check you API code here:&lt;br /&gt;
https://materialsproject.org/api&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core.structure import Structure &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; # import  structure from local cif file &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; primitive = Structure.from_file(&amp;quot;./primitive.cif&amp;quot;) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.symmetry.analyzer import SpacegroupAnalyzer &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; SGA = SpacegroupAnalyzer(primitive) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conventional = SGA.get_conventional_standard_structure() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
Generate slab using slab generator&lt;br /&gt;
      &lt;br /&gt;
&amp;lt;code&amp;gt; slabgen = SlabGenerator(conventional, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         miller_index=(0,0,1), &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_slab_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_vacuum_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         center_slab=False) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt; slabs = slabgen.get_slabs() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;The number of distinct terminations is: {}&amp;quot;.format(len(slabs))) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save these slabs in .cif files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; for n,slab in enumerate(slabs): &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    print(n, &amp;quot;writing slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    slab.to(fmt=&amp;quot;cif&amp;quot;, filename=&amp;quot;slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;Slabs terminated at shift = {}&amp;quot;.format(slab.shift)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
statements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.analysis.adsorption import AdsorbateSiteFinder, plot_slab &amp;lt;/code&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt; from matplotlib import pyplot as plt &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; fig = plt.figure() &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; ax = fig.add_subplot(111) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
find adsorbate sites of slab 0 generated in Step 1&lt;br /&gt;
will write a for loop to include all slabs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; ASF = AdsorbateSiteFinder(slabs[0]).find_adsorption_sites(distance=2.0, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; put_inside=True, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; symm_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; near_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; positions=(&#039;ontop&#039;,&#039;hollow&#039;,&#039;bridge&#039;), &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; no_obtuse_hollow=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
Plot slab with adsorption sites&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; plot_slab(slabs[0],ax,adsorption_sites=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
save as png&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; fig.savefig(&amp;quot;./slab0.png&amp;quot;, dpi=200) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
print a list of sites coordinate&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; sites_dict = AdsorbateSiteFinder(slabs[0]).find_adsorption_sites(distance=2.0, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  put_inside=True, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  symm_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                 near_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  positions=(&#039;ontop&#039;,&#039;hollow&#039;,&#039;bridge&#039;), &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  no_obtuse_hollow=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
    &lt;br /&gt;
&amp;lt;code&amp;gt; print(sites_dict) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
statements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.io.cif import CifWriter &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.io.xyz import XYZ &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Write cif files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wcif = CifWriter(structure) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wcif.write_file(&amp;quot;test.cif&amp;quot;) &amp;lt;/code&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
Write xyz files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wxyz = XYZ() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wxyz.write_file(&amp;quot;test.xyz&amp;quot;) &amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814330</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814330"/>
		<updated>2023-05-30T13:28:39Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* == */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
Getting Pymatgen &lt;br /&gt;
&lt;br /&gt;
(method 1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conda install --channel conda-forge pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(method 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; pip install pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from mp_api.client import MPRester &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Please check you API code here:&lt;br /&gt;
https://materialsproject.org/api&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core.structure import Structure &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; # import  structure from local cif file &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; primitive = Structure.from_file(&amp;quot;./primitive.cif&amp;quot;) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.symmetry.analyzer import SpacegroupAnalyzer &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; SGA = SpacegroupAnalyzer(primitive) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conventional = SGA.get_conventional_standard_structure() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
Generate slab using slab generator&lt;br /&gt;
      &lt;br /&gt;
&amp;lt;code&amp;gt; slabgen = SlabGenerator(af1_conventional, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         miller_index=(0,0,1), &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_slab_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_vacuum_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         center_slab=False) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt; slabs = slabgen.get_slabs() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;The number of distinct terminations is: {}&amp;quot;.format(len(slabs))) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save these slabs in .cif files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; for n,slab in enumerate(slabs): &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    print(n, &amp;quot;writing slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    slab.to(fmt=&amp;quot;cif&amp;quot;, filename=&amp;quot;slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;Slabs terminated at shift = {}&amp;quot;.format(slab.shift)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
statements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.analysis.adsorption import AdsorbateSiteFinder, plot_slab &amp;lt;/code&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt; from matplotlib import pyplot as plt &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; fig = plt.figure() &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; ax = fig.add_subplot(111) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
find adsorbate sites of slab 0 generated in Step 1&lt;br /&gt;
will write a for loop to include all slabs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; ASF = AdsorbateSiteFinder(slabs[0]).find_adsorption_sites(distance=2.0, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; put_inside=True, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; symm_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; near_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; positions=(&#039;ontop&#039;,&#039;hollow&#039;,&#039;bridge&#039;), &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; no_obtuse_hollow=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
Plot slab with adsorption sites&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; plot_slab(slabs[0],ax,adsorption_sites=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
save as png&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; fig.savefig(&amp;quot;./slab0.png&amp;quot;, dpi=200) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
print a list of sites coordinate&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; sites_dict = AdsorbateSiteFinder(slabs[0]).find_adsorption_sites(distance=2.0, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  put_inside=True, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  symm_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                 near_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  positions=(&#039;ontop&#039;,&#039;hollow&#039;,&#039;bridge&#039;), &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  no_obtuse_hollow=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
    &lt;br /&gt;
&amp;lt;code&amp;gt; print(sites_dict) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
statements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.io.cif import CifWriter &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.io.xyz import XYZ &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Write cif files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wcif = CifWriter(structure) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wcif.write_file(&amp;quot;test.cif&amp;quot;) &amp;lt;/code&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
Write xyz files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wxyz = XYZ() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wxyz.write_file(&amp;quot;test.xyz&amp;quot;) &amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814329</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814329"/>
		<updated>2023-05-30T13:28:07Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Export Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
Getting Pymatgen &lt;br /&gt;
&lt;br /&gt;
(method 1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conda install --channel conda-forge pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(method 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; pip install pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from mp_api.client import MPRester &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Please check you API code here:&lt;br /&gt;
https://materialsproject.org/api&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core.structure import Structure &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; # import  structure from local cif file &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; primitive = Structure.from_file(&amp;quot;./primitive.cif&amp;quot;) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.symmetry.analyzer import SpacegroupAnalyzer &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; SGA = SpacegroupAnalyzer(primitive) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conventional = SGA.get_conventional_standard_structure() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
Generate slab using slab generator&lt;br /&gt;
      &lt;br /&gt;
&amp;lt;code&amp;gt; slabgen = SlabGenerator(af1_conventional, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         miller_index=(0,0,1), &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_slab_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_vacuum_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         center_slab=False) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt; slabs = slabgen.get_slabs() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;The number of distinct terminations is: {}&amp;quot;.format(len(slabs))) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save these slabs in .cif files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; for n,slab in enumerate(slabs): &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    print(n, &amp;quot;writing slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    slab.to(fmt=&amp;quot;cif&amp;quot;, filename=&amp;quot;slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;Slabs terminated at shift = {}&amp;quot;.format(slab.shift)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
statements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.analysis.adsorption import AdsorbateSiteFinder, plot_slab &amp;lt;/code&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt; from matplotlib import pyplot as plt &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; fig = plt.figure() &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; ax = fig.add_subplot(111) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
find adsorbate sites of slab 0 generated in Step 1&lt;br /&gt;
will write a for loop to include all slabs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; ASF = AdsorbateSiteFinder(slabs[0]).find_adsorption_sites(distance=2.0, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; put_inside=True, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; symm_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; near_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; positions=(&#039;ontop&#039;,&#039;hollow&#039;,&#039;bridge&#039;), &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; no_obtuse_hollow=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
Plot slab with adsorption sites&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; plot_slab(slabs[0],ax,adsorption_sites=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
save as png&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; fig.savefig(&amp;quot;./slab0.png&amp;quot;, dpi=200) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
print a list of sites coordinate&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; sites_dict = AdsorbateSiteFinder(slabs[0]).find_adsorption_sites(distance=2.0, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  put_inside=True, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  symm_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                 near_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  positions=(&#039;ontop&#039;,&#039;hollow&#039;,&#039;bridge&#039;), &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  no_obtuse_hollow=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
    &lt;br /&gt;
&amp;lt;code&amp;gt; print(sites_dict) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
statements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.io.cif import CifWriter &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.io.xyz import XYZ &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Write cif files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wcif = CifWriter(structure) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wcif.write_file(&amp;quot;test.cif&amp;quot;) &amp;lt;/code&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
Write xyz files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wxyz = XYZ() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; wxyz.write_file(&amp;quot;test.xyz&amp;quot;) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814328</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814328"/>
		<updated>2023-05-30T13:24:08Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Search for possible adsorption sites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
Getting Pymatgen &lt;br /&gt;
&lt;br /&gt;
(method 1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conda install --channel conda-forge pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(method 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; pip install pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from mp_api.client import MPRester &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Please check you API code here:&lt;br /&gt;
https://materialsproject.org/api&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core.structure import Structure &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; # import  structure from local cif file &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; primitive = Structure.from_file(&amp;quot;./primitive.cif&amp;quot;) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.symmetry.analyzer import SpacegroupAnalyzer &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; SGA = SpacegroupAnalyzer(primitive) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conventional = SGA.get_conventional_standard_structure() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
Generate slab using slab generator&lt;br /&gt;
      &lt;br /&gt;
&amp;lt;code&amp;gt; slabgen = SlabGenerator(af1_conventional, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         miller_index=(0,0,1), &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_slab_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_vacuum_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         center_slab=False) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt; slabs = slabgen.get_slabs() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;The number of distinct terminations is: {}&amp;quot;.format(len(slabs))) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save these slabs in .cif files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; for n,slab in enumerate(slabs): &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    print(n, &amp;quot;writing slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    slab.to(fmt=&amp;quot;cif&amp;quot;, filename=&amp;quot;slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;Slabs terminated at shift = {}&amp;quot;.format(slab.shift)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
statements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.analysis.adsorption import AdsorbateSiteFinder, plot_slab &amp;lt;/code&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt; from matplotlib import pyplot as plt &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; fig = plt.figure() &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; ax = fig.add_subplot(111) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
find adsorbate sites of slab 0 generated in Step 1&lt;br /&gt;
will write a for loop to include all slabs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; ASF = AdsorbateSiteFinder(slabs[0]).find_adsorption_sites(distance=2.0, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; put_inside=True, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; symm_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; near_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; positions=(&#039;ontop&#039;,&#039;hollow&#039;,&#039;bridge&#039;), &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; no_obtuse_hollow=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
Plot slab with adsorption sites&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; plot_slab(slabs[0],ax,adsorption_sites=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
save as png&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; fig.savefig(&amp;quot;./slab0.png&amp;quot;, dpi=200) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
print a list of sites coordinate&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; sites_dict = AdsorbateSiteFinder(slabs[0]).find_adsorption_sites(distance=2.0, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  put_inside=True, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  symm_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                 near_reduce=0.01, &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  positions=(&#039;ontop&#039;,&#039;hollow&#039;,&#039;bridge&#039;), &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                                                                  no_obtuse_hollow=True) &amp;lt;/code&amp;gt; &lt;br /&gt;
    &lt;br /&gt;
&amp;lt;code&amp;gt; print(sites_dict) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
====&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814327</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814327"/>
		<updated>2023-05-30T13:12:17Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Search for all possible terminations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
Getting Pymatgen &lt;br /&gt;
&lt;br /&gt;
(method 1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conda install --channel conda-forge pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(method 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; pip install pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from mp_api.client import MPRester &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Please check you API code here:&lt;br /&gt;
https://materialsproject.org/api&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core.structure import Structure &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; # import  structure from local cif file &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; primitive = Structure.from_file(&amp;quot;./primitive.cif&amp;quot;) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.symmetry.analyzer import SpacegroupAnalyzer &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; SGA = SpacegroupAnalyzer(primitive) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conventional = SGA.get_conventional_standard_structure() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
Generate slab using slab generator&lt;br /&gt;
      &lt;br /&gt;
&amp;lt;code&amp;gt; slabgen = SlabGenerator(af1_conventional, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         miller_index=(0,0,1), &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_slab_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_vacuum_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         center_slab=False) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt; slabs = slabgen.get_slabs() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;The number of distinct terminations is: {}&amp;quot;.format(len(slabs))) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save these slabs in .cif files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; for n,slab in enumerate(slabs): &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    print(n, &amp;quot;writing slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    slab.to(fmt=&amp;quot;cif&amp;quot;, filename=&amp;quot;slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;Slabs terminated at shift = {}&amp;quot;.format(slab.shift)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
====&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814326</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814326"/>
		<updated>2023-05-30T13:12:01Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Build slab model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
Getting Pymatgen &lt;br /&gt;
&lt;br /&gt;
(method 1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conda install --channel conda-forge pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(method 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; pip install pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from mp_api.client import MPRester &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Please check you API code here:&lt;br /&gt;
https://materialsproject.org/api&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core.structure import Structure &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; # import  structure from local cif file &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; primitive = Structure.from_file(&amp;quot;./primitive.cif&amp;quot;) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.symmetry.analyzer import SpacegroupAnalyzer &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; SGA = SpacegroupAnalyzer(primitive) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conventional = SGA.get_conventional_standard_structure() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
Generate slab using slab generator&lt;br /&gt;
      &lt;br /&gt;
&amp;lt;code&amp;gt; slabgen = SlabGenerator(af1_conventional, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         miller_index=(0,0,1), &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_slab_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_vacuum_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         center_slab=False) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
====&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814325</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814325"/>
		<updated>2023-05-30T13:08:21Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Build slab model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
Getting Pymatgen &lt;br /&gt;
&lt;br /&gt;
(method 1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conda install --channel conda-forge pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(method 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; pip install pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from mp_api.client import MPRester &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Please check you API code here:&lt;br /&gt;
https://materialsproject.org/api&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core.structure import Structure &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; # import  structure from local cif file &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; primitive = Structure.from_file(&amp;quot;./primitive.cif&amp;quot;) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.symmetry.analyzer import SpacegroupAnalyzer &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; SGA = SpacegroupAnalyzer(primitive) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conventional = SGA.get_conventional_standard_structure() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
Generate slab using slab generator&lt;br /&gt;
      &lt;br /&gt;
&amp;lt;code&amp;gt; slabgen = SlabGenerator(af1_conventional, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         miller_index=(0,0,1), &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_slab_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         min_vacuum_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;                         center_slab=False) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; slabs = slabgen.get_slabs() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;The number of distinct terminations is: {}&amp;quot;.format(len(slabs))) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save these slabs in .cif files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; for n,slab in enumerate(slabs): &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    print(n, &amp;quot;writing slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;    slab.to(fmt=&amp;quot;cif&amp;quot;, filename=&amp;quot;slab{}.cif&amp;quot;.format(n)) &amp;lt;/code&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&amp;lt;code&amp;gt; print(&amp;quot;Slabs terminated at shift = {}&amp;quot;.format(slab.shift)) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
====&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Contributors&amp;diff=814320</id>
		<title>Contributors</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Contributors&amp;diff=814320"/>
		<updated>2023-05-26T15:26:27Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Fei Gao */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;border:0px solid #90C0FF; background:#ffffff; width:90%; padding:40px&amp;quot;&amp;gt;&lt;br /&gt;
=Nano Electrochemistry Group=&lt;br /&gt;
&lt;br /&gt;
==Clotilde Cucinotta (PI)==&lt;br /&gt;
&lt;br /&gt;
==Chris Ahart==&lt;br /&gt;
[[File:ChrisAhartProfile.png|frameless|bottom|200px|Chris Ahart]]&lt;br /&gt;
&lt;br /&gt;
Postdoc August 2022 - present. &lt;br /&gt;
==Frederik==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Songyuan==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Margherita Buraschi==&lt;br /&gt;
[[File:Margherita Buraschi photo.jpg|frameless|bottom|200px|Margherita Buraschi]]&lt;br /&gt;
&lt;br /&gt;
PhD July 2020-present. In her PhD, Margherita is investigating the charge transfer properties of electrochemical nanojunctions (ECNJs) by means of computational studies. ECNJs are three-terminal functional devices of interest for the field of molecular electronics &amp;lt;ref&amp;gt; Huang et al., Chem. Soc. Rev., &#039;&#039;&#039;44&#039;&#039;&#039;, 889-901 (2015) &amp;lt;/ref&amp;gt; as they present the same functionality of common electronic units but at the molecular scale. Many factors define the conductance of ECNJs; amongst these factors are the structure of the functional unit, the type of metal as well as the EC transformations occurring in solutions. In order to obtain an atomistic understanding of all these factors and their effects on the overall conductance of the junction, ab initio molecular dynamics under bias and an explicit open‐boundary description of the electrons are performed during this project. To this end, the hair-probes formalism &amp;lt;ref&amp;gt; Horsfield, Boleininger, D&#039;Agosta, Iyer, Thong, Todorov and White, Phys. Rev. B, &#039;&#039;&#039;94&#039;&#039;&#039;, 075118 (2016) &amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Zauchner, Horsfield and Todorov, Physical Review B, &#039;&#039;&#039;97&#039;&#039;&#039;, 045116 (2018) &amp;lt;/ref&amp;gt;, an open‐boundary formalism suitable to describe multi-terminal EC systems, is being interfaced within the DFT scheme implemented in the CP2K computational package &amp;lt;ref&amp;gt;Kühne et al., The Journal of Chemical Physics, &#039;&#039;&#039;152&#039;&#039;&#039;(19), 194103 (2020) &amp;lt;/ref&amp;gt;.  &lt;br /&gt;
==Rashid Al-Heidous==&lt;br /&gt;
[[File:Rashid Personal Photo.jpeg|frameless|bottom|200px|Rashid Al-Heidous]]&lt;br /&gt;
&lt;br /&gt;
==Zehui Duan==&lt;br /&gt;
[[File:Zehui Duan photo.jpg|frameless|bottom|200px|Zehui Duan]]&lt;br /&gt;
&lt;br /&gt;
MRes Oct 2020-present. Using density functional theory (DFT) as implemented in CP2K code, Zehui is investigating the thermodynamics of the CO&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; reduction reaction (CO2RR), to guide the rational design for dual-atom catalysts (DAC) with both high efficiency and good selectivity.&lt;br /&gt;
&lt;br /&gt;
==Lorraine Wang==&lt;br /&gt;
[[File:Lorraine Wang photo.jpg|frameless|bottom|200px|Lorraine Wang]]&lt;br /&gt;
&lt;br /&gt;
MRes Oct 2020-presnt. In her MRes project, Lorraine is studying dual-metal-atom catalysts (DAC) by means of density functional theory (DFT) as implemented in CP2K code. Dual-metal-atom catalysts with synergistic effect &amp;lt;ref&amp;gt;X. Zhu, J. Yan, M. Gu, T. Liu, Y. Dai, Y. Gu and Y. Li, J. Phys. Chem. Lett., &#039;&#039;&#039;10&#039;&#039;&#039;, [tel:7760–7766 7760–7766] (2019) &amp;lt;/ref&amp;gt; between the two metal atoms can enhance the catalytic oxygen reduction reaction (ORR). They usually consist of a substrate (doped graphene layers) and anchored metal atoms. Using DFT simulations implemented within the CP2K code can help to build a fundamental understanding of the structure. By studying the thermodynamics of various patterns, we can propose a thermodynamically favourable pathway of DAC synthesis. In the future, the project can further extend to study catalysts phase stability, catalytic performance and kinetics with more complexed models.&lt;br /&gt;
&lt;br /&gt;
==Kalman==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Felix==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Luke==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Anthony==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:0px solid #90C0FF; background:#ffffff; width:90%; padding:40px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Computational Materials Science Group (CMSG)=&lt;br /&gt;
&lt;br /&gt;
CMSG is a group of scientiests under Prof. Nicholas Harrison&#039;s supervison at Imperial College London.&lt;br /&gt;
&lt;br /&gt;
==Nicholas Harrison (PI)==&lt;br /&gt;
&lt;br /&gt;
==Paolo Restuccia==&lt;br /&gt;
&lt;br /&gt;
==Huanyu Zhou== &lt;br /&gt;
PhD in Chemistry 2021-present; MRes Nanomaterials 2020-2021&lt;br /&gt;
&lt;br /&gt;
Huanyu&#039;s PhD research project is about the multi-scale modelling of thermodynamics of molecular crystals using ab initio methods. It involves accurate polymorphism prediction and modelling the solvation effects at solid-liquid interfaces of pharmaceutical crystals, which is a joint endeavour with Prof. Jerry Heng&#039;s group at the Department of Chemical Engineering. &lt;br /&gt;
&lt;br /&gt;
During his master project co-supervised by Dr. Giuseppe Mallia, Huanyu investigated the monovacancy defect on compressed graphene by DFT. The correlation between magnetic moment and local geometry of monovacacies was identified, which lead to novel electronic and spintronic properties.&lt;br /&gt;
&lt;br /&gt;
Huanyu is also one of the main authors of [https://crystal-code-tools.github.io/CRYSTALpytools/ CRYSTALpytools], the object-oriented python package for CRYSTAL, co-developed by CMSG Imperial and the Theoretical Chemistry Group (TEO) UniTo.&lt;br /&gt;
&lt;br /&gt;
==Fei Gao==&lt;br /&gt;
[[File:Fei.jpeg|frameless|bottom|200px|Lorraine Wang]]&lt;br /&gt;
&lt;br /&gt;
PhD in Chemistry 2021-present; MRes IMSE 2020-2021&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Contributors&amp;diff=814319</id>
		<title>Contributors</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Contributors&amp;diff=814319"/>
		<updated>2023-05-26T15:25:33Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;border:0px solid #90C0FF; background:#ffffff; width:90%; padding:40px&amp;quot;&amp;gt;&lt;br /&gt;
=Nano Electrochemistry Group=&lt;br /&gt;
&lt;br /&gt;
==Clotilde Cucinotta (PI)==&lt;br /&gt;
&lt;br /&gt;
==Chris Ahart==&lt;br /&gt;
[[File:ChrisAhartProfile.png|frameless|bottom|200px|Chris Ahart]]&lt;br /&gt;
&lt;br /&gt;
Postdoc August 2022 - present. &lt;br /&gt;
==Frederik==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Songyuan==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Margherita Buraschi==&lt;br /&gt;
[[File:Margherita Buraschi photo.jpg|frameless|bottom|200px|Margherita Buraschi]]&lt;br /&gt;
&lt;br /&gt;
PhD July 2020-present. In her PhD, Margherita is investigating the charge transfer properties of electrochemical nanojunctions (ECNJs) by means of computational studies. ECNJs are three-terminal functional devices of interest for the field of molecular electronics &amp;lt;ref&amp;gt; Huang et al., Chem. Soc. Rev., &#039;&#039;&#039;44&#039;&#039;&#039;, 889-901 (2015) &amp;lt;/ref&amp;gt; as they present the same functionality of common electronic units but at the molecular scale. Many factors define the conductance of ECNJs; amongst these factors are the structure of the functional unit, the type of metal as well as the EC transformations occurring in solutions. In order to obtain an atomistic understanding of all these factors and their effects on the overall conductance of the junction, ab initio molecular dynamics under bias and an explicit open‐boundary description of the electrons are performed during this project. To this end, the hair-probes formalism &amp;lt;ref&amp;gt; Horsfield, Boleininger, D&#039;Agosta, Iyer, Thong, Todorov and White, Phys. Rev. B, &#039;&#039;&#039;94&#039;&#039;&#039;, 075118 (2016) &amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Zauchner, Horsfield and Todorov, Physical Review B, &#039;&#039;&#039;97&#039;&#039;&#039;, 045116 (2018) &amp;lt;/ref&amp;gt;, an open‐boundary formalism suitable to describe multi-terminal EC systems, is being interfaced within the DFT scheme implemented in the CP2K computational package &amp;lt;ref&amp;gt;Kühne et al., The Journal of Chemical Physics, &#039;&#039;&#039;152&#039;&#039;&#039;(19), 194103 (2020) &amp;lt;/ref&amp;gt;.  &lt;br /&gt;
==Rashid Al-Heidous==&lt;br /&gt;
[[File:Rashid Personal Photo.jpeg|frameless|bottom|200px|Rashid Al-Heidous]]&lt;br /&gt;
&lt;br /&gt;
==Zehui Duan==&lt;br /&gt;
[[File:Zehui Duan photo.jpg|frameless|bottom|200px|Zehui Duan]]&lt;br /&gt;
&lt;br /&gt;
MRes Oct 2020-present. Using density functional theory (DFT) as implemented in CP2K code, Zehui is investigating the thermodynamics of the CO&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; reduction reaction (CO2RR), to guide the rational design for dual-atom catalysts (DAC) with both high efficiency and good selectivity.&lt;br /&gt;
&lt;br /&gt;
==Lorraine Wang==&lt;br /&gt;
[[File:Lorraine Wang photo.jpg|frameless|bottom|200px|Lorraine Wang]]&lt;br /&gt;
&lt;br /&gt;
MRes Oct 2020-presnt. In her MRes project, Lorraine is studying dual-metal-atom catalysts (DAC) by means of density functional theory (DFT) as implemented in CP2K code. Dual-metal-atom catalysts with synergistic effect &amp;lt;ref&amp;gt;X. Zhu, J. Yan, M. Gu, T. Liu, Y. Dai, Y. Gu and Y. Li, J. Phys. Chem. Lett., &#039;&#039;&#039;10&#039;&#039;&#039;, [tel:7760–7766 7760–7766] (2019) &amp;lt;/ref&amp;gt; between the two metal atoms can enhance the catalytic oxygen reduction reaction (ORR). They usually consist of a substrate (doped graphene layers) and anchored metal atoms. Using DFT simulations implemented within the CP2K code can help to build a fundamental understanding of the structure. By studying the thermodynamics of various patterns, we can propose a thermodynamically favourable pathway of DAC synthesis. In the future, the project can further extend to study catalysts phase stability, catalytic performance and kinetics with more complexed models.&lt;br /&gt;
&lt;br /&gt;
==Kalman==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Felix==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Luke==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Anthony==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:0px solid #90C0FF; background:#ffffff; width:90%; padding:40px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Computational Materials Science Group (CMSG)=&lt;br /&gt;
&lt;br /&gt;
CMSG is a group of scientiests under Prof. Nicholas Harrison&#039;s supervison at Imperial College London.&lt;br /&gt;
&lt;br /&gt;
==Nicholas Harrison (PI)==&lt;br /&gt;
&lt;br /&gt;
==Paolo Restuccia==&lt;br /&gt;
&lt;br /&gt;
==Huanyu Zhou== &lt;br /&gt;
PhD in Chemistry 2021-present; MRes Nanomaterials 2020-2021&lt;br /&gt;
&lt;br /&gt;
Huanyu&#039;s PhD research project is about the multi-scale modelling of thermodynamics of molecular crystals using ab initio methods. It involves accurate polymorphism prediction and modelling the solvation effects at solid-liquid interfaces of pharmaceutical crystals, which is a joint endeavour with Prof. Jerry Heng&#039;s group at the Department of Chemical Engineering. &lt;br /&gt;
&lt;br /&gt;
During his master project co-supervised by Dr. Giuseppe Mallia, Huanyu investigated the monovacancy defect on compressed graphene by DFT. The correlation between magnetic moment and local geometry of monovacacies was identified, which lead to novel electronic and spintronic properties.&lt;br /&gt;
&lt;br /&gt;
Huanyu is also one of the main authors of [https://crystal-code-tools.github.io/CRYSTALpytools/ CRYSTALpytools], the object-oriented python package for CRYSTAL, co-developed by CMSG Imperial and the Theoretical Chemistry Group (TEO) UniTo.&lt;br /&gt;
&lt;br /&gt;
==Fei Gao==&lt;br /&gt;
[[File:Fei.jpeg|frameless|bottom|200px|Lorraine Wang]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Fei.jpeg&amp;diff=814318</id>
		<title>File:Fei.jpeg</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Fei.jpeg&amp;diff=814318"/>
		<updated>2023-05-26T15:24:32Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814304</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814304"/>
		<updated>2023-05-26T09:43:47Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Build slab model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
Getting Pymatgen &lt;br /&gt;
&lt;br /&gt;
(method 1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conda install --channel conda-forge pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(method 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; pip install pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from mp_api.client import MPRester &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Please check you API code here:&lt;br /&gt;
https://materialsproject.org/api&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core.structure import Structure &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; # import  structure from local cif file &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; primitive = Structure.from_file(&amp;quot;./primitive.cif&amp;quot;) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.symmetry.analyzer import SpacegroupAnalyzer &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; SGA = SpacegroupAnalyzer(primitive) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conventional = SGA.get_conventional_standard_structure() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; #Generate slab using slab generator &amp;lt;/code&amp;gt;&lt;br /&gt;
      &lt;br /&gt;
&amp;lt;code&amp;gt; slabgen = SlabGenerator(af1_conventional, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; miller_index=(0,0,1), &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; min_slab_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; min_vacuum_size=10, &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; center_slab=False) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
====&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814303</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814303"/>
		<updated>2023-05-26T09:33:18Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Read from local file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
Getting Pymatgen &lt;br /&gt;
&lt;br /&gt;
(method 1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conda install --channel conda-forge pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(method 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; pip install pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from mp_api.client import MPRester &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Please check you API code here:&lt;br /&gt;
https://materialsproject.org/api&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core.structure import Structure &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; # import  structure from local cif file &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; primitive = Structure.from_file(&amp;quot;./primitive.cif&amp;quot;) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.symmetry.analyzer import SpacegroupAnalyzer &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; SGA = SpacegroupAnalyzer(primitive) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conventional = SGA.get_conventional_standard_structure() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
====&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814302</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814302"/>
		<updated>2023-05-26T09:31:51Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Read from local file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
Getting Pymatgen &lt;br /&gt;
&lt;br /&gt;
(method 1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conda install --channel conda-forge pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(method 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; pip install pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from mp_api.client import MPRester &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Please check you API code here:&lt;br /&gt;
https://materialsproject.org/api&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core.structure import Structure &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; #import  structure from local cif file &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; primitive = Structure.from_file(&amp;quot;./primitive.cif&amp;quot;) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.symmetry.analyzer import SpacegroupAnalyzer &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; SGA = SpacegroupAnalyzer(primitive) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conventional = SGA.get_conventional_standard_structure() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
====&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814301</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814301"/>
		<updated>2023-05-26T09:30:48Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Import Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
Getting Pymatgen &lt;br /&gt;
&lt;br /&gt;
(method 1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conda install --channel conda-forge pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(method 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; pip install pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from mp_api.client import MPRester &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Please check you API code here:&lt;br /&gt;
https://materialsproject.org/api&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.core.structure import Structure &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; #import  structure from local cif file &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; primitive = Structure.from_file(&amp;quot;./primitive.cif&amp;quot;) &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; from pymatgen.symmetry.analyzer import SpacegroupAnalyzer &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; SGA = SpacegroupAnalyzer(primitive) &amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt; conventional = SGA.get_conventional_standard_structure() &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
====&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814300</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814300"/>
		<updated>2023-05-26T09:06:42Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Pre Set-up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
Getting Pymatgen &lt;br /&gt;
&lt;br /&gt;
(method 1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; conda install --channel conda-forge pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(method 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; pip install pymatgen &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
====&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814162</id>
		<title>Building structure with Pymatgen</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Building_structure_with_Pymatgen&amp;diff=814162"/>
		<updated>2022-12-02T15:17:26Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: Created page with &amp;quot;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.  Pymatgen (Python Materials Genomics) is an open-source Py...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
====&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Nano_Electrochemistry_Group&amp;diff=814161</id>
		<title>Nano Electrochemistry Group</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Nano_Electrochemistry_Group&amp;diff=814161"/>
		<updated>2022-12-02T15:16:26Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;padding: 10px; background: #87adde; border: 1px solid #FFAA99; font-family: Trebuchet MS, sans-serif; font-size: 95%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
This page provides a series of tutorials designed to help with the computational modelling of electrochemical system; their aim is to provide general workflows and useful tip to model fundamental components and properties of electrochemical systems. The tutorials have been designed by the researchers of the Computational NanoElectrochemistry Group led by Dr Clotilde Cucinotta [link to group page] and collaborators. &lt;br /&gt;
Several simulation packages (CP2K, LAMMPS, QuantumEspresso, etc.), as well as other tools, such as molecular visualisers or programming languages, are described in these tutorials; links to the relevant manuals are provided at the bottom of the page. &lt;br /&gt;
Script and programs written by the components of the research group are also described in each tutorial; these tools have been devised to help with running calculations and with data analysis and can be found in the linked GitLub repository [https://gitlab.doc.ic.ac.uk/rgc]. &lt;br /&gt;
&lt;br /&gt;
==Running in a Cluster Tutorials==&lt;br /&gt;
&lt;br /&gt;
===[[How to run on ARCHER 2]]===&lt;br /&gt;
Written by:[[Contributors#Songyuan| Songyuan]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===[[Imperial CX1: Instructions and basic concepts of parallel computing|Imperial CX1: Instructions and basic concepts of parallel computing]]===&lt;br /&gt;
Written by:[[Contributors| Huanyu]]&lt;br /&gt;
&lt;br /&gt;
A collection of useful resources and brief introductions to the basic concepts of parallel computing for beginners to use the high-performance computing service at Imperial.&lt;br /&gt;
&lt;br /&gt;
==[[Reaction Dynamics]]==&lt;br /&gt;
===[[Lammps and plumed|Lammps and plumed]]===&lt;br /&gt;
Written by:[[Contributors| Frederik]]&lt;br /&gt;
&lt;br /&gt;
Tutorial on how to use the PLUMED software package to perform biased molecular dynamics simulations in LAMMPS.&lt;br /&gt;
&lt;br /&gt;
===[[Converging magnetic systems in CP2K]]===&lt;br /&gt;
Written by:[[Contributors| Chris]]&lt;br /&gt;
&lt;br /&gt;
* Contents:&lt;br /&gt;
** MULTIPLICITY keyword to calculate magnetic systems&lt;br /&gt;
** &amp;amp;BS section and MAGNETIZATION keyword to improve convergence&lt;br /&gt;
* Computational package: CP2K.&lt;br /&gt;
&lt;br /&gt;
===[[Optimization of metallic surfaces parameters|Optimizing parameters for metallic surfaces]]===&lt;br /&gt;
Written by:[[Contributors| Margherita]]&lt;br /&gt;
&lt;br /&gt;
* Contents:&lt;br /&gt;
** Tutorials on how to define the appropriate set of parameters needed to model a metallic system: Basis set, CUTOFF and &#039;&#039;&#039;k&#039;&#039;&#039;-points grid;&lt;br /&gt;
** Tutorials on how to calculate relevant quantities of metallic surfaces: work function, equilibrium lattice parameter and electronic structure;&lt;br /&gt;
* System: metallic surfaces (Platinum slab used as example);&lt;br /&gt;
* Computational package: CP2K.&lt;br /&gt;
&lt;br /&gt;
===Surface analysis===&lt;br /&gt;
Written by:[[Contributors| Songyuan]]&lt;br /&gt;
&lt;br /&gt;
===[[Dimers in gas phase|Dimers in gas phase]]===&lt;br /&gt;
Written by:[[Contributors| Fredrik]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for optimising dimers in the gas phase using gaussian.&lt;br /&gt;
&lt;br /&gt;
===[[Calculation of radial average|Calculation of radial average]]===&lt;br /&gt;
Written by:[[Contributors| Kalman]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for calculating the radial average ?.&lt;br /&gt;
&lt;br /&gt;
===[[Adsorption of molecule on surfaces|Adsorption of molecule on surfaces]]===&lt;br /&gt;
Written by:[[Contributors| Paolo]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for calculating the adsorption energy of a molecule (or, more in general, any particle) over a specific surface.&lt;br /&gt;
&lt;br /&gt;
===[[Memristors|Simulation of Memristors]]===&lt;br /&gt;
Written by:[[Contributors| Felix]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for optimising parameters for memristors using QuantumEspresso.&lt;br /&gt;
&lt;br /&gt;
===[[Hard_carbon|Simulation of Hard Carbons]]===&lt;br /&gt;
Written by:[[Contributors| Luke]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for the simulation of hard carbon?&lt;br /&gt;
&lt;br /&gt;
===[[Solving 1D Poisson equation |Solving 1D Poisson equation]]===&lt;br /&gt;
Written by:[[Contributors| Remi Khatib ]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for the solution of the 1D Poisson equations given a distribution of point charges&lt;br /&gt;
&lt;br /&gt;
===[[TrendsCatalyticActivity|Trends in catalytic Activity]]===&lt;br /&gt;
Tutorial for a computational experiment about trends in catalytic activity for hydrogen evolution. This experiment is part of the third year computational chemistry lab. &lt;br /&gt;
&lt;br /&gt;
===[[Convergence test of critical parameters by CRYSTAL]]===&lt;br /&gt;
Written by:[[Contributors| Huanyu ]]&lt;br /&gt;
&lt;br /&gt;
A tutorial for performing convergence tests with LCAO-GTO DFT code, CRYSTAL.&lt;br /&gt;
&lt;br /&gt;
===[[Building structure with Pymatgen]]===&lt;br /&gt;
Written by:[[Contributors| Fei ]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for generating crystal structure and surface with Python.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Computational Tools==&lt;br /&gt;
&lt;br /&gt;
===[https://www.cp2k.org/about CP2K]===&lt;br /&gt;
*[[CP2K_Tutorial|CP2K TUTORIAL]];&lt;br /&gt;
*[https://github.com/cp2k/cp2k/blob/master/INSTALL.md Download and install CP2K ];&lt;br /&gt;
*[https://manual.cp2k.org/#gsc.tab=0 Manual];&lt;br /&gt;
*[https://www.cp2k.org/howto Useful HOWTOs];&lt;br /&gt;
*Reading inputs and outputs (commented files and examples);&lt;br /&gt;
&lt;br /&gt;
===[https://www.quantum-espresso.org/ QUANTUM ESPRESSO]===&lt;br /&gt;
*[https://www.quantum-espresso.org/download Download and install QUANTUM ESPRESSO];&lt;br /&gt;
*[https://www.quantum-espresso.org/resources/tutorials Useful Tutorials];&lt;br /&gt;
*Reading inputs and outputs (commented files and examples);&lt;br /&gt;
&lt;br /&gt;
===[https://www.lammps.org/ LAMMPS]===&lt;br /&gt;
*[https://www.lammps.org/download.html Download LAMMPS];&lt;br /&gt;
*[https://docs.lammps.org/Manual.html Manual];&lt;br /&gt;
*[https://www.lammps.org/tutorials.html Tutorials];&lt;br /&gt;
&lt;br /&gt;
===[https://www.crystal.unito.it/index.php CRYSTAL]===&lt;br /&gt;
* [https://tutorials.crystalsolutions.eu/ CRYSTAL Tutorial Project]&lt;br /&gt;
* [https://www.crystal.unito.it/basis-sets.php CRYSTAL basis set database for solid state calculations]&lt;br /&gt;
* [http://crysplot.crystalsolutions.eu/ CRYSPLOT: A web-based visualisation tool]&lt;br /&gt;
* [https://github.com/crystal-code-tools/crystal_functions crystal_functions: A python-based toolbox]&lt;br /&gt;
&lt;br /&gt;
===[https://www.tcd.ie/Physics/Smeagol/SmeagolAbout.htm Smeagol]===&lt;br /&gt;
&lt;br /&gt;
===others===&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Molecular visualizers==&lt;br /&gt;
*[http://www.ks.uiuc.edu/Research/vmd/ VMD]&lt;br /&gt;
*[http://www.xcrysden.org/ Xcrysden]&lt;br /&gt;
*[https://jp-minerals.org/vesta/en/ VESTA]&lt;br /&gt;
&lt;br /&gt;
===Others===&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Useful programming languages and environments== &lt;br /&gt;
&lt;br /&gt;
*[http://www-eio.upc.edu/lceio/manuals/Fortran95-manual.pdf Fortran]&lt;br /&gt;
*[https://docs.python.org/3/ Python]&lt;br /&gt;
*[https://wiki.fysik.dtu.dk/ase/ ASE]&lt;br /&gt;
*[https://pymatgen.org/ Pymatgen]&lt;br /&gt;
&lt;br /&gt;
===others===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://wiki.ch.ic.ac.uk/wiki/index.php?title=Main_Page info]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Nano_Electrochemistry_Group&amp;diff=814160</id>
		<title>Nano Electrochemistry Group</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Nano_Electrochemistry_Group&amp;diff=814160"/>
		<updated>2022-12-02T15:14:16Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;padding: 10px; background: #87adde; border: 1px solid #FFAA99; font-family: Trebuchet MS, sans-serif; font-size: 95%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
This page provides a series of tutorials designed to help with the computational modelling of electrochemical system; their aim is to provide general workflows and useful tip to model fundamental components and properties of electrochemical systems. The tutorials have been designed by the researchers of the Computational NanoElectrochemistry Group led by Dr Clotilde Cucinotta [link to group page] and collaborators. &lt;br /&gt;
Several simulation packages (CP2K, LAMMPS, QuantumEspresso, etc.), as well as other tools, such as molecular visualisers or programming languages, are described in these tutorials; links to the relevant manuals are provided at the bottom of the page. &lt;br /&gt;
Script and programs written by the components of the research group are also described in each tutorial; these tools have been devised to help with running calculations and with data analysis and can be found in the linked GitLub repository [https://gitlab.doc.ic.ac.uk/rgc]. &lt;br /&gt;
&lt;br /&gt;
==Running in a Cluster Tutorials==&lt;br /&gt;
&lt;br /&gt;
===[[How to run on ARCHER 2]]===&lt;br /&gt;
Written by:[[Contributors#Songyuan| Songyuan]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===[[Imperial CX1: Instructions and basic concepts of parallel computing|Imperial CX1: Instructions and basic concepts of parallel computing]]===&lt;br /&gt;
Written by:[[Contributors| Huanyu]]&lt;br /&gt;
&lt;br /&gt;
A collection of useful resources and brief introductions to the basic concepts of parallel computing for beginners to use the high-performance computing service at Imperial.&lt;br /&gt;
&lt;br /&gt;
==[[Reaction Dynamics]]==&lt;br /&gt;
===[[Lammps and plumed|Lammps and plumed]]===&lt;br /&gt;
Written by:[[Contributors| Frederik]]&lt;br /&gt;
&lt;br /&gt;
Tutorial on how to use the PLUMED software package to perform biased molecular dynamics simulations in LAMMPS.&lt;br /&gt;
&lt;br /&gt;
===[[Converging magnetic systems in CP2K]]===&lt;br /&gt;
Written by:[[Contributors| Chris]]&lt;br /&gt;
&lt;br /&gt;
* Contents:&lt;br /&gt;
** MULTIPLICITY keyword to calculate magnetic systems&lt;br /&gt;
** &amp;amp;BS section and MAGNETIZATION keyword to improve convergence&lt;br /&gt;
* Computational package: CP2K.&lt;br /&gt;
&lt;br /&gt;
===[[Optimization of metallic surfaces parameters|Optimizing parameters for metallic surfaces]]===&lt;br /&gt;
Written by:[[Contributors| Margherita]]&lt;br /&gt;
&lt;br /&gt;
* Contents:&lt;br /&gt;
** Tutorials on how to define the appropriate set of parameters needed to model a metallic system: Basis set, CUTOFF and &#039;&#039;&#039;k&#039;&#039;&#039;-points grid;&lt;br /&gt;
** Tutorials on how to calculate relevant quantities of metallic surfaces: work function, equilibrium lattice parameter and electronic structure;&lt;br /&gt;
* System: metallic surfaces (Platinum slab used as example);&lt;br /&gt;
* Computational package: CP2K.&lt;br /&gt;
&lt;br /&gt;
===Surface analysis===&lt;br /&gt;
Written by:[[Contributors| Songyuan]]&lt;br /&gt;
&lt;br /&gt;
===[[Dimers in gas phase|Dimers in gas phase]]===&lt;br /&gt;
Written by:[[Contributors| Fredrik]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for optimising dimers in the gas phase using gaussian.&lt;br /&gt;
&lt;br /&gt;
===[[Calculation of radial average|Calculation of radial average]]===&lt;br /&gt;
Written by:[[Contributors| Kalman]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for calculating the radial average ?.&lt;br /&gt;
&lt;br /&gt;
===[[Adsorption of molecule on surfaces|Adsorption of molecule on surfaces]]===&lt;br /&gt;
Written by:[[Contributors| Paolo]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for calculating the adsorption energy of a molecule (or, more in general, any particle) over a specific surface.&lt;br /&gt;
&lt;br /&gt;
===[[Memristors|Simulation of Memristors]]===&lt;br /&gt;
Written by:[[Contributors| Felix]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for optimising parameters for memristors using QuantumEspresso.&lt;br /&gt;
&lt;br /&gt;
===[[Hard_carbon|Simulation of Hard Carbons]]===&lt;br /&gt;
Written by:[[Contributors| Luke]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for the simulation of hard carbon?&lt;br /&gt;
&lt;br /&gt;
===[[Solving 1D Poisson equation |Solving 1D Poisson equation]]===&lt;br /&gt;
Written by:[[Contributors| Remi Khatib ]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for the solution of the 1D Poisson equations given a distribution of point charges&lt;br /&gt;
&lt;br /&gt;
===[[TrendsCatalyticActivity|Trends in catalytic Activity]]===&lt;br /&gt;
Tutorial for a computational experiment about trends in catalytic activity for hydrogen evolution. This experiment is part of the third year computational chemistry lab. &lt;br /&gt;
&lt;br /&gt;
===[[Convergence test of critical parameters by CRYSTAL]]===&lt;br /&gt;
Written by:[[Contributors| Huanyu ]]&lt;br /&gt;
&lt;br /&gt;
A tutorial for performing convergence tests with LCAO-GTO DFT code, CRYSTAL.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Computational Tools==&lt;br /&gt;
&lt;br /&gt;
===[https://www.cp2k.org/about CP2K]===&lt;br /&gt;
*[[CP2K_Tutorial|CP2K TUTORIAL]];&lt;br /&gt;
*[https://github.com/cp2k/cp2k/blob/master/INSTALL.md Download and install CP2K ];&lt;br /&gt;
*[https://manual.cp2k.org/#gsc.tab=0 Manual];&lt;br /&gt;
*[https://www.cp2k.org/howto Useful HOWTOs];&lt;br /&gt;
*Reading inputs and outputs (commented files and examples);&lt;br /&gt;
&lt;br /&gt;
===[https://www.quantum-espresso.org/ QUANTUM ESPRESSO]===&lt;br /&gt;
*[https://www.quantum-espresso.org/download Download and install QUANTUM ESPRESSO];&lt;br /&gt;
*[https://www.quantum-espresso.org/resources/tutorials Useful Tutorials];&lt;br /&gt;
*Reading inputs and outputs (commented files and examples);&lt;br /&gt;
&lt;br /&gt;
===[https://www.lammps.org/ LAMMPS]===&lt;br /&gt;
*[https://www.lammps.org/download.html Download LAMMPS];&lt;br /&gt;
*[https://docs.lammps.org/Manual.html Manual];&lt;br /&gt;
*[https://www.lammps.org/tutorials.html Tutorials];&lt;br /&gt;
&lt;br /&gt;
===[https://www.crystal.unito.it/index.php CRYSTAL]===&lt;br /&gt;
* [https://tutorials.crystalsolutions.eu/ CRYSTAL Tutorial Project]&lt;br /&gt;
* [https://www.crystal.unito.it/basis-sets.php CRYSTAL basis set database for solid state calculations]&lt;br /&gt;
* [http://crysplot.crystalsolutions.eu/ CRYSPLOT: A web-based visualisation tool]&lt;br /&gt;
* [https://github.com/crystal-code-tools/crystal_functions crystal_functions: A python-based toolbox]&lt;br /&gt;
&lt;br /&gt;
===[https://www.tcd.ie/Physics/Smeagol/SmeagolAbout.htm Smeagol]===&lt;br /&gt;
&lt;br /&gt;
===others===&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Molecular visualizers==&lt;br /&gt;
*[http://www.ks.uiuc.edu/Research/vmd/ VMD]&lt;br /&gt;
*[http://www.xcrysden.org/ Xcrysden]&lt;br /&gt;
*[https://jp-minerals.org/vesta/en/ VESTA]&lt;br /&gt;
&lt;br /&gt;
===Others===&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Useful programming languages and environments== &lt;br /&gt;
&lt;br /&gt;
*[http://www-eio.upc.edu/lceio/manuals/Fortran95-manual.pdf Fortran]&lt;br /&gt;
*[https://docs.python.org/3/ Python]&lt;br /&gt;
*[https://wiki.fysik.dtu.dk/ase/ ASE]&lt;br /&gt;
*[https://pymatgen.org/ Pymatgen]&lt;br /&gt;
&lt;br /&gt;
===others===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://wiki.ch.ic.ac.uk/wiki/index.php?title=Main_Page info]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Nano_Electrochemistry_Group&amp;diff=814159</id>
		<title>Nano Electrochemistry Group</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Nano_Electrochemistry_Group&amp;diff=814159"/>
		<updated>2022-12-02T15:12:35Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Building Structure and Surface with Pymatgen */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;padding: 10px; background: #87adde; border: 1px solid #FFAA99; font-family: Trebuchet MS, sans-serif; font-size: 95%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
This page provides a series of tutorials designed to help with the computational modelling of electrochemical system; their aim is to provide general workflows and useful tip to model fundamental components and properties of electrochemical systems. The tutorials have been designed by the researchers of the Computational NanoElectrochemistry Group led by Dr Clotilde Cucinotta [link to group page] and collaborators. &lt;br /&gt;
Several simulation packages (CP2K, LAMMPS, QuantumEspresso, etc.), as well as other tools, such as molecular visualisers or programming languages, are described in these tutorials; links to the relevant manuals are provided at the bottom of the page. &lt;br /&gt;
Script and programs written by the components of the research group are also described in each tutorial; these tools have been devised to help with running calculations and with data analysis and can be found in the linked GitLub repository [https://gitlab.doc.ic.ac.uk/rgc]. &lt;br /&gt;
&lt;br /&gt;
==Running in a Cluster Tutorials==&lt;br /&gt;
&lt;br /&gt;
===[[How to run on ARCHER 2]]===&lt;br /&gt;
Written by:[[Contributors#Songyuan| Songyuan]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===[[Imperial CX1: Instructions and basic concepts of parallel computing|Imperial CX1: Instructions and basic concepts of parallel computing]]===&lt;br /&gt;
Written by:[[Contributors| Huanyu]]&lt;br /&gt;
&lt;br /&gt;
A collection of useful resources and brief introductions to the basic concepts of parallel computing for beginners to use the high-performance computing service at Imperial.&lt;br /&gt;
&lt;br /&gt;
==[[Reaction Dynamics]]==&lt;br /&gt;
===[[Lammps and plumed|Lammps and plumed]]===&lt;br /&gt;
Written by:[[Contributors| Frederik]]&lt;br /&gt;
&lt;br /&gt;
Tutorial on how to use the PLUMED software package to perform biased molecular dynamics simulations in LAMMPS.&lt;br /&gt;
&lt;br /&gt;
===[[Converging magnetic systems in CP2K]]===&lt;br /&gt;
Written by:[[Contributors| Chris]]&lt;br /&gt;
&lt;br /&gt;
* Contents:&lt;br /&gt;
** MULTIPLICITY keyword to calculate magnetic systems&lt;br /&gt;
** &amp;amp;BS section and MAGNETIZATION keyword to improve convergence&lt;br /&gt;
* Computational package: CP2K.&lt;br /&gt;
&lt;br /&gt;
===[[Optimization of metallic surfaces parameters|Optimizing parameters for metallic surfaces]]===&lt;br /&gt;
Written by:[[Contributors| Margherita]]&lt;br /&gt;
&lt;br /&gt;
* Contents:&lt;br /&gt;
** Tutorials on how to define the appropriate set of parameters needed to model a metallic system: Basis set, CUTOFF and &#039;&#039;&#039;k&#039;&#039;&#039;-points grid;&lt;br /&gt;
** Tutorials on how to calculate relevant quantities of metallic surfaces: work function, equilibrium lattice parameter and electronic structure;&lt;br /&gt;
* System: metallic surfaces (Platinum slab used as example);&lt;br /&gt;
* Computational package: CP2K.&lt;br /&gt;
&lt;br /&gt;
===Surface analysis===&lt;br /&gt;
Written by:[[Contributors| Songyuan]]&lt;br /&gt;
&lt;br /&gt;
===[[Dimers in gas phase|Dimers in gas phase]]===&lt;br /&gt;
Written by:[[Contributors| Fredrik]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for optimising dimers in the gas phase using gaussian.&lt;br /&gt;
&lt;br /&gt;
===[[Calculation of radial average|Calculation of radial average]]===&lt;br /&gt;
Written by:[[Contributors| Kalman]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for calculating the radial average ?.&lt;br /&gt;
&lt;br /&gt;
===[[Adsorption of molecule on surfaces|Adsorption of molecule on surfaces]]===&lt;br /&gt;
Written by:[[Contributors| Paolo]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for calculating the adsorption energy of a molecule (or, more in general, any particle) over a specific surface.&lt;br /&gt;
&lt;br /&gt;
===[[Memristors|Simulation of Memristors]]===&lt;br /&gt;
Written by:[[Contributors| Felix]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for optimising parameters for memristors using QuantumEspresso.&lt;br /&gt;
&lt;br /&gt;
===[[Hard_carbon|Simulation of Hard Carbons]]===&lt;br /&gt;
Written by:[[Contributors| Luke]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for the simulation of hard carbon?&lt;br /&gt;
&lt;br /&gt;
===[[Solving 1D Poisson equation |Solving 1D Poisson equation]]===&lt;br /&gt;
Written by:[[Contributors| Remi Khatib ]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for the solution of the 1D Poisson equations given a distribution of point charges&lt;br /&gt;
&lt;br /&gt;
===[[TrendsCatalyticActivity|Trends in catalytic Activity]]===&lt;br /&gt;
Tutorial for a computational experiment about trends in catalytic activity for hydrogen evolution. This experiment is part of the third year computational chemistry lab. &lt;br /&gt;
&lt;br /&gt;
===[[Convergence test of critical parameters by CRYSTAL]]===&lt;br /&gt;
Written by:[[Contributors| Huanyu ]]&lt;br /&gt;
&lt;br /&gt;
A tutorial for performing convergence tests with LCAO-GTO DFT code, CRYSTAL.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This tutorial aims to provide a hands-on tutorial of building crystal structures and cutting surfaces with Pymatgen.&lt;br /&gt;
&lt;br /&gt;
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. &lt;br /&gt;
&lt;br /&gt;
=Pre Set-up=&lt;br /&gt;
&lt;br /&gt;
=Import Structure=&lt;br /&gt;
&lt;br /&gt;
==From Material Project==&lt;br /&gt;
&lt;br /&gt;
==Read from local file==&lt;br /&gt;
&lt;br /&gt;
==Building within Pymatgen==&lt;br /&gt;
&lt;br /&gt;
==Visulising Structure==&lt;br /&gt;
&lt;br /&gt;
=Generate slab from bulk system=&lt;br /&gt;
&lt;br /&gt;
==Build slab model==&lt;br /&gt;
&lt;br /&gt;
==Search for all possible terminations==&lt;br /&gt;
&lt;br /&gt;
==Search for possible adsorption sites==&lt;br /&gt;
&lt;br /&gt;
=Export Data=&lt;br /&gt;
&lt;br /&gt;
====&lt;br /&gt;
&lt;br /&gt;
==Computational Tools==&lt;br /&gt;
&lt;br /&gt;
===[https://www.cp2k.org/about CP2K]===&lt;br /&gt;
*[[CP2K_Tutorial|CP2K TUTORIAL]];&lt;br /&gt;
*[https://github.com/cp2k/cp2k/blob/master/INSTALL.md Download and install CP2K ];&lt;br /&gt;
*[https://manual.cp2k.org/#gsc.tab=0 Manual];&lt;br /&gt;
*[https://www.cp2k.org/howto Useful HOWTOs];&lt;br /&gt;
*Reading inputs and outputs (commented files and examples);&lt;br /&gt;
&lt;br /&gt;
===[https://www.quantum-espresso.org/ QUANTUM ESPRESSO]===&lt;br /&gt;
*[https://www.quantum-espresso.org/download Download and install QUANTUM ESPRESSO];&lt;br /&gt;
*[https://www.quantum-espresso.org/resources/tutorials Useful Tutorials];&lt;br /&gt;
*Reading inputs and outputs (commented files and examples);&lt;br /&gt;
&lt;br /&gt;
===[https://www.lammps.org/ LAMMPS]===&lt;br /&gt;
*[https://www.lammps.org/download.html Download LAMMPS];&lt;br /&gt;
*[https://docs.lammps.org/Manual.html Manual];&lt;br /&gt;
*[https://www.lammps.org/tutorials.html Tutorials];&lt;br /&gt;
&lt;br /&gt;
===[https://www.crystal.unito.it/index.php CRYSTAL]===&lt;br /&gt;
* [https://tutorials.crystalsolutions.eu/ CRYSTAL Tutorial Project]&lt;br /&gt;
* [https://www.crystal.unito.it/basis-sets.php CRYSTAL basis set database for solid state calculations]&lt;br /&gt;
* [http://crysplot.crystalsolutions.eu/ CRYSPLOT: A web-based visualisation tool]&lt;br /&gt;
* [https://github.com/crystal-code-tools/crystal_functions crystal_functions: A python-based toolbox]&lt;br /&gt;
&lt;br /&gt;
===[https://www.tcd.ie/Physics/Smeagol/SmeagolAbout.htm Smeagol]===&lt;br /&gt;
&lt;br /&gt;
===others===&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Molecular visualizers==&lt;br /&gt;
*[http://www.ks.uiuc.edu/Research/vmd/ VMD]&lt;br /&gt;
*[http://www.xcrysden.org/ Xcrysden]&lt;br /&gt;
*[https://jp-minerals.org/vesta/en/ VESTA]&lt;br /&gt;
&lt;br /&gt;
===Others===&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Useful programming languages and environments== &lt;br /&gt;
&lt;br /&gt;
*[http://www-eio.upc.edu/lceio/manuals/Fortran95-manual.pdf Fortran]&lt;br /&gt;
*[https://docs.python.org/3/ Python]&lt;br /&gt;
*[https://wiki.fysik.dtu.dk/ase/ ASE]&lt;br /&gt;
*[https://pymatgen.org/ Pymatgen]&lt;br /&gt;
&lt;br /&gt;
===others===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://wiki.ch.ic.ac.uk/wiki/index.php?title=Main_Page info]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Nano_Electrochemistry_Group&amp;diff=814158</id>
		<title>Nano Electrochemistry Group</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Nano_Electrochemistry_Group&amp;diff=814158"/>
		<updated>2022-12-02T14:06:16Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: /* Building Structure and Surface with Pymatgen */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;padding: 10px; background: #87adde; border: 1px solid #FFAA99; font-family: Trebuchet MS, sans-serif; font-size: 95%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
This page provides a series of tutorials designed to help with the computational modelling of electrochemical system; their aim is to provide general workflows and useful tip to model fundamental components and properties of electrochemical systems. The tutorials have been designed by the researchers of the Computational NanoElectrochemistry Group led by Dr Clotilde Cucinotta [link to group page] and collaborators. &lt;br /&gt;
Several simulation packages (CP2K, LAMMPS, QuantumEspresso, etc.), as well as other tools, such as molecular visualisers or programming languages, are described in these tutorials; links to the relevant manuals are provided at the bottom of the page. &lt;br /&gt;
Script and programs written by the components of the research group are also described in each tutorial; these tools have been devised to help with running calculations and with data analysis and can be found in the linked GitLub repository [https://gitlab.doc.ic.ac.uk/rgc]. &lt;br /&gt;
&lt;br /&gt;
==Running in a Cluster Tutorials==&lt;br /&gt;
&lt;br /&gt;
===[[How to run on ARCHER 2]]===&lt;br /&gt;
Written by:[[Contributors#Songyuan| Songyuan]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===[[Imperial CX1: Instructions and basic concepts of parallel computing|Imperial CX1: Instructions and basic concepts of parallel computing]]===&lt;br /&gt;
Written by:[[Contributors| Huanyu]]&lt;br /&gt;
&lt;br /&gt;
A collection of useful resources and brief introductions to the basic concepts of parallel computing for beginners to use the high-performance computing service at Imperial.&lt;br /&gt;
&lt;br /&gt;
==[[Reaction Dynamics]]==&lt;br /&gt;
===[[Lammps and plumed|Lammps and plumed]]===&lt;br /&gt;
Written by:[[Contributors| Frederik]]&lt;br /&gt;
&lt;br /&gt;
Tutorial on how to use the PLUMED software package to perform biased molecular dynamics simulations in LAMMPS.&lt;br /&gt;
&lt;br /&gt;
===[[Converging magnetic systems in CP2K]]===&lt;br /&gt;
Written by:[[Contributors| Chris]]&lt;br /&gt;
&lt;br /&gt;
* Contents:&lt;br /&gt;
** MULTIPLICITY keyword to calculate magnetic systems&lt;br /&gt;
** &amp;amp;BS section and MAGNETIZATION keyword to improve convergence&lt;br /&gt;
* Computational package: CP2K.&lt;br /&gt;
&lt;br /&gt;
===[[Optimization of metallic surfaces parameters|Optimizing parameters for metallic surfaces]]===&lt;br /&gt;
Written by:[[Contributors| Margherita]]&lt;br /&gt;
&lt;br /&gt;
* Contents:&lt;br /&gt;
** Tutorials on how to define the appropriate set of parameters needed to model a metallic system: Basis set, CUTOFF and &#039;&#039;&#039;k&#039;&#039;&#039;-points grid;&lt;br /&gt;
** Tutorials on how to calculate relevant quantities of metallic surfaces: work function, equilibrium lattice parameter and electronic structure;&lt;br /&gt;
* System: metallic surfaces (Platinum slab used as example);&lt;br /&gt;
* Computational package: CP2K.&lt;br /&gt;
&lt;br /&gt;
===Surface analysis===&lt;br /&gt;
Written by:[[Contributors| Songyuan]]&lt;br /&gt;
&lt;br /&gt;
===[[Dimers in gas phase|Dimers in gas phase]]===&lt;br /&gt;
Written by:[[Contributors| Fredrik]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for optimising dimers in the gas phase using gaussian.&lt;br /&gt;
&lt;br /&gt;
===[[Calculation of radial average|Calculation of radial average]]===&lt;br /&gt;
Written by:[[Contributors| Kalman]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for calculating the radial average ?.&lt;br /&gt;
&lt;br /&gt;
===[[Adsorption of molecule on surfaces|Adsorption of molecule on surfaces]]===&lt;br /&gt;
Written by:[[Contributors| Paolo]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for calculating the adsorption energy of a molecule (or, more in general, any particle) over a specific surface.&lt;br /&gt;
&lt;br /&gt;
===[[Memristors|Simulation of Memristors]]===&lt;br /&gt;
Written by:[[Contributors| Felix]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for optimising parameters for memristors using QuantumEspresso.&lt;br /&gt;
&lt;br /&gt;
===[[Hard_carbon|Simulation of Hard Carbons]]===&lt;br /&gt;
Written by:[[Contributors| Luke]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for the simulation of hard carbon?&lt;br /&gt;
&lt;br /&gt;
===[[Solving 1D Poisson equation |Solving 1D Poisson equation]]===&lt;br /&gt;
Written by:[[Contributors| Remi Khatib ]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for the solution of the 1D Poisson equations given a distribution of point charges&lt;br /&gt;
&lt;br /&gt;
===[[TrendsCatalyticActivity|Trends in catalytic Activity]]===&lt;br /&gt;
Tutorial for a computational experiment about trends in catalytic activity for hydrogen evolution. This experiment is part of the third year computational chemistry lab. &lt;br /&gt;
&lt;br /&gt;
===[[Convergence test of critical parameters by CRYSTAL]]===&lt;br /&gt;
Written by:[[Contributors| Huanyu ]]&lt;br /&gt;
&lt;br /&gt;
A tutorial for performing convergence tests with LCAO-GTO DFT code, CRYSTAL.&lt;br /&gt;
===[[Building Structure and Surface with Pymatgen]]===&lt;br /&gt;
Written by:[[Contributors| Fei ]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for obtaining input structure with python.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational Tools==&lt;br /&gt;
&lt;br /&gt;
===[https://www.cp2k.org/about CP2K]===&lt;br /&gt;
*[[CP2K_Tutorial|CP2K TUTORIAL]];&lt;br /&gt;
*[https://github.com/cp2k/cp2k/blob/master/INSTALL.md Download and install CP2K ];&lt;br /&gt;
*[https://manual.cp2k.org/#gsc.tab=0 Manual];&lt;br /&gt;
*[https://www.cp2k.org/howto Useful HOWTOs];&lt;br /&gt;
*Reading inputs and outputs (commented files and examples);&lt;br /&gt;
&lt;br /&gt;
===[https://www.quantum-espresso.org/ QUANTUM ESPRESSO]===&lt;br /&gt;
*[https://www.quantum-espresso.org/download Download and install QUANTUM ESPRESSO];&lt;br /&gt;
*[https://www.quantum-espresso.org/resources/tutorials Useful Tutorials];&lt;br /&gt;
*Reading inputs and outputs (commented files and examples);&lt;br /&gt;
&lt;br /&gt;
===[https://www.lammps.org/ LAMMPS]===&lt;br /&gt;
*[https://www.lammps.org/download.html Download LAMMPS];&lt;br /&gt;
*[https://docs.lammps.org/Manual.html Manual];&lt;br /&gt;
*[https://www.lammps.org/tutorials.html Tutorials];&lt;br /&gt;
&lt;br /&gt;
===[https://www.crystal.unito.it/index.php CRYSTAL]===&lt;br /&gt;
* [https://tutorials.crystalsolutions.eu/ CRYSTAL Tutorial Project]&lt;br /&gt;
* [https://www.crystal.unito.it/basis-sets.php CRYSTAL basis set database for solid state calculations]&lt;br /&gt;
* [http://crysplot.crystalsolutions.eu/ CRYSPLOT: A web-based visualisation tool]&lt;br /&gt;
* [https://github.com/crystal-code-tools/crystal_functions crystal_functions: A python-based toolbox]&lt;br /&gt;
&lt;br /&gt;
===[https://www.tcd.ie/Physics/Smeagol/SmeagolAbout.htm Smeagol]===&lt;br /&gt;
&lt;br /&gt;
===others===&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Molecular visualizers==&lt;br /&gt;
*[http://www.ks.uiuc.edu/Research/vmd/ VMD]&lt;br /&gt;
*[http://www.xcrysden.org/ Xcrysden]&lt;br /&gt;
*[https://jp-minerals.org/vesta/en/ VESTA]&lt;br /&gt;
&lt;br /&gt;
===Others===&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Useful programming languages and environments== &lt;br /&gt;
&lt;br /&gt;
*[http://www-eio.upc.edu/lceio/manuals/Fortran95-manual.pdf Fortran]&lt;br /&gt;
*[https://docs.python.org/3/ Python]&lt;br /&gt;
*[https://wiki.fysik.dtu.dk/ase/ ASE]&lt;br /&gt;
*[https://pymatgen.org/ Pymatgen]&lt;br /&gt;
&lt;br /&gt;
===others===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://wiki.ch.ic.ac.uk/wiki/index.php?title=Main_Page info]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Nano_Electrochemistry_Group&amp;diff=814157</id>
		<title>Nano Electrochemistry Group</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Nano_Electrochemistry_Group&amp;diff=814157"/>
		<updated>2022-12-02T11:05:40Z</updated>

		<summary type="html">&lt;p&gt;Fg1020: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;padding: 10px; background: #87adde; border: 1px solid #FFAA99; font-family: Trebuchet MS, sans-serif; font-size: 95%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
This page provides a series of tutorials designed to help with the computational modelling of electrochemical system; their aim is to provide general workflows and useful tip to model fundamental components and properties of electrochemical systems. The tutorials have been designed by the researchers of the Computational NanoElectrochemistry Group led by Dr Clotilde Cucinotta [link to group page] and collaborators. &lt;br /&gt;
Several simulation packages (CP2K, LAMMPS, QuantumEspresso, etc.), as well as other tools, such as molecular visualisers or programming languages, are described in these tutorials; links to the relevant manuals are provided at the bottom of the page. &lt;br /&gt;
Script and programs written by the components of the research group are also described in each tutorial; these tools have been devised to help with running calculations and with data analysis and can be found in the linked GitLub repository [https://gitlab.doc.ic.ac.uk/rgc]. &lt;br /&gt;
&lt;br /&gt;
==Running in a Cluster Tutorials==&lt;br /&gt;
&lt;br /&gt;
===[[How to run on ARCHER 2]]===&lt;br /&gt;
Written by:[[Contributors#Songyuan| Songyuan]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===[[Imperial CX1: Instructions and basic concepts of parallel computing|Imperial CX1: Instructions and basic concepts of parallel computing]]===&lt;br /&gt;
Written by:[[Contributors| Huanyu]]&lt;br /&gt;
&lt;br /&gt;
A collection of useful resources and brief introductions to the basic concepts of parallel computing for beginners to use the high-performance computing service at Imperial.&lt;br /&gt;
&lt;br /&gt;
==[[Reaction Dynamics]]==&lt;br /&gt;
===[[Lammps and plumed|Lammps and plumed]]===&lt;br /&gt;
Written by:[[Contributors| Frederik]]&lt;br /&gt;
&lt;br /&gt;
Tutorial on how to use the PLUMED software package to perform biased molecular dynamics simulations in LAMMPS.&lt;br /&gt;
&lt;br /&gt;
===[[Converging magnetic systems in CP2K]]===&lt;br /&gt;
Written by:[[Contributors| Chris]]&lt;br /&gt;
&lt;br /&gt;
* Contents:&lt;br /&gt;
** MULTIPLICITY keyword to calculate magnetic systems&lt;br /&gt;
** &amp;amp;BS section and MAGNETIZATION keyword to improve convergence&lt;br /&gt;
* Computational package: CP2K.&lt;br /&gt;
&lt;br /&gt;
===[[Optimization of metallic surfaces parameters|Optimizing parameters for metallic surfaces]]===&lt;br /&gt;
Written by:[[Contributors| Margherita]]&lt;br /&gt;
&lt;br /&gt;
* Contents:&lt;br /&gt;
** Tutorials on how to define the appropriate set of parameters needed to model a metallic system: Basis set, CUTOFF and &#039;&#039;&#039;k&#039;&#039;&#039;-points grid;&lt;br /&gt;
** Tutorials on how to calculate relevant quantities of metallic surfaces: work function, equilibrium lattice parameter and electronic structure;&lt;br /&gt;
* System: metallic surfaces (Platinum slab used as example);&lt;br /&gt;
* Computational package: CP2K.&lt;br /&gt;
&lt;br /&gt;
===Surface analysis===&lt;br /&gt;
Written by:[[Contributors| Songyuan]]&lt;br /&gt;
&lt;br /&gt;
===[[Dimers in gas phase|Dimers in gas phase]]===&lt;br /&gt;
Written by:[[Contributors| Fredrik]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for optimising dimers in the gas phase using gaussian.&lt;br /&gt;
&lt;br /&gt;
===[[Calculation of radial average|Calculation of radial average]]===&lt;br /&gt;
Written by:[[Contributors| Kalman]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for calculating the radial average ?.&lt;br /&gt;
&lt;br /&gt;
===[[Adsorption of molecule on surfaces|Adsorption of molecule on surfaces]]===&lt;br /&gt;
Written by:[[Contributors| Paolo]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for calculating the adsorption energy of a molecule (or, more in general, any particle) over a specific surface.&lt;br /&gt;
&lt;br /&gt;
===[[Memristors|Simulation of Memristors]]===&lt;br /&gt;
Written by:[[Contributors| Felix]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for optimising parameters for memristors using QuantumEspresso.&lt;br /&gt;
&lt;br /&gt;
===[[Hard_carbon|Simulation of Hard Carbons]]===&lt;br /&gt;
Written by:[[Contributors| Luke]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for the simulation of hard carbon?&lt;br /&gt;
&lt;br /&gt;
===[[Solving 1D Poisson equation |Solving 1D Poisson equation]]===&lt;br /&gt;
Written by:[[Contributors| Remi Khatib ]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for the solution of the 1D Poisson equations given a distribution of point charges&lt;br /&gt;
&lt;br /&gt;
===[[TrendsCatalyticActivity|Trends in catalytic Activity]]===&lt;br /&gt;
Tutorial for a computational experiment about trends in catalytic activity for hydrogen evolution. This experiment is part of the third year computational chemistry lab. &lt;br /&gt;
&lt;br /&gt;
===[[Convergence test of critical parameters by CRYSTAL]]===&lt;br /&gt;
Written by:[[Contributors| Huanyu ]]&lt;br /&gt;
&lt;br /&gt;
A tutorial for performing convergence tests with LCAO-GTO DFT code, CRYSTAL.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===[[Building Structure and Surface with Pymatgen]]===&lt;br /&gt;
Written by:[[Contributors| Fei ]]&lt;br /&gt;
&lt;br /&gt;
Tutorial for obtaining input structure with python.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Computational Tools==&lt;br /&gt;
&lt;br /&gt;
===[https://www.cp2k.org/about CP2K]===&lt;br /&gt;
*[[CP2K_Tutorial|CP2K TUTORIAL]];&lt;br /&gt;
*[https://github.com/cp2k/cp2k/blob/master/INSTALL.md Download and install CP2K ];&lt;br /&gt;
*[https://manual.cp2k.org/#gsc.tab=0 Manual];&lt;br /&gt;
*[https://www.cp2k.org/howto Useful HOWTOs];&lt;br /&gt;
*Reading inputs and outputs (commented files and examples);&lt;br /&gt;
&lt;br /&gt;
===[https://www.quantum-espresso.org/ QUANTUM ESPRESSO]===&lt;br /&gt;
*[https://www.quantum-espresso.org/download Download and install QUANTUM ESPRESSO];&lt;br /&gt;
*[https://www.quantum-espresso.org/resources/tutorials Useful Tutorials];&lt;br /&gt;
*Reading inputs and outputs (commented files and examples);&lt;br /&gt;
&lt;br /&gt;
===[https://www.lammps.org/ LAMMPS]===&lt;br /&gt;
*[https://www.lammps.org/download.html Download LAMMPS];&lt;br /&gt;
*[https://docs.lammps.org/Manual.html Manual];&lt;br /&gt;
*[https://www.lammps.org/tutorials.html Tutorials];&lt;br /&gt;
&lt;br /&gt;
===[https://www.crystal.unito.it/index.php CRYSTAL]===&lt;br /&gt;
* [https://tutorials.crystalsolutions.eu/ CRYSTAL Tutorial Project]&lt;br /&gt;
* [https://www.crystal.unito.it/basis-sets.php CRYSTAL basis set database for solid state calculations]&lt;br /&gt;
* [http://crysplot.crystalsolutions.eu/ CRYSPLOT: A web-based visualisation tool]&lt;br /&gt;
* [https://github.com/crystal-code-tools/crystal_functions crystal_functions: A python-based toolbox]&lt;br /&gt;
&lt;br /&gt;
===[https://www.tcd.ie/Physics/Smeagol/SmeagolAbout.htm Smeagol]===&lt;br /&gt;
&lt;br /&gt;
===others===&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Molecular visualizers==&lt;br /&gt;
*[http://www.ks.uiuc.edu/Research/vmd/ VMD]&lt;br /&gt;
*[http://www.xcrysden.org/ Xcrysden]&lt;br /&gt;
*[https://jp-minerals.org/vesta/en/ VESTA]&lt;br /&gt;
&lt;br /&gt;
===Others===&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #90C0FF; background:#ffffff; width:90%; padding:4px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Useful programming languages and environments== &lt;br /&gt;
&lt;br /&gt;
*[http://www-eio.upc.edu/lceio/manuals/Fortran95-manual.pdf Fortran]&lt;br /&gt;
*[https://docs.python.org/3/ Python]&lt;br /&gt;
*[https://wiki.fysik.dtu.dk/ase/ ASE]&lt;br /&gt;
*[https://pymatgen.org/ Pymatgen]&lt;br /&gt;
&lt;br /&gt;
===others===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://wiki.ch.ic.ac.uk/wiki/index.php?title=Main_Page info]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fg1020</name></author>
	</entry>
</feed>