Difference between revisions of "Simulationsmethoden in der Physik 2 / Simulation methods in physics 2 (SS 2011)"

From ICPWiki
Jump to navigation Jump to search
 
(36 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Simulationsmethoden in der Physik II==
+
== Overview ==
==Simulation Methods in Physics II ==
 
  
 
;Type
 
;Type
Line 9: Line 8:
 
;Course language
 
;Course language
 
:Deutsch oder Englisch, wie gewünscht - German or English, by vote
 
:Deutsch oder Englisch, wie gewünscht - German or English, by vote
 
''' Note: The scheduling information is tentative. It can change according to agreement in the first lecture '''
 
  
 
;Lectures
 
;Lectures
 
:Time:  Thursdays, 11:30 - 13:00, Room V 57.06  
 
:Time:  Thursdays, 11:30 - 13:00, Room V 57.06  
 
;Tutorials
 
;Tutorials
:Time: Wednesday, 17:00-18.30, 2 hours/(every other week)
+
:Time: Friday, 14:00-15.30, 2 hours/(every other week), Room U 104
  
 
The lecture is accompanied by hands-on-tutorials which will take place in the CIP-Pool of the ICP, Pfaffenwaldring 27, U 108. They consist of practical exercises at the computer, like small programming tasks, simulations, visualization and data analysis.
 
The lecture is accompanied by hands-on-tutorials which will take place in the CIP-Pool of the ICP, Pfaffenwaldring 27, U 108. They consist of practical exercises at the computer, like small programming tasks, simulations, visualization and data analysis.
Line 22: Line 19:
 
Note: students from the COMMAS master will have to attend tutorials every week, and one extra tutorial is expected. Course can count then as 2SWS plus 2SWS tutorials
 
Note: students from the COMMAS master will have to attend tutorials every week, and one extra tutorial is expected. Course can count then as 2SWS plus 2SWS tutorials
  
==Scope==
+
=== Scope ===
  
 
The course  intends to give an overview about modern simulation methods
 
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
 
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
+
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. For an idea about the content look at the lecture schedule.
lecture will consist of:
 
 
 
to be done
 
 
 
.
 
  
== Prerequisites ==
+
=== Prerequisites ===
 
We expect the participants to have basic knowledge in classical and statistical mechanics, thermodynamics, electrodynamics, and partial differential equations, as well as knowledge of a programming language (preferably C or C++). The knowledge of the previous course Simulation Methods I is expected.
 
We expect the participants to have basic knowledge in classical and statistical mechanics, thermodynamics, electrodynamics, and partial differential equations, as well as knowledge of a programming language (preferably C or C++). The knowledge of the previous course Simulation Methods I is expected.
  
== Certificate Requirements:==
+
=== Certificate Requirements ===
 
:1. Attendance of the exercise classes
 
:1. Attendance of the exercise classes
 
:2. Obtaining 50% of the possible marks in the hand-in exercises
 
: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 2011).
 +
 +
NOTE: students from the COMMAS master will have to present, at the end of the course, a supplementary project (topic to be discussed with tutors).
 +
 +
=== Recommended literature ===
 +
<bibentry>frenkel02b,allen87a,rapaport04a,landau05a ,newman99a</bibentry>
 +
 +
=== Useful online resources ===
 +
 +
* E-book: D.P. Landau and K. Binder: [http://www.netlibrary.com/urlapi.asp?action=summary&v=1&bookid=139749  A guide to Monte Carlo Simulations in Statistical Physics]
 +
 +
* Linux cheat sheet {{Download|Sim_Meth_I_T0_cheat_sheet_10_11.pdf|here}}.
  
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.
+
* 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]
  
