An analysis of the hydrodynamic motion of the fluid of photoinjected carriers in polar semiconductors is presented. Experiments of time-resolved photoluminescence, which provide relevant insights into the dynamical behavior of heterostructures, are analyzed. We study the propagation and recombination of carriers in semiconductor devices with a large cap layer, where carriers are photoinjected, and a quantum well where they recombine. The movement of the photoinjected, and away from equilibrium, carriers along such cap layer consists, to a good degree of approximation, in an ambipolar diffusivelike one, which decays in time as a result of recombination and the coupling, via Coulomb interaction, with the optical and acoustic plasma waves. The density of the electrons arriving at the interface with the quantum well can be determined; these electrons are transferred through the interface to recombine in the quantum well, and the resulting intensity of the time-resolved luminescence is obtained. Comparison with experimental data shows a good agreement.