Skip to content

XBOUND commands

XBOUND computes thin turbulent boundary layers. The momentum integral equations for the boundary layer are solved along streamlines traced from the potential-flow solution computed by XPAN. XBOUND can also compute the laminar boundary layer and the transition to turbulent flow for simpler cases with a well-defined stagnation point or line. The computation can be carried out for a smooth surface or for a specified surface roughness. XBOUND creates the database file id_XBDB, which is used by XCHAP (zonal approach).

The following commands are interpreted by XBOUND if they are found in the command file between the module delimiter commands XBOUND and END:

  • CONTROL — mode of execution
  • INICON — initial conditions for the boundary layer computation, one command per streamline group
  • LIMIT — tracing of limiting streamlines
  • RESISTANCE — region used for the skin friction integration
  • ROUGHNESS — hull surface roughness
  • TRACE — tracing of potential-flow streamlines

Streamline groups are defined with TRACE. Boundary layer computations are only carried out for the streamline groups that have been assigned initial conditions with INICON.

Each command section below gives a description, the general form of the command, its default values and a keyword table. A number in the Note column of a keyword table refers to the numbered note below the table. The notation is explained in Manual Conventions.

CONTROL

This command is used to specify the mode of execution of XBOUND.

General form of command

CONTROL ( STREAMLINE , SAVE   , FREESURFACE ,
                       NOSAVE
          FILE = "c"                        )

Default values

CONTROL (SAVE)

Keywords

Keyword Description
STREAMLINE Streamline tracing only. Potential-flow streamlines are traced as specified by the TRACE commands.
SAVE [XBDB] Create the database file id_XBDB and save the solution quantities for the Navier-Stokes computation.
NOSAVE [XBDB] The database file id_XBDB will not be created.
FREESURFACE XBOUND will use the linear free-surface solution instead of the double-model solution in id_XPDB. No id_XBDB file will be created. This option should only be used in combination with the linear free-surface option in XPAN (see CONTROL in XPAN).
FILE Name of the file that stores the limiting streamlines for plotting in FIPOST. The default name is XBLIMIT.

INICON

This command is used to specify initial conditions for the boundary layer computation. One command is needed for each potential-flow streamline group.

General form of command

INICON ( SGROUP = n                    , TRCR = v                     ,
         LAMINAR                       ,
         TURBULENT
         GIRTH = [v1, v2, ..., vPOINT] , T11 = [v1, v2, ..., vPOINT]  ,
         H12 = [v1, v2, ..., vPOINT]   , BETA = [v1, v2, ..., vPOINT] )

Default values

INICON ( TURBULENT, T11 = [1.0*10^-4] (for Standard Case only),
         H12 = [1.4] (for Standard Case only), GIRTH = [0.0],
         BETA = [0.0], see note 2 for H12 )

Keywords

Note Note Keyword Description
(1) SGROUP The number of the streamline group that the INICON command refers to.
(2) GIRTH Girth length from the lower edge of the section to the data point. GIRTH equals zero at the lower edge and one at the upper edge.
(2) T11 Momentum thickness at the data point (\( T11 = \theta_{11} / L_{pp} \)).
(2) H12 Form factor at the data point.
(2) BETA Wall cross-flow angle at the data point. Must be specified in degrees.
(3) LAMINAR [FLOW] The streamline starts at a stagnation point. The flow is assumed to be laminar up to a point of transition, which is computed by the \( e^n \)-method.
(3) TURBULENT [FLOW] The boundary layer is assumed to be turbulent from the start.
(3) TRCR Transition criterion.

Notes

  1. The program assigns a "group number" to each streamline group. This number corresponds to the order in which the corresponding TRACE commands appear in the command file. The value of SGROUP specifies which streamline group the INICON command refers to. Boundary layer computations are only carried out for the streamline groups that have been assigned initial conditions.
  2. Initial conditions, i.e. T11, H12 and BETA, are specified at a maximum of 10 data points from the start position of the streamline group. The number of data points is specified with POINT. The transverse position of each point is specified by GIRTH. GIRTH is zero at the lower edge of the section and one at the upper edge. Thus the direction of GIRTH is the same as that of the corresponding frames of the section in the offset file. SGROUP and T11 must be specified. Linear interpolation is used between the data points and the starting points of the streamlines. Constant start values can be specified as shown in the following example:

    INICON (SGROUP=1, T11=[1.0*10^-4], H12=[1.4])
    

    H12 is estimated from flat-plate correlations if it is not specified:

    \[ {H12} = \frac{1.0}{1.0 - 0.5118 \ast ({RT11})^{-1/12}} \]

    where RT11 is the Reynolds number based on the momentum thickness:

    \[ {RT11} = \frac{{Rn} \ast \theta}{Lpp} = {Rn} \ast {T11} \]

    See White, F. M., Viscous Fluid Flow, ch. 6-6, McGraw-Hill.

    The default value of BETA is zero.

  3. The boundary layer calculation can be started from a point where the flow is turbulent. The momentum thickness must then be given. It can also start from a stagnation point. XBOUND then assumes a laminar flow and computes the transition point with the \( e^n \)-method. After the location of the transition point has been determined, the calculation continues with a computation of the turbulent boundary layer. The laminar option requires a well-defined stagnation point. The transition criterion TRCR is 9.0 by default.

