This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
spin:esc202_fs2022 [2022/03/21 14:52] sebastian [List of assignments] |
spin:esc202_fs2022 [2022/04/11 14:25] stadel [Lectures] |
||
---|---|---|---|
Line 17: | Line 17: | ||
21. Mar. 2022: {{ :spin:sphmainequations.pdf | SPH - Main numerical equations}} | 21. Mar. 2022: {{ :spin:sphmainequations.pdf | SPH - Main numerical equations}} | ||
+ | |||
+ | 28. Mar. 2022: {{ :spin:sphwindtunnel.pdf |SPH - Wind Tunnel}} | ||
+ | |||
+ | 4. Apr. 2022: {{ :spin:2-disingmodel.pdf |2-D Ising Model}} | ||
+ | |||
+ | 11. Apr. 2022: {{ :spin:travelling_salesperson.pdf |Traveling Salesperson}} | ||
====== Assignments ====== | ====== Assignments ====== | ||
Line 75: | 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! |