MHD-modeling of the magnetosheath ion plasma flow and magnetic field and their comparison with experiments