Research Article

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

Table 8

The absolute errors for various values of 𝑥 , Δ 𝑡 and 𝑁 for 𝑡 = 0 . 0 5 in Example 3.2.

𝑥 Δ 𝑡 𝑁 = 1 1 𝑁 = 2 1
Absolute errorCPU (s)Absolute errorCPU (s)

0.11.0E-041.11E-140.01.74E-040.0
1.0E-057.09E-142.03.04E-153.0
1.0E-064.77E-1416.03.04E-1430.0
1.0E-072.49E-13162.03.03E-13295.0
1.0E-083.25E-121640.03.27E-122964.0

0.51.0E-042.26E-150.08.19E-040.0
1.0E-051.19E-142.07.61E-153.0
1.0E-068.17E-1416.07.66E-1430.0
1.0E-078.26E-13162.07.84E-13295.0
1.0E-088.74E-121640.08.62E-122964.0

0.91.0E-041.65E-140.007.02E-040.0
1.0E-058.23E-142.002.50E-153.0
1.0E-061.15E-1316.002.28E-1430.0
1.0E-073.66E-13162.002.12E-13295.0
1.0E-083.07E-121640.002.76E-122964.0