JAMPJournal of Applied Mathematics and Physics2327-4352Scientific Research Publishing10.4236/jamp.2015.31011JAMP-53597ArticlesPhysics&Mathematics B-Spline Approximation of Ship Waves on the Free Surface FangLi1*HuiLi1HuilongRen1College of Shipbuilding Engineering, Harbin Engineering University, Harbin, China* E-mail:lifang199011@163.com(FL);2801201503018185December 2014© Copyright 2014 by authors and Scientific Research Publishing Inc. 2014This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/

We consider the problem of a ship advancing in waves. In this method, the zone of free surface in the vicinity of body is discretized. On the discretized surface, the first-order and second-order derivatives of ship waves are represented by the B-Spline formulae. Different ship waves are approximated by cubic B-spline and the first and second order derivates of incident waves are calculated and compared with analytical value. It approves that this numerical method has sufficient accuracy and can be also applied to approximate the velocity potential on the free surface.

B-Spline Approximation of Ship Waves on the Free Surface
1. Introduction

In the method for hydrodynamic analysis of floating bodies with forward speed, due to the complex boundary condition on the free surface, the integral equation involves not only the unknown velocity potential but also its first-order and second-order derivatives on the free surface. Unlike classical methods in which a waterline integral is present by using Stokes’ theorem, we apply directly the free-surface condition so that the troublesome waterline integral is avoided. The first- and second-order derivatives of the velocity potential in this new method are then approximated using B-Spline method.

In this paper, the incident wave on free surface is approximated by cubic B-spline and the relationship between incident wave and its first-order and second-order partial derivatives are derived and compared with the analytical value.

This method is approved to have sufficient accuracy and can be also applied to approximate the velocity potential on the free surface.

2. Fundamental Theory of B-Spline2.1. Definition of B-Spline Curves and Surfaces

Let the knot vector be a set of m + 1 non-decreasing numbers, u0 < = u2 < = u3 < = ... < = um. We define the kth degree B-spline curve as Equation (1) :

where is control vertices, n + 1 is the number of control vertices, is the kth degree B-spline basis functions.

The ith B-spline basis function of degree k, written as, is defined by Cox-de Boor recursion formula as Equation (2) 

In the same way, we define the B-spline surface by B-spline tensor product expansion as Equation (3) 

where is the kth degree B-spline basis functions, is the lth degree B-spline basis functions, is control vertices, m + 1 and n + 1 are the number of control vertices in u and v parametric directions respectively, u and v are two independent parameters which monotonically increase along the respective parametric spaces.

2.2. The de Boor Algorithm

Given a clamped B-spline curve of degree k defined by n + 1 control points and m + 1 knots u0 = u1 = ... = uk = 0, uk+1, uk+2, ..., um−k−1, um−k = um−k+1 = ... = um = 1, we can compute the point on the B-spline curve by the de Boor algorithm as Equation (4) 

where  (5)

2.3. Derivatives of B-Spline Curves and Surfaces

Given a clamped B-spline curve of degree k, we can compute r order derivatives as Equation (6) :

where

2.4. B-Spline Curves and Surfaces Approximation

B-spline curve approximation can be stated as the problem of constructing a B-spline curve passing through a set of fixed points. Let us take cubic B-spline as an example, When the points and a knot vector of a B-spline curve are given, the problem is solving a set of linear equations as Equation (8) :

where (j = 0,…,n, n = m + 2) are unknown control points.

3. The Details of Study Method3.1. Approximation of Incident Wave on the Free Surface

We choose a set of points (i = 0,…,10, j = 0,…,41) on the free surface. (x, y) is position on the surface, z is the height of incident wave and it can be defined as Equation (9)

where A is the amplitude of the incident wave, k is wave number, is wave heading, is time, is circle frequency and is phase angle.

Let (i = 0,…,n) denote the ith contour whose points are given as (j = 0,…,m). Each contour is considered to be open and the number of contour points is equal.

When the incident wave is given as, the distribution of points (i = 0,…,10, j = 0,…,41) on the free surface is shown as Figure 1.

We choose cubic B-spline to approximate the free surface. The free surface is divided into two patches, then each patch is described by cubic B-spline tensor product expansion as Equation (10). Figure 2 shows the wave surface approximated by cubic B-spline

3.2. Calculation of the Derivatives of Incident Wave Based on B-Spline

The points on the surface can be described as Equation (11):

The first and second order partial derivatives of incident wave and can be written as Equations (12) and (13)

We can calculate the value of, , , by the de Boor algorithm which is introduced in Sec-

The distribution of points on the free surface The wave surface approximated by cubic B-spline

