next up previous
Next: Hints Up: Problem 2 Previous: Preparation

Problem

Now modify your program from Problem 1 to use the convection

\begin{displaymath}
b(x,t) = 5(-(x_2-0.5), x_1-0.5).
\end{displaymath} (5)

Create a movie of your solution using the commands getframe and movie.

Check your answer: Your solution should increase close to $x = (0.75, 0.5)$ every whole second (including $t = 0$). It should then drift off counter-clockwise in the domain in the direction of the convection, and be gradually flattened out by the diffusion, until a new drop is added at the next whole second.

\includegraphics [width=10cm]{eps/solution2.eps}



Christoffer Cromvik 2004-04-25