Performing a process in metal refining