Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Advances in Engineering Software 173 (2022) 103232

Contents lists available at ScienceDirect

Advances in Engineering Software


journal homepage: www.elsevier.com/locate/advengsoft

Implementation of Buckingham’s Pi theorem using Python


Pankaj Dumka a, *, Rishika Chauhan b, Ayush Singh c, Gaurav Singh c, Dhananjay Mishra a
a
Department of Mechanical Engineering, Jaypee University of Engineering and Technology, Guna-473226, Madhya Pradesh
b
Department of Electronics and Communication Engineering, Jaypee University of Engineering and Technology, Guna-473226, Madhya Pradesh
c
Department of Computer Science Engineering, Jaypee University of Engineering and Technology, Guna-473226, Madhya Pradesh

A R T I C L E I N F O A B S T R A C T

Keywords: Buckingham’s Pi theorem plays an important role in engineering, applied mathematics, and physics for
Buckingham’s Pi theorem dimensional analysis. From the given variables, it will be utilised to evaluate the set of dimensionless parameters.
Fluid mechanics It indicates that the validity of the physical law is independent of the specific unit system, and it can be expressed
Dimensional analysis
as an identity incorporating only dimensionless variables associated with the law. A python-based function has
Physical similarity analysis
Python programming
been developed and reported in this manuscript, which can be utilised to evaluate Pi terms (commonly called π
terms) for any fluid flow problem. Smaller moderation in the written function can make it capable of solving any
fundamental dimensions. Different fluid mechanics problems are utilised to test and validate the reported
function, five of which are presented in this manuscript along with code. Obtained results are in good agreement
with the theoretically obtained results.

similarity gives a clue to answering the above questions. With the idea of
physical similarity [12–15], we can apply the test results of altered
1. Introduction conditions to the actual problem, provided the physics of the problem
remains the same. Furthermore, we can club the different dimensional
It is a well-known fact that engineering problems are complex, and variables influencing a performance parameter into a single group
sometimes the complexity is so high that the theoretical solutions are because of the principle of physical similarity. The influence of all the
impossible. Therefore, researchers try to handle complex issues with the dimensional variables as operating parameters on the performance
help of computational fluid dynamics [1–4] or numerical analysis [5,6]. parameter is affected through that parameter group.
Still, empirical relations (i.e., the experimental information) are If many physical variables define a problem, so if the problem has to
required to take care of all the down-to-earth considerations in some be made similar to the problem of a different condition, then definitely
instances. Also, if somehow a theoretical model for some engineering some dimensionless terms have to be fixed for both the problems, which
problem is developed, it must be validated with the help of experimental represents the criterion of similarity, mainly the dynamic similarity
data. Hence, it is proven that experiments are the actual truth, and most [16]. Now the question comes how to find such nondimensional pa­
problems are solved with the help of experiments [7,8]. rameters, which are the combination of dimensional variables. The
When the experiments were performed in the laboratory to solve answer to this question lies with dimensional analysis and dimensional
some engineering problems, then due to economic constraints, time, homogeneity [17,18]. The first instance of dimensional homogeneity is
space, energy, etc., the experiments couldn’t be performed under an found in the work of Fourier [19]. Lord Rayleigh [20,21] proposed an
identical set of operating conditions which prevails in the real place indicial method to perform dimensional analysis to obtain a nondi­
[9–11]. So, to save money, time, and space, the experiments are per­ mensional relationship between dimensional variables. An initial
formed under an altered set of conditions than what exists. So, under ground for the π theorem was set independently by Vaschy [22] Ria­
these circumstances, two pertinent questions usually arise: how the test bouchinsky [23]. Buckingham’s Pi theorem was introduced later with
results from the laboratory experiments can be applied to the actual the full-fledged procedure to evaluate the nondimensional πterms by
problem. Secondly, is it possible to limit the number of experiments and Buckingham in 1914 [24]. This paper has set a benchmark in the
still get the same results as in the real case. The concept of physical

Abbreviations: RV,rv, repeating variables; nrv , nonrepeating variables; BuPi , Buckingham’s Pi function; SI , International System.
* Corresponding author at: Department of Mechanical Engineering, Jaypee University of Engineering and Technology, JUET Campus, Raghogarh, Guna, Madhya
Pradesh 473226, India.
E-mail addresses: p.dumka.juet@gmail.com, p.dumka.ipec@gmail.com (P. Dumka).

