User Tools

Site Tools


exercises:2014_ethz_mmm:nudged_elastic_band

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
exercise:nudged_elastic_band [2014/02/20 15:21] oschuettexercises:2014_ethz_mmm:nudged_elastic_band [2020/08/21 10:15] (current) – external edit 127.0.0.1
Line 2: Line 2:
 In this exercise you will compute the energy profile for a simple reaction in a planar cluster of 7 Ar atoms, by using the NEB method. In this exercise you will compute the energy profile for a simple reaction in a planar cluster of 7 Ar atoms, by using the NEB method.
  
-The NEB method requires at least the starting and the ending configuration between which the path is to be computed. In addition is good to add a guess of the intermediate configuration. This is useful in particular when two or more three reaction paths are possible and you want to compute the activation energy of a determined path. By adding the desired intermediate configuration, you giude the optimization trough the path of interest. The intermediate configuration is anyway not deifnitive, and will be optimized by the  NEB algorithm.+The NEB method requires at least the starting and the ending configuration between which the path is to be computed. In addition is good to add a guess of the intermediate configuration. This is useful in particular when two or more reaction paths are possible and you want to compute the activation energy of a determined path. By adding the desired intermediate configuration, you giude the optimization trough the path of interest. The intermediate configuration is anyway not deifnitive, and will be optimized by the  NEB algorithm.
  
 The aim of this exercise is to compute the activation energy required for bringing  atom 2 (dark blue) in the center of the cluster. The aim of this exercise is to compute the activation energy required for bringing  atom 2 (dark blue) in the center of the cluster.
Line 10: Line 10:
 ^  Path 1  ^  Path 2  ^ ^  Path 1  ^  Path 2  ^
 |  Direct exchange with the central atom  |  Coordinated rotation of three atoms  | |  Direct exchange with the central atom  |  Coordinated rotation of three atoms  |
-|  {{:exercise:neb_path1.gif|}}  |  {{:exercise:neb_path2.gif|}}  |+|  {{neb_path1.gif|}}  |  {{neb_path2.gif|}}  |
  
  
Line 42: Line 42:
     &END     &END
     &REPLICA                ! coordinates of the satting configuration (REQUIRED: has to be the first one in the input)     &REPLICA                ! coordinates of the satting configuration (REQUIRED: has to be the first one in the input)
-      Ar        -0.0000000000        0.0000000000       -0.0000000000 +     &COORD 
-      Ar         3.8030201671       -0.0000003430       -0.0000000000 +             -0.0000000000        0.0000000000       -0.0000000000 
-      Ar        -3.8030201671        0.0000003430        0.0000000000 +              3.8030201671       -0.0000003430       -0.0000000000 
-      Ar         1.9019125593        3.2944696295       -0.0000000000 +             -3.8030201671        0.0000003430        0.0000000000 
-      Ar         1.9019119654       -3.2944699726        0.0000000000 +              1.9019125593        3.2944696295       -0.0000000000 
-      Ar        -1.9019119654        3.2944699726        0.0000000000 +              1.9019119654       -3.2944699726        0.0000000000 
-      Ar        -1.9019125593       -3.2944696295        0.0000000000+             -1.9019119654        3.2944699726        0.0000000000 
 +             -1.9019125593       -3.2944696295        0.0000000000 
 +      &END 
     &END REPLICA     &END REPLICA
     &REPLICA                ! intermediate configuration     &REPLICA                ! intermediate configuration
-      Ar         2.215467       -0.734540        0.000000 +     &COORD 
-      Ar         2.144383        0.900403        0.000000 +              2.215467       -0.734540        0.000000 
-      Ar        -3.803020        0.000000        0.000000 +              2.144383        0.900403        0.000000 
-      Ar         1.901913        3.294470       -0.000000 +             -3.803020        0.000000        0.000000 
-      Ar         1.901912       -3.294470        0.000000  +              1.901913        3.294470       -0.000000 
-      Ar        -1.901912        3.294470        0.000000 +              1.901912       -3.294470        0.000000  
-      Ar        -1.901913       -3.294470        0.000000+             -1.901912        3.294470        0.000000 
 +             -1.901913       -3.294470        0.000000 
 +     &END
     &END REPLICA     &END REPLICA
     &REPLICA                ! ending configuration (REQUIRED: has to be the last one in the input)     &REPLICA                ! ending configuration (REQUIRED: has to be the last one in the input)