The final grade will be determined in the following way :
+
* [http://t16web.lanl.gov/Kawano/gnuplot/index-e.html Not so frequently asked questions about GNUPLOT] (Often used by myself as a cheat sheet)
  
1. There will be an oral examination performed at (or after) the end of the course Simulation Methods II (SS 2011).
+
* [http://homepage.tudelft.nl/v9k6y/imsst/index.html Introduction to Molecular Simulation and Statistical Thermodynamics]
  
NOTE: students from the COMMAS master will have to present, at the end of the course, a supplementary project (topic to be discussed with tutors).  
+
* 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.
  
 
== Lecture  ==
 
== Lecture  ==
Line 63: Line 69:
 
|-
 
|-
 
| 26.05.2011 || Coarse-grained models, simulations of macromolecules and soft matter
 
| 26.05.2011 || Coarse-grained models, simulations of macromolecules and soft matter
 +
|-
 +
| 02.06.2011 || Holiday (Christi Himmelfahrt)
 
|-
 
|-
 
| 09.06.2011 || Long range interactions in periodic boundary conditions
 
| 09.06.2011 || Long range interactions in periodic boundary conditions
Line 68: Line 76:
 
| 16.06.2011 || '' Holiday (Pfingsten) ''
 
| 16.06.2011 || '' Holiday (Pfingsten) ''
 
|-
 
|-
| '' 29.6.2011 ''|| Poisson-Boltzmann '' Extra lecture in tutorial time''
+
| 23.06.2011 || '' Holiday (Fronleichnam) ''
 
|-
 
|-
 
| 30.06.2011 || Hydrodynamic methods: Lattice-Boltzmann, Brownian Dynamics, DPD, SRD
 
| 30.06.2011 || Hydrodynamic methods: Lattice-Boltzmann, Brownian Dynamics, DPD, SRD
 
|-
 
|-
| 07.07.2011 || Hydrodynamic methods II
+
| 01.07.2011 || Hydrodynamic methods II ''Extra lecture in tutorial time''
 +
|-
 +
| 07.07.2011 || Poisson-Boltzmann theory
 
|-
 
|-
| 14.07.2011 || Advanced MC methods
+
| 14.07.2011 || Advanced MC/MD methods  
 
|-
 
|-
| 21.07.2011 || Advanced MC/MD methods
+
| 21.07.2011 || Free energy methods I
 
|-
 
|-
| 28.07.2011 || Free energy methods
+
| 28.07.2011 || Free energy methods II
 
|}
 
|}
  
== Tutorials (U 108)==
+
== Tutorials ==
  
 
;Obtaining extra points
 
;Obtaining extra points
:First person who identifies a bug in the code provided by the tutors gets an extra point and one additional extra point if he/she can fix the bug. Same applies to finding a mistake in the worksheets which significantly changes the meaning. We are also thankful for pointing out misprints but these are not awarded extra points.
+
:The first person who identifies a bug in the code provided by the tutors gets an extra point and one additional extra point if he/she can fix the bug. The same applies to finding a mistake in the worksheets which significantly changes the meaning. We are also thankful for pointing out misprints, but these are not awarded extra points.
  
 
;Scheduling of tutorials
 
;Scheduling of tutorials
:Tutorials are scheduled every two weeks (see table below). In the week between the tutorials, the tutors will be available to help the you with any problems. Since participation is optional, it is recommended that you notify the tutors that they are intending to come and seek their assistance.
+
:Tutorials are scheduled every two weeks (see table below). In the week between the tutorials, the tutors will be available to help the you with any problems. Since participation is optional, it is recommended that you notify the tutors that you are intending to come and seek their assistance.
 +
 
 +
=== Tutorial 1 - Error analysis ===
 +
* '''Tutorial on 6.5.2011''' ([[Peter Košovan]])
 +
* {{Download|Sim_Meth_II_T1_SS_10_11.pdf|Worksheet for tutorial 1}}
 +
* {{Download|Sim_Meth_II_T1_SS_10_11.tar.gz|Code for tutorial 1|tar}}.
 +
 
 +
=== Tutorial 2 - GROMACS ===
 +
* '''Tutorial on 13.5.2011''' ([[Peter Košovan]])
 +
* '''Optional tutorial on 20.5.2011''' ([[Peter Košovan]])
 +
* {{Download|Sim_Meth_II_T2_SS_10_11.pdf|Worksheet for tutorial 2}}
 +
* {{Download|Sim_Meth_II_T2_SS_10_11.tar.gz|Code for tutorial 2|tar}}
 +
 
 +
=== Tutorial 3 - {{es}}: Simulation of a coarse-grained polymer ===
 +
* '''Tutorial on 27.5.2011''' ([[Olaf Lenz]])
 +
* No optional tutorial on 3.6.2011 (almost holiday)
 +