LIMIT

The limiting streamline tracing is controlled with this command. Each LIMIT command in the command file will produce a group of limiting streamlines on the specified panel group. A maximum of 30 limiting streamline groups can be traced at the same time.

The limiting streamline tracing is carried out immediately after the boundary layer calculation. The velocities close to the hull are transformed according to the computed cross-flow angle.

All keywords are the same as for the TRACE command, which traces the potential-flow streamlines.

General form of command

LIMIT ( GROUP = n  , STATION = n , STREAM = n ,
        ISTART = n , PARAMETRIC  , IDISTR = n ,
        S1 = v     , DS1 = v     , SN = v     ,
        DSN = v    , JDISTR = n  , P1 = v     ,
        DP1 = v    , PN = v      , DPN = v    )

Default values

LIMIT ( no default values exist for GROUP, STATION, STREAM or ISTART,
        but: IDISTR = 0, S1 = 0, DS1 = 0, SN = 1, DSN = 0, JDISTR = 0,
        P1 = 0, DP1 = 0, PN = 1, DPN = 0 )

Keywords

Note Note Keyword Description
GROUP Section number of the panel section on which this group of streamlines will be traced.
STATION Number of streamline stations along the hull for streamline tracing (that is, the number of points per streamline).
STREAM Number of streamlines in the group.
ISTART Index of the streamline station from which the tracing will be done. The streamline stations are counted from the bow, so downstream tracing is accomplished with ISTART = 1 and upstream tracing with ISTART = STATION. Values in between give streamlines that are traced in two directions from the streamline station specified by ISTART.
PARAMETRIC This keyword specifies whether the start and end points of the streamlines are given in the computational coordinate system or in the parametric space. It thus determines the meaning of S1 and SN.

The values given to the keywords IDISTR ... DSN specify the distribution of the streamline stations along the section. The values of the keywords JDISTR ... DPN control the girthwise distribution of the streamlines at the ISTART's streamline station.
IDISTR Type of stretching function to be used:
= 0 linear, DS1 and DSN ignored
= 1 hyperbolic tangents, DS1 or DSN required
= 2 exponential function, DS1 or DSN required
= 3 hyperbolic sine, DS1 or DSN required
= 4 geometric (partial sums of a geometric progression), DS1 or DSN required
= 5 hyperbolic tangents, DS1 and DSN required.
(1) S1 Location of the first streamline station, given in the computational coordinate system or in the parametric space. See note 1.
DS1 Spacing of the streamline stations at the upstream end of the streamlines.
(1) SN Location of the last streamline station, given in the computational coordinate system or in the parametric space. See note 1.
DSN Spacing of the streamline stations at the downstream end of the streamline group.
JDISTR Same as IDISTR, but for the girthwise distribution of the streamlines.
(2) P1 Girthwise location of the keelmost streamline at the ISTART's streamline station.
(2) DP1 Spacing of the streamlines at the keelmost streamline.
(2) PN Girthwise location of the topmost streamline at the ISTART's station.
(2) DPN Spacing of the streamlines at the topmost streamline.

Notes

  1. S1 and SN must be given as absolute coordinates in the computational coordinate system, or in the parametric space if the keyword PARAMETRIC is used. In the parametric space, the value of S is 1 at the first station and equal to the number of panels minus one at the last station of a panel group. Tracing the streamlines all the way to the end of a section that ends in a point is not a good idea: the mapping to the girthwise arc-length coordinate becomes singular and some of the boundary layer assumptions cease to be valid.
  2. P1, DP1, PN and DPN should be specified using a normalized arc-length coordinate that is zero at the keelmost edge of the panel section and one at the topmost edge.

RESISTANCE

This command limits the region used in the computation of the total skin friction coefficient.

General form of command

RESISTANCE ( XL1 = v, XL2 = v )

Default values

RESISTANCE ( XL1 = -1.0e12, XL2 = 1.0e12 )

Keywords

Keyword Description
XL1 Lower limit of x for the total skin friction integration.
XL2 Upper limit of x for the total skin friction integration.

Notes

The total skin friction coefficient CF is integrated over the domain XL1 < x < XL2. All hull sections are included in the integration, and every panel has been assigned a local skin friction value from the nearest streamline. This means that panels on sections where no streamlines have been started will contribute to CF. Streamlines that have been traced but not assigned initial conditions for boundary layer computations will contribute a local skin friction coefficient of zero.