https://doi.org/10.1016/j.advengsoft.2022.103232
Received 16 July 2022; Received in revised form 30 July 2022; Accepted 1 August 2022
Available online 7 August 2022
0965-9978/© 2022 Elsevier Ltd. All rights reserved.
P. Dumka et al. Advances in Engineering Software 173 (2022) 103232

Nomenclature Pow power


Q discharge
du_dx velocity gradient T time
dpdx pressure gradient v velocity
F force y physical variable
g acceleration due to gravity
k Bulk modulus of elasticity Greek
l length π non-dimensional Pi term
L length ρ density
m number of physical variables μ dynamic viscosity
M mass σ surface tension
n number of fundamental dimensions ν kinematic viscosity
N rpm ω angular velocity
P pressure Δp pressure gradient

dimensional analysis and physical similarity principle. Several other


F(π1 , π2 , π3 , … πm− n ) = 0 (2)
methods [25] exist, but how Buckingham’s π theorem deals with the
dimensional analysis is unique as it is more practical and systematic as it Now the task is to form the nondimensional π terms. The method­
uses repeating variables. But the major problem with Buckingham’s π ology says that any suitable group (one geometric variable, one kine­
theorem is that the algebra involved in solving the π terms requires a lot matic variable, and one fluid property for fluid mechanics problem) of n
of hand calculations, and if the number of variables is more, then the variables out of m dimensional variables is chosen first. These n vari­
chances of error are more. ables are referred to as repeating variables (RV) equal to the number of
Here comes the importance of computer programs for tedious cal­ fundamental dimensions. Then the nondimensional π terms can be
culations [26–28]. Python is a very easy to implement, efficient, and formed by multiplying the RVs raised to some arbitrary integer expo­
user-friendly programming language [29–31]. A very attractive feature nents and the remaining dimensional variables, viz. m − n. If y1,y2,y3,…
of Python is that one does not have to write huge lines of code; instead, yn are chosen as the RV’s, then the pi terms can be formed as:
very complex problems can be solved by just writing a few lines of code.
The python modules such as NumPy [32,33] and SymPy [34,35] are
π1 = ya11 × ya22 × ya33 , … × yam−n n × yn+1
very efficient in handling any type of numerical and symbolic compu­
π2 = ya11 × ya22 × ya33 , … × yam−n n × yn+2
tation. Moreover, symbolically solving simultaneous equations and
segregating the variables is an easy task with SymPy [36]. Parth et al.
πm− n = ya11 × ya22 × ya33 , … × yam−n n × ym (3)
[37] have developed Python modules to handle complex fluid flow
problems in a laminar flow regime. The NumPy contains array objects The point to be noted here is that the exponents (a1,a2…an) are
which can simplify the tasks a lot. Several researchers have used Python different for different π terms. As all the π terms are dimensionless and
to solve many mathematically complex problems. PyBaMM, a python all the dimensional variables are written in terms of fundamental di­
package, has been developed by Sulzer et al. [38] for the collaboration of mensions, so Eq. (3) just boils down to n linear equations in a1,a2…an
cross-institutional facilitation. Python has also been used by Marowka (for every π term), which can be solved for the unique solutions for
[39] for parallel computation. For solving heat transfer problems, a exponents.
Python implemented He’s Homotopy and Perturbation approach has For m = n, the situation represents an equilibrium state, i.e., all the
been adopted by Dumka et al. [40]. Dumka et al. [41] have also used parameters have fixed values, m > n is always desired, and if m < n, the
Python to model thermodynamic gas power cycles. situation becomes impossible, i.e., no physical phenomena are described
This research article presents a novel approach to handling Buck­ under the given condition.
ingham’s Pi theorem. Buckingham’s Pi theorem has been modelled with
the help of Python, and the function developed to address π terms is 3. Implementation of Pi theorem in Python
tested against some real-life problems. It has been observed that the
computer program has not only automated the task for fluid flow In SI units, the fundamental physical quantities are mass, time,
problems but it can also be extended to the other branches of physics by length, current, temperature, and luminous intensity. In fluid me­
slight modifications. The codes and python functions are written in the chanics, mass (M), length (L), and time (T) are commonly used among
Jupyter notebook as it shows both codes and results in one place. all the fundamental quantities discussed above. To start the computa­
Moreover, its cell structure gives a better understanding of the code. tion, one must first understand the dimensions of naturally encountered
physical variables/quantities in a fluid flow problem. Table 1 shows how
2. Buckingham’s Pi theorem the dimensional variables (for fluid flow problem) are written in terms
of fundamental dimensions (M, L, T)
Let any physical phenomenon is described by m no of physical var­ Firstly the array repository of physical variables is created. The array
iables (y1,y2,y3,…ym). Then one can express these variables analytically of elements depends on the number of fundamental dimensions involved
as: in the problem. For example, as we are dealing with fluid flow problems,
the number of array elements is three (as three fundamental dimensions
f (y1 , y2 , y3 , … ym ) = 0 (1)
are involved). For using array in Python, the NumPy module (from
According to Buckingham’s pi theorem, if these m variables are numpy import *) is imported, and the array (array([])) function is used
expressed in n number of fundamental dimensions (in Fluid mechanics, to develop the physical property array as follows:
we encounter M, L and T), then the physical problem can be described by
m − n dimensional terms as [42]:

2
P. Dumka et al. Advances in Engineering Software 173 (2022) 103232

Table 1 3.2. For laminar, steady, fully developed flow in a pipe of circular cross-
Dimensions of physical variables section, the pressure gradient along the length of the pipe is a function of
S. No. Physical variable/quantity Dimension pipe diameter (d), flow velocity (v), the density of the fluid (ρ), and the
dynamic viscosity of fluid (μ). The dimensionless π terms have to be
1 Mass M
2 Time L evaluated
3 Length T
4 velocity LT− 1 The dimensional terms (m) involved are 5 (dx dp
, d, μ, ρ, v). The
5 Angular velocity T− 1
6 Acceleration LT− 2 fundamental dimensions involved are 3 (refer to Table 1). So, the π terms
7 Density ML− 3 will be 2 (5 − 3 = 2). First, a list of RV and nonrepeating variables are
8 Angular acceleration T− 2 created (with the help of dimensional variables as declared above) as
9 Force, weight, thrust MLT− 2 follows:
10 Pressure, Stress ML− 1T− 2
11 Momentum MLT− 1
12 Angular momentum ML2T− 1 3.2.1. List of repeating variables
13 Torque, Momentum ML2T− 2 d=ℓ
14 Energy, work ML2T− 2 u=v
15 Rate of energy or work, power ML2T− 3
rv=[u,d,ρ]
16 Velocity gradient, vorticity T− 1
17 Stream function, velocity potential L2T− 1
18 Pressure gradient ML− 2T− 2 3.2.2. List of Non-repeating variables
19 Surface tension MT− 2 nr=[μ,dpdx]
20 Bulk modulus ML− 1T− 2 (Note: the choice of the RVs is such that one is a geometric variable,
21 Dynamic viscosity ML− 1T− 1
one is a kinematic variable, and the last one flows property. Moreover,
22 Kinematic viscosity L2T− 1
the output variable cannot be considered as the repeating variable (in
this case, pressure gradient))
3.1. Dimensional variables An empty list π[] has been created to hold the values of a, b, and c for
different pi terms. For loop is used for different π terms in which BuPi
dpdx=array([1,-2,-2]) function is solved for rv and nrv lists.
ρ=array([1,-3,0])
ℓ=array([0,1,0]) 3.2.3. Function calling for the evaluation of repeating variable indices
μ=array([1,-1,-1]) π=[]
v=array([0,1,-1]) for i,xx in enumerate(nr):
σ=array([1,0,-2]) print(f’π{i+1} >’,BuPi(rv,xx))
ν=array([0,2,-1]) π.append(BuPi(rv,xx))
ω=array([0,0,-1]) The output of the program is as follows:
Δp=array([1,-1,-2]) To write the final expression for the π term correctly, one should
Q=array([0,3,-1]) understand that the exponents are powers of terms in rv list starting from
P=array([1,2,-3]) left to right (viz. uadbρc), which are multiplied together along with the
N=array([0,0,-1]) individual term in the nrv list following the same conventions, i.e., from
g=array([0,1,-2]) left to right. So, the result shown in Fig. 1 can be interpreted as:
F=array([1,1,-2]) μ
Pow=array([1,2,-3]) π1 = ua db ρc μ = u− 1 d− 1 ρ− 1 μ =
ρud
du_dx=array([0,0,-1])
K=array([1,-1,-2]) dp dp d dp
Now two lists are created: one for RVs (total n in numbers) and the π2 = ua db ρc = u− 2 d1 ρ− 1 = 2
dx dx ρu dx
other for remaining variables (m-n). In the program, they are called rv
and nrv. In π terms, each repeating variable is raised to some unknown
exponent (a, b, and c in this case), and these are multiplied together 3.3. The Drag Force (F) on an aircraft is a function of the characteristic
along with one nonrepeating variable. As we have formed an array of length of aircraft (l), the density of air (ρ), the viscosity of air (μ), aircraft
powers of M, L, and T so, all the respective powers of individual terms velocity (u), and bulk modulus of elasticity (Es). The dimensionless terms
will add up to from equations having unknowns a, b, and c. On the RHS, involved in the problem are to be evaluated
the exponent of M, L, and T of nonrepeating variables will be there. In
the program, these are implemented with the help of a function (known Total 6-dimensional variables are involved with three fundamental
as ‘BuPi’), which accept rv and nrv as input and, in turn, returns a, b, and dimensions, so the number of pi terms will be 3. The repeating variable
c. The simultaneous equations are solved symbolically using the SymPy chosen is: u, l, and ρ.
module (from sympy import *; form sympy.abc import *). The function First, lists of rv and nrv are created as follows:
developed for Buckingham’s Pi theorem is as follows:
def BuPi(rv,x) 3.3.1. list of repeating variables
""" l=ℓ
pass on the list of repeating variable (rv) and the u=v
nonrepeating variables (x=nrv) E_s=K
""" rv=[u,l,ρ]
return solve((a*rv[0]+b*rv[1]+c*rv[2]+x),(a,b,c))
Now the use of the above-developed function to evaluate the π terms 3.3.2. list of Non-repeating variables
will be demonstrated with the help of some fluid flow problems. nr=[F,μ,E_s]
Then the function BuPi is called will return the output as shown in
Fig. 2.
Hence, the π terms are:

3
P. Dumka et al. Advances in Engineering Software 173 (2022) 103232

Fig. 1. Program output for the pipe flow problem

Fig. 2. Program output for aircraft problem

F 3.5. The power (P) required to drive a stirrer is a function of stirrer


π 1 = u− 2 l− 2 ρ− 1 F =
ρl2 u2 diameter (D), rpm of stirrer (N), the density of the fluid (ρ), and dynamic
viscosity of stirrer (μ). Therefore, the pertinent π terms have to be
μ evaluated
π 2 = u− 1 l− 1 ρ− 1 μ =
ρlu
In the problem total of 5-dimensional variables are involved, which
Es
π 3 = u− 2 l0 ρ− 1 Es = are represented in 3 fundamental dimensions, so the number of π terms
ρu2
will be 2. The repeating variables chosen are N, ρ, and D.
First, lists of rv and nrv are created as follows:
3.4. The flow velocity (U) through a circular orifice is a function of orifice
diameter (D), flow head (H), the dynamic viscosity of fluid (μ), the density
3.5.1. list of repeating variables
of the liquid (ρ), and the acceleration due to gravity (g)
D=ℓ
rv=[N,ρ,D]
In the problem, a total of 6-dimensional variables are involved,
#rvc=[’u0′ ,’h’,’μ’]
represented in 3 fundamental dimensions, so the number of pi terms will
be 3. Therefore, the repeating variable chosen is H, ρ, and g.
3.5.2. list of Non-repeating variables
First, lists of rv and nrv are created as follows:
nr=[P,μ]
By applying the BuPi function to the above rv and nr the program
3.4.1. list of repeating variables
output is shown in Fig. 4.
H=ℓ
Hence, the πterms are:
U=v
D=ℓ P
π1 = N − 3 ρ− 1 D− 5 P =
rv=[H,ρ,g] ρN 3 D5

