Carbon release by selective alloying of transition metal carbides. 
We have performed first principles density functional theory calculations on TiC alloyed on the Ti sublattice with 3d transition metals ranging from Sc to Zn.  The theory is accompanied by experimental investigations, both as regards materials synthesis as well as characterization.  Our results show that by dissolving a metal with a weak ability to form carbides, the stability of the alloy is lowered and a driving force for the release of carbon from the carbide is created.  During thin film growth of a metal carbide this effect will favour the formation of a nanocomposite with carbide grains in a carbon matrix.  The choice of alloying element as well as its concentration will affect the relative amount of carbon in the carbide and in the carbon matrix.  This can be used to design the structures of nanocomposites and their physical and chemical properties.  One example of applications is as low-friction coatings.  Of the materials studied, we suggest the late 3d transition metals as the most promising elements for this phenomenon, at least when alloying with TiC.