Fluid Flow in Pipelines: A Practical Introduction Using Python

Authors

  • Cristian Bárbara Brito Universidade Federal de Lavras
  • Diogo Rosseti da Silva Mendes Universidade Federal de Lavras
  • Saulo Luis Lima da Silva Centro Federal de Educação Tecnológica de Minas Gerais
  • Angélica Sousa da Mata Universidade Federal de Lavras

DOI:

https://doi.org/10.26512/e-bfis.v13i03.59973

Abstract

The study of fluids plays a fundamental role in various fields of engineering, such as civil, mechanical, chemical, and environmental engineering, being essential to understanding processes related to the transport of liquids and gases in pipelines, channels, and industrial systems. Flow analysis is present both in practical applications—such as the design of water supply networks, ventilation systems, or the transport of oil and gas—and in academic training, in foundational courses on fluid mechanics and hydraulics.

However, the complexity of the phenomena involved often makes obtaining analytical solutions unfeasible, necessitating the use of numerical methods and computational tools. This study highlights the advantages of adopting programming, particularly in Python, for performing calculations and obtaining solutions to problems related to fluid flow in piping systems.

To achieve satisfactory accuracy, computational codes were developed encompassing a comprehensive set of equations applicable to a variety of situations involving flow in tubular systems. The computational examples included the calculation of the Reynolds number, analysis of friction-related pressure losses, and evaluation of pressure distribution along the flow, among other technically relevant aspects, demonstrating the efficacy and versatility of the proposed methodology.

In addition to its technical contribution, the work also has a didactic character, potentially serving as supporting material in fluid courses, assisting both instructors and students in understanding fundamental concepts and in the practical application of computational tools.

Downloads

Download data is not yet available.

Published

2025-12-15

How to Cite

Brito, C. B., Rosseti da Silva Mendes, D., Lima da Silva, S. L., & Sousa da Mata, A. (2025). Fluid Flow in Pipelines: A Practical Introduction Using Python. E-Boletim Da Física, 13(03). https://doi.org/10.26512/e-bfis.v13i03.59973

Issue

Section

Divulgação científica e Ensino de Física