* {{Download|Sim_Meth_II_T3_SS_10_11.pdf|Worksheet for tutorial 3}}
 +
* {{Download|Sim_Meth_II_SS_10_11_tutorial3.tcl.txt|tutorial3.tcl|text_x_tcl}}
 +
* {{Download|Sim_Meth_II_SS_10_11_KremerGrest86.pdf|Article of Kremer and Grest, 1986}}
  
 +
=== Tutorial 4 - {{es}}: Simulation of a charged rod with counterions ===
 +
* '''Tutorial on 10.6.2011''' ([[Olaf Lenz]])
 +
* No optional tutorial on 17.6.2011 (holiday)
 +
* '''Hand in report until 22.6.2011'''
 +
* {{Download|Sim_Meth_II_T4_SS_10_11.pdf|Worksheet for tutorial 4}}
 +
* {{Download|Sim_Meth_II_SS_10_11_tutorial4.tcl.txt|tutorial4.tcl|text_x_tcl}}
 +
* {{Download|Deserno00a.pdf|Article of Deserno, 2000}}
  
{| class="prettytable"
+
=== Tutorial 5 - {{es}}: Lattice-Boltzmann fluid ===
|-valign="top"
+
* '''Tutorial on 24.6.2011''' ([[Olaf Lenz]])
! Week || Date  || Topic
+
* no tutorial on 1.7.2011: replacement lecture ''Poisson-Boltzmann''
|-
+
* '''Optional tutorial on 8.7.2011''' ([[Olaf Lenz]])
| 1. || 4.5.  || T1: [[T1_SS_10_11|Error analysis ]]
+
* '''Try to hand in the report until 13.7.2011'''
|-
+
* {{Download|Sim_Meth_II_T5_SS_10_11.pdf|Worksheet for tutorial 5}}
| 2. || 11.5. || Optional
+
* {{Download|Sim_Meth_II_SS_10_11_tutorial5-1.tcl.txt|tutorial5-1.tcl|text_x_tcl}}
|-
+
* {{Download|Sim_Meth_II_SS_10_11_tutorial5-2.tcl.txt|tutorial5-2.tcl|text_x_tcl}}
| 3. || 18.5. || T2: [[T2_SS_10_11|Gromacs - simulation of water]]
+
* {{Download|Sim_Meth_II_SS_10_11_msd.pl.txt|msd.pl|application_x_perl}}
|-
+
 
| 4. || 27.5. || Optional
+
=== Tutorial 6 - Advanced MC/MD ===
|-
+
* '''Tutorial on 15.7.2011''' ([[Peter Košovan]])
| 5.  || 1.6. || T3: [[T3_SS_10_11|ESPResSo - simulation of a coarse-grained polymer]]
+
* '''Optional tutorial on 22.7.2011''' ([[Peter Košovan]])
|-
+
* {{Download|Sim_Meth_II_T6_SS_10_11.pdf|Worksheet for tutorial 6}}
| 6. || 8.6.  || Optional
+
* {{Download|Sim_Meth_II_SS_10_11_tutorial6_src.tgz|tutorial6.tgz|tgz}}
|-
 
| 7.  || 17.6. || Holiday (Pfingsten)
 
|-
 
| 8. || 22.6. || T4: [[T4_SS_10_11|ESPResSo - simulation of a charged rod  with counter-ions ]]
 
|-
 
| 9.  || 29.6. || Replacement for lecture: Poisson-Boltzmann
 
|-
 
| 10. || 6.7. || T5: [[T5_SS_10_11|ESPResSo - Lattice-Boltzmann fluid ]]
 
|-
 
| 11. || 13.7. || Optional
 
|-
 
| 12. || 20.7. || T6: [[T6_SS_10_11|Advanced MC/MD ]]
 
|-
 
| 13. || 27.7. || Closing ceremony
 
|}
 
  
== Guidelines for submitting tutorial reports ==
+
=== Tutorial 7 - Closing ceremony ===
 +
* Might involve experiments of the effect of dilute aqueous solutions of ethanol on the human body
 +
* '''Tutorial on 29.7.2011''' ([[Peter Košovan]], [[Olaf Lenz]])
  
 +
