Jurnal Salsabila Aurellia
Jurnal Salsabila Aurellia
Jurnal Salsabila Aurellia
, 1
123
JOURNAL OF LATEX CLASS FILES, VOL. , NO. , 2
Abstract—In this journal, two-dimensional ideal fluid flow Boundary element method (abbreviated BEM) is a method
problems will be discussed. The model derivation was completed that is often used in science and engineering applications.
numerically using the Boundary Element Method (BEM). In BEM has been widely used to solve problems involving the
this case, what is meant by ideal fluid flow is non-viscous and
incompressible fluid flow. The two-dimensional ideal fluid flow Schrödinger equation and the diffusion equation. The reason
problem is derived from the continuity equation which is based for choosing this method is because BEM with constant
on the law of conservation of mass. The BEM is constructed from elements provides a very good numerical solution. Further-
the idea that the solution to the partial differential equation more, the arrangement of the data is very simple, because the
is expressed in the limit integral equation which contains the discretization is only limited by the boundary conditions [7].
fundamental solution. In this method the domain boundary is
partitioned into a finite number of line segments which are then Another reason is the uniqueness of this method in reducing
used to evaluate the integral equation of the boundary. In this the dimensions of the problem, where a problem with a three-
final project BEM is implemented in solving two-dimensional dimensional domain can be reduced to a two-dimensional [2]
ideal fluid flow problems with mixed boundary conditions, problem. In addition, the advantages of this method are its
namely Dirichlet boundary conditions and Neumann boundary ability to handle open domain (infinite) problems, and it is
conditions..
effective in calculating the derivatives of the functions of flux,
Index Terms—Two Dimensional Ideal Fluid Flow Problem, stress, pressure and moment [7].
Boundary Element Method, Boundary Counditions.
Davies and Crann [5] suggest using a spreadsheet such as
Excel for the application used, because this application is well
I. I NTRODUCTION known to many people. However, spreadsheets have limita-
tions in matrix construction and manipulation. In addition,
A partial differential equation is an equation that contains
changes to parameter values (e.g. the number of bounded
the derivative of a function with two or more independent
elements resulting in the size of matrices and vectors) are
variables [4]. One of the problems described by the partial
not handled well by spreadsheets and are also inconvenient to
differential equation is the fluid flow problem. The fluid flow
work with. Although this difficulty can be solved using the
problem can be modeled from the continuity equation. The
Visual Basic Application (VBA) function provided by excel,
continuity equation is one of the three fundamental governing
it requires high-level programming [8].
equations of fluid flow, which is continuity equation, momen-
tum equation, and ennergy equation. The fluid flow problem Another application, MATLAB, offers all the functionality
itself is divided into various types such as; turbulent, laminar, for numerical methods such as BEM that involve matrix cal-
real, ideal, reversible, non-reversible, uniform, non-uniform, culations. In this case, the programming knowledge required
rotational and non-rotational [1]. in MATLAB is not too high compared to VBA. Additionally,
The fluid flow problem that will be discussed in this research MATLAB has an easy-to-use graphical viewer which makes
is a two-dimensional ideal fluid flow. An ideal fluid flow it very useful in the post-processing phase of BEM [8] .
is a fluid flow that has no viscosity and is incompressible Previously, Muhammad [10] had used the boundary element
(has zero pressure). Two-dimensional flow is a simplification method to solve fluid flow problems, one of which was for
that reduces the vector components in the three-dimensional ideal fluid flow. However, for this study using a flow through
momentum equation to two dimensions. Two-dimensional a two-dimensional plane. On the other hand, this research will
means the flow (and body shape) are identical in all parallel apply the boundary element method to the ideal fluid flow
planes [6]. problem that flows in a two-dimensional plane.
In general, fluid flow problems are difficult to be solved This research will discuss the implementation of BEM in
using analytical methods. To overcome this problem, a nu- solving fluid flow problems using the MATLAB application.
merical method is used to get an approximate solution. One The study in this research refers to [8] studies.
of the numerical methods commonly used to solve fluid flow
problems is the boundary element method [9]. II. P RELIMINARIES
S. Aurellia, M. Syafwan, and A. Rince Putri are with the Department A. The Gauss-Green Theorem
Mathematics and Data Science, Universitas Andalas, Padang, 25163 Indonesia
e-mail: (see [email protected]). The Gauss-Green theorem is a fundamental identity, which
Anati bte Ali is with Department of Mathematical Science, Universiti
Teknologi Malysia, UTM Johor Baru, 81310 Malaysia. relates the integral of the derivative of a function over a domain
Manuscript received ; revised . R to the integral of that function on its the boundary C.
JOURNAL OF LATEX CLASS FILES, VOL. , NO. , 3
The domain may be two or three-dimensional. For simplic- If g is another function of x and y, then equation (6) and (7)
ity of presentation, this relationship is derived for the two- result in
dimensional case. Consider the plane domain R bounded by
Z Z Z
∂f ∂g
the curve We shall work first with the derivative of a function g dR = − f dR + f gnx ds, (8)
R ∂x R ∂x C
f = f (x, y) with respect to x. The integral over R may be
written as a double integral, for which the integration is carried and Z Z Z
∂f ∂g
out first with respect to x and then with respect to y. Thus, g dR = − f dR + f gny ds. (9)
R ∂y R ∂y C
we can write
Z Z y2 Equation (8) and (9) state the integration by parts in two
∂f dimensions and are known as the Gauss-Green theorem [3].
dR = {f (x2 , y) − f (x1 , y)} dy, (1)
R ∂x y1
∂u∗
Z Z
2 ∗ ∗ 2 ∗ ∂u
u∇ u − u ∇ dΩ = u −u ds.
Ω C+Cε ∂n ∂n
(19)
It can be seen that the left-hand side of the above equation is
zero, so
∂u∗
Z
∗ ∂u
u −u ds = 0, (20)
C+Cε ∂n ∂n Fig. 3. Two-dimensional fluid flow [7].
∂φ
vn = = 0. (30) Fig. 4. Closed curve C that is approximated by boundary elements
∂n C1 , C2 , C3 , . . . , CN [8].
Along the intersection plane AD the distribution of vn is
written as,
These segments are constructed by selecting N points on
∂φ the boundary, say (x1 , y1 ), (x2 , y2 ), . . . , (xN , yN ) and defin-
vn = = vn , (31)
∂n ing (xN +1 , yN +1 ) = (x1 , y1 ). Then, Ck is a straight line
while in the BC intersection the conditions are: connecting point (xk , yk ) to point (xk+1 , yk+1 ). The straight
line segments Ck for k = 1, 2, . . . , N are boundary elements.
1) The velocity components of vn can be formulated, but For simplification of the problem, it is assumed that the
the distribution of Equation (30) and (31) must obey the values of u and ∂u/∂n are constant with respect to each
law of conservation of mass in the given domain, which boundary element. More specifically, it takes the value at the
is midpoint of each element to be the value across elements.
Z Z Z Z
vn ds = − ds + vn ds = − f dΩ. (32) ∂u
u ≈ uk and ≈ q k for (x, y) ∈ Ck , k = 1, 2, · · · , N,
Γ vn BC Ω ∂n
(36)
2) Steady flow conditions (fully developed laminar flow) ∂u
where uk and q k are the values of u and ∂n at midpoint
are applicable, provided the cross section BC is located (xk , yk ) of boundary element Ck .
far enough from the region of strong variation in the Based on the explanation above, the integral on the right
velocity field. This condition is stated as side of Equation (23) can be approximated as follows:
N
∂vn ∂2φ X
= = 0. (33) λu(ξ, η) = (uk Gk (ξ, η) − q k Fk (ξ, η)) , (37)
∂n ∂n2
k=1
If the cross section BC is placed away from the region of where
strong velocity variation, as was the case in case 2, and shaped Z
such that the velocity is normal at every point, the tangential Fk (ξ, η) = u∗ (ξ, η)ds, (38)
component of the velocity disappears. Therefore, Ck
∂u∗ (ξ, η)
Z
∂φ Gk (ξ, η) = ds. (39)
vn = = 0, (34) Ck ∂n
∂s
If the values of uk and q k are known, then Equation (37)
which result in can be used to determine the value of u(ξ, η) for (ξ, η) ∈ R.
φ = C, (35) However, for a more realistic boundary value problem only
one of uk and q k is known at any given boundary.
where C is an arbitrary constant number. This condition allows Equation (37) can be used to approximate unknown bound-
the formation of velocity potential φ for arbitrary constant ary values, before using it again to approximate values at
approximations. However, it does not affect the velocity field, interior points (points that are in the R domain). To do
which is determined by Equation (28) [7]. so, (ξ, η) is made the midpoint of the elements Ck for
JOURNAL OF LATEX CLASS FILES, VOL. , NO. , 6
k = 1, 2, · · · , N , so we get N equations. Since (ξ, η) is in an incompressible and non-viscous fluid through a tube. The
Ck , substituting the value λ = 1/2 into Equation (37), we get velocity potential in the tube will be determined. The shape
N of the curvilinear segment is determined by the following
1
(uk Gk (xm , y m ) − q k Fk (xm , y m )) for m = 1, 2, · · ·equations [7]:
X
um = , N,
2
k=1
Segment BC: y = 2x3 − 3x2 − 1,
0 0
(40) Segment B C : y = −2x3 + 3x2 + 1.
∗ 2 2
where u = (1/4π)ln((x − xm ) + (y − y m ) ) and (xm , y m ) The assumed boundary conditions are:
∂φ
is the midpoint of the element Cm . at the inlet cross-section AA0 : ∂n = vn = −1,
To determine the unknown boundary value, Equation (40) at the outlet cross-section DD : φ = 0. 0
∂φ
can be changed to Az = b. The unknown boundary values are at the rigid walls ABCD and A0 B 0 C 0 D0 : ∂n = vn = 0.
u or q and are elements in z with corresponding coefficients with a rectangle with the size of 2 × 1 between C 0 CD0 D seg-
∂φ
in the matrix A. Meanwhile, the b matrix consists of known ment. This rectangle has boundary condition of ∂n = vn = 0
boundary values. What needs to be done is to construct the for the vertical line and φ = 0 for the horizontal line.
matrix A and the matrix column vector b according to the type
of boundary value in each element z. In other words, for every
m = 1, 2, . . . , N , it needs to be constructed
N
X N
X
Amk Zk = bmk (41)
k=1 k=1
IV. C ONCLUSION
This research has discussed the implementation of the
boundary element method (BEM) in fluid flow problems.
Fig. 6. Surface plot of φ velocity potential.
The fluid flow problem studied in this final project is a
two-dimensional ideal fluid flow, that is, a fluid that has no
viscosity (thickness) and is incompressible (has zero pressure),
which is modeled as
∇2 φ = 0 (44)
BEM is a method of solving partial differential equations
by dividing the domain of the equation into a number of finite
line segments, then these segments are used to evaluate the
limit integral equation.
In this final project, the boundary element method has been
implemented to determine the potential velocity of fluid flow
which has been described previously using the MATLAB
application. And obtained numerical results from the potential
velocity.
ACKNOWLEDGMENT
The authors would like to thank Universitas Andalas for
Fig. 7. Surface plot of velocity vx . supporting this research and Universiti Teknologi Malaysia for
the hospitality and support while Salsabila Aurellia do her
credit earning program there.
R EFERENCES
[1] Anderson, J.D. 1992. Computational Fluid Dynamics. Springer, Berlin,
Heidelberg.
[2] Azis, M.I. 2019. Metode Elemen Batas: Untuk Media Anisotropik Ho-
mogen. Brilian Internasional, Sidoarjo.
[3] Becker, A.A. 1992. The Boundary Element Method in Engineering: A
complete course. McGraw-Hill Companies, Nottingham.
[4] Boyce, W.E. dan R.C. DiPrima. 2009. Elementary Differential Equations
and Boundary Value Problems. Ninth Edition. John Wiley and Sons, Inc,
New York.
[5] Davies, A. dan D. Crann. 1998. The boundary element method on a
spreadsheet. Int. J. Math. Edu. Sci. and Technol. 29(6): 851-865.
[6] Flandro, G.A, H.M.McMahon dan R.L.Roach. 2012. Basic Aerodynamics.
Cambridge University.
[7] Katsikadelis, J.T. 2002. Boundary Element: Theory and Applications.
Elsevier Science, Oxford.
[8] Keng C.A. 2008. Introducing the boundary element method with MAT-
LAB. Int. J. Math. Edu. Sci. and Technol. 39(4): 505-519.
Fig. 8. Surface plot of velocity vy . [9] Manaqib, M. 2017. Boundary element method untuk menyelesaikan
masalah syarat batas persamaan Laplace dimensi dua. Jurnal Logika. 7(2):
122-136.
Based on Figures 7 and 8 it can be seen that the velocity vx [10] Muhammad, G. 2011. Boundary Element Methods for Incompressible
Fluid Flow Problems. Tesis S-3, tidak diterbitkan. Departement of Math-
of the inlet cross section AA0 decreases towards the right. And ematics, University of Engineering and Technology, Pakistan.
in Figure 8 the speed vy in the AA0 BB 0 region of the A0 B 0
segment is getting smaller and smaller for the BCDD0 C 0 B 0
region, almost all regions have the same speed .