SS advection-diffusion Power-Law scheme
The main program sets up geometry of solution domain for 1-D advective diffusion with uniform density rho and conductivity Gamma. Patankar's power-law scheme is used for advection. For illustrative purposes only, you can change the parameter "upwind" to zero, in order to use the centered-difference 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 |