exercises:2018_uzh_acpc2:l-j_flu
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| exercises:2018_uzh_acpc2:l-j_flu [2018/04/25 09:00] – mpauletti | exercises:2018_uzh_acpc2:l-j_flu [2020/08/21 10:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 62: | Line 62: | ||
| &MM | &MM | ||
| & | & | ||
| + | &SPLINE | ||
| + | | ||
| + | &END | ||
| & | & | ||
| ATOM Ar # | ATOM Ar # | ||
| Line 84: | Line 87: | ||
| & | & | ||
| & | & | ||
| - | ABC [angstrom] | + | ABC [angstrom] |
| | | ||
| & | & | ||
| Line 105: | Line 108: | ||
| < | < | ||
| - | for d in $(seq 2 0.1 4); do | + | for d in $(seq 3.0 0.1 9); do |
| sed -e "s|4 0 0|${d} 0 0|" argon.inp > energy_${d}A.inp | sed -e "s|4 0 0|${d} 0 0|" argon.inp > energy_${d}A.inp | ||
| cp2k.sopt -i energy_${d}A.inp -o energy_${d}A.out | cp2k.sopt -i energy_${d}A.inp -o energy_${d}A.out | ||
| - | awk '/ | + | awk '/ |
| done | done | ||
| </ | </ | ||
| - | * The command '' | + | * The command '' |
| - | * With '' | + | * With '' |
| - | * '' | + | * '' |
| - | * ... and using ''> | + | * ... and using ''> |
| * Then we run '' | * Then we run '' | ||
| * Using '' | * Using '' | ||
| + | * The energy as a function of distance for all the single point calculations is then printed to the file '' | ||
| Plot distance vs. potential energy and find the minimum in energy, which corresponds to the equilibrium distance. After having done it, you can calculate the minimum analytically as well. | Plot distance vs. potential energy and find the minimum in energy, which corresponds to the equilibrium distance. After having done it, you can calculate the minimum analytically as well. | ||
exercises/2018_uzh_acpc2/l-j_flu.1524646826.txt.gz · Last modified: (external edit)
