SS advectiondiffusion PowerLaw scheme
The main program sets up geometry of solution domain for 1D advective diffusion with uniform density rho and conductivity Gamma. Patankar's powerlaw scheme is used for advection. For illustrative purposes only, you can change the parameter "upwind" to zero, in order to use the centereddifference scheme for comparison.
solve.m solves the resulting system of linear equations.


Send mail to: Contact Email
Last modified: 5/08/2006 1:49 PM 