# Exact Boundary Derivative Formulation for Numerical Conformal Mapping Method

Authors: Wei-Lin Lo; Nan-Jing Wu; Chuin-Shan Chen; Ting-Kuei Tsay
Journal: Mathematical Problems in Engineering
 (2016)

---

## Abstract

Conformal mapping is a useful technique for handling irregular geometries when applying the finite difference method to solve partial differential equations. When the mapping is from a hyperrectangular region onto a rectangular region, a specific length-to-width ratio of the rectangular region that fitted the Cauchy-Riemann equations must be satisfied. In this research, a numerical integral method is proposed to find the specific length-to-width ratio. It is conventional to employ the boundary integral method (BIEM) to perform the conformal mapping. However, due to the singularity produced by the BIEM in seeking the derivatives on the boundaries, the transformation Jacobian determinants on the boundaries have to be evaluated at inner points instead of directly on the boundaries. This approximation is a source of numerical error. In this study, the transformed rectangular property and the Cauchy-Riemann equations are successfully applied to derive reduced formulations of the derivatives on the boundaries for the BIEM. With these boundary derivative formulations, the Jacobian determinants can be evaluated directly on the boundaries. Furthermore, the results obtained are more accurate than those of the earlier mapping method.


---

## Body

## 1. Introduction

The finite difference method (FDM) is a conventional numerical method commonly used in computational science because partial differential equations can be directly discretized [1–3]. However, when the computational region is irregular, boundary values must be evaluated through interpolation, extrapolation, or both, which results in greater computation costs and decreases accuracy [4, 5].A common solution to circumvent this problem is to transform the irregular region into a rectangular region and solve partial differential equations on the rectangular region [6–10]. According to a study by Thompson et al. [11], a system of elliptic partial differential equations can guarantee a one-to-one transformation between the physical and computational domains. When the transformation is conformal, the number of additional terms introduced by the transformation of the governing equation is the minimum. Thus, inaccuracy can be avoided.By applying the conformal mapping method to build an effective grid-generation system, Tsay et al. [12] employed the boundary integral equation method (BIEM) (also called the boundary element method, BEM) to solve the Laplace equations. The BIEM is preferable to the Laplace-equation-governed transformation process for a number of reasons: (1) it is not necessary to discretize the entire domain; (2) solutions can be evaluated exactly; (3) derivatives of variables can be evaluated directly without difference schemes; and (4) once the solutions at all the discretized boundary nodes are obtained, at any given point in the domain the solution as well as the partial derivatives can be easily found without remeshing. When the conformal mapping is performed, the governing equation of the physical domain will be transformed into a formulation in terms of derivatives with respect to the coordinates. Although the derivatives in the domain can be directly evaluated by using the BIEM, it suffers from the fact that the derivatives cannot be evaluated exactly on the boundaries [13, 14]. This drawback makes one be only able to evaluate the derivatives close to the boundaries as the boundary derivatives.A limitation of the Laplace-equation-governed transformation is that the region to be transformed should be a quadrilateral with right-angled corners, which is known as a hyperrectangular region [12]. When a hyperrectangular region is transformed into a rectangular region by using conformal mapping, the length-to-width ratio of the rectangular region is a particular value [15]. To find this ratio, Seidl and Klose [15] converted the Cauchy-Riemann equations into a set of two Laplace equations and proposed an iterative procedure with a finite difference solution. In this research, an explicit integral method was proposed to find this ratio, without the time consumption of solving a system of linear equations.Although the applicability of the conformal transformation used by Tsay et al. [12] to arbitrary irregular regions could be extended by using a sequence of Z
n transformations [16], the applicability of the grid-generation system proposed by Tsay et al. [12, 14, 16] is still limited due to the above-mentioned problem of inaccurate boundary partial derivatives. This problem not only precludes the derivatives and the transformation Jacobian determinants from being evaluated exactly on the boundaries, but also decreases the accuracy of the finite difference computation after the transformation.In this paper, by applying the rectangular properties of the transformed region and the Cauchy-Riemann equations, the derivatives and the Jacobian determinants of the transformation can be evaluated on the boundaries. This evaluation significantly improves the transformation accuracy.


## 2. Mathematical Description of the Coordinate Transformation

Based on the Cauchy-Riemann equations, the forward conformal transformation, from the physical domain (x
-
y coordinates) to the computational domain (ξ
-
η coordinates), can be reduced to a problem governed by two Laplace equations:(1a)
∂
2
ξ
∂
x
2
+
∂
2
ξ
∂
y
2
=
0
,
(1b)
∂
2
η
∂
x
2
+
∂
2
η
∂
y
2
=
0
,with the boundary conditions(2a)
n
·
∇
η
=
0
on
ξ
=
0
,
ξ
=
ξ
0
,
(2b)
n
·
∇
ξ
=
0
on
η
=
0
,
η
=
η
0
,where n is the outward normal vector of the boundaries and ∇ is the gradient operator. Here, the range of either ξ or η can be chosen arbitrarily while the range of the other coordinate is restricted by the satisfaction of the Cauchy-Riemann equations:(3a)
∂
ξ
∂
x
=
∂
η
∂
y
,
(3b)
∂
ξ
∂
y
=
-
∂
η
∂
x
.That is, when satisfying the Cauchy-Riemann equations, there is always a specific value of η
0 that corresponds to a given ξ
0, and vice versa. To find this specific value, Seidl and Klose [15] proposed an iterative scheme. Besides, Wu et al. [17] showed that the transformation is not conformal but still orthogonal if one simply chooses both values of ξ
0 and η
0 arbitrarily. In Section 4, we will propose a numerical integral method to find the specific ratio of ξ
0 to η
0 which satisfies the Cauchy-Riemann equations.By applying the divergence theorem, (1a) and (1b) can be represented as an integral equation [13]:(4)
α
Φ
P
=
∫
Γ
Φ
Q
∂
r
∂
n
-
ln
⁡
r
∂
∂
n
Φ
Q
d
τ
,where Φ represents ξ or η; Γ is the bounding contour of the problem domain D; n is the out-normal direction of Γ; P represents a source point; Q represents a boundary point; r is the distance from P to Q; α
=
2
π when P is located inside the domain; and α is π
/
2 or π when P is located on the corners or the straight boundaries, respectively, as shown in Figure 1. An elementwise local coordinate system s
-
λ is adopted to discretize the geometry as linear elements, as shown in Figure 2, where the subscripts j and j
+
1 represent the starting and ending nodes of an element and the subscript i represents the ith source point. After discretizing the boundary and choosing the source points as the nodal points of the elements, the unknown function values, Φ, and their normal derivatives, ∂
Φ
/
∂
n, can be formulated as simultaneous equation system and then be solved [13, 16]. To ease the explanation, the above solution for the unknowns of boundary elements is namedboundary-unknown solving step in this paper.Figure 1
Configuration forP, Q, r, and α, associated with the problem domain D with the bounding contour Γ. (a) P is enclosed by Γ; (b) P is located on Γ.
(a)
(b)Figure 2
Definition of the elementwise local coordinates:s
-
λ coordinates. The x
-
y coordinates are global coordinates. The eth element s
j
-
s
j
+
1 is a local element with outward normal vector n and an included angle ψ with the global x
-
y coordinates. The local coordinate λ is positive if λ and n are in the same direction. r
i is the distance from the ith source point P
i to a boundary point Q
s
,
λ.The inverse conformal transformation is also governed by Laplace equations, whose function values arex and y with independent variables of ξ and η:(5a)
∂
2
x
∂
ξ
2
+
∂
2
x
∂
η
2
=
0
,
(5b)
∂
2
y
∂
ξ
2
+
∂
2
y
∂
η
2
=
0
,and the following Cauchy-Riemann equations should be satisfied:(6a)
∂
x
∂
η
=
-
∂
y
∂
ξ
,
(6b)
∂
y
∂
η
=
∂
x
∂
ξ
.Since the values of x and y on the boundary are already known, the boundary condition of the inverse transformation is the Dirichlet type. The formulation of integral equations for (5a) and (5b) is the same as (4), but Φ represents x or y. A sketch of the transformation is illustrated in Figure 3.Figure 3
A sketch of the orthogonal transformation from the physical domain (x
-
y coordinates) to the computational domain (ξ
-
η coordinates).AfterΦ and ∂
Φ
/
∂
n on the boundary are solved, Φ inside the domain can be obtained by using (4) explicitly, where P is now located either inside the domain or on the boundary. In this research, a hyperrectangular region is transformed into a rectangular region. It is easy to generate an orthogonal grid in the rectangular region by using (4), where Φ represents the coordinate of the rectangular region. Then, each grid node is mapped onto the hyperrectangular region, by using (4) again, where Φ represents the coordinate of the hyperrectangular region now. The above evaluation of grid nodes is namedgrid-generation step in this paper. The regular orthogonal grid in the rectangular region is very convenient for applying FDM. To perform FDM on the grid in the rectangular region, the governing equation usually has to transform into a formulation with Jacobian determinants [18–20]. For example, the Biharmonic equation, ∇
4
ϕ
x
,
y
=
0, has to transform into ∇
2
J
x
,
y
∇
2
ϕ
ξ
,
η
=
0, where x and y are coordinates of the hyperrectangular region; ξ and η are coordinates of the rectangular region; J
x
,
y is the Jacobian determinant for the forward transformation.The Jacobian determinants for the forward transformation and inverse transformation are defined, respectively, as below:(7a)
J
x
,
y
=
∂
ξ
∂
x
∂
η
∂
x
∂
ξ
∂
y
∂
η
∂
y
=
∂
ξ
∂
x
∂
η
∂
y
-
∂
ξ
∂
y
∂
η
∂
x
,
(7b)
J
ξ
,
η
=
∂
x
∂
ξ
∂
y
∂
ξ
∂
x
∂
η
∂
y
∂
η
=
∂
x
∂
ξ
∂
y
∂
η
-
∂
x
∂
η
∂
y
∂
ξ
.With the help of Chain rule and these Jacobian determinants, the relationships between the partial derivatives of x
-
y and ξ-η can be built as follows:(8a)
∂
x
∂
ξ
=
1
J
x
,
y
∂
η
∂
y
,
(8b)
∂
x
∂
η
=
-
1
J
x
,
y
∂
ξ
∂
y
,
(8c)
∂
y
∂
ξ
=
-
1
J
x
,
y
∂
η
∂
x
,
(8d)
∂
y
∂
η
=
1
J
x
,
y
∂
ξ
∂
x
,
(8e)
∂
ξ
∂
x
=
1
J
ξ
,
η
∂
y
∂
η
,
(8f)
∂
ξ
∂
y
=
-
1
J
ξ
,
η
∂
x
∂
η
,
(8g)
∂
η
∂
x
=
-
1
J
ξ
,
η
∂
y
∂
ξ
,
(8h)
∂
η
∂
y
=
1
J
ξ
,
η
∂
x
∂
ξ
.After substituting (8a)–(8d) into (7b) or substituting (8e)–(8h) into (7a), the relation between J
x
,
y and J
ξ
,
η can be derived as follows:(9)
J
x
,
y
J
ξ
,
η
=
1
.


