You are on page 1of 2

AE706 Assignment-3

The timestep that I used was 0.001 seconds. I got the following velocity profiles

As we can see the profiles got using FTCS, Crank-Nicolson and the analytical solution match up
very well.

Also I checked the working of FTCS for timestep of 0.002 seconds(which doesn’t satisfy the
stability condition) and this is the graph I got

As expected the algorithm becomes unstable and blows up.

Next I plotted the error graph for both the schemes at all three time intervals.
We observe that the error is significantly less for t=0.8 and 1.5 seconds for both the
schemes(almost equal to zero). FTCS has positive error at 0.15 secs and Crank-Nicolson has
negative error at 0.15 secs.

You might also like