Sunteți pe pagina 1din 12

Computer-Aided Design 43 (2011) 1829–1840

Contents lists available at SciVerse ScienceDirect

Computer-Aided Design
journal homepage: www.elsevier.com/locate/cad

Constrained design of simple ship hulls with B-spline surfaces


F. Pérez ∗ , J.A. Clemente
Naval Architecture School of Madrid, Universidad Politécnica de Madrid, (UPM), Avenida Arco de la Victoria SN, 28040 Madrid, Spain

article info abstract


Article history: This paper presents a mathematical method to define a ship hull based on numerical constraints directly
Received 14 July 2010 related to geometric features of the hull surface and on naval architecture parameters that uniquely define
Accepted 22 July 2011 a hull form. These geometric parameters have physical, hydrodynamic or stability implications from the
design point of view. B-spline curves and surface representations were combined with a constrained
Keywords: approach to produce the final hull display.
B-splines
The presented method follows the traditional design principles of naval architecture, starting with
Constrained shape generation
Ship surface design
a Sectional Area Curve (SAC) that controls buoyancy and a waterplane curve that ensures stability. A B-
spline outline of these two curves is adopted and a nonlinear problem is solved to obtain their constrained
definition that agrees with the geometric design parameters. Two boundaries are also introduced into
the constrained definition that control the limits of the hull, the centre and deck lines, which are
complemented with tangent values at these edges to gain local control of the hull.
A net of curves or hull stations is created that matches the previously defined constraints. These curves
follow an analytic expression that ensures that a given area, waterline breadth and initial tangent angle
are obtained. This is an important advantage of the method because a hull form library or template is not
necessary, but limit the type of ship hulls that can be attained.
The method continues with a constrained B-spline fitting of points on the analytical curves that
ensures the tangent angles and checks the distance from the points to the B-spline. A final lofting surface
of the previous B-spline curves produces the hull surface.
© 2011 Elsevier Ltd. All rights reserved.

1. Introduction great range of flexibility in the number of hull shapes to be gener-


ated.
The definition of a ship hull is one of the most restraining pro- In some cases, the constrained or parametric definition of ship
cesses in initial ship design. A hull form is usually designed by hulls is beneficial during the initial phases of the ship design be-
modifying an existing hull (parent hull), which can include a direct cause it speeds up the creation process, provides more clarity about
manipulation of the surface control vertices. Although this has be- the influence of various parameters, and allows for the develop-
come a standard practice and produces good results, it necessitates ment of a range of concept hull surfaces. Today, computational
a great deal of manual work because the designer has to manipu- optimisation techniques based on computational fluid dynamics
late individual control vertices, it does not allow for rapid creation (CFD) can be used together with systematic constraint definitions
or modification of the hull surface in the initial phases of the ship of a ship hull to produce faster, more comfortable and safer ships
design process, and it cannot ensure important magnitudes of the [1,2]. These optimisation methods require complete geometric de-
ship hull such as displacement (the volume of the underwater por- tails of the design and correct management of hull information so
tion of the ship) until a later calculation is made, and a trial and that one can understand the relationship with the constrained de-
error procedure is sometimes necessary. Thus, a hull form should sign of a ship hull.
be generated as early as possible to provide demanded design pa- This paper presents a constrained design method for defining
rameters that are important for subsequent design stages such as a ship hull. As a consequence of the formulation of a constrained
stability, hydrostatics, propulsion, and cost analysis. methodology, the design is limited to certain types of hulls. Nev-
The constrained generation of a ship hull can ensure that design ertheless, the range of surfaces that can be generated make the
parameters are met. The design algorithm generates an appropri- method suitable for motor yachts, sailing ships, small fishing ves-
ate hull constrained by the design parameters without further hu- sels and round bilge patrol boats. Practical examples will be used
man interaction. However, these fixed formulations do not allow a to show how the proposed method affords reliable hull design so-
lutions in a very short time. Fig. 1 presents an example of a hull that
can be automatically defined with the presented method.
∗ Corresponding author. Tel.: +34 913367204; fax: +34 915442149. This paper is organised as follows. First, Section 2 provides a
E-mail address: francisco.perez.arribas@upm.es (F. Pérez). background on ship hull design methods. Then, Section 3 describes
0010-4485/$ – see front matter © 2011 Elsevier Ltd. All rights reserved.
doi:10.1016/j.cad.2011.07.008
1830 F. Pérez, J.A. Clemente / Computer-Aided Design 43 (2011) 1829–1840

Fig. 1. Example of a ship hull.