## 3. The Derivatives and Jacobian Determinants on the Boundaries

The Jacobian determinant is a combination of partial derivatives. Since these derivatives are evaluated by the BIEM, singularities occur when the unknown derivatives are located on the boundaries. A previous research has suggested that these boundary derivatives can be approximated by evaluating the inner points that are very close to the boundaries [16]. In this study, the derivative formulations of the BIEM are carefully investigated. By applying the Cauchy-Riemann equations, a method of evaluating the boundary derivatives is proposed. Unlike conventional methods that just calculate the derivative close to the boundary as succedaneums, this method can produce accurate numerical results exactly on the boundaries.The partial derivatives ofΦ can be found by differentiating (4), and then the following formulations are obtained [13]:(10a)
α
∂
∂
x
1
Φ
P
=
∫
Γ
Φ
Q
∂
∂
x
1
1
r
∂
r
∂
n
-
∂
∂
x
1
ln
⁡
r
∂
∂
n
Φ
Q
d
τ
,
(10b)
α
∂
∂
x
2
Φ
P
=
∫
Γ
Φ
Q
∂
∂
x
2
1
r
∂
r
∂
n
-
∂
∂
x
2
ln
⁡
r
∂
∂
n
Φ
Q
d
τ
.The function value and its normal derivative on the boundary, Φ
Q and ∂
/
∂
n
Φ
Q, are already known after the evaluation of (4). x
1 and x
2 represent x and y, respectively, when the function value Φ is ξ or η. Conversely, x
1 and x
2 represent ξ and η, respectively, when the function value Φ is x or y. After the geometry discretization, the following derivative terms can be represented with the local coordinate system s
-
λ:(11a)
∂
r
∂
n
=
λ
r
,
(11b)
∂
λ
∂
x
1
=
sin
⁡
ψ
,
(11c)
∂
r
∂
x
1
=
-
s
cos
⁡
ψ
-
λ
sin
⁡
ψ
r
,
(11d)
∂
λ
∂
x
2
=
-
cos
⁡
ψ
,
(11e)
∂
r
∂
x
2
=
-
λ
cos
⁡
ψ
+
s
sin
⁡
ψ
r
.By applying (11a)–(11e), (10a) and (10b) can be represented with the following formulations, respectively:(12a)
∂
∂
x
1
Φ
P
=
1
α
∫
Γ
Φ
sin
⁡
ψ
r
2
+
2
Φ
λ
s
cos
⁡
ψ
-
λ
sin
⁡
ψ
r
4
+
s
cos
⁡
ψ
-
λ
sin
⁡
ψ
r
2
∂
Φ
∂
n
d
τ
,
(12b)
∂
∂
x
2
Φ
P
=
1
α
∫
Γ
-
Φ
cos
⁡
ψ
r
2
+
2
Φ
λ
λ
cos
⁡
ψ
+
s
sin
⁡
ψ
r
4
+
λ
cos
⁡
ψ
+
s
sin
⁡
ψ
r
2
∂
Φ
∂
n
d
τ
.Liggett and Liu [13] have indicated that these cannot be evaluated on the boundaries because singularities will occur. However, they are actually applicable on the boundaries in the conformal mapping process, through the following investigation.The discretization of these boundary integral equations is performed by linear approximations, and the potential and its normal derivative are subsequently approximated by(13)
Φ
=
Φ
j
+
1
-
Φ
j
s
+
s
j
+
1
Φ
j
-
s
j
Φ
j
+
1
s
j
+
1
-
s
j
,
∂
Φ
∂
n
=
∂
Φ
/
∂
n
j
+
1
-
∂
Φ
/
∂
n
j
s
+
s
j
+
1
∂
Φ
/
∂
n
j
-
s
j
∂
Φ
/
∂
n
j
+
1
s
j
+
1
-
s
jfor s
j
≤
s
≤
s
j
+
1, where the subscripts j and j
+
1 represent the starting and ending nodes of an element. After substituting (13) into (12a) and integrating each term in the local coordinate system s
-
λ, the discretized formulation of the integral equation for the derivative in the horizontal direction can then be represented as(14)
∂
∂
x
1
Φ
P
=
1
α
∑
e
=
1
n
A
B
Φ
j
Φ
j
+
1
+
C
D
∂
Φ
∂
n
j
∂
Φ
∂
n
j
+
1
,where e represents the eth discretized element on the boundary, n is the number of the elements, and(15a)
A
=
-
I
11
x
1
-
J
11
x
1
+
K
11
x
1
+
s
j
+
1
I
12
x
1
+
J
12
x
1
-
K
12
x
1
,
(15b)
B
=
I
11
x
1
+
J
11
x
1
-
K
11
x
1
-
s
j
I
12
x
1
+
J
12
x
1
-
K
12
x
1
,
(15c)
C
=
-
I
21
x
1
+
J
21
x
1
+
s
j
+
1
I
22
x
1
-
J
22
x
1
,
(15d)
D
=
I
21
x
1
-
J
21
x
1
-
s
j
I
22
x
1
-
J
22
x
1
,in which(16a)
I
11
x
1
=
sin
⁡
ψ
s
j
+
1
-
s
j
×
1
2
ln
⁡
s
j
+
1
2
+
λ
i
2
s
j
2
+
λ
i
2
,
(16b)
I
12
x
1
=
sin
⁡
ψ
s
j
+
1
-
s
j
×
1
λ
i
tan
-
1
⁡
s
j
+
1
λ
i
-
tan
-
1
⁡
s
j
λ
i
,
(16c)
J
11
x
1
=
cos
⁡
ψ
s
j
+
1
+
s
j
λ
i
s
j
s
j
2
+
λ
i
2
-
λ
i
s
j
+
1
s
j
+
1
2
+
λ
i
2
+
tan
-
1
⁡
s
j
+
1
λ
i
-
tan
-
1
⁡
s
j
λ
i
,
(16d)
J
12
x
1
=
λ
i
cos
⁡
ψ
s
j
+
1
-
s
j
1
s
j
2
+
λ
i
2
-
1
s
j
+
1
2
+
λ
i
2
,
(16e)
K
11
x
1
=
λ
i
2
sin
⁡
ψ
s
j
+
1
-
s
j
1
s
j
2
+
λ
i
2
-
1
s
j
+
1
2
+
λ
i
2
,
(16f)
K
12
x
1
=
sin
⁡
ψ
s
j
+
1
-
s
j
-
s
j
s
j
2
+
λ
i
2
+
s
j
+
1
s
j
+
1
2
+
λ
i
2
+
1
λ
i
tan
-
1
⁡
s
j
+
1
λ
i
-
tan
-
1
⁡
s
j
λ
i
,
(16g)
I
21
x
1
=
cos
⁡
ψ
s
j
+
1
-
s
j
s
j
+
1
-
s
j
-
λ
i
tan
-
1
⁡
s
j
+
1
λ
i
-
tan
-
1
⁡
s
j
λ
i
,
(16h)
I
22
x
1
=
cos
⁡
ψ
2
s
j
+
1
-
s
j
ln
⁡
s
j
+
1
2
+
λ
i
2
s
j
2
+
λ
i
2
,
(16i)
J
21
x
1
=
λ
i
sin
⁡
ψ
2
s
j
+
1
-
s
j
ln
⁡
s
j
+
1
2
+
λ
i
2
s
j
2
+
λ
i
2
,
(16j)
J
22
x
1
=
sin
⁡
ψ
s
j
+
1
-
s
j
tan
-
1
⁡
s
j
+
1
λ
i
-
tan
-
1
⁡
s
j
λ
i
.During thegrid-generation step, when P is located on the top or bottom boundary of the transformed rectangular region, where λ
i
=
0, singularity will occur in (16b) and (16f). However, at the same time, the value of ψ is either 0 or π which makes sin
⁡
ψ
=
0. This zero value of sin
⁡
ψ makes the singularities of (16b) and (16f) vanish. Besides, it should be emphasized that the value of the term tan
-
1
⁡
s
j
+
1
/
λ
i
-
tan
-
1
⁡
s
j
/
λ
i is also zero when λ
i
=
0 [14]. After substituting λ
i
=
0, sin
⁡
ψ
=
0, and tan
-
1
⁡
s
j
+
1
/
λ
i
-
tan
-
1
⁡
s
j
/
λ
i
=
0 into (16a)–(16j), the original discretized equations are reduced to the following formulations:(17a)
I
11
x
1
=
I
12
x
1
=
J
11
x
1
=
J
12
x
1
=
K
11
x
1
=
K
12
x
1
=
J
21
x
1
=
J
22
x
1
=
0
,
(17b)
I
21
x
1
=
1
;
ψ
=
0
-
1
;
ψ
=
π
,
(17c)
I
22
x
1
=
1
2
s
j
+
1
-
s
j
ln
⁡
s
j
+
1
2
s
j
2
;
ψ
=
0
-
1
2
s
j
+
1
-
s
j
ln
⁡
s
j
+
1
2
s
j
2
;
ψ
=
π
.This result not only is relatively simple, but can also be determined, except at the source point (s
j
=
0 or s
j
+
1
=
0). Similarly, (12b), the derivative formulation in the vertical direction, can be discretized to the following equation:(18)
∂
∂
x
2
Φ
P
=
1
α
∑
e
n
E
F
Φ
j
Φ
j
+
1
+
G
H
∂
Φ
∂
n
j
∂
Φ
∂
n
j
+
1
,where(19a)
E
=
I
11
x
2
-
J
11
x
2
-
K
11
x
2
+
s
j
+
1
-
I
12
x
2
+
J
12
x
2
+
K
12
x
2
,
(19b)
F
=
-
I
11
x
2
+
J
11
x
2
+
K
11
x
2
-
s
j
-
I
12
x
2
+
J
12
x
2
+
K
12
x
2
,
(19c)
G
=
-
I
21
x
2
-
J
21
x
2
+
s
j
+
1
I
22
x
2
+
J
22
x
2
,
(19d)
H
=
I
21
x
2
+
J
21
x
2
-
s
j
J
22
x
2
+
I
22
x
2
.Notice that the formulation of I
11
x
2, I
12
x
2, J
11
x
2, J
12
x
2, K
11
x
2, K
12
x
2, I
21
x
2, I
22
x
2, J
21
x
2, and J
22
x
2 can be obtained by changing sin
⁡
ψ to cos
⁡
ψ and cos
⁡
ψ to sin
⁡
ψ in (16a)–(16j), and similar reduced formulations can be derived when P is located on the left or right boundary of the transformed rectangular region:(20a)
I
11
x
2
=
I
12
x
2
=
J
11
x
2
=
J
12
x
2
=
K
11
x
2
=
K
12
x
2
=
J
21
x
2
=
J
22
x
2
=
0
,
(20b)
I
21
x
2
=
1
;
ψ
=
1
2
π
-
1
;
ψ
=
3
2
π
,
(20c)
I
22
x
2
=
1
2
s
j
+
1
-
s
j
ln
⁡
s
j
+
1
2
s
j
2
;
ψ
=
1
2
π
-
1
2
s
j
+
1
-
s
j
ln
⁡
s
j
+
1
2
s
j
2
;
ψ
=
3
2
π
.The Jacobian determinant of the inverse transformation, from the rectangular region to the irregular region, defined as (7b), is a combination of partial derivatives in the rectangular region. On the top and bottom boundaries of the rectangular region, the horizontal partial derivatives ∂
x
/
∂
ξ and ∂
y
/
∂
ξ can be evaluated using (14)–(17c). Instead of using the BIEM directly, high-accuracy vertical derivatives ∂
x
/
∂
η and ∂
y
/
∂
η can be evaluated by applying the Cauchy-Riemann equations for inverse transformation, (6a) and (6b). Similarly, on the right and left boundaries, the vertical derivatives ∂
x
/
∂
η and ∂
y
/
∂
η can be derived using (18)–(20c), and the horizontal partial derivatives ∂
x
/
∂
ξ and ∂
y
/
∂
ξ can be subsequently evaluated by applying the Cauchy-Riemann equations. An illustration of this solution is provided in Figure 4. Once these partial derivatives on the boundaries are evaluated using the reduced formulations, high-accuracy Jacobian determinants of the inverse transformation, J
ξ
,
η, can be constructed directly on the boundaries using (7b). After constructing J
ξ
,
η, the derivatives of the forward transformation, ∂
ξ
/
∂
x, ∂
ξ
/
∂
y, ∂
η
/
∂
x, and ∂
η
/
∂
y, can be obtained using (8e)–(8h). Finally, the Jacobian determinant of the forward transformation, J
x
,
y, can be constructed by using (7a).Figure 4
An illustration for the solution of the partial derivatives on the boundaries. The values of∂
x
/
∂
ξ and ∂
y
/
∂
ξ on the top and bottom boundaries can be solved for directly using the BIEM with the improved formulation, and then the values of ∂
x
/
∂
η and ∂
y
/
∂
η can be obtained using the Cauchy-Riemann equations. Similarly, the values of ∂
x
/
∂
η and ∂
y
/
∂
η on the right and left boundaries can be solved for directly using the BIEM with the improved formulation, and then the values of ∂
x
/
∂
ξ and ∂
y
/
∂
ξ can be obtained using the Cauchy-Riemann equations.Taking advantage of the transformed rectangular geometry, most singular terms in the conventional derivative formulations vanish, and the derivatives can then be evaluated on the boundaries. Furthermore, most terms in the reduced formulations are equal to zero, which implies far fewer computational errors than using conventional formulations. Although the present reduced formulations still cannot evaluate the derivatives at the source points, adopting approximations with the present formulations can yield accurate results. An illustrated example is provided in Section5.


