Physics 212, 2018: Lab 12

From Ilya Nemenman: Theoretical Biophysics @ Emory
Jump to: navigation, search
Emory Logo

Back to the main Teaching page.

Back to Physics 212, 2018: Computational Modeling.

After you are done with Module 4, do the following.

Download the script for solving the diffusion equation from the main course web site. Focus on the sequential solution there only. Understand the script. Try to modify the script to have

  1. Absorbing (rather than reflecting) boundary conditions.
  2. A heat source somewhere in the lattice, which produces a certain amount of heat per unit time always.
  3. Generate a movie of thee 2d temperature profile.
  4. If you have time, repeat the steps above with thee following modifications. First, interpret the diffusion equation as a particle (not heat) diffusion. Modify it to account for the possibility that if to particles collide, they annihilate each other (in other words, introduce a sink term proportional to the square of the particle density).