Z-pinch dynamic hohlraum can effectively convert Z-pinch plasma kinetic energy into radiation field energy, which has a potential to implode a pellet filled with deuterium-tritium fuel to fusion conditions when the drive current is sufficiently large. To understand the formation process of Z-pinch dynamic hohlraum on JULONG-I facility with a typical drive current of 8-10 MA, a new radiation magneto-hydrodynamics code is developed based on the program MULTI-IFE. MULTI-IFE is a one-dimensional, two-temperature, multi-group, open-source radiation hydrodynamic code, which is initially designed for laser and heavy ion driven fusion. The original program is upgraded to simulate Z-pinch related experiments by introducing Lorentz force, Joule heating and the evolution of magnetic field into the code. Numerical results suggest that a shock wave and a thermal wave will be launched when the high speed plasma impacts onto the foam converter. The thermal wave propagates much faster than shock wave, making the foam become hot prior to the arrival of shock wave. For the load parameters and drive current of shot 0180, the calculated propagation speed of thermal wave and shock wave are about 36.1 cm/s and 17.6 cm/s, respectively. The shock wave will be reflected when it arrives at the foam center and the speed of reflected shock wave is about 12.9 cm/s. Calculations also indicate that the plastic foam will expand obviously due to the high temperature radiation environment (~30 eV) around it before the collision between tungsten plasma and foam converter. The evolution of radial radiation temperature profile shows that a pair of bright strips pointing to the foam center can be observed by an on-axis streak camera and the radiation temperature in the foam center achieves its highest value when the shock arrives at the axis. A bright emission ring moving towards the foam center can also be observed by an on-axis X-ray frame camera. The best time to capture the bright strips and bright emission rings is before the thermal wave reaches the foam center. Even though some amount of X-ray radiation in the foam is expected to escape from the hohlraum via radiation transport process, simulation results suggest that the tungsten plasma can serve as a good hohlraum wall. The radiation temperature is about 80 eV when the dynamic hohlraum is created and can rise more than 100 eV before the shock arrives at the foam center. Most of the X-rays emitted by the wire-array plasma surface have energies below 1000 eV. In this paper, the physical model of the code MULTI-IFE and the simulation results of array implosions on Saturn facility are presented as well.