Finite element analysis of thermal fields in the pulsed power magnetic field generator