User Tools

Site Tools


spin:esc202_fs2022

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
spin:esc202_fs2022 [2022/04/04 14:23]
stadel [Lectures]
spin:esc202_fs2022 [2022/04/11 14:25] (current)
stadel [Lectures]
Line 20: Line 20:
 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}}+4. Apr. 2022: {{ :​spin:​2-disingmodel.pdf |2-D Ising Model}} 
 + 
 +11. Apr. 2022: {{ :​spin:​travelling_salesperson.pdf |Traveling Salesperson}}
 ====== Assignments ====== ====== Assignments ======
  
Line 79: Line 81:
  
 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!
spin/esc202_fs2022.1649074990.txt.gz · Last modified: 2022/04/04 14:23 by stadel