finite volume two dimensional steady-state diffusion in unstructured triangular mesh



I have a mesh consisting of triangles on which I'm to calculate heat
conduction. I understand how to calculate when the mesh consists of
structured square cells and I have an idea of how to do it with
triangles, but I'm wondering if someone have any good documentation
just to be sure.

My problem is this, how to select the centre of the triangle and how to
calculate the distance between nodes. My current idea is to use the
centroid as centre and to calculate the distance between nodes by
taking the shortest distance from the centre to shared edge for both
the triangles and adding them up. Does anyone know how this is usually
done?

--
Erik Wikström

.



Relevant Pages