the proposed method beginning with the conception of the Sec- of the SAC and waterline is performed by directly solving a non-
tional Area Curve (SAC), which controls buoyancy, and the water- linear system of equations, while the abovementioned authors
line curve, which assures stability based on constraints normally minimise an objective function of the displacement and of the
used in naval architecture. Two additional boundaries, the centre- ship’s longitudinal centre of buoyancy (LCB). This optimisation
line and deckline (Fig. 1), which define the edges of the hull, are requires extra parameters (weights) and produces a more complex
introduced into the constrained definition and are complemented definition of the ship hull. Another innovation of the method is
with tangent values at the curve edges to gain local control of the the use of analytic expressions for the ship stations, whereas other
hull. These lines are defined by the designer according to the de- methods use a database of curves or templates.
sired hull characteristics.
The definition of the waterline can be seen in Fig. 1. The SAC
2. Background
represents the submerged volume distribution on the hull (in
light grey, Fig. 1). The conception of these lines is detailed in
Naval architects and designers have tried to set up the so-called
Sections 3.1 and 3.2. A B-spline scheme of these two different
hull form equation, an expression that would give a complete
curves is adopted and a nonlinear problem is solved to obtain
a constrained definition that agrees with the geometric design mathematical description of a ship hull. The closed-form solution
parameters selected by the designer. of such a problem is complicated because it is challenging to
Cross-sections, also called hull stations, that match the previ- describe all possible hull types with a single equation.
ously defined curves and constraints are created in Section 3.3. Constrained hull design methodologies can be traced back to
These curves follow an analytic expression that ensures that a Kuiper [6], who in the 1970s generated hull shapes with conformal
given area is obtained from the SAC and that the breadth from the mapping techniques from hull parameters rather than from hull
waterline and the tangent angles at the boundaries are also accom- offset data points. Kuiper generated hulls by constructing different
plished. This is an important advantage of the presented method waterline polynomials according to coefficients controlled by
because no hull form library or template is necessary. draught functions. The hull representation techniques of that time
The method continues in Section 3.4 with a constrained B- were not able to develop hull shapes in a convenient and accurate
spline fitting of the points obtained from the analytic curves way.
preserving the tangent angles at their ends. This fitting uses a Reed and Nowacki [7] developed a compromise between poly-
parameterisation based on the distance from the data points to nomials and conformal mapping techniques. The first methodol-
the B-spline. This is very useful for manufacturing purposes as it ogy was used to represent the hull above the waterline, and the
enables an assessment of the maximum or average deviations from second one was used for the underwater part of the ship. B-splines
the original analytic curves. A lofting surface from the previous B- and NURBS functions were used by Creutz and Schubert [8] for
spline curves defines the final hull surface, as shown in Section 3.5. ship hull design. They developed a procedure to generate B-spline
Single surface hull representations are best suited to small craft curves from form parameters. These early works demonstrated
forms like those covered in this paper because their hull shape is how NURBS and B-splines could adequately represent the geom-
more continuous. The single surface representation demonstrates etry of a ship hull.
that the method presented here is realisable and robust. Keane [9] developed simple hulls using constrained generation
During the final stages of the method, the designer has the techniques based on conformal mapping and studied the influence
flexibility to control the number of control points on the surface of certain parameters on ship stability. This is one of the first
and to enable a later gradual refinement of an initially simple optimisation procedures based on variation of parameters.
surface to form a more complex hull. Finally, Section 4 presents two Bloor and Wilson [10] developed a partial differential equation
hulls designed with the presented methodology to demonstrate method to include geometric parameters into free form design.
the validity of the proposed method. Section 5 presents the major This technique can be used in the design of ship hulls, but a strong
conclusions of the paper. mathematical background is required to control and understand
Other authors [3–5] only use SAC to define the hull. One of this method. Surface shape is controlled using derivatives at the
the original features of the presented method is the inclusion boundaries.
of the waterline as a constraint. Another important difference Yilmatz and Kukner [11] determined hull stations parametri-
between our method and prior methods is that the calculation cally by applying a regression technique to a large database of hulls.
F. Pérez, J.A. Clemente / Computer-Aided Design 43 (2011) 1829–1840 1831

This method can only be used for certain fishing vessels because 3. Description of the method
those ships were used to construct the database.
Harries [12] has integrated various commercial software The primary design characteristics of any ship hull surface are
packages to optimise the design of ship hulls. This author SAC and that it should float and stay upright while accommodating cargo.
waterline were designed based on parameters, and hull sections Many shapes satisfy these requirements, including a simple box,
were formed using data from basic curves that were transformed but when movement is required, the shape requirements change
to satisfy constraints. The authors of Refs. [3,13,5] have researched as a result of the hydrodynamic effects of the water flowing around
this matter by subdividing the ship hull into multiple domains the hull. The SAC has a substantial impact on ship hydrodynamics
such as the entrance, flat bottom, and flat side. The last publication and the internal volume distribution while the waterline (WL)
describes the use of several parametrically defined 3D curves to controls the hull stability, which is also influenced by the internal
define the hull surface rather than defining stations based on weight distribution that cannot be considered geometrically. As
templates. such, these two curves have been selected as constraints for the
Commercial hull design software packages now include mod- presented method and their definition impact the entire ship
ules for the basic constrained generation of ship hulls, demonstrat- design process.
ing that designers have a clear need for such a technique. The selected parameters used to define these curves have
These commercial software modules were reviewed by Bole meaning for the ship designer and can be related to further aspects
in Ref. [5]. Some of the software packages use non-intuitive of ship design. There are several good textbooks and references
parameters such us curvatures, derivatives or numerical weights, that show the effect of most of the parameters that the presented
and other packages are limited on the other end producing very method uses into the performance of the ship hull [15,16]. The
simple hulls based just on main dimensions. In general, users tend objective of the presented method is to create a B-spline surface
to revert to manual manipulation of a parent hull from a software to represent the ship hull based on the constraints displayed in
database, which has inherent limitations that have been discussed Table 1.
previously. Occasionally, the designer has to contact the software As mentioned, this method will first create a SAC to constrain
manufacturer to acquire a parent hull archive. A general overview displacement and its longitudinal centre of buoyancy that will
of the advances in computational methods for ship hull definition match the ship’s longitudinal centre of gravity when floating at
during the last years is provided in Ref. [14]. rest. Imposing these constraints achieves the design equilibrium
The transformation of a parent hull is limited because of the position of the ship.
numerical techniques that are used. These methods are based A waterline of a given area and centre of area is then defined.
on relocating and scaling hull sections while maintaining the This is very important to ensure the initial stability of the ship,
desired dimensions in a trial and error manner until a selected which can be calculated once the internal mass distribution of the
displacement and LCB are reached. Waterline modifications are ship is obtained. Both curves share the length at the waterline
(Fig. 1) and will be modelled as B-splines.
generally not considered in these kinds of transformations.
The ship’s centreline is included as part of this method. This line
The literature review suggests that a constrained definition of a
is not defined with parameters like the SAC or waterline because
ship hull can be successfully made by directly generating the hull
there are not common naval design parameters associated to that
surface from numerical parameters, as described in the present
line. A smooth 2D curve that sets the lowest points of the hull is
paper, or by altering the shape of a given hull surface to match
imposed by the designer. The distribution of the tangent angles at
specified parameters. Using the second group of methods, the hull
points on the centreline (dead-rise angle or rise of floor) is also
may be created using a direct or iterative procedure. The second
included, providing local control of the centre part of the ship.
group of methods is more flexible regarding the types of hulls that
Different hull forms can be obtained by altering this distribution of
can be defined, but the templates cannot be defined or altered.
angles: for example, fast boats have a dead-rise angle diminishing
Furthermore, these templates can be difficult to manage for a non-
towards the stern (i.e., the initial part of the stations are straight
advanced user.
segments) to gain hydrodynamic lift, while slow ships have round
Constrained generation tools build the hull surface representa-
stations of zero dead-rise angle. Correspondingly, the deckline
tion from relatively few parameters, and this information is used
and tangent angle distribution at this edge have been included as
to determine the dimensions, shapes and volumetric properties of
constraints. Note that the deckline can be a 3D curve.
the hull. For this reason, this paper uses an analytic definition of
These curves are normally obtained from initial sketches of
these curves for the hull stations instead of templates. These ana-
the ship’s internal arrangement, as in Fig. 1. These sketches can
lytic curves restrain the range of ship hulls to those mentioned in represent the form topology with a limited amount of information.
the introduction. It is exceedingly difficult to develop mathemati- As the sketch demonstrates, these curves are very effective at
cal procedures to describe a variety of different hull forms, and it representing the shapes within the ship hull that the designer
is thus necessary to consider a different formulation for each hull wants to control. Constraints on the curve definition can be used
type. to accurately reproduce stations and can be manipulated without
The use of the SAC is a common procedure found in the the need for the user to move the definition vertex.
literature, but the definition of a constrained waterline is less The stations on the hull create the framework where the hull
common. As a difference with the present paper, the constrained surface will lean. Every station will enclose an area below the WL
definition of the SAC and the waterline is based on an iterative calculated from the SAC and will begin with a determined dead-
minimisation of a weighted error function that depends on target rise angle from the corresponding constraint. At the waterline
values of area and the centre of gravity of the curves. The present height (T ), the station must have a given abscissa imposed by
paper allows for the definition of such curves based on the the waterline. The final point of the curve will be at the deckline,
solution to a nonlinear system of equations, as will be detailed arriving there at a constrained angle. A direct B-spline model of
in the following sections. The introduction of the tangent angles these stations would not produce good results because obtaining
at the ends of the curves enables the designer to gain intuitive the position of the control vertex by solving a system of equations
control over the area distribution. This control could be also gained would require extra boundary conditions. For example, if the
including higher order moments of the curves into the problem start of the B-spline were forced to be a straight line then extra
definition, but these are less intuitive and would increase the control points and corresponding conditions would be required to
complexity of the mathematical problem. determine the system of equations.
1832 F. Pérez, J.A. Clemente / Computer-Aided Design 43 (2011) 1829–1840