## 4. Length-to-Width Ratio of Conformal Modulus

To perform conformal mapping from a hyperrectangular region (x
-
y) to a rectangular region (ξ
-
η), a specific ratio of length to width have to be fit on the rectangular region. An iterative method has been presented by Seidl and Klose [15]. In this section, we propose a numerical integral method to find this ratio as follows.Let the width of the rectangular region (η
0) be equal to a suitable value. Then ∂
η
/
∂
x, ∂
η
/
∂
y, and J
x
,
y can be obtained by solving ∇
2
η
=
0 and (10a) and (10b). The corresponding length (ξ
0) satisfying the Cauchy-Riemann equations can be evaluated by the following integral equation:(21)
ξ
0
=
∫
d
ξ
=
∫
∂
ξ
∂
x
d
x
+
∫
∂
ξ
∂
y
d
y
,where ∂
ξ
/
∂
x
=
∂
η
/
∂
y and ∂
ξ
/
∂
y
=
-
∂
η
/
∂
x. By using difference method, (21) was discretized to the following equation:(22)
ξ
0
=
∑
k
=
1
N
ξ
k
+
1
-
ξ
k
=
∑
k
=
1
N
∂
η
∂
y
k
∗
x
k
+
1
-
x
k
+
∑
k
=
1
N
-
∂
η
∂
x
k
∗
y
k
+
1
-
y
k
,where the subscript k represents the kth node on the integral path; the subscript k
∗ means a middle location between k and k
+
1; N is the number of the nodes. The numerical integration is performed from the side mapped onto ξ
=
0 to the other side mapped onto ξ
=
ξ
0. Theoretically, the integration is independent of integral path. Since the numerical error is unavoidable, several integral paths are chosen in the hyperrectangular region (x
-
y) to reduce the numerical error, for example, O
1
A
1
⃑, O
2
A
2
⃑, and O
3
A
3
⃑, in Figure 5. Then, perform integration using (22), respectively. After the integrations are completed, the average of ξ
0s from these integral paths, ξ
0
¯, is used as the length of the rectangular region that fitted Cauchy-Riemann equations.Figure 5
The integral paths of the numerical integral method for finding the length-to-width ratio to apply conformal mapping from a hyperrectangular region onto a rectangular region.


