This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
spin:esc202_fs2022 [2022/03/28 16:34] stadel [Lectures] |
spin:esc202_fs2022 [2022/04/11 14:18] sebastian [List of assignments] |
||
---|---|---|---|
Line 19: | Line 19: | ||
28. Mar. 2022: {{ :spin:sphwindtunnel.pdf |SPH - Wind Tunnel}} | 28. Mar. 2022: {{ :spin:sphwindtunnel.pdf |SPH - Wind Tunnel}} | ||
+ | |||
+ | 4. Apr. 2022: {{ :spin:2-disingmodel.pdf |"2-D Ising Model}} | ||
====== Assignments ====== | ====== Assignments ====== | ||
Line 77: | Line 79: | ||
5. Implement the SPH code introduced in the lecture to simulate the movement of the particles in the box, following the laws of hydrodynamics. You can start with a random particle distribution, or even simulate a "blast" with initial conditions where a particle somewhere has a high energy. **(Hand in by March 27 2022)** | 5. Implement the SPH code introduced in the lecture to simulate the movement of the particles in the box, following the laws of hydrodynamics. You can start with a random particle distribution, or even simulate a "blast" with initial conditions where a particle somewhere has a high energy. **(Hand in by March 27 2022)** | ||
+ | |||
+ | 6. 2D Ising Model: Using the Metropolis algorithm, plot the mean magnetization of a N by N grid of spins (+1 and -1) depending on the temperature. Visualise the spin state of the grid at different temperatures **(due April 11th)**! | ||
+ | |||
+ | 7. Metropolis algorithm II: Implement the traveling merchant problem **(due April 17th)**! Have a look at some of the data found at http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/tsp/ to test your algorithm! |