A novel computational framework to calculate Gibbs energy and phase transitions under external magnetic fields applied to the Bi–Mn system. (15th January 2023)