Acombined scheme is developed to solve the ideal MHDequations. Keeping certain precision, this model has ensured stability and small computing capacity. Atwo-dimensional hemlet-streamer solution of the meridian solar wind near the sun is obtained. Using this solution as initial state, the effect of the hemlet-streamer configuration on the propagation of coronal mass ejections is investigated. It is found that the configuration deflects the ejected mass toward equator. This effect can explain some observational results satisfactorily.