I want to write a simple simulation for heat conduction in a unstructured triangular mesh.
I already made it work for a structured rectangular grid with the ADI method, but now I need more complex geometries.
With $d_x=\frac{\kappa \Delta t}{(\Delta x)^2}$ and $d_y=\frac{\kappa \Delta t}{(\Delta y)^2}$ you can say:
$$d_x T_{i+1,j}^{n+1}+d_x T_{i-1,j}^{n+1}-(2d_x+2d_y+1)T_{i,j}^{n+1}+d_y T_{i,j-1}^{n+1}+d_y T_{i,j+1}^{n+1}=-T_{i,j}^n\ ,$$
and you basically have a penta-diagonal equations system.
For the triangular grid, the only thing I came up with till now is to calculate the heat-flux-density over every edge, sum them up for every cell and add them to the temperature of the cell. For me this seems to be a explicit method, which (if it follows the same behaviour than the FTCS approximation) should be pretty instable.
Thats why I want to come up with an implicit method, but till now, I'm not able to.
Has anybody some advice or some estimation on the stability of my explained method?