Simulations of high temperature processes and thermodynamic optimization of metallic and oxide systems