Numerical simulation of wave-plasma interactions in the ionosphere