To find the Order of Convergence of the heat equation when exact solution is not given

Hi, i am trying to find order of convergence of heat equation when exact solution is not given only data is given. My code is running but it is not giving optimal results. Can you help me please.

Here, is my code.
Heat_twoD_exact_unkown.edp (2.3 KB)

Hi Monirul,
if you do not have the exact solution, the best you can do is to check consistency by using an over-kill solution computed on a very fine mesh.

Another option is to construct a exact solution by the “method of manufactured solutions”.

Best,
Michael

Thanks for you replies. Can you modify my code accordingly and send me. I have provided the code.