Unmanned Aerial Vehicles (UAVs) are an emerging technology with the potential to be used in various sectors for various applications and services. In wireless networking, UAVs can be used as a vital part of the supplementary infrastructure to improve coverage, principally during public safety emergencies. Because of their affordability and potential for widespread deployment, there has been a growing interest in exploring the ways in which UAVs can enhance the services offered to isolated ground devices. Large areas may lose cellular coverage following a public safety emergency that impacts critical communication infrastructure. This prompts the need for the employment of D2D communication frameworks as a complement. In such critical conditions, timely response and network connectivity are essential factors for reliable communication. This study focuses on the mathematical models of UAV-based wireless communication in the context of disaster recovery. Particularly, we aim to model a queuing framework comprising UAVs as mobile relay nodes between the stranded user devices and neighbouring operational base stations. We present an iterative solution with a novel method for generating initial conditions for the two-stage queuing model. The approximate approach presented is validated for its accuracy using discrete-event simulation. The effects of various factors on performance measures are also analysed in detail. The validation results show that the discrepancy between the analytical approach and the simulation is less than 5%, which is the confidence interval of the simulation.