Wigley Hull Formula

download Wigley Hull Formula

of 20

Transcript of Wigley Hull Formula

  • 8/13/2019 Wigley Hull Formula

    1/20

    ]TIC FILE COPY UNLIMITED DISTRIBUTIONI * National Defence D6fense nationale

    Research and Bureau do rechercheDevelopment Branch et d6veloppementTECHNICAL COMMUNICATION 89/308September 19890

    4N

    REPRESENTATIONOF

    WIGLEY HULLS BY HLLSRFDavid Hally

    DTICELECTE

    Defence Centre deResearch Recherches pour laEstablishment D6fenseAtlantic . Atlantique

    Canad 7_ 12-5______0 _ _1___

  • 8/13/2019 Wigley Hull Formula

    2/20

    DEFEN E RESE RCH ESTABUSHMENT ATLANTIC CENTRE E RECHERCHES POUR L OUENSE ATIAIrQUE9 GROVE STREET P 0 BOX 10t2 9 GROVE STREET C P 1012DARTMOUTH N S TELEPHONE DARTMOUTH N.Ef.82Y 3Z7 9021 426.3100 8 Y 3Z 7

  • 8/13/2019 Wigley Hull Formula

    3/20

    UNLIMITED DISTRIBUTION

    I* National Defence Mafnse nationaleResearch and ureau do rechercheDevelopment ranch et d6veloppement

    REPRESENTATIONOFWIGLEY HULLS BY HLLSRF

    David Hally

    September 1989

    Approved by W.C.E. Nethercotte Distribution Approved byH/Hydronautics Section

    TECHNICAL COMMUNICATION 89/308

    Defence .- A Centre deResearch Recherches pour laEstablishment DefenseAtlantic Atlantique

    Caad

  • 8/13/2019 Wigley Hull Formula

    4/20

    AbstractWigley hulls have been widely used as test cases for hydrodynamic computer programs becausethey can be modelled exactly in the computer, and because there are extensive experimentaldata describing the flow around them. In this communication, it is shown how Wigley hulls canbe described using the HLLSRF hull representation system. A user's guide for a Fortran 77program which generates a HLLSRF data file for a Wigley hul i l ud

    Rdsume

  • 8/13/2019 Wigley Hull Formula

    5/20

    ContentsAbstract ............ ............................................ iiTable of Contents ...................................... iiiList of Figures ........................................ ivList of Tables .......... ......................................... iv1 Introduction .......... ....................................... 1

    2 The HLLSRF Hull Representation ......................... 13 Representation of Standard Wigley Hulls ..................... 24 W igley Hulls with Freeboard ............................. 45 The Quadratic W igley Hull .............................. 66 Concluding Remarks .................................. 7A ppendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9A User's Guide for Program WIGLEY ........................ 9References ................................... .... . 10

    Acoessien t*rNTI S GRA IDTIC TAB 0Unannounced 3JustifloatinByDistribution/Avallability Codes

    iii. .D.tp..l ,

    A 1 J

  • 8/13/2019 Wigley Hull Formula

    6/20

    List of Figures1 Offset diagram of a Wigley hull with freeboard................... 5

    List of Tables1 jc and jn for Wigley hulls below the waterline only .................. 42 ajn and 3in, for Wigley hulls with freeboard .......................... 63 ajn and j,, for quadratic Wigley hulls below the waterline only ............ 84 aj , and /Pp for quadratic Wigley hulls with freeboard .................... 8

    iv

  • 8/13/2019 Wigley Hull Formula

    7/20

    Notationa hull form parameterB the hull half-breadth

    B(x) the nth B-spline of order k, with respect to the knot sequence t,kxB v) the nth B-spline of order y with respect to the knot sequence )

    n,k,D the hull depth

    CB block coefficientx the order of the B-splines B( )n,k.k the order of the B-splines B YL length between perpendiculars., the number of B-splines B(x)

    Ny the number of B-splines B(,)p =T/D

    tl the knot sequence used to define B(x)t he knot sequence used to define B(,)

    T the hull draftx HLLSRF non-cartesian coordinate

    XAP the station number of the aft perpendicularxFp the station number of the forward perpendicular

    X HLLSRF cartesian coordinateX cartesian coordinate used to define the Wigley hull

    y HLLSRF non-cartesian coordinateY HLLSRF cartesian coordinate

    Y cartesian coordinate used to define the Wigley hull

    v

  • 8/13/2019 Wigley Hull Formula

    8/20

    Z HLLSRF cartesian coordinateZ cartesian coordinate used to define the Wigley hull

    aj, spline coefficients used to define Y13j, spline coefficients used to define Z

    -y,, coefficients defined in equation (2.4)A, coefficients defined in equation (2.4)pn, coefficients defined in equation (2.4)r,, coefficients defined in equation (2.4)

    fy(x) function defined in equation 3.9)gy (x) function defined in equation (3.10)fz(x) function defined in equation 3.11)gz(x) function defined in equation 3.12)

    Ai

  • 8/13/2019 Wigley Hull Formula

    9/20

    1 IntroductionBecause Wigley hulls can be represented exactly by computers, they have been widelyused as test cases of hydrodynamic programs, particularly for calculations of wave resistance

    and boundary layer flow. Experimental data on the flow about Wigley hulls are extensive.The hull representation system HLLSRF 1 , developed at DREA for use in hydrodynamic

    computations, is capable of representing Wigley hulls exactly; however, the correct form forthat representation is not readily apparent. In this communication the HLLSRF representationof the Wigley hull is derived.

    Appendix A is a user's guide for a Fortran 77 program, WIGLEY, which implements thecalculations described here.

    2 The HLLSRF Hull RepresentationHLLSRF uses B-splines of arbitrary order to represent hulls (see de Boor 2 for further

    information on B-splines). The hull representation defines a functional form for the cartesiancoordinates on the hull surface and two non-cartesian hull coordinates, x and y. The cartesiancoordinates are denoted X, Y, and Z; X varies between 0 and L as one goes from bow to stern;Y is the distance from the centreplane; and Z is the distance above the baseline. The HLLSRFrepresentation relates (X,Y, Z) to (x,y) as follows.

    X(x,Y) = (X XFP)L (2.1)XAP - XF P

    Ny N.Y(x,y) = B Z rn (x)B(y) (2.2) a~nn,k.(x .7,ky(y)j=1 n=1N3, N . Y 2 3(x,y) =Dy x) )B, (Y)Z~~y) ~1Z3i n,,,k ()B (y) (2.3)j=1 n=1

    whereL is the length between perpendiculars,B is the half-breadth,D is the hull depth,

    XFP is the station number at the forward perpendicular,XAP is the station number at the aft perpendicular,

  • 8/13/2019 Wigley Hull Formula

    10/20

    B( ) (x) is a B-spline of order k. corresponding to a knot sequence - ,i = 1, . + foreach n =1.. x(i ) 1)i=1 , u +kfoB(Y) (y) is a B-spline of order k corresponding to a knot sequence t- , i = 1, .Ny k,, for

    each n = 1,...,Ny, andajn, /j3, are coefficients.

    If the spline coefficients ai,, and 3j, have the forman= yAn ; On = Aj 7 (2.4)

    then the HLLSRF representations of the Y and Z coordinates have the formY = Bfy(x)gy(y) (2.5)Z = Dfz(x)gz(y) (2.6)

    whereNz

    fy(X) = Z\nBT x) 2.7)n=1Nygy(y) = EyjB Y(y) 2.8)j= 1N.

    fz(x) = r.B' (x) 2.9)n=1

    Y)= B) (y) (2.10)j=1HLLSRF can represent exactly any hull which can be written in the form of equations (2.1),2.5), and (2.6) where fy, fz, gy, and gz are piecewise polynomials.

    3 Representation of Standard Wigley HullsThe class of mathematical hull forms known as Wigley hulls is usually defined as folows 3. - ) 1-- - a - (3 .1 )

    Here T is the draft and X , Y and Z are cartesian coordinates such that X' varies between-L/2 and L/2 as one goes from bow to stern; Y' is the distance from the centreplane; and Zis the distance below the waterline. In terms of the HLLSRF cartesian coordinates

    X' = X- L/2 3.2)Y = Y 3.3)Z' = D Z (3.4)

    2

  • 8/13/2019 Wigley Hull Formula

    11/20

    Setting D = T, equation 3.1) can be rewrittenY Z Z)4Xf X) r 2X\21(2 T L T [ a (1 L(3.5)

    The hull form parameter a may be used to vary the block coefficient, CB hich is relatedto a by CB = 36The value of a must be in the range (-1, 1) to produce realistic hull forms; for a < -1, thevalue of Y will be negative at some stations, while if a > 1, the value of Y will exceed B at somestations. Hence, the block coefficient must be in the range (16/45,24/45) = (0.35555,0.53333).

    Let XFP = -1, XAP = 1, and y = ZID. Then from equation (2.1) one has x = 2X/L -1 =X /L and equation 3.5) becomes

    Y = y(2 - y) 1 - x2 )(1 aX2 ) (3.7)B= Y 3.8)

    which are of the form of equations (2.5) and (2.6) withfy(x) = (1 - x 2 )(1 ax2 ) (3.9)gy(y) = y 2- y) (3.10)fz(x) = 1 (3.11)gM(Y) = Y (3.12)

    Both fy and fz are polynomials of fifth order or lower over the region [-1, 1]; therefore,they can be represented by B-splines generated by setting N, = 5, k- = 5, and the x-knotsequence, X), to be {-1, - 1, -, -1, -1, ,1,1,1, 1}. The B-splines in x are

    B1,5 W ) (1- 4 (3.13)16B2 ,5(x) - 1 + x)(1 - X)3 (3.14)4B 3 ,5 X) - 3 1 - x 2 )2 3.15)8B4 ,s(X) = 1 - X)(1 + X) 3 (3.16)4Bs, 5 (x) - 1) 4 (3.17)16

    (See de Boor2 , chapter IX, for methods of generating B-spllnes from their associated knotsequences.) Equations 2.7), 2.9), 3.9) and 3.11) are satisfied by setting

    A i=As= ; A2 =A4=1+a ; A3= 4(1-a) 3.18)3

  • 8/13/2019 Wigley Hull Formula

    12/20

    T =r 2 3 = 4 =r 5 = 1 (3.19)Both gy and gz are polynomials of third order or lower over the region [0, 1]. Moreover,

    each vanishes at y = 0, so that they can each be represented by setting N. = 2, k= = 3, andthe y-knot sequence, tM, to be {0,0,1, 1, 1}. The B-splines in y are

    B 1 ,3 (y) = 2y(l - y) (3.20)B 2 ,3 (y) = y2 (3.21)Equations 2.8), (2.10), (3.10) and (3.12) are satisfied by setting

    71 = 72 = 1 (3.22)ys = l/2 ; u22=1 3.23)

    The corresponding values of ajn, and 3j,, are given in Table 1.

    o nn= n=2 n=3 n=4 n=51j = 1 0 1+ a 4(1 -a)/3 1 a 0= 2 0 1+ a 4(1-a)/3 1+a 0

    n= n=2 n=3 n=4 n=5j= 1 1/2 1/2 1/2 1/2 1/2j= 2 1 1 1 1 1

    Table 1: ai, and 3j, for Wigley hulls below the waterline only.

    4 Wigley Hulls with FreeboardFor hydrodynamic calculations where the water surface is free, it is often useful to extend

    the standard Wigley hull above the waterline. This may be done by extending each stationvertically. Figure 1 shows an offset diagram of a Wigley hull extended in this fashion; theadditional horizontal line is the waterline.

    The formula for the extended hull corresponding to equation (3.5) is

    J ZT[iLT4)X[ 2] fZT 4.14X 1 X 12 ifZ>T

  • 8/13/2019 Wigley Hull Formula

    13/20

    -- -0.13 L

    0 15 L

    Figure 1: Offset diagram of a Wigley hull with freeboardRetaining the identification y = ZID so that y varies between 0 and 1, the counterpart ofequation (3.7) is

    Y (2- (1-_X2)(1-+-aX 2 ) if ypgz(Y) = Y (4.4)

    Both gy and .z are piecewise polynomials of order three or less over the region [0, 1] with asingle breakpoint at y = p. Since each vanishes at y = 0, they can be represented by settingNv = 3, k, = 3, and the y-knot sequence, ty ) , to be {0,0,p, 1,1,1}. The B-splines in y become

    y 2p- (1 + p)y) for y/< pBI,3(y) p2 (4.,5)

    1 Y)2 for y > p

    5

  • 8/13/2019 Wigley Hull Formula

    14/20

    f for y p1 - p)2

    0 for y

  • 8/13/2019 Wigley Hull Formula

    15/20

    Since the dependence of Y upon y is unchanged, it is only necessaxy to consider a modi-fication in the B-splines which depend on x. From equations 3.9) and 3.11) with a = 0, onehas

    fy( ) = (1-x2) (5.1)fz(x) = 1 5.2)

    5.3)These functions must be represented in terms of B-splines of order three in x. Setting N, = 3,kx = 3, and the knot sequence tlx } to be {-1, -1, -1, 1, 1, 1}, one has

    BI, 3 x) - -X) 2 (5.4)B 2 ,3 x) - 2 (5.5)B 3 ,3 x) + X) 2 (5.6)

    4Equations 2.7, (2.9), (5.1) and (5.2) are satisfied by setting

    Al=A 3 =0 ; A2 =2 (5.7)71 = 72 = 3 =1 (5.8)

    The corresponding values of a ,, and 3j, for the Wigley hull without freeboard and withfreeboard are given in Tables 3 and 4.

    6 Concluding RemarksThe spline coefficients necessary to represent Wigley hulls using HLLSRF have been de-rived. The Wigley hulls can be represented with or without freeboard. Once Wigley hulls have

    been represented in this form, the HLLFLO4 suite of hydrodynamic programs can be used topredict the flow around them.

    7

  • 8/13/2019 Wigley Hull Formula

    16/20

    ajnn=l n= n=3

    j=1 0 2 0j=2 0 2 0

    n=I n=2 n=3j 1 1/2 1/2 1/2__=2 1 1 1

    Table 3: an and P for quadratic Wigley hulls below the waterline only.

    ajnn= n=2 n=3

    j=1 0 2 0j= 0 2 0j=3 0 2 0

    n= n=2 n=3j =1 p 2 p/2 p/2j= 1+p)/2 1+p)/2 1+p)/j =3 1 1 1

    Table 4: ain and i for quadratic Wigley hulls with freeboard.

    8

  • 8/13/2019 Wigley Hull Formula

    17/20

    Appendix A User s Guide for Program WIGLEYPurpose: The program WIGLEY creates a HLLSRF data file for a Wigley hull with orwithout freeboard.Input: All input to the program is entered interactively by the user. When the programstarts, the user is prompted for the hull form parameter, a.Enter the hull form parameter ->The hull form parameter must be in the range -1.0,1.0). If it is not, an error message willbe written and the user reprompted. When a valid hull form parameter has been entered, thecorresponding block coefficient (see equation 3.6)) is reported to the user.

    Next the user is prompted for the units in which the hull dimensions are measured.Enter the units for the hull dimensions ->Any string of ten or fewer characters will do: e.g. ft , 'metres', or

    Next the hull dimensions themselves are required.Enter the length between perpendiculars, the half-breadth, the depth,and the draft =>Each of the hull dimensions must be positive and the draft must not exceed the depth. If thereis an error in input, an error message will be sent and the user reprompted.

    These are all the data necessary to define the Wigley hull.

    Output: WIGLEY creates an ASCII file WIGLEY.HLL which contains the HLLSRF repre-sentation of the hull.

    Usage: On the DREA DEC-20/60, WIGLEY can be run by typing the following commands.DECLARE PCL PS: HLLFLO,PS :WIGLEYWIGLEYThe first command causes the command WIGLEY to be defined in the EXEC. Typing WIGLEYthen causes the program to be run. The program can be run again simply by repeating thecommand WIGLEY.

    9

  • 8/13/2019 Wigley Hull Formula

    18/20

    References1. D. Hally, The HLLSRF Hull Representation System, DREA Report, in review.2. C. de Boor, A PracticalGuide to Splines (Springer Verlag, New York, 1978).3. W. C. S. Wigley, The Wave Resistance of Ships (Congr~s International des Ingenieurs

    Navals, Liege, 1939).4. D. Hally, HLLFLO User's Guide, DREA Tech. Comm. 86/306, 1986.

    10

  • 8/13/2019 Wigley Hull Formula

    19/20

    UNCLASSIFIEDSECURITY CLASSIFICATION OF FORM

    (highest classification of Title, Abstract, Keywords)DOCUMENT CONTROL DATA(Security classification of title, body of abstract and Indexing annotation must be entered when the overall document is classified)

    1. ORIGINATOR the name and address of the organization peparing the document. 2. SECURITY CLASSIFICATION (overall securityOrganizations for whom the document was prepared. e.g. Establishment sponsoring a classification of the document, Includingcontractor s report, or tasking agency, are entered In section 8.) special warning terms if applicable)Defence Research Establishment AtlanticP.O. Box 1012 UNCLASSIFIEDDartmouth, Nova Scotia B2Y 3Z7 1

    TITLE (the complete document title as indicated on the title page. Its classification should be indicated by the appropriate abbreviation(SC.R or U) In parentheses after the title.)Representation of Wigley Hulls By HLLSRF

    4. AUTHORS (Last name, first name, middle initial. If military, show rank. e.g. Doe. Maj. John E.)

    Hally, DavidDATE OF PUBLICATION (month and year of publication of document) 6a.NO. OF PAGES (total containing 6b. NO. OF REFS (total cited in

    information. Include Annexes, document)September 1989 Appendices, etc.) 18 46. DESCRIPTIVE NOTES (the category of the document. e.g. technical report, technical note or memorandum. If appropriate, enter the type ofreport. e.g. interim, progress, summary, annual or final. Give the inclusive dates when a specific reporting period is covered.)

    Technical Communication8. SPONSORING ACTIVITY (the name of the department project office or laboratory sponsoring the research and development. Include theaddress.)

    9a. PROJECT OR GRANT NO. if appropriate, the applicable research and gb. CONTRACT NO. f appropriate, the applicable number underdevelopment project or grant number under which the document was which the document was written)written. Please specify whether project or grant)1AF

    10a. ORIGINATOR S DOCUMENT NUMBER (the official document 10b. OTHER DOCUMENT NOS. (any other numbers which may benumber by which the document is identified by the originating assigned this document either by the originator or by theactivity. This number must be uniqu6 to this document.) sponsor)DREA Technical Communication 89/308

    11. DOCUMENT AVAILABILITY any limitations on further dissemination of the document. other than those imposed by securityclassification)

    X ) Unlimited distributionDistribution limited to defence departments and defence contractors; further distribution only as approvedDtstrlbution limited to defence departments and Canadian defence contractors; further distribution only as approvedDistribution limited to government departments and agencies; further distribution only as approvedDistribution limited to defence departments; further distribution only as approvedOther please specify):

    12.. DOCUMENT ANNOUNCEMENT any limitations to the bibliographic announcement of this document. This will normally correspond to theDocument Avalability 11). However, where futher dlstribution (beyond the audience specified In 11) is possible, a wider announcementaudience may be selected.) Unlimited

    UNCLASSIFIEDSECURIrTY CLASSIFICATION OF FORM

    DCDO3 2/06IS711

  • 8/13/2019 Wigley Hull Formula

    20/20

    UNCLASSIFIEDSECURITY CLASSIFICATION OF FORM

    13. ABSTRACT a brief and factual summary of the document. It may also appear elsewhere In the body of the document Itelf. it is highlydesirable that the abstract of classified documents be unclassified. Each paragraph of the abstract shall begin with an Indication of thesecurity classification of the Information In the paragraph (unless the document Itself is unclassified) represented as S). C), (R), orU). It is not necessary to include here abstracts in both official languages unless the text is bilingual. )

    Wigley hulls have been widely used as test cases for hydrodynamiccomputer programs because they can be modelled exactly in thecomputer, and because there are extensive experimental datadescribing the flow around them. In this communication, it isshown how Wigley hulls can be described using the HLLSRF hullrepresentation system. A user's guide for a Fortran 77 programwhich generates a HLLSRF data file for a Wigley hull is included.

    14. KEYWORDS, DESCRIPTORS or IDENTIFIERS technically meaningful terms or short phrases that characterize a document and could behelpful in cataloguing the document. They should be selected so that no security classifficaton is requried. Identifiers, such asequipment model designation, trade name, military pro)ect code name, geographic location may also be Included. if possible keywordsshould be selected from a published thesaurus. e.g. Thesaurus of Engineering and Scientific Terms TEST) and that thesaurus-identified.If it is not possible to select Indexing terms which are Unclassified, the classification of each should be indicated as with the title.

    Ship HullsHydrodynamicsSpline FunctionsHLLSRF

    UNCLASSIFIEDSECURITY CIASSICATON OF FOW

    12