-      Ar        3.8030201671       -0.0000003430       -0.0000000000 +      &COORD 
-      Ar        0.0000000000        0.0000000000       -0.0000000000 +              3.8030201671       -0.0000003430       -0.0000000000 
-      Ar       -3.8030201671        0.0000003430        0.0000000000 +              0.0000000000        0.0000000000       -0.0000000000 
-      Ar        1.9019125593        3.2944696295       -0.0000000000 +             -3.8030201671        0.0000003430        0.0000000000 
-      Ar        1.9019119654       -3.2944699726        0.0000000000 +              1.9019125593        3.2944696295       -0.0000000000 
-      Ar       -1.9019119654        3.2944699726        0.0000000000 +              1.9019119654       -3.2944699726        0.0000000000 
-      Ar       -1.9019125593       -3.2944696295        0.0000000000 +             -1.9019119654        3.2944699726        0.0000000000 
-    &END REPLICA+             -1.9019125593       -3.2944696295        0.0000000000 
 +       &END 
 +    &END REPLICA 
    &END BAND    &END BAND
 &END MOTION &END MOTION
Line 81: Line 87:
         &LENNARD-JONES         &LENNARD-JONES
           atoms  Ar Ar           atoms  Ar Ar
-          EPSILON 119.8 +          EPSILON    [K_e] 119.8 
-          SIGMA 3.401 +          SIGMA [angstrom]   3.401 
-          RCUT  25.0+          RCUT  [angstrom]  25.0
         &END LENNARD-JONES         &END LENNARD-JONES
       &END NONBONDED       &END NONBONDED
Line 123: Line 129:
 For the NEB calcualtions, CP2k produces a few output files. The most important are: For the NEB calcualtions, CP2k produces a few output files. The most important are:
  
-  * neb1.out : standard CP2K output file. It tells you whether that the calculation is completed. (See:[[exercise:single_point_calculation|Computation of the Lennard Jones curve for two Ar atoms]].Part I, Step 3)+  * neb1.out : standard CP2K output file. It tells you whether that the calculation is completed.\\ (See:[[single_point_calculation|Computation of the Lennard Jones curve for two Ar atoms]].Part I, Step 3)
   * neb1-pos-Replica_nr_XXX-1.xyz : those are the replica optimization trajectories. You get a trajectory for each replica.    * neb1-pos-Replica_nr_XXX-1.xyz : those are the replica optimization trajectories. You get a trajectory for each replica. 
   * neb1-BANDXXX.out : geometry optimization output for each replica.   * neb1-BANDXXX.out : geometry optimization output for each replica.
Line 138: Line 144:
 Here is a short script to create an energy profile as  a function of the replica number.  Here is a short script to create an energy profile as  a function of the replica number. 
 <code> <code>
-$ for a in 1 2 3 4 5 6 7 8 9 10 ; do grep ENERGY  neb1-BAND${a}.out | tail -n 1 | awk '{print '${a}',$9}' ; done +$ for a in 1 2 3 4 5 6 7 8 9 10 ; do grep ENERGY  neb1-BAND${a}.out | tail -n 1 | awk '{print '${a}',$9}' ; done > neb1_profile 
 +</code> 
 + 
 +The energy profile will be stored in the file ''neb1_profile''. Any plotting program should be able to visualize it, e.g. gnuplot: 
 + 
 +<code> 
 +$ echo "plot 'neb1_profile' w l; pause mouse" |  gnuplot
 </code> </code>
