Thermodynamic treatment of uranium dioxide based nuclear fuel