=== Guidelines for submitting tutorial reports ===
  
 
Homework for the tutorials should be submitted in the form of a report. It has to be submitted via e-mail as a '''single pdf document''' or alternatively as a paper printout. Handwritten reports will also be accepted. Source code should always be sent via e-mail. If the code concerns only a few lines, it may be included in the text of the report. Reports clearly not meeting these requirements may be rejected without evaluation.
 
Homework for the tutorials should be submitted in the form of a report. It has to be submitted via e-mail as a '''single pdf document''' or alternatively as a paper printout. Handwritten reports will also be accepted. Source code should always be sent via e-mail. If the code concerns only a few lines, it may be included in the text of the report. Reports clearly not meeting these requirements may be rejected without evaluation.
Line 131: Line 154:
  
 
;Deadline
 
;Deadline
:Approximately 10 days after the tutorial, but no later than Monday 8:00 of the week when the next worksheet is going to be handed out. Reports on paper can be handed in personally until lunch break on Monday.
+
:Approximately 10 days after the tutorial, but no later than Wednesday 8:00 of the week when the next worksheet is going to be handed out. Reports on paper can be handed in personally until lunch break on the same day.
 
:In case of special circumstances (illness, accident, ...) contact the tutor immediately via e-mail to agree on an alternative deadline.
 
:In case of special circumstances (illness, accident, ...) contact the tutor immediately via e-mail to agree on an alternative deadline.
  
Line 155: Line 178:
 
:If the code is more complex, add comments to it. Especially to parts which may not be straightforward to understand.
 
:If the code is more complex, add comments to it. Especially to parts which may not be straightforward to understand.
 
:We recommend that you indent your code for better readability.
 
:We recommend that you indent your code for better readability.
 
== Recommended literature ==
 
<bibentry>frenkel02b,allen87a,rapaport04a,landau05a ,newman99a</bibentry>
 
 
 
