Ideally this can be implemented as a different parametrization of the solenoid.xml file.
Material_in_the_magnet.Helmholtz.xlsx