Table 1
Parameters of the method.
Constraint Name Meaning Where?

Displacement Disp Submerged volume of the ship = weight / water density. Area enclosed by SAC SAC
Longitudinal centre of buoyancy LCB Longitudinal position of the centre of gravity of the submerged volume SAC
Abscissa of the maximum of SAC XMAX Longitudinal position of the maximum of SAC. Related to internal arrangement SAC
Angles at the ends of the SAC αI , αF Controls volume distribution inside the ship SAC
Waterlength LWL Length of the flotation SAC/WL
Area at waterline AWP Area enclosed by the waterline WL
Longitudinal centre of the flotation area LCF Longitudinal position of the centre of gravity of the waterline WL
Angles at the ends of WL αI′ , αF′ Controls area distribution in the WL WL
Ship’s draught T Height of the WL Input
Centreline Initial points of the stations Boundary
Dead-rise angles βi Tangent at initial points of sections. Local control. Boundary
Deckline Final points of the stations Boundary
Angles at the deckline δi Tangent at the end of sections. Local control. Convexity. Boundary

term used in naval architecture. Although it is not directly included


in the method, it can be affected by the variation of the angles at
the ship ends.
This method computes the SAC as the solution of a nonlinear set
of equations that form the five control points of a cubic B-spline,
Eq. (1). These equations hold for all the design constraints shown
in Fig. 2. The aspect of the SAC of any conventional ship without a
central parallel body is similar to the one represented in this figure:
a thin entrance to improve hydrodynamic performance and a soft
run that enables undisturbed water flow. The area at the ends can
be a non-zero value because the ship can have a bulbous bow and
a transom stern. Bulbous bows cannot be modelled with the shape
of sections used in the presented method
4

SAC(t ) = B3j (t ) · Pj (1)
Fig. 2. Parameters of the Sectional Area Curve (SAC). j =0

where B3j corresponds to the jth basis function of a 3rd degree


For this reason, an analytic solution is adopted for the under- B-spline that is calculated using de Boor’s algorithm considering
water part of the stations. A curve can be computed that starts at a uniform knot vector. Fig. 2 shows that the unknowns are
the centreline with a given angle, which encloses a given area (from the positions of the control points of this figure, P1 (XP1 , YP1 ),
the SAC) and has a determined ordinate (from the WL) at the ship’s P2 (XP2 , YP2 ) and P3 (XP3 , YP3 ), because the ends are fixed by the
draught. The part of the station between the waterplane and the constraints LWL and A0 . The maximum XMAX is placed at the
deckline is computed with a 2nd order Bézier curve that matches joint of the two cubic Bézier curves that compound the cubic
the angles at its ends and that does not require any other property B-spline. This has a graphical meaning that is depicted in the figure
except to be a soft line; so this is the most simple solution. according to the Casteljau algorithm. Considering a uniform knot
Analytic curves cannot generally be used in CAD programs, so vector for SAC(t ), [0, 0, 0, 0, 0.5, 1, 1, 1, 1], XMAX will be placed
a constrained B-spline fitting of the points of each station is per- at t = 0.5. This means that the knot will be adjacent to the
formed. This fitting includes points from the underwater (analytic midpoint of the curve.
curves) and above-water (Bézier curves) part of every station, and The conventional SACs of ships have maximum values near the
will impose the endpoints of the curves and their accompanying middle of the ship’s length, so the assumption for the parametric
tangent angles as described in Table 1. The adjustment can impose position of XMAX is a realistic approach that simplifies the math-
a degree and a number of control points, although in practice it is ematical definition of the problem and produces Eqs. (2) and (3)
preferable to use cubic B-splines and increase the number of con-
XP1 + 2 · XP2 + XP3
trol points until a given construction tolerance is achieved. A final = XMAX (2)
lofting or skinning of the previously defined B-splines will provide 4
the final constrained surface of the ship’s hull. YP1 = YP3 . (3)
Eqs. (4) and (5) are easily obtained from the properties of the con-
3.1. Constrained definition of the Sectional Area Curve trol polygon of a B-spline at its ends, which are tangent to the
curve:
The method begins by building the SAC of the ship hull as
YP1 = YP0 + tg(αI ) · (XP1 − XP0 ) (4)
shown in Fig. 2. This curve will enclose a given area (displacement)
and a centre of buoyancy (LCB) and is extended along the ship’s YP3 = YP4 + tg(αF ) · (XP4 − XP3 ). (5)
waterlength (LWL). The longitudinal position of the maximum of The most difficult part is the inclusion of the enclosed area and its
the curve (XMAX) is also constrained. Positions and angles at the centre of gravity into the definition of the problem. Although the
ends of the curve αI and αF produce the final set of equations. area of the closed B-spline can be easily computed with Green’s
The inclusion of the angles in the definition of the SAC enables theorems, in this case the area is enclosed by the curve and the
the designer to gain control over the volume distribution that the X -axis. This can be solved by integration in the parametric domain:
SAC effects: a higher angle increases the volume at this part of the ∫ ∫ XP4 ∫ 1
ship. The distribution of area towards the ends of the curves is
Disp = Area = dA = Y (t ) dX = Y (t )X ′ (t )dt . (6)
related to the prismatic coefficient, a well known non-dimensional XP0 0
F. Pérez, J.A. Clemente / Computer-Aided Design 43 (2011) 1829–1840 1833

