Figure 1.
Flowchart of computational algorithm for solving nonlinear time-fractional Klein–Gordon equations using uniform hyperbolic polynomial B-spline.
Figure 1.
Flowchart of computational algorithm for solving nonlinear time-fractional Klein–Gordon equations using uniform hyperbolic polynomial B-spline.
Figure 2.
3D space–time graphs of the numerical approximation (a) and the exact solution (b) for Example 1. The solutions were computed with spatial and temporal step sizes and .
Figure 2.
3D space–time graphs of the numerical approximation (a) and the exact solution (b) for Example 1. The solutions were computed with spatial and temporal step sizes and .
Figure 3.
3D absolute error distribution (a) and 2D absolute heat graph (b) using spatial step size and time step sizes for Example 1.
Figure 3.
3D absolute error distribution (a) and 2D absolute heat graph (b) using spatial step size and time step sizes for Example 1.
Figure 4.
The numerical and exact solutions are plotted for different time levels for Example 1 with spatial and temporal step sizes and .
Figure 4.
The numerical and exact solutions are plotted for different time levels for Example 1 with spatial and temporal step sizes and .
Figure 5.
2D error distribution for Example 1 with parameters and .
Figure 5.
2D error distribution for Example 1 with parameters and .
Figure 6.
3D surface plot of numerical (a) and exact (b) solutions for Example 2 with spatial and temporal step sizes and .
Figure 6.
3D surface plot of numerical (a) and exact (b) solutions for Example 2 with spatial and temporal step sizes and .
Figure 7.
3D absolute error surface with spatial step size and time step size for Example 2.
Figure 7.
3D absolute error surface with spatial step size and time step size for Example 2.
Figure 8.
The numerical and the exact solutions are plotted at different time levels for Example 2 with spatial and temporal step sizes and .
Figure 8.
The numerical and the exact solutions are plotted at different time levels for Example 2 with spatial and temporal step sizes and .
Figure 9.
2D absolute error profile for Example 2 with parameters and .
Figure 9.
2D absolute error profile for Example 2 with parameters and .
Figure 10.
3D surface plot of the numerical solution (a) and exact solution (b) for Example 3 with spatial and temporal step sizes and .
Figure 10.
3D surface plot of the numerical solution (a) and exact solution (b) for Example 3 with spatial and temporal step sizes and .
Figure 11.
3D absolute error surface and corresponding heat map for Example 3 with spatial step size and time step size .
Figure 11.
3D absolute error surface and corresponding heat map for Example 3 with spatial step size and time step size .
Figure 12.
The numerical and the exact solutions at different time levels for Example 3 with spatial and temporal step size and .
Figure 12.
The numerical and the exact solutions at different time levels for Example 3 with spatial and temporal step size and .
Figure 13.
Two-dimensional absolute error profile for Example 3 with parameter and .
Figure 13.
Two-dimensional absolute error profile for Example 3 with parameter and .
Figure 14.
3D surface plot of the numerical solution (a) and the exact solution (b) when spatial and temporal step sizes and for Example 4.
Figure 14.
3D surface plot of the numerical solution (a) and the exact solution (b) when spatial and temporal step sizes and for Example 4.
Figure 15.
3D absolute error surface and corresponding heat map with spatial step size and time step size for Example 4.
Figure 15.
3D absolute error surface and corresponding heat map with spatial step size and time step size for Example 4.
Figure 16.
The numerical and the exact solutions for Example 4 at different time levels with spatial and temporal step sizes and .
Figure 16.
The numerical and the exact solutions for Example 4 at different time levels with spatial and temporal step sizes and .
Figure 17.
2D absolute error profile for Example 4 with spatial and temporal step sizes and .
Figure 17.
2D absolute error profile for Example 4 with spatial and temporal step sizes and .
Figure 18.
3D surface plot of the numerical solution (a) and the exact solution (b) when spatial and temporal step sizes and for Example 5.
Figure 18.
3D surface plot of the numerical solution (a) and the exact solution (b) when spatial and temporal step sizes and for Example 5.
Figure 19.
3D absolute error surface and corresponding heat map with spatial step size and time step size for Example 5.
Figure 19.
3D absolute error surface and corresponding heat map with spatial step size and time step size for Example 5.
Figure 20.
The numerical and the exact solutions for Example 5 at different time levels with spatial and temporal step sizes and .
Figure 20.
The numerical and the exact solutions for Example 5 at different time levels with spatial and temporal step sizes and .
Figure 21.
2D absolute error profile for Example 5 with spatial and temporal step sizes and .
Figure 21.
2D absolute error profile for Example 5 with spatial and temporal step sizes and .
Table 1.
Absolute error comparison for Example 1 at with fractional order .
Table 1.
Absolute error comparison for Example 1 at with fractional order .
| | Sinc-Chebyshev [3] | Proposed Method |
|---|
| | | | |
|---|
| 0.1 | | | | |
| 0.2 | | | | |
| 0.3 | | | | |
| 0.4 | | | | |
| 0.5 | | | | |
| 0.6 | | | | |
| 0.7 | | | | |
| 0.8 | | | | |
| 0.9 | | | | |
| CPU | Time (s) | | | 168 s |
Table 2.
Absolute error comparison for Example 1 at with fractional order .
Table 2.
Absolute error comparison for Example 1 at with fractional order .
| | Sinc-Chebyshev [3] | Proposed Method |
|---|
| | | | |
|---|
| 0.1 | | | | |
| 0.2 | | | | |
| 0.3 | | | | |
| 0.4 | | | | |
| 0.5 | | | | |
| 0.6 | | | | |
| 0.7 | | | | |
| 0.8 | | | | |
| 0.9 | | | | |
| CPU | Time (s) | | | 160 s |
Table 3.
Numerical solutions for Example 1 at for varying values of .
Table 3.
Numerical solutions for Example 1 at for varying values of .
| x | | | | | |
|---|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| CPU | |
| Time (s) | | | | | |
Table 4.
The maximum absolute error with both spatial and temporal convergence rate for Example 1 at and for .
Table 4.
The maximum absolute error with both spatial and temporal convergence rate for Example 1 at and for .
| Spatial-Convergence Rate | Temporal Convergence Rate |
|---|
| | | Second | | | | Second |
|---|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
Table 5.
Absolute error and computational time for different spatial mesh sizes with fixed time step and fractional order at for Example 1.
Table 5.
Absolute error and computational time for different spatial mesh sizes with fixed time step and fractional order at for Example 1.
| | | CPU Time (s) | | CPU Time (s) |
|---|
| | | |
|---|
| M | | | | |
| | | | |
| | | | |
Table 6.
Comparison of absolute errors for Example 2 at and with fractional order .
Table 6.
Comparison of absolute errors for Example 2 at and with fractional order .
| | Sinc-Chebyshev [3] | Proposed Method |
|---|
| | | | |
|---|
| 0.1 | | | | |
| 0.2 | | | | |
| 0.3 | | | | |
| 0.4 | | | | |
| 0.5 | | | | |
| 0.6 | | | | |
| 0.7 | | | | |
| 0.8 | | | | |
| 0.9 | | | | |
| CPU | Time (s) | | | s |
Table 7.
Absolute error and computational time for different spatial mesh sizes with fixed time step and fractional order at for Example 2.
Table 7.
Absolute error and computational time for different spatial mesh sizes with fixed time step and fractional order at for Example 2.
| | | CPU Time (s) | | CPU Time (s) |
|---|
| | | |
| M | | | | |
| | | | |
| | | | |
Table 8.
Comparison of absolute errors for Example 2 at and with fractional order .
Table 8.
Comparison of absolute errors for Example 2 at and with fractional order .
| | Sinc-Chebyshev [3] | Proposed Method |
|---|
| | | | |
|---|
| 0.1 | | | | |
| 0.2 | | | | |
| 0.3 | | | | |
| 0.4 | | | | |
| 0.5 | | | | |
| 0.6 | | | | |
| 0.7 | | | | |
| 0.8 | | | | |
| 0.9 | | | | |
| CPU | Time (s) | | | s |
Table 9.
Approximate solutions for Example 2 at for different values of .
Table 9.
Approximate solutions for Example 2 at for different values of .
| x | | | | | | |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| CPU | |
| Time (s) | | | | | | |
Table 10.
The -norm with temporal convergence rate for Example 2 at when .
Table 10.
The -norm with temporal convergence rate for Example 2 at when .
| | | CPU Time | | CPU Time |
|---|
| | | Second | | | Second |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Table 11.
The -norm with spatial-convergence rate for Example 2 at when .
Table 11.
The -norm with spatial-convergence rate for Example 2 at when .
| | | CPU Time | | CPU Time |
|---|
| | | Second | | | Second |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Table 12.
error comparison with implicit RBF meshless approach and the present scheme for Example 3 with varying , fixed and .
Table 12.
error comparison with implicit RBF meshless approach and the present scheme for Example 3 with varying , fixed and .
| RBF [4] | CTB-Spline [17] | Proposed Method | CPU Time |
|---|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
Table 13.
Absolute error and computational time for different spatial mesh sizes with time step size and fractional order at for Example 3.
Table 13.
Absolute error and computational time for different spatial mesh sizes with time step size and fractional order at for Example 3.
| | | CPU Time (s) | | CPU Time (s) |
|---|
| | | |
| M | | | | |
| | | | |
| | | | |
Table 14.
The error with temporal convergence rate for Example 3 presented with varying values of and fixed at .
Table 14.
The error with temporal convergence rate for Example 3 presented with varying values of and fixed at .
| | | CPU Time | | CPU Time |
|---|
| | | Second | | | Second |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | 176 | | | 167 |
Table 15.
The errors with spatial-convergence rate for Example 3 at with . Results are shown for and across different spatial step size h.
Table 15.
The errors with spatial-convergence rate for Example 3 at with . Results are shown for and across different spatial step size h.
| | | CPU Time | | CPU Time |
|---|
| | | Second | | | Second |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Table 16.
The numerical solutions for Example 3 at for across varying values of .
Table 16.
The numerical solutions for Example 3 at for across varying values of .
| x | | | | | |
|---|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| CPU | |
| Time (s) | | | | | |
Table 17.
The error norm with both spatial and temporal convergence rates is presented in the table for Example 4 at at fractional order .
Table 17.
The error norm with both spatial and temporal convergence rates is presented in the table for Example 4 at at fractional order .
| Spatial-Convergence Rate | Temporal Convergence Rate |
|---|
| | | Second | | | | Second |
|---|
| | | 160 | | | | |
| | | 161 | | | | |
| | | 163 | | | | |
| | | 167 | | | | |
| | | 174 | | | | |
Table 18.
The error norm comparison with radial basis functions and Chebyshev polynomials for Example 4 at .
Table 18.
The error norm comparison with radial basis functions and Chebyshev polynomials for Example 4 at .
| RBF and Chebyshev [26] | Proposed Method |
|---|
| | | | | |
|---|
| 3 | | | | | |
| 5 | | | | | |
| 9 | | | | | |
Table 19.
The numerical solutions of Example 4 at for different fractional orders and .
Table 19.
The numerical solutions of Example 4 at for different fractional orders and .
| x | | | | | |
|---|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| CPU | |
| Time (s) | | | | | |
Table 20.
Absolute error and computational time for different spatial mesh sizes with fixed time step and fractional order at for Example 4.
Table 20.
Absolute error and computational time for different spatial mesh sizes with fixed time step and fractional order at for Example 4.
| | | CPU Time (s) | | CPU Time (s) |
|---|
| | | |
| M | | | | |
| | | | |
| | | | |
Table 21.
The numerical solutions of Example 5 at for different values of fractional orders against the exact solution (for ), for and .
Table 21.
The numerical solutions of Example 5 at for different values of fractional orders against the exact solution (for ), for and .
| x | | | | | | |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| CPU | |
| Time (s) | | | | | | |
Table 22.
Absolute errors for Example 5 with , at for different fractional orders against the exact solution (for ).
Table 22.
Absolute errors for Example 5 with , at for different fractional orders against the exact solution (for ).
| x | | | | |
|---|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| Time (s) | | | | |
Table 23.
The error and Convergence rate when at for Example 5.
Table 23.
The error and Convergence rate when at for Example 5.
| | | CPU Time | | CPU Time |
|---|
| | | Second | | | Second |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Table 24.
The error and Convergence rate when at for Example 5.
Table 24.
The error and Convergence rate when at for Example 5.
| | | CPU Time | | CPU Time |
|---|
| | | Second | | | Second |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Table 25.
Absolute error and computational time for different spatial mesh sizes with fixed time step and fractional order at for Example 5.
Table 25.
Absolute error and computational time for different spatial mesh sizes with fixed time step and fractional order at for Example 5.
| | | CPU Time (s) | | CPU Time (s) |
|---|
| | | |
| M | | | | |
| | | | |
| | | | |