Building an ad-hoc network in emergency situations can be crucial as a primary tool or even when used prior to subsequent operations. The use of mini and micro Unmanned Aerial Vehicles (UAVs) is increasing because of the wide range of possibilities they offer. Moreover, they have been proven to bring sustainability to many applications, such as agriculture, deforestation and wildlife conservation, among others. Therefore, creating a UAV network for an unknown environment is an important task and an active research field. In this article, a mobility model for the creation of ad-hoc networks using UAVs will be presented. This model will be based on pheromones for robust navigation. We will focus mainly on developing energy-efficient behavior, which is essential for this type of vehicle. Although there are in the literature several models of mobility for ad-hoc network creation, we find that either they are not adapted to the specific energy requirements of UAVs or the proposed motion models are unrealistic or not sufficiently robust for final implantation. We will present and analyze the operation of a distributed swarm behavior able to create an ad-hoc network. Then, an analytical model of the swarm energy consumption will be proposed. This model will provide a mechanism to effectively predict the energy consumption needed for the deployment of the network prior to its implementation. Determining the use of the mobility behavior is a requirement to establish and maintain a communication channel for the required time. Finally, this analytical model will be experimentally validated and compared to the Random Waypoint (RWP) mobility strategy.