Fig. 3. Examples of different SACs.

For this particular case of a cubic B-spline with five control points, YP4 − YP0 + tg(αI ) · XP0 + tg(αF ) · XP4
XP3 =
the expression of X ′ (t ) and Y (t ) are cubic polynomials computed tg(αF )
with the cubic basis functions of the B-spline and their derivatives. tg(αI )
− · XP1 → f (XP1 )
The result of the integral of Eq. (6) can be expressed in matrix form tg(αF )
as in Eq. (7): 1 1
    XP2 = 2 · XMAX − · XP1 → f (XP1 )
· XP3 −
XP0 YP0 2
2
XP1  YP1  YP3 = YP4 + tg(αF ) · (XP4 − XP3 ) → f (XP3 ) → f (XP1 ).
[X ] = XP2  [Y ] = YP2 
   
XP 
3
YP 
3
Considering these simplifications and Eq. (4), the initial six-
XP4 YP4 equation system is equivalent to a much simpler system (10) of
two equations with two unknowns, XP1 and YP2 :
Φ00 · · · Φ04
 
∫ 1
 .. . . .
. a · XP12 + b · XP1 + c · YP2 + d · XP1 · YP2 + e = Disp
[Φ ] =  . . Φij = B3i (t )B′j3 (t ) dt

. 
0
Φ40 · · · Φ44 f · XP13 + g · XP12 · YP2 + h · XP1 · YP2
(10)
 1 247 19 1  + j · XP12 + k · YP2 + l · XP1 + m · XP1 · XP22 + n
− 0
 3 2688 1680 2688  = Disp · LCB
 −97 59 31 1 
0 where a, b, c , . . . , n are constants that depend on the initial nu-
 
 672 1120 1120 672 


 −1 − 143 143 1 merical constraints. The solution of this nonlinear system is calcu-
[Φ ] = 

 48 0  lated with a Powell hybrid algorithm. This algorithm is a variation
2240 2240 48 


 −1 of Newton’s method, which takes precautions to avoid large step
−31 −59 97 
 0  sizes or increasing residuals [17]. This method requires the Jaco-
 672 1120 1120 672 
  bian of Eq. (10), which is computed easily in an exact form, and
−1 −19 −247 1 initial estimates of XP1 and YP2 . The authors have used estimates
0
2688 1680 2688 3 that assume that the control points P1 and P2 will lay at approxi-
Disp = [X ]t · [Φ ] · [Y ] . (7) mately 25% and 50% of LWL. These assumptions produce realistic
solutions for cases that the authors have tested.
Expression (7) shows that the area will be a function of the cross Once XP1 and YP2 have been obtained, Eqs. (2)–(5) give the
product of the coordinates (XPi , YPi ) of the control points; it is not remaining coordinates of the control points, and the constrained
a linear constraint as in the previous conditions (2)–(5). SAC is finally defined. Fig. 3 presents SACs for various ship hulls
The final constraint is the inclusion of the centre of buoyancy defined with the presented method.
(LCB) into the problem definition. This can be computed as a
solution of the following integral:
 XP4 3.2. Constrained definition of the waterline
X (t )Y (t ) dX

X dA XP0
LCB = Xcg = = The method continues by defining the waterline of the ship hull
Disp Disp
1 Fig. 4, which is the intersection of the hull and the waterplane
X (t )Y (t )X ′ (t ) dt where the ship will float at rest. This curve confines a given area
= 0
. (8) (waterplane area or AWP) and a centre of gravity (longitudinal
Disp
centre of the waterplane or LCF), and covers the LWL.
As in the previous calculations of the enclosed area, expression
As for the SAC, values and angles at the ends, αI′ and αF′ , set
(8) can be computed with the cubic basis functions and their
the final equations and can be used to move the area of the curve
derivatives, and can be expressed in a matrix form as shown in
towards the ends while maintaining the total area. However, unlike
Box I. Eq. (9) is a function of the cross product of the control point
the SAC, the position of the maximum is not set.
coordinates and their squared and cubic powers. This yields six
The waterline cannot present a pronounced maximum (see
equations (2)–(5), (7) and (9) with six unknowns XP1 , XP2 , XP3 , YP1 ,
Fig. 5) and the variations of the maximum are not around the
YP2 , and YP3 which form a nonlinear system of equations that has to
midpoint of the ship, as in the case of the SAC. Thus, the authors
be solved. A direct approach to the solution of such a system can be
simplified the expression of the waterline using a cubic Bézier
numerically difficult to obtain because the solution is very sensitive
curve, Eq. (11):
to initial estimates of the solutions, and non-realistic results can be
obtained because of the nonlinearity of Eqs. (8) and (9). 3

Manipulation of the linear conditions Eqs. (2)–(5) enables fur- WL(t ) = B3j (t ) · Pj . (11)
ther simplifications: j =0
1834 F. Pérez, J.A. Clemente / Computer-Aided Design 43 (2011) 1829–1840