## 5. Results and Discussion

This research proposes a numerical integral method to calculate the length-to-with ratio of a rectangular region when a conformal mapping is performed from a hyperrectangular region to the rectangular region. Besides, an improved scheme to directly solve for the partial derivatives on the boundaries when conformal mapping is performed using the BIEM is also proposed in this research. By applying the properties of rectangular geometry, the reduced formulations of BIEM discretization, (17a)–(17c) and (20a)–(20c), significantly improved the accuracy of the calculation results.In order to validate the improved boundary-derivative-solving scheme, three examples are provided in this section: the first is a transformation from a unit-square region into another unit-square region; the second is a transformation from an arc region into a rectangular region; the third is a transformation from a wave-block region (one side is a wave curve and other sides are straight lines) into a rectangular region.


### 5.1. Unit-Square Transformation

The case of unit-square transformation and the error estimates at a source point are introduced first. When the calculation point is located at a source point, neither the conventional nor the present numerical scheme can provide the derivative. However, since the governing equation is the Laplace equation, the analytical solution should be continuous and smooth. These properties make it reasonable to approach the derivative at the source point using a numerical result from a nearby point. Tsay and Hsu [16] suggested that an approach distance of 10−6 from the inner domain be used to perform the derivative calculation, while in this research the approximation approach along the boundaries is used. To assess which approach can provide results that are more accurate, a unit-square region with two complicated Dirichlet and two Neumann boundary conditions is considered. The Dirichlet boundaries were set on the top and bottom and the Neumann boundaries were set on the right and left, as shown in Figure 6. The analytical solution of the potential value and its partial derivative in the x-direction are(23)
ϕ
=
cos
⁡
x
cosh
⁡
y
+
sin
⁡
x
sinh
⁡
y
,
∂
ϕ
∂
x
=
-
sin
⁡
x
cosh
⁡
y
+
cos
⁡
x
sinh
⁡
y
.Figure 6
The unit square with complicated boundary conditions. In order to evaluate the derivative on a source point, this research approached the point along the boundary, while Tsay and Hsu [16] approached the point from inside the boundary.In order to capture the complicated analytical solution, 100 elements were applied on each side of the computational region, and then a series of computations in the derivative with respect tox near the source point (
0.0,0.5
) were performed. Figure 7 provides the percentage errors between the analytical solutions at the source point (
0.0,0.5
) and the numerical results near the source point. Figure 7 shows that the percentage errors from the approximations made by Tsay and Hsu and in the present study both decrease as the calculation point approaches the source point. However, the present study generates significantly fewer errors. In addition, when the approach distance is shorter than 10−12, Tsay and Hsu’s numerical result becomes singular, whereas the present scheme still provides an accurate result.Figure 7
The percentage errors of the boundary derivatives near the source point(
0.0,0.5
). The errors were significantly reduced by using the present scheme.Unfortunately, a numerical result cannot be achieved at the corners using this boundary approach. The reason for this is as follows. Either (17a)–(17c) or (20a)–(20c) can be applied to overcome the singularity that occurs when the local coordinate λ is equal to 0 for an element on one side close to a corner. However, the local coordinate λ of the element on the adjacent side is very small, while the original formulations in (16a)–(16j) are applied. This substitution of a small λ in the original formulations results in a singularity.For example, in order to calculate the derivative value on corner C in Figure8, the calculation should be performed a small distance away, along the boundary, at C
′ because the corner is a source point. When the derivative calculation is performed using (18) and (19a)–(19d), the reduced formulations in (20a)–(20c) are applied to solve the λ singularity on the boundary elements on the left-hand side, E
i. Original formulations in (16a)–(16j) are applied on the boundary elements at the bottom, E
j. The small distance, λ of E
j, results in another numerical singularity. To overcome this problem, the conventional forward and backward difference schemes are suggested, although they cannot provide the same accuracy as the present scheme does at other points.Figure 8
An illustration of the corner singularity. While evaluating the derivative ofC
′, the small distance λ to E
j will become a singularity source.


### 5.2. Arc-Region Transformation

