Here are the equations:
c * dT/dt = Q + div ( k * grad T ) # Heat equation
div ( s * grad phi ) = 0 # Electrical potential
Q = s * ( grad phi ) ^2 # Source term
c = Specific heat
k = Thermal conductivity
s = Electrical conductivity
I had a look at the piezo example and got some idea how it works but I think I need some assistance here. I'm more of a old school person when it comes to FEM but eager to learn.