== Useful online resources ==
 
 
* E-book: D.P. Landau and K. Binder: [http://www.netlibrary.com/urlapi.asp?action=summary&v=1&bookid=139749  A guide to Monte Carlo Simulations in Statistical Physics]
 
 
* Linux cheat sheet {{Download|Sim_Meth_I_T0_cheat_sheet_10_11.pdf|here}}.
 
 
* 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://t16web.lanl.gov/Kawano/gnuplot/index-e.html Not so frequently asked questions about GNUPLOT] (Often used by myself as a cheat sheet)
 
 
* [http://homepage.tudelft.nl/v9k6y/imsst/index.html Introduction to Molecular Simulation and Statistical Thermodynamics]
 
 
* Becareful when using Wiki-type of resources. They may contain a lot of useful information, but also a lot of nonsense, because anyone can write into them.
 

Latest revision as of 15:28, 20 July 2011

Overview

Type
Lecture (2 SWS) and Tutorials (1 SWS)
Lecturer
Prof. Dr. Christian Holm, JP Dr. Axel Arnold, Dr. Marcello Sega (Lecture); Olaf Lenz and Peter Košovan (Tutorials)
Course language
Deutsch oder Englisch, wie gewünscht - German or English, by vote
Lectures
Time: Thursdays, 11:30 - 13:00, Room V 57.06
Tutorials
Time: Friday, 14:00-15.30, 2 hours/(every other week), Room U 104

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

Note: students from the COMMAS master will have to attend tutorials every week, and one extra tutorial is expected. Course can count then as 2SWS plus 2SWS tutorials

Scope

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. For an idea about the content look at the lecture schedule.

Prerequisites

We expect the participants to have basic knowledge in classical and statistical mechanics, thermodynamics, electrodynamics, and partial differential equations, as well as knowledge of a programming language (preferably C or C++). The knowledge of the previous course Simulation Methods I is expected.

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 2011).

NOTE: students from the COMMAS master will have to present, at the end of the course, a supplementary project (topic to be discussed with tutors).

Recommended literature


Useful online resources

  • Linux cheat sheet application_pdf.pnghere (53 KB)Info circle.png.
  • 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.

Lecture

Date Subject
28.04.2011 Ab initio methods, Quantum mechanics
05.05.2011 Hartree-Fock, Density functional theory, Carr-Parinello MD
12.05.2011 Classical force fields, Atomistic simulations, Biomolecules
19.05.2011 Water models, Born model of solvation
26.05.2011 Coarse-grained models, simulations of macromolecules and soft matter
02.06.2011 Holiday (Christi Himmelfahrt)
09.06.2011 Long range interactions in periodic boundary conditions
16.06.2011 Holiday (Pfingsten)
23.06.2011 Holiday (Fronleichnam)
30.06.2011 Hydrodynamic methods: Lattice-Boltzmann, Brownian Dynamics, DPD, SRD
01.07.2011 Hydrodynamic methods II Extra lecture in tutorial time
07.07.2011 Poisson-Boltzmann theory
14.07.2011 Advanced MC/MD methods
21.07.2011 Free energy methods I
28.07.2011 Free energy methods II

Tutorials

Obtaining extra points
The first person who identifies a bug in the code provided by the tutors gets an extra point and one additional extra point if he/she can fix the bug. The same applies to finding a mistake in the worksheets which significantly changes the meaning. We are also thankful for pointing out misprints, but these are not awarded extra points.
Scheduling of tutorials
Tutorials are scheduled every two weeks (see table below). In the week between the tutorials, the tutors will be available to help the you with any problems. Since participation is optional, it is recommended that you notify the tutors that you are intending to come and seek their assistance.

Tutorial 1 - Error analysis

Tutorial 2 - GROMACS

Tutorial 3 - ESPResSo: Simulation of a coarse-grained polymer

Tutorial 4 - ESPResSo: Simulation of a charged rod with counterions

Tutorial 5 - ESPResSo: Lattice-Boltzmann fluid

Tutorial 6 - Advanced MC/MD

Tutorial 7 - Closing ceremony

  • Might involve experiments of the effect of dilute aqueous solutions of ethanol on the human body
  • Tutorial on 29.7.2011 (Peter Košovan, Olaf Lenz)

Guidelines for submitting tutorial reports

Homework for the tutorials should be submitted in the form of a report. It has to be submitted via e-mail as a single pdf document or alternatively as a paper printout. Handwritten reports will also be accepted. Source code should always be sent via e-mail. If the code concerns only a few lines, it may be included in the text of the report. Reports clearly not meeting these requirements may be rejected without evaluation.

Identical pieces of reports annihilate when submitted by different people producing anti-points for both. The amount of anti-points grows exponentially with the similarity. It is fine if you help each other and discuss your results, but each part of the report has to be an original, not a copy from your neighbour.

If you have a technical problem on the CIP pool computers, e.g. a missing program or library or something else which does not allow you to perform a certain task, ask the tutor for assistance. Saying in your report "I was not able to run program XXX, therefore I do not provide answer to Task YY." cannot be awarded any points.

Deadline
Approximately 10 days after the tutorial, but no later than Wednesday 8:00 of the week when the next worksheet is going to be handed out. Reports on paper can be handed in personally until lunch break on the same day.
In case of special circumstances (illness, accident, ...) contact the tutor immediately via e-mail to agree on an alternative deadline.
Text of the report
Has to contain author name, student ID and date.
Should be subdivided into sections, each section being clearly related to one task of the homework.
Must be written in sentences, not points like in a presentation.
All conclusions must be explained and when appropriate, supported by data (plots, tables). In case a derivation is required, all intermediate steps have to be clearly understandable or explained in the text.
For each simulation, it has to be clear, what were the input parameters, so that it can be re-run.
Figures and plots
Each figure has to have a number and a caption or title saying what is in the figure.
In text, refer to figures by the number or title, so that it is clear which figure you are referring to.
Each plot has to have labels on axes with font size comparable to other text. Plots without labels will not be considered.
Data points should fill a major part of plot area. The point size, x- and y-scales have to be chosen appropriately so that all important features can be seen.
All figures have to be included in the report. Figures sent as separate files will not be considered.
You may optionally provide the data files. If there is a problem in your work, it may help the tutor understand where you made a mistake.
Source files
Remember that someone has to read your code, understand it and check that it is correct.
Provide all files in which you made changes!
Use variables with intuitively understandable names. If not, at least put a comment saying what it means.
If the code is more complex, add comments to it. Especially to parts which may not be straightforward to understand.
We recommend that you indent your code for better readability.