exercises:2017_uzh_cmest:phonon_calculation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| exercises:2017_uzh_cmest:phonon_calculation [2017/10/31 17:23] – [Using Phonopy] tmueller | exercises:2017_uzh_cmest:phonon_calculation [2020/08/21 10:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| <code bash> | <code bash> | ||
| pip install --user https:// | pip install --user https:// | ||
| + | # plus some tools required to handle CP2K input files: | ||
| + | pip install --user cp2k_tools | ||
| </ | </ | ||
| Line 16: | Line 18: | ||
| <code bash> | <code bash> | ||
| - | echo ' | + | echo ' |
| </ | </ | ||
| Line 114: | Line 116: | ||
| & | & | ||
| - | |||
| - | |||
| - | &FORCES | ||
| - | FILENAME forces | ||
| - | &END FORCES | ||
| - | & | ||
| &END FORCE_EVAL | &END FORCE_EVAL | ||
| </ | </ | ||
| Line 128: | Line 124: | ||
| phonopy --cp2k -c Si.inp -d --dim=" | phonopy --cp2k -c Si.inp -d --dim=" | ||
| </ | </ | ||
| + | |||
| + | which should give you the following additional files: | ||
| + | |||
| + | < | ||
| + | $ ls | ||
| + | disp.yaml | ||
| + | </ | ||
| + | |||
| + | '' | ||
| + | |||
| + | You therefore have to extend '' | ||
| + | |||
| + | After running CP2K, you should get the following output file in addition to the usual CP2K output: '' | ||
| + | |||
| + | Now run Phonopy on this output file to generate the force set (afterwards found in a file called '' | ||
| + | |||
| + | <code bash> | ||
| + | phonopy --cp2k -f Si-supercell-001-forces-1_0.xyz | ||
| + | </ | ||
| + | |||
| + | ... and run Phonopy again to get the band structure: | ||
| + | |||
| + | <code bash> | ||
| + | phonopy --cp2k -c Si.inp -p --dim=" | ||
| + | </ | ||
| + | |||
| + | This command is supposed to open a window with the plot on your local machine. But this works only if you have setup the X11-Forwarding as described at the beginning of the lecture. Should this not work, then your best chance is to install the '' | ||
| + | |||
| + | Compare the generated plot to plots usually found in literature. Which special points have been specified in the above command? Change them to plot the path $\Gamma-X-K-\Gamma-L$ instead. | ||
| + | |||
| + | <note tip>Use [[https:// | ||
exercises/2017_uzh_cmest/phonon_calculation.1509470584.txt.gz · Last modified: (external edit)