tion 2.2 and 2.3. Then the value of and are obtained through Equation (13). Table 1 shows the value of and compare with analytical value at v = 0.5. Er is defined as Equation (14):

3.3. Approximation of Different Incident Wave on The free Surface

We choose the same points (i = 0,…,10, j = 0,…,41) which is mentioned in Section 3.1 to describe the free surface. When the wave heading is, we define the incident wave as Equation (15)

Then we use the cubic B-spline to approximate the free surface as we do in Section 3.1. Figure 3 show the wave surface approximated by cubic B-spline.

Then we can calculate the value of and through Equation (16)

In the same way, the value of and can be calculated through Equation (16), Table 2 shows the

The wave surface approximated by cubic B-spline at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/53597x61.png" xlink:type="simple"/></inline-formula> Computed values and comparison to the analytical value at v = 0.5
uv = 0.5
03.1385E−013.1400E−014.7431E−047.6716E−06−9.8143E−054.2804E−03
0.1−4.8933E−02−4.8813E−023.8206E−04−2.4175E−02−2.4349E−027.0685E−03
0.2−3.1167E−01−3.1164E−017.3223E−053.0150E−033.0139E−034.3419E−05
0.32.5385E−022.5265E−023.8278E−042.4606E−022.4569E−021.5064E−03
0.43.1375E−013.1376E−013.9942E−06−9.7945E−04−9.7195E−043.0321E−04
0.5−3.3066E−03−3.2561E−031.6085E−04−2.5005E−02−2.4648E−021.4440E−02
0.6−3.1394E−01−3.1394E−012.2539E−06−4.8887E−04−4.7954E−043.7742E−04
0.7−1.8954E−02−1.8852E−023.2335E−042.4721E−022.4605E−024.6962E−03
0.83.1236E−013.1235E−012.4578E−052.5142E−032.5244E−034.1486E−04
0.94.2845E−024.2365E−021.5289E−03−2.5056E−02−2.4424E−022.5599E−02
1−3.1388E−01−3.1400E−013.7208E−04−4.5533E−06−9.8143E−053.7858E−03
Computed values and comparison to the analytical value at u = 0.1
vu = 0.1
0−2.0700E−01−2.0704E−011.8920E−014.5000E−034.4454E−031.2133E−02
0.1−1.8170E−01−1.8552E−011.8520E−016.7000E−036.7666E−039.9432E−03
0.2−1.5930E−01−1.6145E−011.7000E−018.4000E−038.4564E−036.7086E−03
0.3−1.3700E−01−1.3712E−011.4140E−019.7000E−039.6894E−031.0950E−03
0.4−1.1370E−01−1.1319E−011.1110E−011.0600E−021.0599E−029.3605E−05
0.5−8.9700E−02−8.9578E−028.6100E−021.1200E−021.1273E−026.5371E−03
0.6−6.5400E−02−6.5674E−026.8200E−021.1700E−021.1769E−025.9234E−03
0.7−4.0800E−02−4.1040E−024.3700E−021.2100E−021.2108E−026.9538E−04
0.8−1.5600E−02−1.5557E−021.2100E−021.2300E−021.2290E−027.7338E−04
0.91.1000E−021.1159E−02−1.5700E−021.2200E−021.2305E−028.6232E−03
14.1000E−024.1014E−02−2.4200E−021.2100E−021.2109E−027.1767E−04

value of and compare with analytical value at u = 0.1

4. Conclusion

In this paper, we adopt cubic B-spline approximating the free surface in different incident waves, calculate the first and second order derivatives of incident wave based on B-spline theory and compare the numerical value to the analytical value. This method is approved to have sufficient accuracy but it depends on the selection of points. In addition, it also can be applied to approximate the velocity potential on the free surface.

Acknowledgements

This paper is funded by the International Exchange Program of Harbin Engineering University for Innovation- oriented Talents Cultivation and MOST 2011CB013703 plan.

Cite this paper

Fang Li,Hui Li,Huilong Ren, (2015) B-Spline Approximation of Ship Waves on the Free Surface. Journal of Applied Mathematics and Physics,03,81-85. doi: 10.4236/jamp.2015.31011

ReferencesFarin, G. (1993) Curves and Surfaces for Computer Aided Geometric Design. Academic Press.Hoschek, J. and Lasser, D. (1993) Fundamentals of Computer Aided Geometric Design. A K Peters.De Boor, C. (1972) On Calculation with B-Splines. J. Approx. Theory.Gordon, W.J. and Riesenfeld, R.F. B-Spline Curves and Surfaces [A].