Title: A computational chemistry method for the dynamics of macroscopic systems applied to nuclear reactor accidents