fdplanar.m | The program uses the finite difference method to models the 1D planar diffusion of particles from a planar impulse source of 1 unit, with a diffusivity alpha [cm^2/s]. There are two solutions, one test case with front and rear boundary conditions and one reference case with no boundaries and twice the array size, eventually having insulated boundaries far from the source. Hence, one can modify the boundary conditions of the test case and compare with the matched boundaries of the reference case.
fdplanar.m
|
|