Professional Documents
Culture Documents
Department of Civil Engineering, Faculty of Technology and Engineering, Yasouj University, Yasouj, Iran; mahdi@mail.yu.ac.ir
f ' 1 [1, 4, 3 ]
i 2hi
W(u) vs u
The following two examples show the interpolation of
two sets of data by the above approach.
2. EXAMPLES
W(u)
2.1. Example 1 model
W(u)
This example is in the field of groundwater engineering.
When a production well in unconfined aquifer is pumped,
water is continuously withdrawn from storage within the u
aquifer as the cone of depression progresses radially
outward from the well. Because of the absence of a re- Figure 1. The comparison between the data and the model.
data and the model for the nine spline curves. Based on obtains. Then, the formulation for determination of the
the figure there is a suitable and good relationship be- coefficient will be simpler.
tween those.
sij ( x , y ) a 0 a1 ( x xi ) a2 ( y y j ) a3 ( x xi ) 2
2.2. Example 2
a4 ( x xi )( y y j ) a5 ( y y j ) 2
In this problem about five pairs of data are obtained (12)
a6 ( x xi ) 3 a7 ( x xi ) 2 ( y y j )
from the parametric Eq.9 with non-uniform segments.
a8 ( x x j )( y y j ) 2 a9 ( y y j ) 3
x t cos 12 2 sin 2t sin 12 or in matrix notation it is,
, t [0, 24] . (9)
y t sin 2 sin 2t cos 1 xi
12 12 xi2 xi3
About four cubic spline curves are generated accord- sij ( x, y ) 1 x x2
x3
0 1
0 0
2 xi
1
3 xi2
3 xi
ing to the formulations of Eqs.3, 4 and 5. Figure 2
shows the relationship between the real values and in- 0 0 0 1
terpolated ones. As it can be seen, there is a relative ex- 1 0 0 0 1 .
pectable fitness between them. y 1 0 0 y
A 2 i
3. FORMULATION FOR 2-D yi 2 yi 1 0 y 2
3
INTERPOLATION yi 3 yi2 3 yi 1 y 3
(13)
The bicubic spline formation that applies hear for two
dimensional interpolation and four nodes patch is, The above bispline function has ten parameters (un-
knowns) for each segment or patch. Therefore; ten equa-
g ij ( x , y ) a 0 a1 x a2 y a3 x 2 a4 xy a5 y 2 a6 x 3
tions are required for defining them. Four equations sat-
a7 x 2 y a8 xy 2 a9 y 3 isfy the function values at each corner and six equations
(10) satisfying partial derivative in x and y directions for
or in matrix notation, three nodes. Thus there exists the continuity of C1 on
g ij ( x, y ) x A y 1 x x2 x3 each of four sides or boundaries of every element. The
first derivatives in x and y direction for the Eq.12 are:
a0 a2 a5 a9 1
1 2 xi 3 xi2
a 0 y sij ( x, y )
a4 a8
1 . (11) 2
a3 1 2 x 3 x 0 1 3 xi
a7 0 0 y2 x
0 0 1
a6 0 0 0 y3
x (15)
The coefficients a0 , a1 , , a9 can be derived explicitly
Figure 2. The comparison between the data and the model. from satisfying the following conditions,
sij (i, j ) 2 1 2 1
sij (i, j ) a0 f ij , a1 f x',ij , a9 a 0 2 a 2 3 f i , j 1 2 f y' ,ij 1 (30)
x k 3j kj kj kj
sij (i, j ) (16)
a2 f y' , ij where hi xi 1 xi , k j y j 1 y j ,
y
f f
sij f x',ij 1 (i, j 1) , f y' ,i1 j (i 1, j ) . (31)
(i 1, j ) a1 2hi a3 3h a 6 f 2 '
x , i 1, j x y
x , (17)
i
sij 4. PROBLEM 3
(i, j 1) a2 2k j a5 3k 2j a9 f y' , i , j 1 ,
y (18)