The second example is a transformation from an arc region into a rectangular region, as shown in Figures9(a) and 9(b), where θ is from π
/
4 to 3
π
/
4; R
o
u
t
=
2; R
i
n
=
1; and η
0
=
1. The remaining unknown ξ
0 can be determined by the numerical integral method proposed in this research, using 5 integral paths with R
p
a
t
h = 1.3, 1.4, 1.5, 1.6, and 1.7, respectively, as the dash lines shown in Figure 9(a). The development of ξ
0
¯ with the number of discretized elements of the integral path, N, is shown in Figure 10(a). As N is increasing, ξ
0
¯ approaches the analytical solution in (24a)–(24h). The standard deviation of these ξ
0s from different integral paths is observed to be independent of N, when N is greater than 200, as shown in Figure 10(b). The error evaluations shown in Figure 11 illustrate that the percentage errors decrease with N. When N is equal to 500, the percentage error is only 1.55
×
1
0
-
5(%). Since the analytical solution is available in this case, conformal mapping was performed using the analytical ξ
0
=
π
/
ln
⁡
4
=
2.26618, which derived from (24g). To perform the conformal mapping with BIEM, either inner or outer curve boundary of the arc region is discretized into 200 elements, and each straight boundary is discretized into 100 elements. By using the governing equations and boundary conditions for the forward transformations shown in Figures 12(a) and 12(b), A
B
¯, B
C
¯, C
D
¯, and D
A
¯ sections in the arc region are mapped onto A
B
′
¯, B
C
′
¯, C
D
′
¯, and D
A
′
¯ sections in the rectangular region, respectively. Then, the inverse transformation is performed with the governing equations, ∇
2
x
=
0 and ∇
2
y
=
0, and all the Dirichlet type boundary conditions. After the conformal mapping is completed, a 13
×
5 regular grid is built in the rectangular region and then mapped onto the arc region, as shown in Figures 13(a) and 13(b).Figure 9
Conformal mapping from (a) an arc region to (b) a rectangular region, whereθ is from π
/
4 to 3
π
/
4; R
o
u
t
=
2; R
i
n
=
1; η
0
=
1; and ξ
0
=
2.26618. R
p
a
t
h is the integral path, equal to 1.3, 1.4, 1.5, 1.6, and 1.7, in this case.
(a)
(b)Figure 10
(a) The average length of rectangular region,ξ
0
¯, obtained by using the numerical integral method proposed in this research. (b) The standard deviation of ξ
0s from different integral paths.
(a)
(b)Figure 11
The percentage errors of the average length of rectangular region,ξ
0
¯. As the discretized elements of the integral path are equal to 500, the numerical error is negligible.Figure 12
The governing equations and boundary conditions of (a)ξ transformation and (b) η transformation.
(a)
(b)Figure 13
Orthogonal13
×
5 grids generated by using BIEM: (a) arc region; (b) rectangular region.
(a)
(b)The numerical boundary derivatives and Jacobian determinants were examined with their analytical values. The analytical solutions of the forward transformation and the related derivatives are listed below:(24a)
ξ
=
-
U
tan
-
1
⁡
y
x
-
3
4
π
,
(24b)
η
=
U
ln
⁡
x
2
+
y
2
+
V
,
(24c)
∂
ξ
∂
x
=
U
y
x
2
+
y
2
,
(24d)
∂
ξ
∂
y
=
-
U
x
x
2
+
y
2
,
(24e)
∂
η
∂
x
=
U
x
x
2
+
y
2
,
(24f)
∂
η
∂
y
=
U
y
x
2
+
y
2
,where(24g)
U
=
2
π
ξ
0
=
η
0
ln
⁡
R
o
u
t
/
R
i
n
,
(24h)
V
=
-
η
0
ln
⁡
R
o
u
t
/
R
i
n
ln
⁡
R
i
n
.Then, the analytical solutions of the inverse transformation and related derivatives are as follows:(25a)
x
=
e
η
-
V
/
U
cos
⁡
-
ξ
U
+
3
4
π
,
(25b)
y
=
e
η
-
V
/
U
sin
⁡
-
ξ
U
+
3
4
π
,
(25c)
∂
x
∂
ξ
=
1
U
e
η
-
V
/
U
sin
⁡
-
ξ
U
+
3
4
π
,
(25d)
∂
x
∂
η
=
1
U
e
η
-
V
/
U
cos
⁡
-
ξ
U
+
3
4
π
,
(25e)
∂
y
∂
ξ
=
-
1
U
e
η
-
V
/
U
cos
⁡
-
ξ
U
+
3
4
π
,
(25f)
∂
y
∂
η
=
1
U
e
η
-
V
/
U
sin
⁡
-
ξ
U
+
3
4
π
.Finally, the analytical Jacobian determinants can be derived using above equations and shown as below:(26)
J
ξ
,
η
=
1
U
2
e
2
η
-
V
/
U
=
x
2
+
y
2
U
2
=
1
J
x
,
y
,which agrees with (9). Figures 14(a)–14(d), respectively, compare the errors of ∂
x
/
∂
ξ, ∂
x
/
∂
η, ∂
y
/
∂
ξ, and ∂
y
/
∂
η, on the boundaries evaluated using the scheme suggested by Tsay and Hsu [16] and the scheme provided in the present research. The horizontal axis represents the node indices clockwise along the boundary, excluding the corners. The vertical axis represents the relative errors, ε, defined as(27)
ε
%
=
χ
-
γ
γ
×
100
,where γ represents analytical solutions and χ represents numerical solutions. Although ε from Tsay and Hsu’s scheme is small, it is observed to be further smaller than in the present scheme. The errors of J
ξ
,
η and J
x
,
y on the boundaries by using the two methods are compared in Figures 15(a) and 15(b). Since J
x
,
y has a direct relation with J
ξ
,
η, as shown in (9) and (26), the trends of error distribution of J
ξ
,
η and J
x
,
y are similar. As can be seen, the present numerical scheme provides more accurate results. To quantify the improved accuracy, an average error was defined as ε
¯
=
∑
i
N
ε
i
/
N, where ε
i is the percentage error (%) at each boundary node and N is the number of the boundary nodes excluding the corners. Although the scheme of Tsay and Hsu [16] provides accurate results with ε
¯
=
0.074
% in both J
ξ
,
η and J
x
,
y, the average error farther sharply decreases to ε
¯
=
0.00068
%, after using the present scheme.Figure 14
Comparison of the percentage errors of (a)∂
x
/
∂
ξ, (b) ∂
x
/
∂
η, (c) ∂
y
/
∂
ξ, and (d) ∂
y
/
∂
η between the present results and those from Tsay and Hsu [16]. After adopting the present numerical scheme, the derivatives on the boundary are much more accurate.
(a)
(b)
(c)
(d)Figure 15
Comparison of the percentage errors of (a)J
ξ
,
η and (b) J
x
,
y between the present results and those from Tsay and Hsu [16]. After adopting the present numerical scheme, the transformed Jacobian determinants on the boundary are much more accurate.
(a)
(b)


### 5.3. Wave-Block Region Transformation