XP · XP 
4 3
..
.
 
 
XP02
 
XP · XP 
 4 0
Ω00 Ω04
 
XP 2  ···
   XP3 · XP2  1

 . .. 

 2   12  ..
X = XP22 
 X̂ = 
 .
..

 [Ω ] =  .. . .  Ωij = B3i (u)B3j (u)B′j3 du
0
XP  Ω40 ··· Ω44
 
3 XP3 · XP0 
XP42 
XP2 · XP1 

 
XP2 · XP0
XP1 · XP0
Ψ430
· · · Ψ40 0
Ψ320
· · · Ψ30 0
Ψ210
Ψ200
Ψ100
 
 .. . .. .
.. .
.. . .. .
.. .. .. .. 
[Ψ ] =  . . . . 
Ψ43 · · · Ψ40 Ψ32 · · · Ψ30
4 4 4 4
Ψ214
Ψ204
Ψ104

∫ 1
p
Ψij = B3p B3i (u)B′j3 (u) + B3j (u)B′i3 (u) du
 
0
 1 3 1 1 
− 0
 2 80 10 80 
 −3 9 3 1 

 80 0 
40 20 80 


 −1 −9 9 1 
[Ω ] = 
 10 0 
40 40 10 


 −1 −3 −9 31 

 80 0 
 20 40 80 

−1 −1 −31 1
0
80 10 80 3
 5 11 1 71 1 97 
0 0 0 0
 1344 1680 672 1344 48 672 
 89 17 1 27 31 1 143 −47 −247 

 13 440 0 
6720 2688 448 1120 13 440 2240 6720 2688 


 11 19 1 59 −1 −59 −19 −11 
[Ψ ] = 
 240 0 0 
1680 840 1120 840 1120 1680 240 


 247 47 −1 −143 −31 −1 −27 −17 −89 

 2688 0 
 6720 13 440 2240 1120 2688 448 6720 13 440 

−97 −1 −1 −71 −11 −5
0 0 0 0
672 48 672 1344 1680 1344
 
Disp · LCB = [Y ]t · [Ω ] · X 2 + [Y ]t · [Ψ ] · X̂ .
 
(9)

Box I.

fixed by the constraints. As in the case of the SAC, the tangent


angles will produce two equations:

YP1 = YP0 + tg(αI′ ) · (XP1 − XP0 ) (12)


YP2 = YP3 + tg(αF ) · (XP3 − XP2 ).

(13)
As in the previous section, the enclosed area of the WL is obtained
by integration in a way similar to Eq. (6) after reducing the number
of control points by one, yielding
 3 3 1 
−1
 5 10 10 
 3 3 3 
− 0 
 5 10 10 
[Φ ] =  AWP = [X ]t · [Φ ] · [Y ] .

 3 3 3 
− − 0 
 10 10 5 
 
1 3 3
Fig. 4. Parameters of the waterline. − − − 1
10 10 5
(14)
Fig. 4 demonstrates that the unknowns are the positions of the The abscissa of the centre of gravity of the waterline, LCF, can
control points P1 (XP1 , YP1 ) and P2 (XP2 , YP2 ) because the ends are be computed by solving the integral (8) with just four control
F. Pérez, J.A. Clemente / Computer-Aided Design 43 (2011) 1829–1840 1835

Fig. 5. Examples of different waterlines.

points. Using the same notation as in Eq. (8), the following matrix
expressions are obtained:
 1 3 3 1 

 3 56 140 168 
 1 9 1 
 − 0 
 8 280 28 
[Ω ] = 

 1 9 1 
− − 0 
 28 280 8 
 
1 3 3 1
− − −
168 140 56 3
 1 1 1 3 1 1 
 56 70 168 56 28 8 
 3 3 1 9 3 

 56 0 − 
[Ψ ] =  140 280 280 56 

 3 1 9 3 3 

 56 0 − − − − 
 280 280 140 56 
 Fig. 6. Definition of a station of index ‘‘n’’.
1 1 1 3 1 1
− − − − − −
8 28 168 56 70 56 that have already been designed, enclosing a given area for the
  ship’s draught T according to the SAC and with a given abscissa
AWP · LCF = [Y ] · [Ω ] · X + [Y ] · [Ψ ] · X̂ .
t
 2 t
(15) agreeing with the waterline, and will include the tangent angles at
the centre and deck lines.
As in the case of SAC, this equation is a function of the coordinates
A direct B-spline approach to these stations does not produce
of the control points and of their powers. Eqs. (12)–(15) form a non- realistic results. Considering the underwater part of the hull, any
linear system of four equations with four unknowns. As previously station has to enclose an area with the Y axis starting at a given
mentioned, a direct approach to this system can produce unrealis- angle and finishing at a given point at the waterline. All these
tic solutions, and adequate initial estimates for the four unknowns constraints can be obtained with a second order Bézier curve, but
are not immediately apparent. the number of different ship hulls that can be obtained with such
The system can be simplified by substituting YP1 and YP2 from stations is limited. For example, ship hulls with an initial straight
Eqs. (12) and (13) into Eqs. (14) and (15), yielding section cannot be reproduced. A higher order curve or a B-spline
would require additional constraints such as curvature, which may
a′ · XP1 + b′ · XP2 + c ′ · XP1 · XP2 + d′ = AWP not have a clear physical meaning for a naval architect and are
f ′ · XP12 + g ′ XP22 + h′ · XP12 · XP2 + j′ XP1 · XP22 difficult to calculate at the initial stage of the design.
(16) Following Fig. 6, where ‘‘n’’ indicates the index of the station,
+ k′ · XP1 · XP2 + l′ · XP1 + m′ · XP2 + n′ the proposed method will use the analytic expression z = f (y)
= AWP · XCF. for the underwater part of the ship that starts at a point on the
centreline (C0 ) with a given angle (βn ), encloses an area (Sn /2)
This equivalent system is a function of XP1 and XP2 because
and interpolates the waterline point (C1 ). The portion of the ship
a′ , b′ , . . . , n′ are constants depending on the constraints. As in
between the waterline (C1 ) and the deckline (C2 ) will be obtained
the SAC, this system is solved with a Powell hybrid algorithm, with a second order Bézier curve because both the ends and
considering initial estimates for XP1 and XP2 of 25% and 75% of tangent angles of the curve are known.
LWL, respectively. When the solutions have been computed, the The analytic expression (17) follows that of Jorde [18] and is the
remaining parameters that define the waterline are obtained by sum of a straight line and an exponent function. This is appropriate
substitution into Eqs. (12) and (13), producing the final waterline. for ship hulls with sections that can start straight for hydrodynamic
Fig. 5 presents some examples of waterlines created with the (dynamic lift) or construction (ease of development) purposes
presented method.
z = an + kn · y + pn · yqn . (17)

