On acceleration and motion of ions in corona and solar wind