μ
3.4.2. list of Non-repeating variables π2 = N − 1 ρ− 1 D− 2 μ =
ρND2
nr=[U,μ,D]
Now calling the function BuPi as in problem 3.1 will result in the
output shown in Fig. 3. 3.6. For a hydraulic machine, the pertinent dimensional variables
Therefore the π terms will be: involved are D (rotor diameter), N (rotor rpm), Q (volumetric discharge),
gH (per unit mass energy), P (power), ρ (density), and μ (dynamic
1 1 U
π 1 = H − 2 ρ0 g− 2 U = √̅̅̅̅̅̅ viscosity). The task is to evaluate all the π terms
Hg
In the problem in total 7-dimensional variables are involved, which
μ
are represented in 3 fundamental dimensions, so the number of π terms
3 1
π 2 = H − 2 ρ− 1 g− 2 μ = √̅̅̅̅̅̅
H ρ Hg
will be 4. The repeating variables chosen are D, ρ, and N.
D First, lists of rv and nrv created are as follows:
π 3 = H − 1 ρ0 g0 D =
H
3.6.1. list of repeating variables
D=ℓ
H=ℓ
gH=g+H
P=Pow

Fig. 3. Program output for orifice problem

4
P. Dumka et al. Advances in Engineering Software 173 (2022) 103232

Fig. 4. Program output for stirrer

rv=[D,N,ρ]

3.6.2. list of Non-repeating variables


nr=[Q,gH,μ,P]
By applying the BuPi function to the above rv and nr the program
output is shown in Fig. 5.
Therefore, the pi terms are:
Q
π 1 = D − 3 N − 1 ρ0 Q =
ND3

