I have seen a number of papers that propose a finite-difference method and then show the numerical results for it. Without providing a rigorous analysis(can be some summary or note or whatever, just no proofs involved) one can say method is of "second order". So to establish convergence the author would pick a point on the grid and measure the ratio of the differences between solutions, that is $$R:=\frac{u_h(h/2)-u_h(h)}{u_h(h/4)-u_h(h/2)}$$ then, he would say that we observe $2$ or $4$, so it confirms the expectations. It is in essence based on a pointwide convergence, thus if I measure that ratio at every single point on the grid(the initial grid with size $h$, the coarsest one) and observe a certain rate, then it would converge "on average" in the discrete $L^2$-norm, so as in the maximum $L^{\infty}$ error norm with the same rate as well. So what are the disadvantages of checking the convergence this way? I don't have an analytical solution to compare to but I want to verify somehow I have $L^2$ convergence that I have theoretically established. It might be "overkill" to do it this way as I would in fact be checking pointwise convergence, but it would still imply the needed type if convergence if I happen to observe the desired rate. Do I have any other options to establish that or the way I described is valid attempt? What if I don't observe it in some cases, how I can in fact check $L^2$ or $L^{\infty}$ convergence in practice? I have tested the method by using method of manufactured solution but there is an equation that I would like to check the convergence as well and I am not able to construct a solution(it is a weak solution so some of the derivatives don't exist and initial data is only continuous), therefore I need some "brute force" approach.
Tell me more
×
Computational Science Stack Exchange is a question and answer site for
scientists using computers to solve scientific problems. It's 100% free, no registration required.
|
|
It doesn't have to be $u_h$ at a grid point. You can apply this using any functional of $u_h$ over the domain, including the 2-norm. Assume a second order method, so $\| u_h - u \| \leq Ch^2$. Then $\| u_{2h} - u_h \| \leq \| u_{2h} - u\| + \| u - u_h \| = 5Ch^2$. Similarly $\| u_{4h} - u_{2h} \| \leq 20Ch^2$ and you get the ratio 4 if the code is correct. |
|||||||
|