3.3. Constrained definition of ship sections Integration of (17) indicates the values of the constants:
kn = tg(βn )
All of the lines in Fig. 1 have now been defined with the     2 −1
exception of the stations. A review of the constraints of Table 1 Bn Bn Bn Sn kn Bn
qn = Tn − kn · · · Tn · − − · −1
shows that these curves must be based on the SAC and waterline 2 2 2 2 2 2
1836 F. Pérez, J.A. Clemente / Computer-Aided Design 43 (2011) 1829–1840

Fig. 7. Examples of ship stations.


   qn
Bn Bn
pn = Tn − kn · .
2 2
The above-water part of the ship is computed with a second order
Bézier curve. The control points of this curve are C1 , C2 , and the
intersection point of the tangent lines at these points. The angle
at C2 is a constraint of the method and the angle at C1 can be
computed from the first derivative of Eq. (17).
Fig. 7 shows different sections generated with this method. Fig. 8. Example of the constrained fitting.
The inclusion of the angles enables the designer to include con-
p p p
cave/convex sections in the design. The convex configuration is B0 (t0 ) B1 (t0 ) ··· BN (t0 )
   
Q0
p p p
used for the bow section of fast ships to deflect the spray of wa-  B0 (t1 ) B1 (t1 ) ··· BN (t1 )   P0   Q1 
 
ter away from the hull.  . .. .. ..   . 
 .   P1 
.  ·  .  =  ..  ;
 
 . . .
 
A CAD-compatible constrained B-spline representation will be  p p p  . 
 B0 (tnp ) B1 (tnp ) ··· BN (tnp )  .   Qnp 

generated from a number of discrete points obtained from the  ′p ′p ′p  P  tg(β)
analytic representation shown. This is detailed in the next section. B0 (t0 ) B1 (t0 ) ··· BN (t0 ) N
′p
B0 (tnp )
′p
B1 (tnp ) ··· ′p
BN (tnp ) tg(δ)

3.4. Constrained approximation of station data points [M] · [P] = [Q ] ⇒ [M]T · [M] · [P] = [M]T · [Q ] . (19)

This system of equations is solved by multiplying both sides of


The next step of the method transforms points from the curves
Eq. (19) by [M ]T , which creates a determined (N + 1) by (N + 1)
defined in the previous section into B-splines, considering together
linear system. This type of system can be poorly conditioned, es-
points from the under and above-water part of every station. A
pecially if a large number of control points is used. A conventional
large number of data points from the analytic curves does not sug-
technique should not be used to solve this ill-conditioned system.
gest the use of an interpolating B-spline. Instead, an approximating
Instead, single-value decomposition of [M ]T · [M ] and a later back-
curve is needed. For every station of index ‘‘d’’, the B-spline cd (u)
substitution process is performed. The solutions of this system are
will not pass through the data points exactly but will pass close
the control points of the best B-spline fitting.
enough to the points to capture the inherent shape. This is the well-
Approaching this problem with a standard parameterisation
known Least Squares (LS) approximation [19].
such as centripetal or chord-length is correct but does not consider
In this problem, np + 1 data points Q0 , . . . , Qnp from the analytic
the effect of the distance of the data points to the B-spline. In
curves will be approximated by a B-spline of pth degree, with
this method, we adopt a parameterisation based on a minimum
N + 1 control points P0 , . . . , PN , N < np that are unknown and
distance. These parameterisations were first introduced in [20], but
are obtained as the final result of the calculations. These points
the way to obtain the minimum distance is different. The process
will adopt constrained angles at the ends of the stations, angles β
is iterative and is described by the following three steps:
and δ in Fig. 6, which should be included in the definition of the LS
problem because they are constraints of the method. 1. The method starts with a centripetal parameterisation of the Qi
The general LS problem is described by the over-determined set points and system (18) is solved. This produces a starting curve
of np + 1 + 2 equations with N + 1 unknown variables: of the iterative process only for the first loop.
p p p
2. For each Qi , the minimum distance to the B-spline is calculated.
B0 (t0 ) · P0 + B1 (t0 ) · P1 + · · · + BN (t0 ) · PN = Q0 This is done by dividing the B-spline cd (u) in Bézier curves
p
B0 (t1 ) · P0 + p
B1 (t1 ) · P1 + · · · + p
BN (t1 ) · PN = Q1 bj (uL ) (j = 1, N − p) of the pth degree and computing the
minimum distance to the corresponding Bézier piece, leading
..
. (18)
to a solution to Eq. (20)
p p p
B0 (tnp ) · P0 + B1 (tnp ) · P1 + · · · + BN (tnp ) · PN = Qnp (Qi − bj (uL )) · (b′ j (uL )) = 0. (20)
′p ′p ′p
B0 (t0 ) · P0 + B1 (t0 ) · P1 + · · · + BN (t0 ) · PN = tg(β) This equation is solved in the local domain of the Bézier curves.
′p ′p
B0 (tnp ) · P0 + B1 (tnp ) · P1 + · · · + BN (tnp ) · PN = tg(δ)
′p Because the equation is a polynomial equation, uL ∈ [0, 1]
and specific algorithms for this type of equation can be used.
p
where Bi corresponds to the ith basis function of a pth degree These algorithms do not require an initial guess, which would
B-spline that is calculated using de Boor’s algorithm considering a be required if a Newtonian method were used in the B-spline
uniform knot vector and tj (j = (0, n)) represents the parameters domain. The current method uses a Jenkins–Traub 3-stage al-
associated to the data points. Matrix expressions are convenient to gorithm [21]. The valid solution will be a non-complex solution
solve the problem: of uL ∈ [0, 1].
F. Pérez, J.A. Clemente / Computer-Aided Design 43 (2011) 1829–1840 1837

