Mathematical model of the polar wind