Exercises

Statistical Physics and Computer Simulation for CSE

Prof. Philippe H. Hünenberger/ FS25

Spring semester 2025 (FS25)

17 February – 30 May 2025 (Excl. Easter Break: 21-25 April)

Exercise Sessions

Thursdays, 12:45-13.30, HCI J7 , ETH Hönggerberg (14x1 hours), starting from the first semester week

Principle

The exercises of the course consist of two phases :

  • In a first phase there will be nine formal exercises E1-E9 (sometimes involving a programming component) to be carried out individually on a weekly basis. To help you solve the series, two assistants will be available to you during a one-hour weekly session. The last exercise (E9) is a practical introduction to the C++ simulation program MDAtom that will be used in the second phase of the exercises
  • In a second phase you will select by groups of two (exceptionally three) one student project among twelve project options P1-P12, which you will carry out over the remaining weeks, and for which you will give a five-minutes presentation at the end of the semester (last lecture plus last exercise session). The projects consist of small extensions of the program MDAtom, which you will have to implement, test, and discuss. Giving the final presentation is compulsory if you want to obtain the +0.25 points examination bonus

Computing component

The second-phase projects as well as a few of the first-phase exercises involve programming/computation components. These will be performed on the students' personal laptops (so, you have to bring them to the exercise sessions!). The default language is C++ (at least for the material we provide, i.e. code skeletons in E1-E9 and program MDAtom), but you may also use other languages (e.g. jupyter or mathematica notebooks) for your analyses as you see fit.

Participation

  • For the first-phase exercises (exercises E1-E9), it is highly recommended that you carry out the exercise, attend the session with the assistants, and return your solution to the main assistant. However, this is your responsibility (i.e. we won't check). If you return a solution, you may do so within at most six days of the corresponding exercise session, and you will receive feedback from the assistants within one week of your submission
  • For the second-phase projects (your selected project P# amonng P1-P12), your performance will be taken into account in the final exam mark as a learning component, with a possible bonus of 0.25 points on top of the exam grade for students who have carried out the practical exercises and presented their project at the last lecture (in case of exam repetition, you can reuse the bonus from a previous semester)

Exercise Material

The material for the exercises will be available on the web site (see document page). These include:

  • The scripts of the nine exercises E1-E9 in pdf format possibly accompanied by associated file sets in tar format  (posted latest in the evening preceding the start of new exercise)
  • The sample solutions of the nine exercises E1-E9 in pdf format (posted one week after the exercise session)
  • The documentation of the MDAtom program as a pdf file (posted around mid-semester)
  • The document describing the twelve possible student projects P1-P12 (posted around mid-semester)
  • The source code of the MDAtom program (posted around mid-semester)

Assistant schedule

first name last name room tel code 1st 2nd 3rd project
Patricia Brandl HCI G243.2 38151 PB E4,E7+E9 E8+E9 E3 P8
Shu-Yu Chen HCI G235 38885 SC E8+E9 E2 E6 P7,P12
Igor Gordiy HCI G241 34590 IG E5 E1 E4,E8+E9 P6,P11
Idil Ismail HCI G233 32338 II E6 E7+E9 E1,E2 P4,P10
Domen Pregeljc HCI G227 34593 DP E1 E3,E4 E5 P1,P2,P3
Franz Waibl HCI G227 25504 FW E2,E3 E6 E7+E9 P5,P9

Assistant first name, last name, office, phone number, assigned exercises, assigned projects; the 1st assistant is the main assistant (knows the exercise extremely well, leads the exercise session, and corrects student reports); the 2nd assistant is the helper (knows the exercise extremely well, is present at the exercise session); the 3rd assistant is for possible replacement (knows the exercise well and may be called if another assistant is sick)

Exercise schedule

exercise week date 1st 2nd 3rd theme
E1 08 20.02.2025 DP IG II Ideal and Real Gas (Start)
E1 09 27.02.2025 DP IG II Ideal and Real Gas (End)
E2 10 06.03.2025 FW SC II Classical Mechanics
E3 11 13.03.2025 FW DP PB Quantum Mechanics
E4 12 20.03.2025 PB DP IG Phenomenological Thermodynamics
E5 13 27.03.2025 IG II DP Combinatorics and Statistics
E6 14 03.04.2025 II FW SC Statistical Mechanics
E7+E9 15 10.04.2025 PB II FW Integrators + MDAtom-Intro
E8+E9 16 17.04.2025 SC PB IG Monte Carlo Sampling + MDAtom-Intro
- 17 24.04.2025 - - - Easter Break (No Exercise Session)
P# 18 - - - - Independent Work on Student Projects
P# 19 - - - - Independent Work on Student Projects
P# 20 - - - - Independent Work on Student Projects
P# 21 22.05.2025 - - - Student Presentations (Second Part)
- 22 29.05.2025 - - - Auffahrt (No Exercise Session)

Exercise number, calendar week, date, 1st assistant, 2nd assistant, 3rd assistant, theme

Student projects

project assistant theme
P1 DP Integration algorithms for MD
P2 DP Interatomic interaction function
P3 DP Simulation of molecular systems
P4 II Searching neighbor atoms
P5 FW Analysis of MD trajectories
P6 IG MD with coupling to a temperature or pressure bath
P7 SC Stochastic dynamics and the diffusion constant
P8 PB Monte Carlo sampling methods
P9 FW Simulation of a liquid film
P10 II Simulation of atomic liquids
P11 IG Extend classical particle interaction calculation
P12 SC Calculate forces from an electronic structure method (Born–Oppenheimer MD)

Project number, responsible assistant, theme

Students

last first project assistant
Croft Lara P#(I) XX

Student last name, first name, project, assistant

JavaScript has been disabled in your browser