Purpose
The purpose of this paper is to present a stable and efficient numerical technique based on modified trigonometric cubic B-spline functions for solving the time-fractional diffusion equation (TFDE). The TFDE has numerous applications to model many real objects and processes.
Design/methodology/approach
The time-fractional derivative is used in the Caputo sense. A modification is made in trigonometric cubic B-spline (TCB) functions for handling the Dirichlet boundary conditions. The modified TCB functions have been used to discretize the space derivatives. The stability of the technique is also discussed.
Findings
The obtained results are compared with those reported earlier showing that the present technique gives highly accurate results. The stability analysis shows that the method is unconditionally stable. Furthermore, this technique is efficient and requires less storage.
Originality/value
The current work is novel for solving TFDE. This technique is unconditionally stable and gives better results than existing results (Ford et al., 2011; Sayevand et al., 2016; Ghanbari and Atangana, 2020).
A collocation finite element method for solving fractional diffusion equation for force-free case is considered. In this paper, we develop an approximation method based on collocation finite elements by cubic B-spline functions to solve fractional diffusion equation for force-free case formulated with Riemann-Liouville operator. Some numerical examples of interest are provided to show the accuracy of the method. A comparison between exact analytical solution and a numerical one has been made.