User Tools

Site Tools


exercises:2014_ethz_mmm:nacl_free_energy

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:nacl_free_energy [2014/05/28 16:34] oschuettexercises:2014_ethz_mmm:nacl_free_energy [2020/08/21 10:15] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 <note tip> <note tip>
-In this exercise you have to run many similar simulations. Try to automatize as much as possible.+  * You'll have to run many similar simulations. Try to automatize as much as possible
 +  * The first two task can be run directly on the login node, i.e. without using bsub. 
 +  * The third task should be run on 4 cores with ''bsub -n 4''
 </note> </note>
  
Line 32: Line 34:
 From these forces the free energy difference can be obtained via integration: From these forces the free energy difference can be obtained via integration:
 \begin{equation} \begin{equation}
-\Delta A = \int_a^b F(x)\, dx+\Delta A = -\int_a^b F(x)\, dx
 \end{equation} \end{equation}
  
 A dissociation profile can be obtained by choosing the closest distance $d_{min}$ as lower integration-bound: A dissociation profile can be obtained by choosing the closest distance $d_{min}$ as lower integration-bound:
 \begin{equation} \begin{equation}
-A(d) = \int_{d_{min}}^d F(x)\, dx+A(d) = -\int_{d_{min}}^d F(x)\, dx
 \end{equation} \end{equation}
  
Line 44: Line 46:
 </note> </note>
  
-Compare the free-energy dissociation curve at 1K with the potential energy curve. What do you expect? What do you observer?+Compare the free-energy dissociation curve at 1K with the potential energy curve. What do you expect? What do you observe?
  
  
 ===== 3. Task: Free energy curve of NaCl in water at 350K ===== ===== 3. Task: Free energy curve of NaCl in water at 350K =====
-Take the solvated system from the [[exercise:nacl_md | first exercise]]add the constraint for a distance of 2.9 Å, and run 100.000 MD steps MD at 350K. Calculate the average Largange multiplier from the MD runUse that value to complete the table given below. From the complete table calculate the Free Energy dissociation profile via Integration. +Take the solvated system from the [[nacl_md | first exercise]] and add the constraint for a distance of 2.9 Å. Then run 100.000 MD steps MD at 350K. From the MD output calculate the average Largange multiplier. As a check for convergence you can divide the trajectory into two parts and calculate the average for each part separatelyOnce you are convinced of the result you can use it to complete the table given below. From the complete table calculate the free energy dissociation profile via numerical integration
- +
-<note todo> +
-Check convergence, running average, binning,... +
-</note>+
  
 ===== Required Files ===== ===== Required Files =====
Line 82: Line 80:
           EPSILON [kcalmol]  .0838           EPSILON [kcalmol]  .0838
           SIGMA   [angstrom] 3.63           SIGMA   [angstrom] 3.63
 +          RCUT    [angstrom] 11.4
 +        &END LENNARD-JONES
 +        &LENNARD-JONES
 +          atoms Na Na
 +          EPSILON [kcalmol]  0.0469
 +          SIGMA   [angstrom] 2.7275
 +          RCUT    [angstrom] 11.4
 +        &END LENNARD-JONES
 +        &LENNARD-JONES
 +          atoms Cl Cl
 +          EPSILON [kcalmol]  0.150
 +          SIGMA   [angstrom] 4.54
           RCUT    [angstrom] 11.4           RCUT    [angstrom] 11.4
         &END LENNARD-JONES         &END LENNARD-JONES
Line 176: Line 186:
 <code> <code>
 # dist     avg. Shake Lagrange multiplier # dist     avg. Shake Lagrange multiplier
-   2.5         0.0896757 +  2.5         0.0896372 
-   2.6         0.0471343 +  2.6         0.0469698 
-   2.7         0.023305 +  2.7         0.0231717 
-   2.8         0.0102343 +  2.8         0.0100625 
-   2.9                        <--- Take missing value from your trajectory +  2.9                          <--- Take missing value from your trajectory 
-   3.0        -0.000906449 +  3.0        -0.000996937 
-   3.1        -0.00284901 +  3.1        -0.00271078 
-   3.2        -0.00318466 +  3.2        -0.00335324 
-   3.3        -0.00325302 +  3.3        -0.00348111 
-   3.4        -0.00318047 +  3.4        -0.00303697 
-   3.5        -0.0027712 +  3.5        -0.00259636 
-   3.6        -0.00179401 +  3.6        -0.00201541 
-   3.7        -0.00143999 +  3.7        -0.00119027 
-   3.8        -0.000680095 +  3.8        -0.000408723 
-   3.9         0.000462241 +  3.9        -8.19056e-05 
-   4.0         0.000622342 +  4.0         0.000972204 
-   4.1         0.00129275 +  4.1         0.00136578 
-   4.2         0.00192298 +  4.2         0.0016246 
-   4.3         0.00209414 +  4.3         0.00212447 
-   4.4         0.00228705 +  4.4         0.00199128 
-   4.5         0.00183497 +  4.5         0.00183284 
-   4.6         0.00180152 +  4.6         0.00188221 
-   4.7         0.00149531 +  4.7         0.00166909 
-   4.8         0.00151825 +  4.8         0.00137179 
-   4.9         0.00102442 +  4.9         0.00114308 
-   5.0         0.000957486 +  5.0         0.000671159 
-   5.1         0.000638038 +  5.1         0.000780625 
-   5.2         0.000817498 +  5.2         0.000556307 
-   5.3         0.000351418 +  5.3         0.000397211 
-   5.4         0.000217036 +  5.4         0.000237853 
-   5.5         3.14625e-05 +  5.5         0.000119549 
-   5.6         3.12049e-05 +  5.6        -0.000220194 
-   5.7        -0.000479905 +  5.7        -0.000332539 
-   5.8        -0.000811917 +  5.8        -0.000674227 
-   5.9        -0.000666426 +  5.9        -0.00075852 
-   6.0        -0.000867775+  6.0        -0.00043128
 </code> </code>
  
exercises/2014_ethz_mmm/nacl_free_energy.1401294892.txt.gz · Last modified: 2020/08/21 10:14 (external edit)