I am trying to solve a PDE for heat diffusion, but I have a problem with the boundary region. When I change the boundary region size, the estimation of temperature increases even when no other parameter is changed.
Here is my code.
Boundary region [-10, 10] in x and y
eq1 = Derivative[0, 0, 1][f][x, y, t] -
0.14*(Derivative[2, 0, 0][f][x, y, t] +
Derivative[0, 2, 0][f][x, y, t]) == Exp[-(x^2/(2^2) + y^2/(2^2))]
ic = {f[x, y, 0] == 24};
bc = {f[-10, y, t] == 24, f[10, y, t] == 24, f[x, -10, t] == 24,
f[x, 10, t] == 24};
sol1 = NDSolve[{eq1, ic, bc},
f, {x, -10, 10}, {y, -10, 10}, {t, 0, 1200}]
Boundary region [-40,40] in x and y
Plot[Evaluate[{f[0, 0, t] /. sol1[[1]], u[0, 0, t] /. sol2[[1]]}], {t,
0, 1200}, PlotRange -> All, Frame -> True]
Plot[Evaluate[{f[x, 0, 1] /. sol1[[1]],
u[x, 0, 1] /. sol2[[1]]}], {x, -10, 10}, PlotRange -> All,
Frame -> True]

Time history of heat in the interior at (0,0)

Spatial distribution of heat at t = 1 and y = 0 for x in [-10, 10]