The third example is a transformation from a wave-block region into a rectangular region, as shown in Figures16(a) and 16(b), where R
=
1 and η
0
=
3. ξ
0 was obtained by the numerical integral method, since the analytical ξ
0 does not exist. To perform the numerical integral method, 6 straight lines are chosen as integral paths, as the dash lines in Figure 16(a). Figures 17(a) and 17(b), respectively, show the convergence of ξ
0
¯ and its standard deviation σ with the discrete elements, using the numerical integral method. As the number of the discretized elements is equal to 25600, ξ
0
¯ was convergent to 4.966196, used in the conformal mapping process. σ was observed to decrease with the number of the discretized elements. Orthogonality of the grid is a criterion to examine whether ξ
0
¯ approached the analytical ξ
0. The following relative errors quantify the grid orthogonality [17]:(28)
AREo
=
∑
i
=
1
m
∇
ξ
·
∇
η
i
2
∑
i
=
1
m
∇
ξ
2
∇
η
2
i
,
MREo
=
max
⁡
∇
ξ
·
∇
η
i
2
,
i
=
1
~
m
1
/
m
∑
i
=
1
m
∇
ξ
2
∇
η
2
i
.The smaller the values of AREo and MREo are, the higher the orthogonality of the grid will be. A linear relation is observed between not only AREo and ξ
0
¯, but also MREo and ξ
0
¯, as shown in Figure 18. When ξ
0
¯ is equal to 4.966196, AREo and MREo are equal to 8.14 × 10−6 and 3.23 × 10−4, respectively. The small values of AREo and MREo indicate that ξ
0
¯ is very close to the analytical value.Figure 16
Conformal mapping from (a) a wave-block region to (b) a rectangular region, whereR
=
1; η
0
=
3; ξ
0
=
4.966196. The dash line in (a) is the numerical integral path for evaluating ξ
0.
(a)
(b)Figure 17
(a) The average length of the rectangular region transformed from the wave-block region. (b) The standard deviation ofξ
0s from different integral paths.
(a)
(b)Figure 18
The relative errors of orthogonality: (a) AREo and (b) MREo. The two errors are observed to linearly decrease withξ
0
¯.
(a)
(b)To perform the conformal mapping with BIEM, the boundary is discretized into 1400 elements, whereA
B
¯ and C
D
¯ sections are discretized into 300 elements and A
D
¯ and B
C
¯ sections are discretized into 400 elements. A
B
¯, B
C
¯, C
D
¯, and D
A
¯ sections of the wave-block region are mapped onto A
′
B
′
¯, B
′
C
′
¯, C
′
D
′
¯, and D
′
A
′
¯ sections of the rectangular region, respectively. In the forward transformation, the governing equations and boundary conditions are set as in Figure 19. In the backward transformation, the governing equations are ∇
2
x
=
0 and ∇
2
y
=
0 with all the Dirichlet type boundary conditions. After the conformal mapping was completed, a 50
×
30 regular grid is built in the rectangular region and then mapped onto the wave-block region, as shown in Figures 20(a) and 20(b).Figure 19
The governing equations and boundary conditions of (a)ξ transformation and (b) η transformation.
(a)
(b)Figure 20
Orthogonal50
×
30 grids generated by using BIEM: (a) wave-block region; (b) rectangular region.
(a)
(b)The boundary derivatives of the conformal mapping are evaluated using the improved scheme proposed in this research. Since there is no analytical solution in this case, a conventional numerical method, FDM, is used to examine the correctness of the proposed scheme. It is applied in the rectangular region (ξ
-
η coordinates) to obtain the boundary derivatives ∂
x
/
∂
ξ, ∂
x
/
∂
η, ∂
y
/
∂
ξ, and ∂
y
/
∂
η. Then, (8e)–(8h) are used to obtain the boundary derivatives ∂
ξ
/
∂
x, ∂
ξ
/
∂
y, ∂
η
/
∂
x, and ∂
η
/
∂
y. To increase the accuracy, the second-order formulations of FDM are used, as shown in the following:(29)
Φ
i
′
=
-
3
Φ
a
0
+
4
Φ
a
+
Δ
-
Φ
a
+
2
Δ
2
Δ
+
O
2
forward difference formulation
,
Φ
i
′
=
3
Φ
a
0
-
4
Φ
a
-
Δ
+
Φ
a
-
2
Δ
2
Δ
+
O
2
backward difference formulation
,
Φ
i
′
=
Φ
a
+
0.5
Δ
-
Φ
a
-
0.5
Δ
Δ
+
O
2
central difference formulation
,where Δ
=
0.01 in this case; the subscript a represents the ath point to evaluate its derivative; Φ
i
±
b
Δ represents the function value (x or y) from the ath point plus or minus b
Δ distance. Since theboundary-unknown solving step has been finished, any function value can be obtained by using (4) explicitly, without constraint on the grid nodes. These difference formulations are applied either along or perpendicular to the boundaries. The positions of Φ are all set within the rectangular region.The derivatives of the conformal mapping,∂
η
/
∂
x and ∂
η
/
∂
y, on the boundaries of the wave-block region evaluated by the two numerical methods are shown in Figures 21(a)–21(d) and 22(a)–22(d), respectively. The results of ∂
η
/
∂
y are observed to be consistent on each section of the boundaries, while ∂
η
/
∂
x are observed with some difference on A
B
¯, C
D
¯, and D
A
¯ sections. Because the boundary conditions enforce ∂
η
/
∂
x
=
0 on A
B
¯, C
D
¯, and D
A
¯ sections, the nonzero values on these sections are numerical errors. Although the numerical errors of present scheme are observed to be higher than FDM on D
A
¯ section, their absolute values are constrained below a small value of about 3
×
1
0
-
7. On the other hand, the absolute values of numerical errors of FDM are observed to be about 5
×
1
0
-
4 on A
B
¯ and C
D
¯ sections, much higher than the errors of the present scheme. Similar results take place on ∂
ξ
/
∂
x and ∂
ξ
/
∂
y, which are not shown in this paper for elegance. Despite the tiny numerical errors, the boundary derivatives are observed to be consistent by using the proposed scheme and FDM. These consistent results demonstrate that the proposed scheme can be applied to irregular regions that have no analytical solutions for the conformal mapping. Since the improved boundary derivative formulations proposed in this research are coupled with the Cauchy-Riemann equations, their accuracy are affected by the correctness of the length-to-width ratio of the rectangular region. The consistent results of the boundary derivatives validate not only the proposed boundary derivative formulations but also the integral method for the length-to-width ratio.Figure 21
The derivative,∂
η
/
∂
x, on (a) A
B
¯, (b) B
C
¯, (c) C
D
¯, and (d) D
A
¯ sections of the wave-block boundaries. The results obtained by using the proposed scheme and FDM are consistent on each section.
(a)
(b)
(c)
(d)Figure 22
The derivative,∂
η
/
∂
y, on (a) A
B
¯, (b) B
C
¯, (c) C
D
¯, and (d) D
A
¯ sections of the wave-block boundaries. The results obtained by using the proposed scheme and FDM are consistent on each section.
(a)
(b)
(c)
(d)


## 5.1. Unit-Square Transformation

The case of unit-square transformation and the error estimates at a source point are introduced first. When the calculation point is located at a source point, neither the conventional nor the present numerical scheme can provide the derivative. However, since the governing equation is the Laplace equation, the analytical solution should be continuous and smooth. These properties make it reasonable to approach the derivative at the source point using a numerical result from a nearby point. Tsay and Hsu [16] suggested that an approach distance of 10−6 from the inner domain be used to perform the derivative calculation, while in this research the approximation approach along the boundaries is used. To assess which approach can provide results that are more accurate, a unit-square region with two complicated Dirichlet and two Neumann boundary conditions is considered. The Dirichlet boundaries were set on the top and bottom and the Neumann boundaries were set on the right and left, as shown in Figure 6. The analytical solution of the potential value and its partial derivative in the x-direction are(23)
ϕ
=
cos
⁡
x
cosh
⁡
y
+
sin
⁡
x
sinh
⁡
y
,
∂
ϕ
∂
x
=
-
sin
⁡
x
cosh
⁡
y
+
cos
⁡
x
sinh
⁡
y
.Figure 6
The unit square with complicated boundary conditions. In order to evaluate the derivative on a source point, this research approached the point along the boundary, while Tsay and Hsu [16] approached the point from inside the boundary.In order to capture the complicated analytical solution, 100 elements were applied on each side of the computational region, and then a series of computations in the derivative with respect tox near the source point (
0.0,0.5
) were performed. Figure 7 provides the percentage errors between the analytical solutions at the source point (
0.0,0.5
) and the numerical results near the source point. Figure 7 shows that the percentage errors from the approximations made by Tsay and Hsu and in the present study both decrease as the calculation point approaches the source point. However, the present study generates significantly fewer errors. In addition, when the approach distance is shorter than 10−12, Tsay and Hsu’s numerical result becomes singular, whereas the present scheme still provides an accurate result.Figure 7
The percentage errors of the boundary derivatives near the source point(
0.0,0.5
). The errors were significantly reduced by using the present scheme.Unfortunately, a numerical result cannot be achieved at the corners using this boundary approach. The reason for this is as follows. Either (17a)–(17c) or (20a)–(20c) can be applied to overcome the singularity that occurs when the local coordinate λ is equal to 0 for an element on one side close to a corner. However, the local coordinate λ of the element on the adjacent side is very small, while the original formulations in (16a)–(16j) are applied. This substitution of a small λ in the original formulations results in a singularity.For example, in order to calculate the derivative value on corner C in Figure8, the calculation should be performed a small distance away, along the boundary, at C
′ because the corner is a source point. When the derivative calculation is performed using (18) and (19a)–(19d), the reduced formulations in (20a)–(20c) are applied to solve the λ singularity on the boundary elements on the left-hand side, E
i. Original formulations in (16a)–(16j) are applied on the boundary elements at the bottom, E
j. The small distance, λ of E
j, results in another numerical singularity. To overcome this problem, the conventional forward and backward difference schemes are suggested, although they cannot provide the same accuracy as the present scheme does at other points.Figure 8
An illustration of the corner singularity. While evaluating the derivative ofC
′, the small distance λ to E
j will become a singularity source.


