Research Article

On the Comparison between Compact Finite Difference and Pseudospectral Approaches for Solving Similarity Boundary Layer Problems

Table 3

Comparison of the SRM and CFD-RM results for the solution of in Example 2.

SRM CFD-RM
CPU time CPU time

0 0 1 1 40 −0.63371481 0.43 250 −0.63371481 0.86
2 0 1 1 40 −1.30748109 0.50 200 −1.30748109 0.26
4 0 1 1 40 −1.79277127 0.55 230 −1.79277127 0.26
1 1 1 1 40 −1.55880093 0.12 210 −1.55880093 0.34
1 2 1 1 40 −2.31812942 0.23 340 −2.31812942 0.88
1 4 1 1 40 −4.14430512 0.29 410 −4.14430512 1.02
1 0 0 1 40 −1.32052206 0.11 180 −1.32052206 0.19
1 0 5 1 40 0.17151463 0.28 280 0.17151463 1.09
1 0 10 1 40 1.49371495 0.52 500 1.49371495 8.47
1 0 1 2 40 −0.61644148 0.18 200 −0.61644148 0.44
1 0 1 4 40 −1.84589956 0.27 310 −1.84589956 0.74
1 0 1 8 40 −2.65350852 0.36 620 −2.65350852 6.12