A shock-wave magnetic cumulation technique is used to generate a megagauss magnetic field in an aluminium powder under quasi-cylindrical geometry. A magnetohydrodynamic (MHD) model of shock-wave magnetic cumulation is proposed. The model is based on the Oh–Persson equation of state and experimental data on electrical conductivity of powders. The 1D simulation reveals the features of the MHD flow under converging of the cylindrical shock wave. The experimental record of the magnetic field in the generator is in reasonable agreement with simulation results. This fact validates the model and allows one to optimize the cumulation system for producing a higher magnetic field.