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/21 14:12] sebastian [List of assignments] |
spin:esc202_fs2022 [2022/04/11 14:18] sebastian [List of assignments] |
||
---|---|---|---|
Line 15: | Line 15: | ||
14. Mar. 2022: {{ :spin:sphkernels.pdf | SPH - Equations and Kernels}} | 14. Mar. 2022: {{ :spin:sphkernels.pdf | SPH - Equations and Kernels}} | ||
+ | |||
+ | 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}} | ||
====== Assignments ====== | ====== Assignments ====== | ||
Line 72: | Line 78: | ||
4. Now, calculate the density using the Monaghan kernel defined in the lecture. Plot and compare to the density you get from the “top-hat” kernel (the Monaghan result should be a little smoother). **(Hand in by March 20 2022)** | 4. Now, calculate the density using the Monaghan kernel defined in the lecture. Plot and compare to the density you get from the “top-hat” kernel (the Monaghan result should be a little smoother). **(Hand in by March 20 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 particles are concentrated in a high-density, high-pressure region. **(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! |