exercises:2017_ethz_mmm:mc_and_kmc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| exercises:2017_ethz_mmm:mc_and_kmc [2017/03/09 10:52] – dpasserone | exercises:2017_ethz_mmm:mc_and_kmc [2020/08/21 10:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| <note tip> | <note tip> | ||
| - | All files of this exercise be downloaded from the wiki: {{e3_bis.zip|}} | + | All files of this exercise |
| Download the exercise into your $HOME folder and unzip it. | Download the exercise into your $HOME folder and unzip it. | ||
| < | < | ||
| - | you@eulerX ~$ wget http:// | + | you@eulerX ~$ wget http:// |
| - | you@eulerX ~$ unzip exercises: | + | you@eulerX ~$ unzip exercises: |
| you@eulerX ~$ cd exercise_3 | you@eulerX ~$ cd exercise_3 | ||
| </ | </ | ||
| Line 22: | Line 22: | ||
| [ [[http:// | [ [[http:// | ||
| - | IMAGE | + | {{: |
| <note tip> | <note tip> | ||
| Line 28: | Line 28: | ||
| (blue dots) are allowed to move by random discrete steps | (blue dots) are allowed to move by random discrete steps | ||
| - | IMAGE LATTICE | + | {{: |
| While in execution, the code will show you snapshots of the positions of the molecules on the lattice | While in execution, the code will show you snapshots of the positions of the molecules on the lattice | ||
| on the left panel. | on the left panel. | ||
| + | |||
| + | {{: | ||
| + | |||
| In the central panel average values for the number of isolated molecules, the number of dimers and the number of clusters | In the central panel average values for the number of isolated molecules, the number of dimers and the number of clusters | ||
| is plotted. | is plotted. | ||
| Line 56: | Line 59: | ||
| where k is Boltzmann' | where k is Boltzmann' | ||
| T is the simulation (and experiment) temperature | T is the simulation (and experiment) temperature | ||
| - | n0 is teh concentration of dimers in the case of zero interaction | + | n0 is the concentration of dimers in the case of zero interaction |
| nexp is the concentration of dimers found in the experiment | nexp is the concentration of dimers found in the experiment | ||
| + | To compute the concentration consider that at coverage 0.02, in the simulation, the total number of molecules is 50 | ||
| </ | </ | ||
| Line 75: | Line 79: | ||
| < | < | ||
| - | #### MAIN MC LOOP | + | clusters_plot=[] |
| + | for i in range(nouter): | ||
| and also the section | and also the section | ||
exercises/2017_ethz_mmm/mc_and_kmc.1489056746.txt.gz · Last modified: (external edit)