## 5.2. Arc-Region Transformation

The second example is a transformation from an arc region into a rectangular region, as shown in Figures9(a) and 9(b), where θ is from π
/
4 to 3
π
/
4; R
o
u
t
=
2; R
i
n
=
1; and η
0
=
1. The remaining unknown ξ
0 can be determined by the numerical integral method proposed in this research, using 5 integral paths with R
p
a
t
h = 1.3, 1.4, 1.5, 1.6, and 1.7, respectively, as the dash lines shown in Figure 9(a). The development of ξ
0
¯ with the number of discretized elements of the integral path, N, is shown in Figure 10(a). As N is increasing, ξ
0
¯ approaches the analytical solution in (24a)–(24h). The standard deviation of these ξ
0s from different integral paths is observed to be independent of N, when N is greater than 200, as shown in Figure 10(b). The error evaluations shown in Figure 11 illustrate that the percentage errors decrease with N. When N is equal to 500, the percentage error is only 1.55
×
1
0
-
5(%). Since the analytical solution is available in this case, conformal mapping was performed using the analytical ξ
0
=
π
/
ln
⁡
4
=
2.26618, which derived from (24g). To perform the conformal mapping with BIEM, either inner or outer curve boundary of the arc region is discretized into 200 elements, and each straight boundary is discretized into 100 elements. By using the governing equations and boundary conditions for the forward transformations shown in Figures 12(a) and 12(b), A
B
¯, B
C
¯, C
D
¯, and D
A
¯ sections in the arc region are mapped onto A
B
′
¯, B
C
′
¯, C
D
′
¯, and D
A
′
¯ sections in the rectangular region, respectively. Then, the inverse transformation is performed with the governing equations, ∇
2
x
=
0 and ∇
2
y
=
0, and all the Dirichlet type boundary conditions. After the conformal mapping is completed, a 13
×
5 regular grid is built in the rectangular region and then mapped onto the arc region, as shown in Figures 13(a) and 13(b).Figure 9
Conformal mapping from (a) an arc region to (b) a rectangular region, whereθ is from π
/
4 to 3
π
/
4; R
o
u
t
=
2; R
i
n
=
1; η
0
=
1; and ξ
0
=
2.26618. R
p
a
t
h is the integral path, equal to 1.3, 1.4, 1.5, 1.6, and 1.7, in this case.
(a)
(b)Figure 10
(a) The average length of rectangular region,ξ
0
¯, obtained by using the numerical integral method proposed in this research. (b) The standard deviation of ξ
0s from different integral paths.
(a)
(b)Figure 11
The percentage errors of the average length of rectangular region,ξ
0
¯. As the discretized elements of the integral path are equal to 500, the numerical error is negligible.Figure 12
The governing equations and boundary conditions of (a)ξ transformation and (b) η transformation.
(a)
(b)Figure 13
Orthogonal13
×
5 grids generated by using BIEM: (a) arc region; (b) rectangular region.
(a)
(b)The numerical boundary derivatives and Jacobian determinants were examined with their analytical values. The analytical solutions of the forward transformation and the related derivatives are listed below:(24a)
ξ
=
-
U
tan
-
1
⁡
y
x
-
3
4
π
,
(24b)
η
=
U
ln
⁡
x
2
+
y
2
+
V
,
(24c)
∂
ξ
∂
x
=
U
y
x
2
+
y
2
,
(24d)
∂
ξ
∂
y
=
-
U
x
x
2
+
y
2
,
(24e)
∂
η
∂
x
=
U
x
x
2
+
y
2
,
(24f)
∂
η
∂
y
=
U
y
x
2
+
y
2
,where(24g)
U
=
2
π
ξ
0
=
η
0
ln
⁡
R
o
u
t
/
R
i
n
,
(24h)
V
=
-
η
0
ln
⁡
R
o
u
t
/
R
i
n
ln
⁡
R
i
n
.Then, the analytical solutions of the inverse transformation and related derivatives are as follows:(25a)
x
=
e
η
-
V
/
U
cos
⁡
-
ξ
U
+
3
4
π
,
(25b)
y
=
e
η
-
V
/
U
sin
⁡
-
ξ
U
+
3
4
π
,
(25c)
∂
x
∂
ξ
=
1
U
e
η
-
V
/
U
sin
⁡
-
ξ
U
+
3
4
π
,
(25d)
∂
x
∂
η
=
1
U
e
η
-
V
/
U
cos
⁡
-
ξ
U
+
3
4
π
,
(25e)
∂
y
∂
ξ
=
-
1
U
e
η
-
V
/
U
cos
⁡
-
ξ
U
+
3
4
π
,
(25f)
∂
y
∂
η
=
1
U
e
η
-
V
/
U
sin
⁡
-
ξ
U
+
3
4
π
.Finally, the analytical Jacobian determinants can be derived using above equations and shown as below:(26)
J
ξ
,
η
=
1
U
2
e
2
η
-
V
/
U
=
x
2
+
y
2
U
2
=
1
J
x
,
y
,which agrees with (9). Figures 14(a)–14(d), respectively, compare the errors of ∂
x
/
∂
ξ, ∂
x
/
∂
η, ∂
y
/
∂
ξ, and ∂
y
/
∂
η, on the boundaries evaluated using the scheme suggested by Tsay and Hsu [16] and the scheme provided in the present research. The horizontal axis represents the node indices clockwise along the boundary, excluding the corners. The vertical axis represents the relative errors, ε, defined as(27)
ε
%
=
χ
-
γ
γ
×
100
,where γ represents analytical solutions and χ represents numerical solutions. Although ε from Tsay and Hsu’s scheme is small, it is observed to be further smaller than in the present scheme. The errors of J
ξ
,
η and J
x
,
y on the boundaries by using the two methods are compared in Figures 15(a) and 15(b). Since J
x
,
y has a direct relation with J
ξ
,
η, as shown in (9) and (26), the trends of error distribution of J
ξ
,
η and J
x
,
y are similar. As can be seen, the present numerical scheme provides more accurate results. To quantify the improved accuracy, an average error was defined as ε
¯
=
∑
i
N
ε
i
/
N, where ε
i is the percentage error (%) at each boundary node and N is the number of the boundary nodes excluding the corners. Although the scheme of Tsay and Hsu [16] provides accurate results with ε
¯
=
0.074
% in both J
ξ
,
η and J
x
,
y, the average error farther sharply decreases to ε
¯
=
0.00068
%, after using the present scheme.Figure 14
Comparison of the percentage errors of (a)∂
x
/
∂
ξ, (b) ∂
x
/
∂
η, (c) ∂
y
/
∂
ξ, and (d) ∂
y
/
∂
η between the present results and those from Tsay and Hsu [16]. After adopting the present numerical scheme, the derivatives on the boundary are much more accurate.
(a)
(b)
(c)
(d)Figure 15
Comparison of the percentage errors of (a)J
ξ
,
η and (b) J
x
,
y between the present results and those from Tsay and Hsu [16]. After adopting the present numerical scheme, the transformed Jacobian determinants on the boundary are much more accurate.
(a)
(b)


## 5.3. Wave-Block Region Transformation