Once the solution has been found, the local uL for the Bézier do- from curves to surfaces is not difficult thanks to the properties
main is easily converted into its global value ti in the B-spline of B-splines and a lofting surface of the stations can easily be
domain. This ti value is the parameter associated with the point defined. The transition from spline curves to spline surfaces is
Qi when solving system (18). achieved by turning the control polygon into a control net of
3. After obtaining the ti (i = 1, np) values, the distance di = control points Wij (Xij , Yij , Zij ) using the same B-spline basis for the
(Qi − cd (ti )) is computed, which is the Euclidean distance be- two parameters u and v , as well as using two different lists of knots
tween Qi and the B-spline. This distance is used to check the {u−1 , . . . , uN +n }, {v−1 , . . . , vM +m }.
shape requirement. If the maximum distance di (i = 1, n) is
The lofting process of a set of qB-splines (stations) with the
above a given tolerance, steps 2 and 3 are repeated until an ac-
same degree and list of knots is as follows: find a B-spline surface S
ceptable maximum distance is achieved. More specifically, the
with degree n by m and (N +1) by (M +1) control points and a list of
quality of the obtained curve is measured using the tolerance
constraint and the shape of the B-spline is amended using pa- knots {u−1 , . . . , uN +n } and {v−1 , . . . , vM +m } according to Eq. (21)
rameterisation (20). that interpolates q different B-splines cd (d = 0, . . . , q − 1) of nth
If the tolerance is not obtained in fewer than 50 iterations, then degree with N + 1 control points and a list of knots {u−1 , . . . , uN +n }
the number of control points N + 1 has to be increased. The in- with the form of Eq. (22)
crement of the degree p in this procedure can also reduce the
N −
M
maximum distance. However, increasing the number of control −
points has a more substantial effect and a higher degree raises S(u, v) = Wij · Bni (u) · Bm
j (v) (21)
i=0 j=0
the complexity and the computational time.
N
When the fitting is finished for all the stations, a set of qB-splines −
cd (u) = Vid · Bni (u) (d = 0, . . . , q − 1). (22)
with the form of Eq. (22) are obtained. Fig. 8 presents an example
i =0
of the described fitting (because of the symmetry of ship stations,
curves displayed at the left are stations between the aft end and Note that Vid are the control points of the different stations
the middle length of the ship, while curves at the right are taken obtained from system (19) and expressed in a matrix form. Values
from the middle towards the fore end. This display is also used in for N , M and q depend on user preferences regarding the definition
Figs. 9 and 12). of the surface. The interpolation can be written as
This particular example shows a cubic B-spline fitting where
all the curves have 9 control points and have been obtained after
 
N
− M

30 iterations. The maximum distance from the data points to the S(u, vd ) = Wij · Bm
j (vd ) · Bni (u)
curves is less than 2 mm, and the dimensions of this ship are i=0 j =0
6690 mm × 2000 mm. The tolerance can be improved by increasing N
the number of control points as needed to satisfy construction

= Vid · Bni (u) = cd (u) (d = 0, . . . , q − 1). (23)
requirements.
i=0

3.5. Lofting surface of the stations This group of equations has to be solved for a set of values of
parameter vd (d = 0, . . . , q − 1), termed the choice of the
The last step of the method is to create a B-spline surface parameterisation. The centripetal parameterisation produces good
that leans on the stations previously defined. The generalisation results for ship hulls, and the spacing between stations should not

Fig. 9. Patrol boat.


1838 F. Pérez, J.A. Clemente / Computer-Aided Design 43 (2011) 1829–1840

Fig. 10. Rendered view of the patrol boat hull.

Fig. 11. Constructed model of the fast patrol boat.

Table 2 a ship hull that has straight sections in the lower part of the hull
Parameters of the application examples. to improve the dynamic lift of the ship. The design has concave
Constraint Patrol boat Sailing ship sections at the above-water fore part of the ship to expel the spray
Disp (m3 ) 46.6 49.1 drag created when the ship advances at fast speed. The stations
LCB (m) 7.41 9.47 present a distribution of dead-rise angles β along the ship’s length.
XMAX (m) 7.65 9.13 The tolerances (2 mm) of the cubic B-spline curves that model
αI , αF (°) 17°, 32° 16°, 8° the stations, as detailed in Section 3.4, were achieved with 9
LWL (m) 16.7 20.3
control points. The bounding box for this example is [16 820 mm,
AWP (m2 ) 81.8 72.5
LCF (m) 7.29 9.1 6690 mm, 2000 mm]. According to Section 3.5, constructing the
A′I , αF′ (°) 14°, 60° 67°, 36° lofting surface of such stations defines the constrained ship hull
T (m) 0.89 1.26 (Fig. 10).
In this figure, the underwater portion of the hull that holds the
be very different to avoid wiggles. By identifying equal coefficients displacement and LCB is shaded in grey, and the above-water part
for every row of Eq. (23), i = 0, . . . , N, the following linear system of the ship that joins the waterline with the deckline is shaded in a
is obtained: dark colour.
The surface information was transferred to a numerical control
M
− machine and a scaled prototype was constructed in wood. This was
j (vd ) = Vid
Wij · Bm (d = 0, . . . , q − 1). done to physically test the quality of the surface and its ability to
j=0
serve as a guide for construction (Fig. 11).
To obtain a unique solution for this system, M + 1 = q, where q is
the number of stations that defines the ship hull. The (M + 1) by 4.2. Example 2: sailing ship
(N + 1) solutions are the control points Wij of the lofting surface
of Eq. (21) containing the stations. The second example shows the lines of a sailing ship. When
compared with the previous case, the main design difference is
4. Application examples the lower speed, which will require a geometrically different hull.
While the previous case had straight sections, the sailing ship has
Two different ship hulls have been generated by following a round hull and does not have convex sections at the bow because
the described method. The hulls are described by the parameters spray does not occur at low speeds. For this ship, the dead-rise
presented in Table 2, which were selected by the designer angles are zero for most of the stations because of the round hull
according to the design characteristics. The final result is a B-spline and does not have a wide transom stern.
surface that rests upon the stations and contains the required For this ship, the same tolerance of 2 mm was selected, but the
constraints. number of required control points of the B-spline was 6 compared
with 9 for the previous example. The bounding box for this hull is
4.1. Example 1: fast patrol boat [24 059 mm, 5873 mm, 3000 mm]. The final surface of this ship is
presented in Fig. 13.
This example shows the lines of a fast patrol boat. The SAC and As in the previous example, a scaled prototype has been con-
waterline can be seen in the top of Fig. 9. Based on these curves, structed in wood with the surface information produced with the
the stations of the hull are presented below. This example shows method (Fig. 14).
F. Pérez, J.A. Clemente / Computer-Aided Design 43 (2011) 1829–1840 1839