gH
π 2 = D− 2 N − 2 ρ0 gH =
N 2 D2
μ Fig. 5. Program output for hydraulic machine
π 3 = D − 2 N − 1 ρ− 1 μ =
ρ N D2
participation in speakers’ bureaus; membership, employment, consul­
P
π 4 = D − 5 N − 3 ρ− 1 P = tancies, stock ownership, or other equity interest; and expert testimony
ρ N 3 D5
or patent-licensing arrangements), or non-financial interest (such as
An important thing to note in this example is that as the array carries personal or professional relationships, affiliations, knowledge or beliefs)
the power of fundamental dimensions hence, while multiplying the in the subject matter or materials discussed in this manuscript.
dimensional variable, it has to be kept in mind that the arrays should be Authors Name
added (e.g. gH=g+H). Dr. Dhananjay R. Mishra
Readers of this research article are also provided with the full- Dr. Pankaj Dumka
fledged code (for problem 3.4) in the appendix. They can modify rv Mrs. Rishika Chauhan
and nrv and get the exponents within on time with minimal hassle. Mr. Ayush Singh
Mr. Gaurav Singh
4. Conclusion
Supplementary materials
In this manuscript, the use of dimensional analysis for developing
nondimensional numbers from dimensional variables has been dis­ Supplementary material associated with this article can be found, in
cussed in detail. A theorem known as Buckingham’s Pi theorem has been the online version, at doi:10.1016/j.advengsoft.2022.103232.
explained in detail, along with the mathematical formulation of nondi­
mensional π terms elaborated. The hand calculation of π terms can be Appendix
very time-consuming. There as well are chances of error while solving
the equations manually. So, to remove the problem of error propagation (Full Python Program)
into the solution, a python-based function (BuPi) has been developed. from numpy import *
The function can solve any fluid flow problem with three fundamental from sympy import *
variables. Moreover, a minor modification is required to extend the from sympy.abc import *
function to any fundamental dimensions. The function and computer #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
program testing has been done on five different fluid mechanics prob­ # Buckingham’s Pi theorem function
lems. It has been observed that the program has efficiently evaluated all #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the exponents and, ultimately, the π terms. The computer program is def BuPi(rv,x):
very robust, and in our opinion, the methodology given in this research """
article will benefit the scientific community in research and education. pass on the list of repeating variables (rv) and the
nonrepeating variables (x)
CRediT authorship contribution statement """
return solve((a*rv[0]+b*rv[1]+c*rv[2]+x),(a,b,c))
Pankaj Dumka: Conceptualization, Methodology, Software, Visu­ #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alization, Investigation, Writing – original draft. Rishika Chauhan: # Dimensional variables
Software, Writing – original draft. Ayush Singh: Conceptualization, #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Methodology. Gaurav Singh: Conceptualization, Methodology. Dha­ dpdx=array([1,-2,-2])
nanjay Mishra: Conceptualization, Writing – review & editing. ρ=array([1,-3,0])
ℓ=array([0,1,0])
Declaration of competing interest μ=array([1,-1,-1])
v=array([0,1,-1])
The authors whose names are listed immediately below certify that σ=array([1,0,-2])
they have No affiliations with or involvement in any organization or ν=array([0,2,-1])
entity with any financial interest (such as honoraria; educational grants;

5
P. Dumka et al. Advances in Engineering Software 173 (2022) 103232

ω=array([0,0,-1]) [12] Lee J-C, Bang K-S, Yu S-H, Choi W-S, Ko S. Similarity analysis of thermal-fluid flow
for thermal testing using scaled-down model of spent fuel storage cask. Ann Nucl
Δp=array([1,-1,-2])
Energy 2020;149:107791.
Q=array([0,3,-1]) [13] Castillo L, George WK. Similarity analysis for turbulent boundary layer with
P=array([1,2,-3]) pressure gradient: the outer flow. 38th Aerospace Sci Meet Exhi. 2000;39(1):41–7.
N=array([0,0,-1]) [14] Narbondo S, Gorgoglione A, Crisci M, Chreties C. Enhancing physical similarity
approach to predict runoff in ungauged watersheds in sub-tropical regions. Water
g=array([0,1,-2]) 2020;12(2).
F=array([1,1,-2]) [15] S. G. Sterrett, “Similarity and dimensional analysis,” in Philosophy of technology
Pow=array([1,2,-3]) and engineering sciences, A. Meijers, Ed. Amsterdam: North-Holland, 2009, pp.
799–823.
du_dx=array([0,0,-1]) [16] G. R. Rajput and M. G. Timol, “Similarity analysis of heat transfer and MHD fluid
K=array([1,-1,-2]) flow of Powell–Eyring Nanofluid,” in Numerical heat transfer and fluid flow, 2019,
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pp. 339–348.
[17] Adiutori EF. An alternate view of dimensional homogeneity, and its impact on
#list of repeating variables engineering science. Open Mech Eng J 2018;12(1):164–74.
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [18] Conejo AN. Units, dimensions and dimensional homogeneity. Fundamentals of
D=ℓ dimensional analysis. Singapore: Springer Singapore; 2021. p. 13–30.
[19] Fourier JBJ. Théorie analytique de la chaleur. Chez Firmin Didot 1822. père et fils.
rv=[N,ρ,D] [20] Lord R. On the light from the sky, its polarisation and colour. Phil Mag 1871;41:
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274–9.
#list of Non-repeating variables [21] Rott N. Lord Rayleigh and hydrodynamic similarity. Phys Fluids A Fluid Dyn 1992;
4:2595–600.
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[22] A. Vaschy, Sur les lois de similitude en physique. 1892.
nr=[P,μ] [23] Riabouchinsky D. Methode des variables de dimension zero, et son application en
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aerodynamique. L’aerophile 1911;1:407–8.
~~~~~~~~~~~~~~~~~~~~~~~~~~ [24] Buckingham E. On physically similar systems; illustrations of the use of
dimensional equations. Phys Rev 1914;4(4):345–76.
# Function calling for the evaluation of repeating [25] Longo SG. Principles and applications of dimensional analysis and similarity.
variable indices Cham: Springer; 2021.
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [26] Elsheikh AH, et al. Low-cost bilayered structure for improving the performance of
solar stills: performance/cost analysis and water yield prediction using machine
~~~~~~~~~~~~~~~~~~~~~~~~~~~ learning. Sustain Energy Technol Assessments 2022;49:101783.
π=[] [27] Kaushik S, et al. Continuous monitoring of power consumption in urban buildings
for i,xx in enumerate(nr): based on Internet of Things. Int J Ambient Energy 2021;0(0):1–7.
[28] Singh H. Basics of python and Scikit image. Practical machine learning and image
print(f’π{i+1} >’,BuPi(rv,xx)) processing. Berkeley, CA: Apress; 2019. p. 29–61.
π.append(BuPi(rv,xx)) [29] Lin JWB. Why python is the next wave in earth sciences computing. Bull Am
print(π) Meteorol Soc 2012;93(12):1823–4.
[30] Huei YC. Benefits and introduction to python programming for freshmore students
using inexpensive robots. In: Proceedings of IEEE International Conference on
References Teaching, Assessment and Learning for Engineering: Learning for the Future Now;
2015. p. 12–7. TALE 2014.
[1] Versteeg HK, Malalasekera W. An introduction to computational fluid dynamics: [31] Moruzzi G. Python basics and the interactive mode. Essential python for the
the finite volume method. Pearson education; 2007. physicist. Cham: Springer International Publishing; 2020. p. 1–39.
[2] Deo A, Joshi AR, Parashar A, Mishra DR. Analysing one dimensional tapered pin- [32] Johansson R. Numerical Python: scientific computing and data science applications
fin using finite difference. Res Appl Therm Eng 2022;5(1):1–6. with numpy, SciPy and matplotlib. Second edition. Berkeley, CA: Apress; 2018.
[3] Dumka P, Sharma S, Gautam H, Mishra DR. Finite volume modelling of an [33] C. Bauckhage, “NumPy /SciPy recipes for data science: subset-constrained vector
axisymmetric cylindrical fin using python. Res Appl Therm Eng 2021;4(3):1–11. Quantisation via mean discrepancy minimization,” no. February, pp. 1–4, 2020.
[4] Keshtkar M, Eslami M, Jafarpur K. A novel procedure for transient CFD modeling of [34] Meurer A, et al. SymPy: symbolic computing in python. PeerJ Comput Sci 2017;(1):
basin solar stills: coupling of species and energy equations. Desalination 2020;481: 1–27. 2017.
114350. [35] Fuhrer C, Verdier O, Solem JE, Führer C, Verdier O, Solem JE. Scientific computing
[5] Kumar D, Singh J, Kumar S, Sushila. Numerical computation of Klein–Gordon with python. High-performance scientific computing with NumPy, SciPy, and
equations arising in quantum field theory by using homotopy analysis transform pandas. Packt Publishing Ltd; 2021.
method. Alexandria Eng J 2014;53(2):469–74. [36] Pawar PS, Mishra DR, Dumka P. Solving first order ordinary differential equations
[6] Chauhan R, Sharma S, Pachauri R, Dumka P, Mishra DR. Experimental and using least square method : a comparative study. Int J Innov Sci Res Technol 2022;
theoretical evaluation of thermophysical properties for moist air within solar still 7(3):857–64.
by using different algorithms of artificial neural network. J Energy Storage 2020; [37] Pawar PS, Mishra DR, Dumka P, Pradesh M. Obtaining exact solutions of visco-
30:101408. February. incompressible parallel flows using python. Int J Eng Appl Sci Technol 2022;6(11):
[7] Vineis P, Butler A. Commentary: Climate change and health: the importance of 213–7.
experiments. Int J Epidemiol 2020;50(3):929–30. [38] Sulzer V, Marquis SG, Timms R, Robinson M, Chapman SJ. Python battery
[8] Holubova R. The impact of experiments in physics lessons–‘Why, when, how mathematical modelling (PyBaMM). J Open Res Softw 2021;9:1–8.
often?. In: AIP Conference Proceedings; 2019, 030007. [39] Marowka A. On parallel software engineering education using python. Educ Inf
[9] Shen W, Lin DKJ. A conjugate model for dimensional analysis. Technometrics Technol 2018;23(1):357–72.
2018;60(1):79–89. [40] Dumka P, Pawar PS, Sauda A, Shukla G, Mishra DR. Application of He’s homotopy
[10] K. Taira, “Modal analysis of fluid flows: applications and outlook,” vol. 58, no. 3, and perturbation method to solve heat transfer equations: a python approach. Adv
pp. 998–1022, 2020. Eng Softw 2022;170:103160. May.
[11] Morris MW, Hassan MAAM, Vaskinn KA. Breach formation: field test and [41] Dumka P, Rana K, Pratap S, Tomar S, Pawar PS, Mishra DR. Modelling air standard
laboratory experiments. J Hydraul Res 2007;45:9–17. SPEC. ISS. thermodynamic cycles using python. Adv Eng Softw 2022;172:103186. July.
[42] Biswas G, Som SK. Introduction to fluid mechanics and fluid machines. Tata
McGraw-Hill Education; 2003. March.

You might also like