What kind of friction? What is the temperate increase you are talking about. Are we talking about 3°C or 80°C type temperatures? Also you may want to look at the other discussion going on.
"Can a Semiconductor Generate Electricity from Heat":http://www.eeweb.com/electronics-forum/can-semiductor-generate-electricity-/