exercises:2015_ethz_mmm:surface_cu
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
exercises:2015_ethz_mmm:surface_cu [2015/03/06 02:18] – dpasserone | exercises:2015_ethz_mmm:surface_cu [2015/03/13 15:25] – dpasserone | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | ====== Surface energies of Copper high-symmetry surfaces ====== | ||
+ | |||
<note warning> | <note warning> | ||
TO USE THE FUNCTION LIBRARY (VERSION UP TO DATE) IN THE INTERACTIVE SHELL: | TO USE THE FUNCTION LIBRARY (VERSION UP TO DATE) IN THE INTERACTIVE SHELL: | ||
- | you@eulerX ~$ module load courses mmm ; mmm-init | + | |
+ | you@eulerX ~$ module load courses mmm vmd | ||
+ | |||
+ | you@eulerX ~$ mmm-init | ||
</ | </ | ||
- | ====== Generation of slab with high symmetry surfaces ====== | + | |
+ | <note important> | ||
+ | |||
+ | <code bash> | ||
+ | you@eulerX ~$ module load new cp2k | ||
+ | </ | ||
+ | |||
+ | **and to submit the job:** | ||
+ | |||
+ | <code bash> | ||
+ | you@eulerX ~$ bsub < jobname | ||
+ | </ | ||
+ | </ | ||
+ | |||
{{: | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
{{: | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
{{: | {{: | ||
- | ====== Surface energies of Copper high-symmetry surfaces ====== | ||
In this exercise we will compute the surface energies of Cu using the EAM potential. | In this exercise we will compute the surface energies of Cu using the EAM potential. | ||
As a reference, we report the table from the Gross book: | As a reference, we report the table from the Gross book: | ||
Line 16: | Line 41: | ||
{{screen_shot_2014-03-07_at_6.55.49_am.png? | {{screen_shot_2014-03-07_at_6.55.49_am.png? | ||
+ | ---- | ||
+ | * Download all the necessary files from from the wiki: {{exercise_3.1.zip|exercise_3.1.zip}} (**all inputs are commented**) in your home directory and unzip it: | ||
+ | <code bash> | ||
+ | you@eulerX ~$ wget http:// | ||
+ | you@eulerX ~$ unzip exercises: | ||
+ | you@eulerX ~$ cd exercise_3.1 | ||
+ | </ | ||
+ | * Run the optimizations 100.inp, 110.inp, 111.inp and the bulk. | ||
+ | <code bash> | ||
+ | you@eulerX exercise_3.1$ bsub cp2k.popt -i 100.inp -o 100.out | ||
+ | you@eulerX exercise_3.1$ bsub cp2k.popt -i 110.inp -o 110.out | ||
+ | you@eulerX exercise_3.1$ bsub cp2k.popt -i 111.inp -o 111.out | ||
+ | you@eulerX exercise_3.1$ bsub cp2k.popt -i bulk.inp -o bulk.out | ||
+ | </ | ||
+ | * While geometry optimization is running you can have a look at the corresponding initial coordinate files 100.xyz, 110.xyz, 111.xyz. In vmd it is also possible to open a console, and give the command **pbc set { a b c 90 90 90 }** where a, b, c can be extracted from the cp2k input file. Then you can make several periodic copies for visualization. | ||
+ | <code bash> | ||
+ | you@eulerX exercise_3.1$ vmd 100.xyz | ||
+ | you@eulerX exercise_3.1$ vmd 110.xyz | ||
+ | you@eulerX exercise_3.1$ vmd 111.xyz | ||
+ | </ | ||
- | | + | * Compute the three surface energies: you need to compute the area, subtract bulk contribution, |
- | - Run the optimizations 100.inp, 110.inp, 111.inp ---- look at the corresponding initial coordinate files 100.xyz, 110.xyz, 111.xyz. | + | |
- | - In vmd, you can also open a console, and give the command **pbc set { a b c 90 90 90 }** where a, b, c can be extracted from the cp2k input file. Then you can make several periodic copies for visualization. | + | |
- | - Compute the three surface energies: you need to compute the area, subtract bulk contribution, | + | |
- | | + | <code bash> |
- | | + | you@eulerX exercise_3.1$ |
- | | + | </ |
- | | + | |
- | - * the atomistic model **out.atomistic-inside-gnuplot.xyz** which will contain many atoms if you chose a proportionality constant in the file DP which is too large. If you appropriately modify it (how?) you can have a xyz file to be opened in vmd. | + | - the atomistic model **out.atomistic-inside-gnuplot.xyz** which will contain many atoms if you chose a proportionality constant in the file DP which is too large. If you appropriately modify it (how?) you can have a xyz file to be opened in vmd. |
- | - * the **out.plot-gnuplot.plt** file. If you launch | + | - the **out.plot-gnuplot.plt** file. You can open it with gnuplot: |
- | | + | <code bash> |
+ | you@eulerX exercise_3.1$ | ||
+ | gnuplot> | ||
+ | gnuplot> | ||
+ | gnuplot> | ||
+ | gnuplot> | ||
+ | gnuplot> | ||
+ | </ | ||
+ | * you can rotate with the mouse! | ||
<note important> | <note important> |
exercises/2015_ethz_mmm/surface_cu.txt · Last modified: 2020/08/21 10:15 by 127.0.0.1