Difference between revisions of "Simulation Methods in Physics I WS 2013"

From ICPWiki
Jump to: navigation, search
(Lecture)
(Course Material)
 
(69 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
 +
{{Infobox| Please go to the examination section to choose a date for your exam. Do not forget to e-mail us with your preference.}}
 +
 +
{{Infobox| The lecture on Thu 05.12.2013 is shifted to Mo 2.12.2014 at 09:00-10:30.}}
 +
 +
 
== Overview ==
 
== Overview ==
  
Line 8: Line 14:
 
:English
 
:English
 
;Location and Time
 
;Location and Time
:Lecture: Thu, 11:30 - 13:00 (Seminar room ICP, Allmandring 3); Tutorials: tba (CIP-Pool ICP, Allmandring 3)
+
:Lecture: Thu, 11:30 - 13:00 (Seminar room ICP, Allmandring 3); Tutorials: Wed, 15:45-17:15 (Bibek), Fri, 15:45-17:15 (Elena) (CIP-Pool ICP, Allmandring 3)
 
; Prerequisites
 
; Prerequisites
 
: We expect the participants to have basic knowledge in classical and statistical mechanics, thermodynamics, and partial differential equations, as well as knowledge of a programming language (Python or C).
 
: We expect the participants to have basic knowledge in classical and statistical mechanics, thermodynamics, and partial differential equations, as well as knowledge of a programming language (Python or C).
Line 19: Line 25:
 
=== Scope ===
 
=== Scope ===
  
The first part of the course intends to give an overview about modern simulation methods used in physics today. The stress of the lecture will be to introduce different approaches to simulate a problem, hence we will not go too to deep into specific details but rather try to cover a broad range of methods. In more detail, the lecture will consist of:
+
The first part of the course intends to give an overview about modern simulation methods used in physics today. The lecture should introduce different approaches to simulate a physical systems. In this respect, rather a broad range of methods will be outlined than an exhaustive presentation of specific computational methods. Roughly, the lecture will consist of:
 +
 
 +
; General overview
 +
: The first 2-3 weeks will be dedicated on the general common aspects of computer simulations, elements of statistical ensemble theory and elements of elasticity theory, which are essential in understanding and performing simulations.
 +
 
 +
; Quantum Mechanics
 +
: An extensive presentation of quantum mechanical simulations will be given in the second part of this course. Here, a general overview of the ideas behind these kinds of simulations will be given.
  
 
; Molecular Dynamics
 
; Molecular Dynamics
:The first problem that comes to mind when thinking about simulating physics is solving Newtons equations of motion for some particles with given interactions. From that perspective, we first introduce the  most common numerical integrators. This approach quickly leads us to Molecular Dynamics (MD) simulations. Many of the complex problems of practical importance require us to take a closer look at statistical properties, ensembles and the macroscopic observables.
+
: A more extensive investigation of classical Molecular Dynamics (MD) simulations is planned. This includes the algorithm, the integrators, the thermostats, to name a few necessary to perform MD simulations.
:The goal is to be able to set up and run real MD simulations for different ensembles and understand and interpret the output.
+
<!--The first problem that comes to mind when thinking about simulating physics is solving Newtons equations of motion for some particles with given interactions. From that perspective, we first introduce the  most common numerical integrators. This approach quickly leads us to Molecular Dynamics (MD) simulations. Many of the complex problems of practical importance require us to take a closer look at statistical properties, ensembles and the macroscopic observables.-->
 +
:In terms of the respective tutorials, the goal is to be able to set up and run real MD simulations for different ensembles and understand and interpret the output.
 +
 
 +
; Monte Carlo Simulations
 +
: A part of the lecture will be dedicated on Monte Carlo (MC) methods and their algorithms. Specific examples, such as the Ising model will be studied.
 +
<!-- sampling has grown constantly. Nowadays it is applied to a wide class of problems in modern computational physics. We want to present the general idea and theory behind MC simulations and show some more properties using simple toy models like the Ising-model.-->
  
 
; Error Analysis
 
; Error Analysis
:Autocorrelation, Jackknifing, Bootstrapping
+
:The way errors come into the simulations and how to estimate these will be outlined.<-!!Autocorrelation, Jackknifing, Bootstrapping-->
 +
 
 +
; Potentials
 +
: An important component of molecular simulations are the potentials or force fields chosen to model the interactions within the simulated system. The efficiency of the simulations is stongly dependent on this choice. To this purpose, various methods can be applied for obtaining efficient potentials for different methods. Here, representative examples will be outlined.
 +
<!--; Short interlude on Quantum Mechanical Systems
 +
:It is obvious that solving quantum mechanical systems analytically is not possible and we need numerical help. We also want to examine the possibilities to simulate the quantum chromodynamics PDEs on a lattice (lattice gauge theory).-->
 +
 
 +
; Simulation of liquids
 +
: Methods such as the lattice Boltzmann method and specific details on simulating liquids will be briefly given.
 +
 
 +
; Advanced simulation techniques
 +
: In the end of the course, a short overview of other more advanced methods than the ones studied here will be presented. Examples include MC beyond the Metropolis algorithm, metadynamics or rare events sampling.
 +
 
 +
=== Prerequisites ===
 +
We expect the participants to have basic knowledge in quantum, classical and statistical mechanics, thermodynamics, electrodynamics, and partial differential equations, as well as knowledge of a programming language.
 +
 
 +
=== Certificate Requirements ===
 +
:1. Attendance of the exercise classes
 +
:2. Obtaining 50% of the possible marks in the hand-in exercises
 +
 
 +
There will be a final grade for the Module "Simulation Methods" (this module consists of both lectures, Sim I plus Sim II) determined at the end of lecture Simulation Methods II.
 +
 
 +
The final grade will be determined in the following way: There will be an oral examination performed at (or after) the end of the course Simulation Methods II (SS 2012).
 +
 
 +
=== Recommended literature ===
 +
<bibentry>frenkel02b,allen87a,rapaport04a,landau05a,newman99a,thijssen07,tuckerman10</bibentry>
 +
=== Useful online resources ===
 +
<!--* Roethlisberger, Tavernarelli, EPFL, Lausanne, 2011: [http://lcbcpc21.epfl.ch/Group_members/ivano/bachelor.pdf Introduction to electronic structure methods.]-->
 +
 
 +
* Thermostats: Philippe H. Hünenberger, [http://link.springer.com/chapter/10.1007%2Fb99427 <i>Thermostat Algorithms for Molecular Dynamics Simulations</i>], Adv. Polym. Sci. (2005) 173:105–149.
 +
 
 +
* Error analysis: W. Janke, [http://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDkQFjAA&url=http%3A%2F%2Fwww.physik.uni-leipzig.de%2F~janke%2FPaper%2Fnic10_423_2002.pdf&ei=Cw-XUtDyPITUtAb50YC4CA&usg=AFQjCNFAtjE76HIMKIjlATNqo_r3R_O0yw&bvm=bv.57155469,d.Yms&cad=rja <i>Statistical Analysis of Simulations:Data Correlations and Error Estimation</i>], Quantum Simulations of Complex Many-Body Systems:
 +
From Theory to Algorithms, Lecture Notes, (2002).
 +
 
 +
* [http://homepage.tudelft.nl/v9k6y/imsst/index.html Introduction to Molecular Simulation and Statistical Thermodynamics (pdf textbook from TU Delft)]
  
; Monte Carlo Simulations
+
* [http://people.virginia.edu/~lz2n/mse627/notes/Intro.pdf University of Virginia, Introduction to atomistic simulations]
:Since their invention, the importance of Monte Carlo (MC) sampling has grown constantly. Nowadays it is applied to a wide class of problems in modern computational physics. We want to present the general idea and theory behind MC simulations and show some more properties using simple toy models like the Ising-model.
 
  
; Short interlude on Quantum Mechanical Systems
+
* Be careful when using Wikipedia as a resource. It may contain a lot of useful information, but also a lot of nonsense, because anyone can write it.
:It is obvious that solving quantum mechanical systems analytically is not possible and we need numerical help. We also want to examine the possibilities to simulate the quantum chromodynamics PDEs on a lattice (lattice gauge theory).
 
  
 
=== Course Material ===
 
=== Course Material ===
Line 41: Line 90:
  
 
|-
 
|-
|17.10.2013 || Course Content, Introduction || <!--{{DownloadExt|/teaching/2012-ws-sim_methods/slides01.pdf|Slides}}-->
+
|17.10.2013 || Course Content, Introduction || [{{Download|simmethodsI_ws1314_lecture1.pdf|Lecture Notes}}]
  
 
|-
 
|-
|24.10.2013 || Introduction to quantum-mechanical methods ||  
+
|24.10.2013 || Molecular Dynamics (Introduction, integrators) || [{{Download|simmethodsI_ws1314_lecture2.pdf|Lecture Notes}}]
  
 
|-
 
|-
|31.10.2013 || Common features in computer simulations (boundary conditions, long-range interactions, finite size effects, etc.) ||  
+
|31.10.2013 || Energy minimization, common features in computer simulations of particles || [{{Download|simmethodsI_ws1314_lecture3.pdf|Lecture Notes}}]
  
 
|-
 
|-
|07.11.2013 || Basics of Stat Mech, ensembles, observables ||  
+
|07.11.2013 || Basics of Stat Mech, ensembles, observables || [{{Download|simmethodsI_ws1314_lecture4.pdf|Lecture Notes}}]
  
 
|-
 
|-
|14.11.2013 || Elements of elasticity theory ||  
+
|14.11.2013 || More on StatMech, MD (thermostats/barostats;intro)  || [{{Download|simmethodsI_ws1314_lecture5.pdf|Lecture Notes}}]
  
 
|-
 
|-
|21.11.2013 || Introduction to Molecular Dynamics (MD) ||
+
|21.11.2013 || MD (thermostats) <!--, Liouville formulation, Lyapunov instability  --> ||[{{Download|simmethodsI_ws1314_lecture6.pdf|Lecture Notes}}]
  
 
|-
 
|-
|28.11.2013 || MD (integrators, Liouville formulation, Lyapunov instability)  ||  
+
|28.11.2013 || MD (barostats), error analysis || [{{Download|simmethodsI_ws1314_lecture7.pdf|Lecture Notes}}]
  
 
|-
 
|-
|05.12.2013 || MD (thermostats/barostats) ||  
+
|05.12.2013 || Error analysis (cont.) (binning, jackknife analysis) || [{{Download|simmethodsI_ws1314_lecture8.pdf|Lecture Notes}}]
  
 
|-
 
|-
|12.12.2013 || Monte Carlo (MC) introduction ||  
+
|12.12.2013 || Introduction to Monte Carlo (MC) || [{{Download|simmethodsI_ws1314_lecture9.pdf|Lecture Notes}}]
  
 
|-
 
|-
|19.12.2013 || MC (examples - Ising model, beyond Metropolis)  ||  
+
|19.12.2013 || MC (Metropolis algorithm), Introducing thesis projects @ ICP || [{{Download|simmethodsI_ws1314_lecture10.pdf|Lecture Notes}}]
  
 
|-
 
|-
|09.01.2014 || Building potentials ||  
+
|09.01.2014 || MC (Ising model), phase transitions & critical phenomena || [{{Download|simmethodsI_ws1314_lecture11.pdf|Lecture Notes}}]
  
 
|-
 
|-
|16.01.2014 || Langevin dynamics, Brownian dynamics ||  
+
|16.01.2014 || Langevin dynamics, Brownian dynamics || [{{Download|simmethodsI_ws1314_lecture12.pdf|Lecture Notes}}]
  
 
|-
 
|-
|23.01.2014 || Error analysis ||  
+
|23.01.2014 || Interactions, biomolecular force-fields  || [{{Download|simmethodsI_ws1314_lecture13.pdf|Lecture Notes}}]
 
|-
 
|-
  
|30.01.2014 || elements on thermodynamic integration, free-energy calculations, metadynamics ||  
+
|30.01.2014 || Inter-atomic potentials for solid state systems, reactive potentials ||  [{{Download|simmethodsI_ws1314_lecture14.pdf|Lecture Notes}}]
 
|-
 
|-
  
|06.02.2014 || Advanced simulation techniques ||
+
|06.02.2014 || Classical potentials for metals, snippets on coarse-graining and multi-scale simulations || [{{Download|simmethodsI_ws1314_lecture15.pdf|Lecture Notes}}]
 +
|}
 +
 
 +
== Tutorials ==
 +
 
 +
=== Location and Time ===
 +
* Wednesday, 15:45-17:15 ([[Bibek Adhikari]])
 +
* Friday, 15:45-17:15 ([[Elena Minina]])
 +
 
 +
=== Worksheets ===
 +
 
 +
==== Worksheet 6: Ising Model and Finite Size Scaling  ====
 +
* Deadline: '''Wednesday, 29 January 2014, 10:00'''
 +
* {{Download|WS_2013_SM1_worksheet6.pdf|Worksheet 6}}
 +
* {{Download|WS_2013_SM1_WS6_templates.tar.gz|templates.tar.gz|tgz}} - Archive that contains the files required for this worksheet.
 +
 
 +
==== Worksheet 5: Monte-Carlo  ====
 +
* Deadline: '''Wednesday, 15 January 2014, 10:00'''
 +
* {{Download|WS_2013_SM1_worksheet5.pdf|Worksheet 5}}
 +
 
 +
==== Worksheet 4: Error Analysis and Langevin Thermostat ====
 +
* Deadline: '''Monday, 16 December 2013, 10:00'''
 +
* {{Download|WS_2013_SM1_worksheet4.pdf|Worksheet 4}}
 +
* {{Download|WS_2013_SM1_worksheet4_templates.tar.gz|templates.tar.gz|tgz}} - Archive that contains the files required in some tasks
 +
 
 +
==== Worksheet 3: Molecular Dynamics 2 and Observables ====
 +
* Deadline: '''Monday, 2 December 2013, 10:00'''
 +
* {{Download|WS_2013_SM1_worksheet3.pdf|Worksheet 3}}
 +
* {{Download|WS_2013_SM1_worksheet3_templates.tar.gz|templates.tar.gz|tgz}} - Archive that contains the files required in some tasks
 +
 
 +
==== Worksheet 2: Statistical Mechanics and Molecular Dynamics ====
 +
* Deadline: '''Monday, 18 November 2013, 10:00'''
 +
* {{Download|WS_2013_SM1_worksheet2.pdf|Worksheet 2}}
 +
* {{Download|WS_2013_SM1_templates.tar.gz|templates.tar.gz|tgz}} - Archive that contains the files required in some tasks
 +
* {{Download|latex-template.tex|latex-template.tex|txt}} - LaTeX-template for the report
 +
 
 +
==== Worksheet 1: Integrators ====
 +
* Deadline: '''Monday, 4th November 2013, 10:00'''
 +
* {{Download|WS_2013_SM1_worksheet1.pdf|Worksheet 1}}
 +
* {{Download|WS_2013_SM1_solar_system.pkl.gz|solar_system.pkl.gz}} - Archive that contains the files required in some tasks
 +
* {{Download|WS_2013_SM1_cannonball_template.png|cannonball_template.png}} - Python program template as an image
 +
 
 +
=== General Remarks ===
 +
 
 +
* The tutorials take place in the CIP-Pool on the first floor of the ICP (Room 1.033, Allmandring 3).
 +
* For the tutorials, you will get a [[ICP Unix Accounts for Students|personal account for the ICP machines]].
 +
* All material required for the tutorials can also be found on the ICP computers in the directory <code>/group/sm/2013</code>.
 +
* For the reports, we have a nice {{Download|latex-template.tex|latex-template.tex|txt}}.
 +
* You can do the exercises in the CIP-Pool when it is not [[CIP Pool Occupancy|occupied by another course]]. The pool is accessible on all days, except weekends and late evenings.
 +
* If you do the exercises in the CIP-Pool, all required software and tools are available.
 +
* If you want to do the exercises on your own computer, the following tools are required. All of these packages should be readily available from your OS distribution, if it is not Windows.
 +
** Python
 +
** The following Python packages:
 +
*** IPython
 +
*** NumPy
 +
*** SciPy
 +
*** matplotlib
 +
** A C compiler (e.g. GCC)
 +
* We only have experience with Unix/Linux machines. Although most tools will probably also work on Windows, we cannot guarantee it, and we can also not help you to get it running there.
 +
 
 +
=== Hand-in-exercises ===
 +
 
 +
* The worksheets are to be solved in groups of two or three people. We will ''not'' accept hand-in-exercises that only have a single name on it.
 +
* A written report (between 5 and 10 pages) has to be handed in for each worksheet. We recommend to use LaTeX to prepare the report.
 +
* You have two weeks to prepare the report for each worksheet.
 +
* The report has to be sent to the tutor via email.
 +
* Most participants need 50% of the points in the hands-in exercises to be admitted to the oral examination (see [[#Examination|]] for details).
 +
 
 +
=== What happens in a tutorial ===
 +
 
 +
* The tutorials take place every week.
 +
* You will receive the new worksheet on the days before the tutorial.
 +
* In the first tutorial after you received a worksheet, the solutions of the previous worksheet will be presented (see below) and the new worksheet will be discussed.
 +
* In the second tutorial after you received the worksheet, there is time to work on the exercises and to ask questions for the tutor.
 +
* You will have to hand in the reports on Monday after the second tutorial.
 +
* In the third tutorial after you received the worksheet, the solutions will be discussed:
 +
** The tutor will ask a team to present their solution.
 +
** The tutor will choose one of the members of the team to present each task.
 +
** ''This means that each team member should be able to present any task.''
 +
** At the end of the term, everybody should have presented at least once.
 +
 
 +
=== Documentation ===
 +
 
 +
==== Linux ====
 +
* {{Download|linuxcheatsheet.pdf|Linux Cheat Sheet}} ({{Download|linuxcheatsheet.odt|source}}) - the most important linux commands on a single page
 +
* A good and freely available book about using Linux: [http://writers.fultus.com/garrels/ebooks/Machtelt_Garrels_Introduction_to_Linux_3nd_Ed.pdf Introduction to Linux by M. Garrels]
 +
* [http://www.filibeto.org/sun/lib/development/shell/intr_to_bash_scr.html Short introduction to shell scripting (bash)]
 +
* [http://tldp.org/LDP/abs/html/ A more detailed introduction to bash scripting]
 +
 
 +
==== Python ====
 +
* Use the existing documentation of Python itself! To get help on the command <code>print</code>, use
 +
  pydoc print
 +
* Or use the Web browser to read it. Start
 +
  pydoc -p 4242
 +
:and visit the page http://localhost:4242
 +
* http://python.org/doc/ - the official Python documentation (including tutorials etc.)
 +
* {{Download|Byte_of_Python.pdf}} - the free eBook "A byte of Python" [http://www.swaroopch.com/notes/python/], also available in German[http://abop-german.berlios.de/]
 +
 
 +
==== NumPy ====
 +
* first of all, try to use
 +
  pydoc numpy
 +
* http://numpy.scipy.org/ - the homepage of NumPy contains a lot of documentation
 +
* {{Download|SS_2012_PadC.pdf|Script of the lecture "Physik auf dem Computer" (german)}} - Numerics in Python, using Numpy
 +
 
 +
==== LaTeX ====
 +
* [http://ctan.tug.org/tex-archive/info/lshort/english/lshort.pdf The Not So Short Introduction to LaTeX]
 +
* [http://www.latex-project.org/guides/ List of documentation of the LaTeX project]
 +
 
 +
== Examination ==
 +
 
 +
{{Infobox| Examination dates:
 +
The following dates and times have been scheduled for the oral exams. Please send an e-mail to both of us ([[Maria Fyta]], [[Olaf Lenz]]) noting your preference. We will send an e-mail back confirming (or not) the date.
 +
 
 +
Tue Feb. 25: 14:00, 14:30
 +
 
 +
Thu Feb. 27: 14:30, 15:00, 15:30
 +
 
 +
Fri Feb. 28: 14:00, 14:30, 15:30
 +
 
 +
<!--Thu Mar. 06: 15:30-->}}
 +
 
 +
 
 +
Depending on the module that this lecture is part of, there are differences on how to get the credits for the module:
 +
; BSc/MSc Physik, Modul "Simulationsmethoden in der Physik" (36010) and Erasmus Mundus International Master FUSION-EP:
 +
:* Obtain 50% of the possible points in the hands-in excercises of this lecture and the second part of the lecture as a prerequisite for the examination (USL-V)
 +
:* 60 min of oral examination (PL)
 +
:** After the lecture "Simulation Methods in Physics II" in summer term (i.e. Summer 2013)
 +
:** Contents: both lectures and the tutorials of "Simulation Methods in Physics I"
 +
; International MSc Physics, Elective Module "Simulation Techniques in Physics I, II" (240918-005):
 +
:* Obtain 50% of the possible points in the tutorials of this lecture as a prerequisite for the examination
 +
:* 30 min of oral examination (PL) about the lecture and the tutorials
 +
; BSc/MSc SimTech, Modul "Simulationsmethoden in der Physik für SimTech I" (40520):
 +
:* Obtain 50% of the possible points in the hands-in excercises of this lecture as a prerequisite for the examination (USL-V)
 +
:* 40 min of oral examination (PL) about the lecture and the tutorials
 +
; MSc Chemie, Modul "Simulationsmethoden in der Physik für Chemiker I" (35840):
 +
:* The marks for the module are the marks obtained in the excercises (BSL)

Latest revision as of 12:47, 6 February 2014


Overview

Type
Lecture (2 SWS) and Tutorials (2 SWS)
Lecturer
JP Dr. Maria Fyta (Lecture); Dr. Olaf Lenz, Bibek Adhikari, Elena Minina (Tutorials)
Course language
English
Location and Time
Lecture: Thu, 11:30 - 13:00 (Seminar room ICP, Allmandring 3); Tutorials: Wed, 15:45-17:15 (Bibek), Fri, 15:45-17:15 (Elena) (CIP-Pool ICP, Allmandring 3)
Prerequisites
We expect the participants to have basic knowledge in classical and statistical mechanics, thermodynamics, and partial differential equations, as well as knowledge of a programming language (Python or C).

The lecture is accompanied by hands-on-tutorials which will take place in the CIP-Pool of the ICP, Allmandring 3. They consist of practical exercises at the computer, like small programming tasks, simulations, visualization and data analysis. The tutorials build upon each other, therefore continuous attendance is expected.

Lecture

Scope

The first part of the course intends to give an overview about modern simulation methods used in physics today. The lecture should introduce different approaches to simulate a physical systems. In this respect, rather a broad range of methods will be outlined than an exhaustive presentation of specific computational methods. Roughly, the lecture will consist of:

General overview
The first 2-3 weeks will be dedicated on the general common aspects of computer simulations, elements of statistical ensemble theory and elements of elasticity theory, which are essential in understanding and performing simulations.
Quantum Mechanics
An extensive presentation of quantum mechanical simulations will be given in the second part of this course. Here, a general overview of the ideas behind these kinds of simulations will be given.
Molecular Dynamics
A more extensive investigation of classical Molecular Dynamics (MD) simulations is planned. This includes the algorithm, the integrators, the thermostats, to name a few necessary to perform MD simulations.
In terms of the respective tutorials, the goal is to be able to set up and run real MD simulations for different ensembles and understand and interpret the output.
Monte Carlo Simulations
A part of the lecture will be dedicated on Monte Carlo (MC) methods and their algorithms. Specific examples, such as the Ising model will be studied.
Error Analysis
The way errors come into the simulations and how to estimate these will be outlined.<-!!Autocorrelation, Jackknifing, Bootstrapping-->
Potentials
An important component of molecular simulations are the potentials or force fields chosen to model the interactions within the simulated system. The efficiency of the simulations is stongly dependent on this choice. To this purpose, various methods can be applied for obtaining efficient potentials for different methods. Here, representative examples will be outlined.
Simulation of liquids
Methods such as the lattice Boltzmann method and specific details on simulating liquids will be briefly given.
Advanced simulation techniques
In the end of the course, a short overview of other more advanced methods than the ones studied here will be presented. Examples include MC beyond the Metropolis algorithm, metadynamics or rare events sampling.

Prerequisites

We expect the participants to have basic knowledge in quantum, classical and statistical mechanics, thermodynamics, electrodynamics, and partial differential equations, as well as knowledge of a programming language.

Certificate Requirements

1. Attendance of the exercise classes
2. Obtaining 50% of the possible marks in the hand-in exercises

There will be a final grade for the Module "Simulation Methods" (this module consists of both lectures, Sim I plus Sim II) determined at the end of lecture Simulation Methods II.

The final grade will be determined in the following way: There will be an oral examination performed at (or after) the end of the course Simulation Methods II (SS 2012).

Recommended literature

Useful online resources

From Theory to Algorithms, Lecture Notes, (2002).

  • Be careful when using Wikipedia as a resource. It may contain a lot of useful information, but also a lot of nonsense, because anyone can write it.

Course Material

Date Subject Resources
17.10.2013 Course Content, Introduction Lecture Notes (2.54 MB)Info circle.png
24.10.2013 Molecular Dynamics (Introduction, integrators) Lecture Notes (4.59 MB)Info circle.png
31.10.2013 Energy minimization, common features in computer simulations of particles Lecture Notes (8.91 MB)Info circle.png
07.11.2013 Basics of Stat Mech, ensembles, observables Lecture Notes (6.53 MB)Info circle.png
14.11.2013 More on StatMech, MD (thermostats/barostats;intro) Lecture Notes (4.94 MB)Info circle.png
21.11.2013 MD (thermostats) Lecture Notes (6.35 MB)Info circle.png
28.11.2013 MD (barostats), error analysis Lecture Notes (4.32 MB)Info circle.png
05.12.2013 Error analysis (cont.) (binning, jackknife analysis) Lecture Notes (2.63 MB)Info circle.png
12.12.2013 Introduction to Monte Carlo (MC) Lecture Notes (8.43 MB)Info circle.png
19.12.2013 MC (Metropolis algorithm), Introducing thesis projects @ ICP Lecture Notes (1.68 MB)Info circle.png
09.01.2014 MC (Ising model), phase transitions & critical phenomena Lecture Notes (6.04 MB)Info circle.png
16.01.2014 Langevin dynamics, Brownian dynamics Lecture Notes (5.52 MB)Info circle.png
23.01.2014 Interactions, biomolecular force-fields Lecture Notes (4.79 MB)Info circle.png
30.01.2014 Inter-atomic potentials for solid state systems, reactive potentials Lecture Notes (4.76 MB)Info circle.png
06.02.2014 Classical potentials for metals, snippets on coarse-graining and multi-scale simulations Lecture Notes (9.14 MB)Info circle.png

Tutorials

Location and Time

Worksheets

Worksheet 6: Ising Model and Finite Size Scaling

  • Deadline: Wednesday, 29 January 2014, 10:00
  • application_pdf.pngWorksheet 6 (225 KB)Info circle.png
  • tgz.pngtemplates.tar.gz (3 KB)Info circle.png - Archive that contains the files required for this worksheet.

Worksheet 5: Monte-Carlo

  • Deadline: Wednesday, 15 January 2014, 10:00
  • application_pdf.pngWorksheet 5 (217 KB)Info circle.png

Worksheet 4: Error Analysis and Langevin Thermostat

  • Deadline: Monday, 16 December 2013, 10:00
  • application_pdf.pngWorksheet 4 (233 KB)Info circle.png
  • tgz.pngtemplates.tar.gz (8.43 MB)Info circle.png - Archive that contains the files required in some tasks

Worksheet 3: Molecular Dynamics 2 and Observables

  • Deadline: Monday, 2 December 2013, 10:00
  • application_pdf.pngWorksheet 3 (319 KB)Info circle.png
  • tgz.pngtemplates.tar.gz (4 KB)Info circle.png - Archive that contains the files required in some tasks

Worksheet 2: Statistical Mechanics and Molecular Dynamics

Worksheet 1: Integrators

General Remarks

  • The tutorials take place in the CIP-Pool on the first floor of the ICP (Room 1.033, Allmandring 3).
  • For the tutorials, you will get a personal account for the ICP machines.
  • All material required for the tutorials can also be found on the ICP computers in the directory /group/sm/2013.
  • For the reports, we have a nice txt.pnglatex-template.tex (7 KB)Info circle.png.
  • You can do the exercises in the CIP-Pool when it is not occupied by another course. The pool is accessible on all days, except weekends and late evenings.
  • If you do the exercises in the CIP-Pool, all required software and tools are available.
  • If you want to do the exercises on your own computer, the following tools are required. All of these packages should be readily available from your OS distribution, if it is not Windows.
    • Python
    • The following Python packages:
      • IPython
      • NumPy
      • SciPy
      • matplotlib
    • A C compiler (e.g. GCC)
  • We only have experience with Unix/Linux machines. Although most tools will probably also work on Windows, we cannot guarantee it, and we can also not help you to get it running there.

Hand-in-exercises

  • The worksheets are to be solved in groups of two or three people. We will not accept hand-in-exercises that only have a single name on it.
  • A written report (between 5 and 10 pages) has to be handed in for each worksheet. We recommend to use LaTeX to prepare the report.
  • You have two weeks to prepare the report for each worksheet.
  • The report has to be sent to the tutor via email.
  • Most participants need 50% of the points in the hands-in exercises to be admitted to the oral examination (see [[#Examination|]] for details).

What happens in a tutorial

  • The tutorials take place every week.
  • You will receive the new worksheet on the days before the tutorial.
  • In the first tutorial after you received a worksheet, the solutions of the previous worksheet will be presented (see below) and the new worksheet will be discussed.
  • In the second tutorial after you received the worksheet, there is time to work on the exercises and to ask questions for the tutor.
  • You will have to hand in the reports on Monday after the second tutorial.
  • In the third tutorial after you received the worksheet, the solutions will be discussed:
    • The tutor will ask a team to present their solution.
    • The tutor will choose one of the members of the team to present each task.
    • This means that each team member should be able to present any task.
    • At the end of the term, everybody should have presented at least once.

Documentation

Linux

Python

  • Use the existing documentation of Python itself! To get help on the command print, use
 pydoc print
  • Or use the Web browser to read it. Start
 pydoc -p 4242
and visit the page http://localhost:4242

NumPy

  • first of all, try to use
 pydoc numpy

LaTeX

Examination


Depending on the module that this lecture is part of, there are differences on how to get the credits for the module:

BSc/MSc Physik, Modul "Simulationsmethoden in der Physik" (36010) and Erasmus Mundus International Master FUSION-EP
  • Obtain 50% of the possible points in the hands-in excercises of this lecture and the second part of the lecture as a prerequisite for the examination (USL-V)
  • 60 min of oral examination (PL)
    • After the lecture "Simulation Methods in Physics II" in summer term (i.e. Summer 2013)
    • Contents: both lectures and the tutorials of "Simulation Methods in Physics I"
International MSc Physics, Elective Module "Simulation Techniques in Physics I, II" (240918-005)
  • Obtain 50% of the possible points in the tutorials of this lecture as a prerequisite for the examination
  • 30 min of oral examination (PL) about the lecture and the tutorials
BSc/MSc SimTech, Modul "Simulationsmethoden in der Physik für SimTech I" (40520)
  • Obtain 50% of the possible points in the hands-in excercises of this lecture as a prerequisite for the examination (USL-V)
  • 40 min of oral examination (PL) about the lecture and the tutorials
MSc Chemie, Modul "Simulationsmethoden in der Physik für Chemiker I" (35840)
  • The marks for the module are the marks obtained in the excercises (BSL)