Abstract
The main objective of this work is to develop Matlab programs for solving the time-fractional diffusion equation (TFDE) with reflecting and absorbing boundary conditions on finite and infinite domains. Essentially, there are three major codes, one for finding the exact solution of the TFDE and other two are for finding the numerical solution of the TFDE. The code for finding the exact solutions is based on the fundamental solution of the TFDE, whereas the codes for finding the numerical solutions are based on the explicit and the implicit finite difference schemes, respectively. Finally, we illustrate the effectiveness of the codes by applying them to TFDEs with sharp initial data and for various reflecting and absorbing boundary conditions both on finite and infinite domains. The results show the difference of solutions between the standard diffusion equation and the time-fractional diffusion equation.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.