Fig. 12. Sailing ship.

Fig. 13. Rendered view of the sailing ship.

Fig. 14. Constructed model of the sailing ship.


1840 F. Pérez, J.A. Clemente / Computer-Aided Design 43 (2011) 1829–1840

5. Conclusions modified in later stages to include appendages or other design


requirements, which may be difficult to include in the initial
This paper has presented a practical method for defining a con- definition of a constraint design procedure.
strained surface for a ship hull according to normal design parame- The final result is a B-spline surface that can be easily exported
ters for a naval architect. This constrained definition enables rapid to specialised computer programs for further stages of the design
changes in the design procedure and avoids unnecessary manual process. The same hull representation can be used for the design
work because a valid hull form can be automatically generated and and in all subsequent stages of the process of developing the ship.
geometrically constrained to the design parameters.
The facility to change the characteristics of the ship hull by References
modifying numerical parameters rather than by manipulating tens [1] Grigoropoulos GJ, Chalkias DS. Hull-form optimization in calm and rough
of surface control points is beneficial and was the motivation water. Computer-Aided Design 2010;42(11):977–84.
behind this research. However, constrained definition techniques [2] Tzabiras G, Kontogiannis K. An integrated method for predicting the
hydrodynamic resistance of low-cB ships. Computer-Aided Design 2010;
are quite complex and they increase in difficulty as more detailed 42(11):985–1000.
features are included in the design. Every constrained definition [3] Nam JH, Parsons M. A parametric approach for initial hull form modelling using
technique is only capable of representing a limited range of hull NURBS reprentation. Journal of Ship Production 2006;16(2):76–89.
[4] Mancuso A. Parametric design of sailing hull shapes. Ocean Engineering 2006;
forms compared with the total flexibility inherent in a manually
33:234–46.
defined hull. The method presented here is not an exception, but it [5] Bole M. A hull surface generation technique based on form topology and
is a good compromise when creating simple hull forms that can be geometric constraint approach. Ph.D.thesis. UK: University of Strathclyde;
manually modified at a later time to add complex features. 2002.
[6] Kuiper G. Preliminary design of ship lines by mathematical methods. Journal
The method starts by creating a SAC and a waterline that of Ship Research 1970;14:52–66.
contains most of the constraints, as detailed in Sections 3.1 and 3.2. [7] Reed AM, Nowacki H. Interactive creation of fair ship lines. Journal of Ship
Then, a B-spline is produced that satisfies the desired constraints Research 1974;18:96–112.
[8] Creutz G, Schubert C. Interactive curve creation from form parameters by
by solving a nonlinear set of equations for both curves. Other means of B-splines. Schiffstechnik 1978;25.
methods use optimisation techniques that may require additional [9] Keane AJ. A computer based method for hull form concept design: applications
parameters and normally do not use a waterline in the definition. to stability analyses. Transactions RINA 1988;130:61–75.
[10] Bloor MIG, Wilson MJ. Using partial differential equations to generate free
The presented method constrains the angles at the ends of the form sufaces. CAD 1990;22:200–12.
mentioned curves, providing the designer with control over the [11] Yilmatz H, Kukner A. Evaluation of cross curves of fishing vessels at the
volume/area distribution along the ship’s length. preliminary design stage. Ocean Engineering 1999;26:979–90.
[12] Harries S. Parametric design and hydrodynamic optimization of ship hull
This method produces offset curves (stations) that fit the forms. Ph.D. thesis. Berlin: Technische Universität Berlin. Mensch & Buch
parameters of the previous curves. This is done analytically for Verlag; 1998.
the underwater part of the ship, resulting in more realistic ship [13] Kim HC. Parametric design of ship hull forms with a complex multiple domain
surface topology. Ph.D. thesis. Berlin: Tech. Universität Berlin; 2004.
hulls. A 2nd degree Bézier curve is used for the above-water part
[14] Nowacki H. Five decades of computer-aided ship design. Computer-Aided
of the ship. This allows the waterline to be softly joined to the Design 2010;42(11):956–69.
deckline and allows concave/convex sections to be obtained. The [15] Lamb T. Ship design and construction. Society of Naval Architects and Marine
use of analytic expressions to define the ship hull is uncommon. Engineers (SNAME); 2003 [Chapter 9].
[16] Lewis EV. Principles of naval architecture, vol. 1. Society of Naval Architects
Most other methods require a library of hull stations or other lines and Marine Engineers (SNAME); 1987.
of the hull. [17] More J, Burton G, Hillstrom K. User guide for MINPACK-1. Argonne National
Points on the analytic and Bézier curves are merged with a Labs Report ANL-80-74. Argonne, Illinois. 1980.
[18] Jorde J-H. Mathematics of a body plan. The Naval Architect 1997;38–42.
B-spline using least square fitting, considering a distance tolerance [19] Piegl LA, Tiller W. The NURBS book. Springer; 1997. pp. 410–413.
into its parameterisation. This has an important influence from [20] Hoschek J. Intrinsic parametrization for approximation. Computer Aided
the construction point of view. The number of longitudinal and Geometric Design 1988;5:27–31.
[21] Jenkins A, Traub J. A three-stage variable-shift iteration for polynomial zeros
transverse control points on the surface can be defined, so the and its relation to generalized Rayleigh iteration. Numerische Mathematik
definition of the surface can be increased and then manually 1970;14(3):252–63.

S-ar putea să vă placă și