Research Article

Solution of the Porous Media Equation by a Compact Finite Difference Method

Table 5

Comparison of the CFD6 with the FD4 for various values of 𝑥 and 𝑡 with Δ 𝑡 = 0 . 0 0 0 1 , 𝑁 = 1 1 , computational domain [ 1 , 2 ] in Example 3.5.

𝑥 𝑡 ExactNumericalAbsolute error
FD4CFD6FD4CFD6

1.10.101.1103661.1103651.1103671.38E-061.31E-06
1.006.7173246.7172896.7173313.45E-057.52E-06
5.0020024.05981320023.95664120024.0822341.03E-012.24E-02

1.50.100.8142690.8142350.8142683.33E-057.68E-07
1.004.9260374.9257914.9260302.47E-046.95E-06
5.0014684.31053014683.57475214684.2896757.36E-012.09E-02

1.90.100.6428440.6428300.6428421.34E-051.70E-06
1.003.8889773.8888813.8889649.61E-051.25E-05
5.0011592.87673411592.58937511592.8393342.87E-013.74E-02