The third example is a transformation from a wave-block region into a rectangular region, as shown in Figures16(a) and 16(b), where R
=
1 and η
0
=
3. ξ
0 was obtained by the numerical integral method, since the analytical ξ
0 does not exist. To perform the numerical integral method, 6 straight lines are chosen as integral paths, as the dash lines in Figure 16(a). Figures 17(a) and 17(b), respectively, show the convergence of ξ
0
¯ and its standard deviation σ with the discrete elements, using the numerical integral method. As the number of the discretized elements is equal to 25600, ξ
0
¯ was convergent to 4.966196, used in the conformal mapping process. σ was observed to decrease with the number of the discretized elements. Orthogonality of the grid is a criterion to examine whether ξ
0
¯ approached the analytical ξ
0. The following relative errors quantify the grid orthogonality [17]:(28)
AREo
=
∑
i
=
1
m
∇
ξ
·
∇
η
i
2
∑
i
=
1
m
∇
ξ
2
∇
η
2
i
,
MREo
=
max
⁡
∇
ξ
·
∇
η
i
2
,
i
=
1
~
m
1
/
m
∑
i
=
1
m
∇
ξ
2
∇
η
2
i
.The smaller the values of AREo and MREo are, the higher the orthogonality of the grid will be. A linear relation is observed between not only AREo and ξ
0
¯, but also MREo and ξ
0
¯, as shown in Figure 18. When ξ
0
¯ is equal to 4.966196, AREo and MREo are equal to 8.14 × 10−6 and 3.23 × 10−4, respectively. The small values of AREo and MREo indicate that ξ
0
¯ is very close to the analytical value.Figure 16
Conformal mapping from (a) a wave-block region to (b) a rectangular region, whereR
=
1; η
0
=
3; ξ
0
=
4.966196. The dash line in (a) is the numerical integral path for evaluating ξ
0.
(a)
(b)Figure 17
(a) The average length of the rectangular region transformed from the wave-block region. (b) The standard deviation ofξ
0s from different integral paths.
(a)
(b)Figure 18
The relative errors of orthogonality: (a) AREo and (b) MREo. The two errors are observed to linearly decrease withξ
0
¯.
(a)
(b)To perform the conformal mapping with BIEM, the boundary is discretized into 1400 elements, whereA
B
¯ and C
D
¯ sections are discretized into 300 elements and A
D
¯ and B
C
¯ sections are discretized into 400 elements. A
B
¯, B
C
¯, C
D
¯, and D
A
¯ sections of the wave-block region are mapped onto A
′
B
′
¯, B
′
C
′
¯, C
′
D
′
¯, and D
′
A
′
¯ sections of the rectangular region, respectively. In the forward transformation, the governing equations and boundary conditions are set as in Figure 19. In the backward transformation, the governing equations are ∇
2
x
=
0 and ∇
2
y
=
0 with all the Dirichlet type boundary conditions. After the conformal mapping was completed, a 50
×
30 regular grid is built in the rectangular region and then mapped onto the wave-block region, as shown in Figures 20(a) and 20(b).Figure 19
The governing equations and boundary conditions of (a)ξ transformation and (b) η transformation.
(a)
(b)Figure 20
Orthogonal50
×
30 grids generated by using BIEM: (a) wave-block region; (b) rectangular region.
(a)
(b)The boundary derivatives of the conformal mapping are evaluated using the improved scheme proposed in this research. Since there is no analytical solution in this case, a conventional numerical method, FDM, is used to examine the correctness of the proposed scheme. It is applied in the rectangular region (ξ
-
η coordinates) to obtain the boundary derivatives ∂
x
/
∂
ξ, ∂
x
/
∂
η, ∂
y
/
∂
ξ, and ∂
y
/
∂
η. Then, (8e)–(8h) are used to obtain the boundary derivatives ∂
ξ
/
∂
x, ∂
ξ
/
∂
y, ∂
η
/
∂
x, and ∂
η
/
∂
y. To increase the accuracy, the second-order formulations of FDM are used, as shown in the following:(29)
Φ
i
′
=
-
3
Φ
a
0
+
4
Φ
a
+
Δ
-
Φ
a
+
2
Δ
2
Δ
+
O
2
forward difference formulation
,
Φ
i
′
=
3
Φ
a
0
-
4
Φ
a
-
Δ
+
Φ
a
-
2
Δ
2
Δ
+
O
2
backward difference formulation
,
Φ
i
′
=
Φ
a
+
0.5
Δ
-
Φ
a
-
0.5
Δ
Δ
+
O
2
central difference formulation
,where Δ
=
0.01 in this case; the subscript a represents the ath point to evaluate its derivative; Φ
i
±
b
Δ represents the function value (x or y) from the ath point plus or minus b
Δ distance. Since theboundary-unknown solving step has been finished, any function value can be obtained by using (4) explicitly, without constraint on the grid nodes. These difference formulations are applied either along or perpendicular to the boundaries. The positions of Φ are all set within the rectangular region.The derivatives of the conformal mapping,∂
η
/
∂
x and ∂
η
/
∂
y, on the boundaries of the wave-block region evaluated by the two numerical methods are shown in Figures 21(a)–21(d) and 22(a)–22(d), respectively. The results of ∂
η
/
∂
y are observed to be consistent on each section of the boundaries, while ∂
η
/
∂
x are observed with some difference on A
B
¯, C
D
¯, and D
A
¯ sections. Because the boundary conditions enforce ∂
η
/
∂
x
=
0 on A
B
¯, C
D
¯, and D
A
¯ sections, the nonzero values on these sections are numerical errors. Although the numerical errors of present scheme are observed to be higher than FDM on D
A
¯ section, their absolute values are constrained below a small value of about 3
×
1
0
-
7. On the other hand, the absolute values of numerical errors of FDM are observed to be about 5
×
1
0
-
4 on A
B
¯ and C
D
¯ sections, much higher than the errors of the present scheme. Similar results take place on ∂
ξ
/
∂
x and ∂
ξ
/
∂
y, which are not shown in this paper for elegance. Despite the tiny numerical errors, the boundary derivatives are observed to be consistent by using the proposed scheme and FDM. These consistent results demonstrate that the proposed scheme can be applied to irregular regions that have no analytical solutions for the conformal mapping. Since the improved boundary derivative formulations proposed in this research are coupled with the Cauchy-Riemann equations, their accuracy are affected by the correctness of the length-to-width ratio of the rectangular region. The consistent results of the boundary derivatives validate not only the proposed boundary derivative formulations but also the integral method for the length-to-width ratio.Figure 21
The derivative,∂
η
/
∂
x, on (a) A
B
¯, (b) B
C
¯, (c) C
D
¯, and (d) D
A
¯ sections of the wave-block boundaries. The results obtained by using the proposed scheme and FDM are consistent on each section.
(a)
(b)
(c)
(d)Figure 22
The derivative,∂
η
/
∂
y, on (a) A
B
¯, (b) B
C
¯, (c) C
D
¯, and (d) D
A
¯ sections of the wave-block boundaries. The results obtained by using the proposed scheme and FDM are consistent on each section.
(a)
(b)
(c)
(d)


## 6. Conclusions

A numerical integral method to find the length-to-width ratio of the rectangular region that fitted Cauchy-Riemann equations is proposed in this research. An arc example demonstrates that the numerical results can approach the analytical solution with negligible error (1.55
×
1
0
-
5
%). A wave-block example shows that by using the length-to-width ratio produced by the proposed integral method the conformal mapping can perform successfully.By applying the geometric property of the transformed rectangular region and the Cauchy-Riemann equations, the derivatives and Jacobian determinant of the numerical conformal mapping method developed by Tsay and Hsu [16] can be evaluated on the boundaries, and more accurate results are obtained. The approach for calculating the Jacobian determinant at the source points adopted in the present numerical scheme can produce numerical results that are more accurate than the conventional approach. Although the derivatives and the Jacobian determinant at the four corners of the transformed rectangular region cannot be improved by the present scheme, this research was able to improve the accuracy of the numerical conformal mapping on the boundaries and makes the mapping method more reliable when solving problems that are sensitive to accuracy.



---

*Source: 5072309-2016-02-14.xml*