ROUGHNESS

This command is used to specify the hull surface roughness.

General form of command

ROUGHNESS( C = v, H = v )

Default values

ROUGHNESS ( C = 0.0, H = 0.0)

Keywords

Note Note Keyword Description
(1) C Surface efficiency parameter.
(2) H Dimensionless surface roughness height, made dimensionless by the reference length, i.e. H = h/REFLEN, where h is the average full-scale roughness height. See REFLEN on the VSHIP command in XFLOW.

Notes

  1. The surface roughness is defined by two parameters, h and C. h is simply the average height of the roughness elements. The efficiency parameter C is obtained experimentally and is a measure of how effective a surface roughness geometry is in terms of hydrodynamic friction. If the parameters h and C have been obtained experimentally, it is possible to scale the roughness to some extent by changing h (for example for barnacle surfaces). There is no universal value for C, though.

    Several artificial and marine fouling surfaces have been measured in [1], and the C values from this paper can be used as a reference.

    [1] Michael Leer-Andersen, Lars Larsson. "An experimental/numerical approach for evaluating skin friction on full-scale ships with surface roughness", J Mar Sci Technol (2003) 8:26-36.

TRACE

The streamline tracing is controlled with this command. Each TRACE command in the command file will produce a group of streamlines on one of the panel groups. The streamline groups are numbered in the order in which the TRACE commands appear; this number is used by SGROUP on the INICON command.

General form of command

TRACE ( GROUP = n  , STATION = n , STREAM = n ,
        ISTART = n , PARAMETRIC  , IDISTR = n ,
        S1 = v     , DS1 = v     , SN = v     ,
        DSN = v    , JDISTR = n  , P1 = v     ,
        DP1 = v    , PN = v      , DPN = v    )

Default values

TRACE ( no default values exist for GROUP, STREAM or ISTART,
        but: STATION=100, IDISTR = 0, S1 = 0, DS1 = 0, SN = 1, DSN = 0,
        JDISTR = 0, P1 = 0, DP1 = 0, PN = 1, DPN = 0 )

Keywords

Note Note Keyword Description
GROUP Section number of the panel section on which this group of streamlines will be traced.
STATION Number of streamline stations along the hull for streamline tracing (that is, the number of points per streamline).
STREAM Number of streamlines in the group.
ISTART Index of the streamline station from which the tracing will be done. The streamline stations are counted from the bow, so downstream tracing is accomplished with ISTART = 1 and upstream tracing with ISTART = STATION. Values in between give streamlines that are traced in two directions from the streamline station specified by ISTART.
PARAMETRIC This keyword specifies whether the start and end points of the streamlines are given in the computational coordinate system or in the parametric space. It thus determines the meaning of S1 and SN.

The values given to the keywords IDISTR ... DSN specify the distribution of the streamline stations along the section. The values of the keywords JDISTR ... DPN control the girthwise distribution of the streamlines at the ISTART's streamline station.
IDISTR Type of stretching function to be used:
= 0 linear, DS1 and DSN ignored
= 1 hyperbolic tangents, DS1 or DSN required
= 2 exponential function, DS1 or DSN required
= 3 hyperbolic sine, DS1 or DSN required
= 4 geometric (partial sums of a geometric progression), DS1 or DSN required
= 5 hyperbolic tangents, DS1 and DSN required.
(1) S1 Location of the first streamline station, given in the computational coordinate system or in the parametric space. See note 1.
DS1 Spacing of the streamline stations at the upstream end of the streamlines.
(1) SN Location of the last streamline station, given in the computational coordinate system or in the parametric space. See note 1.
DSN Spacing of the streamline stations at the downstream end of the streamline group.
JDISTR Same as IDISTR, but for the girthwise distribution of the streamlines.
(2) P1 Girthwise location of the keelmost streamline at the ISTART's streamline station.
(2) DP1 Spacing of the streamlines at the keelmost streamline.
(2) PN Girthwise location of the topmost streamline at the ISTART's station.
(2) DPN Spacing of the streamlines at the topmost streamline.

Notes

  1. S1 and SN must be given as absolute coordinates in the computational coordinate system, or in the parametric space if the keyword PARAMETRIC is used. In the parametric space, the value of S is 1 at the first station and equal to the number of panels minus one at the last station of a panel group. Tracing the streamlines all the way to the end of a section that ends in a point is not a good idea: the mapping to the girthwise arc-length coordinate becomes singular and some of the boundary layer assumptions cease to be valid.
  2. P1, DP1, PN and DPN should be specified using a normalized arc-length coordinate that is zero at the keelmost edge of the panel section and one at the topmost edge.