Sucker-rod pumping wells can be either vertical or directional. Over time, research efforts on the functioning of vertical wells led to a well-established set of mathematical models and practical tools. When it comes to directional wells, however, no general agreement has been reached, and the topic remains in active discussion. This paper revisits, extends, implements and optimizes an overlooked model, initially devised in 1995, whose computational complexity resulted in long processing times that stymied its adoption. This model fully utilizes the 3D trajectory of the rod string, allowing for the use of two viscous friction models and proposing its own formulation for downhole boundary conditions. The resulting model can be used to efficiently simulate the dynamic behavior of directional sucker-rod pumping wells taking into account the fluid flow inside the rod-tubing annulus. We present and analyze a serial and a parallel software implementation of this CPU-intensive model based on an explicit finite-difference method. We also describe our contributions to the accuracy and performance of the original model and software implementation. A rough approximation shows that the proposed serial version is about 200 times faster than the legacy original code, if we were to run the latter in a modern processor. On top of that our parallel implementation achieved a 6.5$$\times $$
×
speedup over the serial version in a shared-memory system, making it a suitable tool for well design and optimization. The research contributes to the discussions on mathematical modeling of directional sucker-rod pumping wells, and illustrates how performance-focused techniques can enable the effective use of computationally demanding models to facilitate further refinements and applications.
Serial and parallel implementations of a finite difference simulator for the dynamic behavior of directional suckerrod pumping wells that takes into account fluid flow inside the rod-tubing annulus are presented and analyzed. The performance and scalability of the implementations are compared. The results show that the parallel versions bring significant speed improvements over the serial versions in the majority of cases, and that the efficiency of the parallel versions scales along with problem size.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.