Ionospheric gas dynamics of satellites and diagnostic probes