A finite element analysis approach to improve interoperability for thermal energy simulations