-The energy profile will be printed on screen. Any plotting program should be able to handle it. 
  
 ===== Path 2: Coordinated rotation ===== ===== Path 2: Coordinated rotation =====
Line 169: Line 180:
       &END       &END
     &END     &END
-    &REPLICA                 +    &REPLICA     
-Ar        -0.0000000000        0.0000000000       -0.0000000000 +     &COORD              
-Ar         3.8030201671       -0.0000003430       -0.0000000000 +        -0.0000000000        0.0000000000       -0.0000000000 
-Ar        -3.8030201671        0.0000003430        0.0000000000 +         3.8030201671       -0.0000003430       -0.0000000000 
-Ar         1.9019125593        3.2944696295       -0.0000000000 +        -3.8030201671        0.0000003430        0.0000000000 
-Ar         1.9019119654       -3.2944699726        0.0000000000 +         1.9019125593        3.2944696295       -0.0000000000 
-Ar        -1.9019119654        3.2944699726        0.0000000000 +         1.9019119654       -3.2944699726        0.0000000000 
-Ar        -1.9019125593       -3.2944696295        0.0000000000 +        -1.9019119654        3.2944699726        0.0000000000 
 +        -1.9019125593       -3.2944696295        0.0000000000  
 +     &END
     &END REPLICA     &END REPLICA
-    &REPLICA                 +    &REPLICA  
-Ar        3.8030201671       -0.0000003430       -0.0000000000 +     &COORD                 
-Ar        1.9019125593        3.2944696295       -0.0000000000 +        3.8030201671       -0.0000003430       -0.0000000000 
-Ar       -3.8030201671        0.0000003430        0.0000000000 +        1.9019125593        3.2944696295       -0.0000000000 
-Ar        0 0 0 +       -3.8030201671        0.0000003430        0.0000000000 
-Ar        1.9019119654       -3.2944699726        0.0000000000 +        0 0 0 
-Ar       -1.9019119654        3.2944699726        0.0000000000 +        1.9019119654       -3.2944699726        0.0000000000 
-Ar       -1.9019125593       -3.2944696295        0.0000000000+       -1.9019119654        3.2944699726        0.0000000000 
 +       -1.9019125593       -3.2944696295        0.0000000000 
 +      &END
     &END REPLICA     &END REPLICA
-    &REPLICA                 +    &REPLICA  
-Ar         1.9019125593        3.2944696295       -0.0000000000 +     &COORD                
-Ar         0 0 0 +         1.9019125593        3.2944696295       -0.0000000000 
-Ar        -3.8030201671        0.0000003430        0.0000000000 +         0 0 0 
-Ar         3.8030201671       -0.0000003430       -0.0000000000 +        -3.8030201671        0.0000003430        0.0000000000 
-Ar         1.9019119654       -3.2944699726        0.0000000000 +         3.8030201671       -0.0000003430       -0.0000000000 
-Ar        -1.9019119654        3.2944699726        0.0000000000 +         1.9019119654       -3.2944699726        0.0000000000 
-Ar        -1.9019125593       -3.2944696295        0.0000000000                                                          +        -1.9019119654        3.2944699726        0.0000000000 
 +        -1.9019125593       -3.2944696295        0.0000000000     
 +      &END                                                      
     &END REPLICA     &END REPLICA
    &END BAND    &END BAND
Line 209: Line 226:
         &LENNARD-JONES         &LENNARD-JONES
           atoms  Ar Ar           atoms  Ar Ar
-          EPSILON 119.8 +          EPSILON    [K_e] 119.8 
-          SIGMA 3.401 +          SIGMA [angstrom]   3.401 
-          RCUT  25.0+          RCUT  [angstrom]  25.0
         &END LENNARD-JONES         &END LENNARD-JONES
       &END NONBONDED       &END NONBONDED
exercises/2014_ethz_mmm/nudged_elastic_band.1392909660.txt.gz · Last modified: 2020/08/21 10:14 (external edit)