User Tools

Site Tools


spin:esc203_fs2023

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:esc203_fs2023 [2023/03/13 13:29]
sebastian [List of assignments]
spin:esc203_fs2023 [2023/04/21 14:23] (current)
sebastian [List of assignments]
Line 22: Line 22:
   - {{ :​spin:​esc203.4.pdf | Fast Fourier Transform}}   - {{ :​spin:​esc203.4.pdf | Fast Fourier Transform}}
  
 +20. Mar. 2023:
 +  - {{ :​spin:​esc203.5.pdf | Fast Fourier Transform, part 2}}
 +
 +27. Mar. 2023:
 +  - {{ :​spin:​esc203.6.pdf | Solving PDEs, different methods compared}}
 +
 +3. Apr. 2023:
 +  - {{ :​spin:​esc203.7.pdf | Multigrid Method}}
 +17. Apr. 2023:
 +  - {{ :​spin:​week7_maccormack_sebastian.pdf | MacCormack'​s Method}}
 ====== Assignments ====== ====== Assignments ======
  
Line 73: Line 83:
     - Implement the Phong model described in the lecture. Once you are done, you can implement reflection and refraction for transmissive materials (glasses, coatings) into your model. Optional: try out the approximations that make the code run faster (Blinn-Phong model, Schlick'​s approximation,​ replacing the power alpha with gamma, assuming beta is small) **(hand in by Monday, March 6th 2023)**.     - Implement the Phong model described in the lecture. Once you are done, you can implement reflection and refraction for transmissive materials (glasses, coatings) into your model. Optional: try out the approximations that make the code run faster (Blinn-Phong model, Schlick'​s approximation,​ replacing the power alpha with gamma, assuming beta is small) **(hand in by Monday, March 6th 2023)**.
     - Ray trace the triangulated Utah tea pot. You can start by implementing the bounding volume hierarchy treewalk algorithm to quickly find the intersection points on the triangles. You can then interpolate the surface normals using the barycentric coordinate system on the triangle **(hand in by  Monday, March 13th, 2023)**.     - Ray trace the triangulated Utah tea pot. You can start by implementing the bounding volume hierarchy treewalk algorithm to quickly find the intersection points on the triangles. You can then interpolate the surface normals using the barycentric coordinate system on the triangle **(hand in by  Monday, March 13th, 2023)**.
 +Fourier transforms:
     - Implement the Cooley-Tuckey method for the FFT algorithm by splitting the W matrix into even and odd parts iteratively until you reach W_2 **(hand in by Monday, March 20th, 2023)**.     - Implement the Cooley-Tuckey method for the FFT algorithm by splitting the W matrix into even and odd parts iteratively until you reach W_2 **(hand in by Monday, March 20th, 2023)**.
 +    - Use the 2D-FFT to calculate the potential of a particle distribution on a 2D grid. Start by assigning the masses of the particles to the cells using a mass-assignment scheme of your choice (i.e. nearest grid point, cloud in cell, etc.), which will give you a density grid. Then you can Fourier transform the density grid in two dimensions, from which you can easily calculate the potential in Fourier space, according to the Poisson equation written in the lecture notes. You can then get the real-space potential by inverse Fourier transformation of the Fourier space potential **(hand in by Monday, April 3rd, 2023)**.
 +Muligrid method:
 +    - Implement a 1-step v-cycle of the multi-grid approach and compare the result to SOR. After this, you can try out different cycles, e.g. the deep v-cycle, or the w-cycle **(hand in by Monday, April 17th, 2023)**.
 +MacCormack'​s method:
 +    - Otional bonus task: Implement MacCormack'​s method for solving the 1D-Burgers'​ Equation and compare to the results obtained using the Lax-Wendroff method.
spin/esc203_fs2023.1678710547.txt.gz ยท Last modified: 2023/03/13 13:29 by sebastian