NAPA Online Manuals 2011.2: Example Collection: Container Ship
NAPA Online Manuals 2011.2: Example Collection: Container Ship
NAPA Online Manuals 2011.2: Example Collection: Container Ship
2
Example Collection: Container Ship
Table of Contents
1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Establishing a new project and set up reference system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2.1 Create new project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2.2 Set up the reference system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3 Hull Definition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.1 General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.2 Definition of the hull grid. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.3 Drawing and fairing of the hull surface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.3.1 Drawing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.3.2 Fairing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4 Hydrostatics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.1 General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.2 Arguments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.3 Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.3.1 General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.3.2 List buttons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.3.3 Plot buttons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5 Reference Surfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5.1 Definition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6 Surface Objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.1 Surface objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.2 Trimmed patch surfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7 Room Definition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.1 Reference surfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.2 Defining rooms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.3 Drawing and output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8 Arrangement Definition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8.1 General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8.2 Defining an arrangement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8.3 Purpose Definition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.4 Arrangement Setups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.5 Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
9 Container Arrangements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
9.1 General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9.2 Defintion of container types and owner numbering. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9.2.1 Container types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9.2.2 Owner numbering. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9.3 Definition of the container arrangement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
9.4 Drawing container arrangements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
10 Container loading. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
10.1 Defining loadcases. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
10.2 Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
11 Loading conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
11.1 General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
11.2 Lightweight defintion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
11.3 Definition of a loading condition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
11.4 Calculation arguments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
11.5 Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
12 Capacities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
12.1 Arguments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
12.2 Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
12.2.1 Lists. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
12.2.2 Graphic output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
1 Introduction
This example collection contains instructions how to define a simple container ship. The example acguaints
the user to some basic functions i a few different subsystems of NAPA and in that way helps a new user to
get started with the system.
All the definitions in the examples are related to the project D-CONTAI which is delivered to all customers
together with the newest NAPA Release. The project is opened with command PRO D-CONTAI in NAPA Main
Window.
TASK?>PRO NAME
Where PRO is the command creating a new project and NAME is the project name given by the user, note that
the project name may contain a maximum of nine characters. The same command also opens a project which
has been created earlier. Once the command has been run, a window will open which informs that the project
does not exist, by clicking the create button in this window the same window presented in figure 3 opens.
The command LIS ALL + gives a full list of reference dimensions, including the undefined values. See figure 4.
3 Hull Definition
In this chapter it is shown how to define the hull grid of a container vessel. All the geometric objects are defined
in DEF task which can be entered from the TASK level.
TASK?>DEF
3.1 General
The hull grid can either be defined by manual definition in the command prompt or by using the Hull Surface
Editor. In this example the hull surface editor is used to define the fore ship of a container vessel
Figure 1. The template macro to create the fundamental curves in fore ship
Firstly a name has to be given to the hull grid. Since this example consists of definition of the fore end of the
ship the standard name HULLF is given and saved.
A number of pop-up queries will appear. The values for these are:
@xfrf=... X-coordinate of forward end of parallel mid body. This value is 97.224 in this example.
@x=... Lenght between perpendiculars: 186.115
@y=... Beam of ship: 32
@z=... Design draught: 9
@br=... Bilge radius: 3.62
@zdeck... Height of deck: 20.1
NOTE! When entering the deckheight a margin should be added to the real deck height. This is to guarantee
a perfect intersection with the surface that is to become the deck of the ship.
After these values are entered a simple hull consisting of only the edge curves is created automatically, see
figure 2.
NOTE! Remember to save your definitions by pressing the Save button regularly. When the curve definitions
are saved they are also automatically added to the surface definition of HULLF.
The STEM, DECKF and FBF curves are modified first. The points can be moved either by clicking on the
primary definition point (pink square) and dragging it to the new place or by modifying the definition of the curve.
This is done by first activating the curve by clicking on it (the color changes) and then clicking on the button.
This will open the curve definition in the separate text window, see figure 3.
New points can be added to STEM curve in order to shape the bulb in the y-projection. This can be done
either by opening the curve definition and adding the point by entering its coordinates to the definition or by
first activating the curve and then clicking on the desired coordinate with the Alt key pressed down.
Some points are added to STEM curve and the bulb is formed by manipulating the point coordinates in the
curve definition.
After some modification the definitions of the curves STEM, FBF and DECKF are the following:
CUR STEM; Y 0
XZ * (176,0), /0, (185,0.8), (189.625,2.748),
(192,5.14), 90/, (192.4,6.9), (192,7.971),
(189.624,8.8), /-, -/, (185,9), /90, (185.3,10.5),
(187.6,14.35), /-, (192.372,20.1)
CUR FBF; Z 0
XY FRF/Y>1, /0, (112,9.018), (129.5,4.66), (148,1.57),
(157.25,0.667), (166.5,0.181), STEM
SC , P
Now that the fundamental curves are in their wanted shape, some other curves can be added. The first curve
to add is a knuckle line KNF. This can be done by choosing
Curve > Create New Curve
in the Hull Surface Editor. A dialog for a new curve definition will appear. The knuckle line (KNF) is to be defined
as a waterline (z=14.35) with a free angle side condition on both sides (-//-), see figure 5.
The two asterisks (**) in the beginning of XY definition of the curve means that the points of the curve are
sorted by the shortest distance between the points. This default definition can sometimes cause problems so
it is removed.
Next some more points are added to the curve definition in the text window and the curve is modified to the
desired shape in two different projections. The final definition after some manual modification can be seen in
figure 6.
HINT! When sketching the curve it is handy to use the clipboard of the Hull Surface Editor. Points can be
obtained by moving the pointer to the right place and clicking with the middle mouse button which will send
the coordinates to the clipboard. After this the coordinates can be pasted into the curve definition.
By applying the same principles and methods as above, the rest of the curves are defined, see figure 7.
CUR SN
XY KNF/Y=0.3, DECKF/Y=4
XZ KNF, DECKF
CUR TF1
XZ (97.224,0.5), (138.75,0.696), (166.5,0.927), -/,
(180.375,0.892), (185,1.381), (189.625,3.514),
FRB3/Z=5.9, STEM/Z=6.9
XY FRF, (104,13.876), (112,13.212), (120.25,10.961),
(129.5,8.298), (138.75,6.2593), (166.5,1.839),
(171.125,1.49), (176,1.067), (180.375,0.661),
(182.8,0.516), (185,0.504), (187.45,0.711), FRB2,
(190.9,1.044), FRB3, 90/, STEM
CUR TF3
XZ FSF/FR12, (120.25,4.881), (138.75,4.885),
(147.969,5.2), (157.25,5.766), (166.5,6.5),
(176,7.566), (180.375,7.996), (185,8.2),
(189.625,8.25), FRB3/Z=7.5, STEM/Z=6.9
XY FSF, (138.75,12.623), (147.969,10.037),
(152.9,8.361), (162,5.474), (166.5,4.172),
(180.375,1.107), (185,0.896), (187.45,1.04), FRB2,
(190.9,1.239), FRB3, 90/, STEM
CUR TF4
XZ FSF/FR13, STEM/Z=9
XY FSF, (129.5,15.876), (138.75,15.216),
(147.969,13.37), (152.9,11.81), (157.25,10.16),
(162,8.143), (166.5,5.9712), /-28.43,
(171.125,3.794), (176,2.097), STEM
CUR WLF18; Z 18
XY FRF, FR12, FR13, FR14, FR15, FR16, FSF, FR17, FR18,
FR18.5, FR19, FR19.5, FR20, SN, 90/, STEM
CUR WLF16; Z 16
XY FRF, FR12, FR13, FR14, FR15, FR16, FSF, FR17, FR18,
FR18.5, FR19, FR19.5, -/, FR20, SN, 90/, STEM
CUR TF5
XZ FRF/Z=1.113, FR18/Z=2.7, FRB2/TF1
XY FRF, FR12, FR12.5, FR13, FR14, FR15, FR16, FR17,
FR18, FR18.5, FR19, FR19.5, (182.8,1.875), FRB,
(187.45,1.579), FRB2/TF1
CUR TF6
XZ FRF/Z=3, FR16/Z=4.3, FR18.5/Z=5.7, FRB3/TF3
CUR TF8
XZ FSF/FR12.5, (120.25,7.5), (138.75,7.3),
(147.969,7.3), (157.25,7.6), (166.5,7.9), (176,8.3),
(180.375,8.5), (185,8.6), (189.625,8.6), FRB5/Z=8.45,
FRB3/Z=7.8, STEM/Z=6.9
XY FSF, FR13, FR14, FR15, FR16, (152.9,10.162), FR17,
(162,6.792), FR18, FR18.5, FR19, FR19.5, FRB,
(187.45,0.695), FRB2, FRB5, FRB3, 90/, STEM
3.3.1 Drawing
When the hull grid has been defined it can be graphically observed with a number of tools in the Hull Surface
Editor. The drawing tools are located in a toolbar which can be launched from the drawing tools button on the
upper-right corner (1), see figure 10. Either the definition grid or the surface can be drawn. This is controlled
by the buttons on the left side of the drawing toolbar (2 and 3). Sections (x, y and z) can be added to the hull
by choosing from the buttons in the middle part of the toolbar (4). When pressing the drawing button (5) the
surface will be drawn. The drawing options can be modified by clicking on the drawing options button (6).
This will result in the view of the fore ship seen in figure 12 when the x-sections is selected.
3.3.2 Fairing
The fairing can either be done with the fairing tool or manually by shaping the curves by hand. In this example
the fairing is done manually using the curvature indicators that NAPA provide for fairing. For observing the
curvature and smoothness of the surface as a whole the method described in the preceding example can be
used. When a single curve or a smaller part of the grid is modified the envelope curves and vectors are very
handy. The envelope curves can be turned by choosing Options > View and behaviour from the menu. The
option Vectors+Envelope can be found in the Curvature tab of the dialog, see figure 14.
4 Hydrostatics
4.1 General
Hydrostatic quantities are obtained in the HYD (Hydrostatics) task which can be entered from TASK level by
giving the command HYD or from the Task > Hydrostatics > Hydrostatics drop-down menu in the Main
window.
Using the drop down menu, a small task specific window opens up. This window offers setting of arguments
and the general functionalities of the HYD task, see figure 1.
4.2 Arguments
The hydrostatic values are calculated according to the calculation arguments which can be seen in Arguments
tab of Hydrostatic window (see figure 1). The arguments are changed by just typing in a new value in the
VALUE column. Explanations are obtained by right-clicking the argument and selecting EXPL from the drop
down menu, see figure 2.
4.3 Output
4.3.1 General
The output can be created by using the listing and plotting buttons or the Output tab in Hydrostatics window.
The buttons are used for default lists and plots. By using the Output tab it's easy to customize the output layout,
please see the chapter Output in Introduction to NAPA.
5 Reference Surfaces
Reference surfaces are defined before defining rooms and surface objects. The main advantage using
reference surface is to make the model flexible to changes. Reference surfaces should be used as much as
possible when defining compartments and surface objects. The same reference surfaces should be used both
in the comparment definition and in the surface object definition. This will guarantee that the compartment
model and the surface model are consistent.
5.1 Definition
For example, the ends of tank compartments should refer to the same reference surfaces as the owner surface
of the transversal bulkhead surface object, see figure 1.
PLA S.EXAMPLE2
X #S.TB5-#10
Now whenever the reference surfaces S.TB4 or S.TB5 is altered, the example surfaces will also be relocated.
So there is no need to update each surface individually.
It is useful to have a standard naming rule for the reference surfaces, rooms and surface objects. The given
names should be simple and informative to the user. For example the name
S.TB4
means "The surface of transversal bulkhead number four". By writing
S.
the object can be immediatly identified as a surface.
The definition of reference surface, and all other geometrical objects, is done in the DEF-task which can be
entered from TASK level by giving command DEF in NAPA Main window.
The Text Editor and Geometry Window are very useful tools when beginning to define surfaces, rooms or
surface objects.
FCS ISP9
THR X=(142.8 161.3) Y=0 Z=4.4 Y=3.8 Z=9.6 Y=6.4,
Z=12.2 Y=8.9 Z=14.8 Y=11.5 Z=17.4 Y=14 Z=20
OK
6 Surface Objects
and limited by reference surfaces or coordinates. The following definition shows the general example how a
SO is defined:
SO NAME
IN S.SURFACE
LIM Xmin Xmax Ymin Ymax Zmin Zmax
The following two definitions are examples of how a transversal bulkhead could be defined. Notice that in the
lower definition reference surfaces have been used.
SO TBH2
X #20
LIM - - - +HULL - 20
SO TBH2
IN S.TBH2
LIM - - - +HULL - S.MDK
If six coordinates are not enough to define the limits, more limiting coordinates can be added to the end of the
LIM line as shown in the following example.
SO TBH9
IN S.TBH9
LIM - - - +HULL S.TTOP S.MDK Z>S.HOPPER
For detailed information about the definition of SO:s see Definition of Surface Objects.
In the transversal bulkhead presented in the figure 1 has been defined two general openings, which represent
doorways. The doorways have been made by using the REDUCE command, which can be seen below in the
definition of the SO.
SO LW0105P
IN S.LW1P
LIM S.TW1 S.DHF - - S.DHDK5 S.DHDK6
RED #S.TW1+#1 #S.TW4-#1 - - S.DHDK5 #S.DHDK5+2.2 D=0.05 R=0.2
RED #S.DHF-#2 #S.DHF-#1 - - S.DHDK5 #S.DHDK5+2.2 D=0.05 R=0.2
SUR SIDEP
TRIM HULL x>-4.17 z>s.dk1 z<s.mdk >thr
7 Room Definition
This chapter deals with the geometrical definition of the rooms. Parameters such as purpose, type, permeabilty
etc. are given later in the SM task. This is further discussed in the Ship Model (SM) chapter.
CUR RUDDERU; Z 9
XY (-3.1,0), -/, (-3.1,0.07), /-, -/, (0.2,0.3), 90/,
(1.1,0)
The curves used as bases for the connection surface
CNS, S.RUD1
BAS, RUDDERL
BAS, RUDDERU
The connection surface
Now that the shape of the rudder is defined, the whole rudder can be defined as a room:
ROOM RUDDER 'Rudder, Blade & Horn'
LIM X>-3.1 Y>0 Y<S.RUD1 Z>0.51 >HULLA
SYM
OK
By applying the same principles as above the sea chests can be defined:
ROOM SCH1 'Sea chest CL'
LIM #S.TB4-#2, S.TB4, 0, #LONG4, HULL, #S.DK1+1.5
SYM
OK
CYL, THR
AXI (#S.F-#2, -5, #S.DK1+1.3), (#S.F-#2, 5, #S.DK1+1.3)
FOR, R=1.2
CLOSE
OK
Definition of the bow thruster
Now that the appendages are defined, they can be joined with STABHULL. The definition can for example be
modified with EDI STABHULL
ROOM STABHULL
LIM -, -, 0, HULL, -, S.MDK
SYM
ADD RUDDER
ADD PROP
RED SCH1
RED SCH2
RED SCH3
RED THR
OK
For more information about room definition see Definition of rooms in chapter Geometry.
8 Arrangement Definition
8.1 General
The purpose of the arrangement definition is to gather all the individual compartments in the ship into
an arrangement table and give appropriate attributes to the compartments. The geometry of the individual
compartments is defined in the GM subsystem. The role of ship arrangement is fundamental as most of the
calculation subsytems, such as Loading Conditions and Damage Stability rely on the information in the ship
arrangement. The definition of an arrangement is performed in the SM (Ship Model) task.
There are two alternative ways to enter the SM task. By clicking on the drop-down menu
Task > Ship Model
in Main window, the graphical user interface is launched and the ship arrangement can be build-up with the
tools in the graphical user interface. The other alternative is to run the command SM, either on TASK level or
in the GM subsystem. When entering the SM task with the command SM, the graphical user interface is not
launched and the user is supposed to define the arrangement with commands.
It is recommended that the name of the arrangement is A. The reason is that this is the default name for the
arrangement used in the other subsystems.
When the GUI has been opened rooms can be added to the arrangement table (the upper left part of the ship
model window) by using a list box in every cell in the NAME column of the table, see figure 1. The list box
opens by clicking two times on the cell and then clicking on the button that appears. All the rooms that have
been defined in the project are listed in the list box and can be added to the arrangement. If all the rooms are
already added to the arrangement by using a shortcut command presented above, all the rooms selected can
now be seen in the table.
Purposes selected from the standard purpose table are automatically stored in the project specific Purpose
table called PAR*PRO. If the standard purposes do not fulfill the needs of the user, other purposes can be
added to the table PAR*PRO in the Purposes tab in Ship Model window. The new purposes are simply added
in the column PURP and the following characteristics for the purpose are entered in the table:
■ DES - Description of the purpose
■ CLASS - Classification of the load e.g. C (solid cargo)
■ TYPE - Type of the purpose, e.g. B (bunker)
■ RHO - Density
■ RED - Steel reduction (Reduction due to girders and stiffeners in tanks)
■ CAP - maximum filling degree
■ PERM - Permeability
■ LFCODE - Fillcode for plots: color and pattern of the fill
In the following example a purpose named GAS has been created, see figure 3. The characteristics for this
purpose are:
■ CLASS: B (bunker)
■ TYPE: L (liquid)
■ RHO: 0.8 (density)
■ RED: 0.2 (steel reduction)
■ CAP: 0.95 (capacity)
■ PERM: 0.95 (permeability)
■ LFCODE: NAPABLUE (fill code)
Figure 4. (1) Launch the setup editor (2) Choose the plans tab (3) Open an existing arrangement
How to create a new setup:
1. Open the setup editor
2. Open the Plans tab
3. Choose projection (x, y or z)
4. Enter the coordinate value (in the coordinates field)
5. Press the New Plan button in the toolbar on the left side.
6. Select options in the Options tab
7. Save the setup
To draw the arrangement press the drawing button (1) above the graphics area.
Figure 5.
Figure 6.
The drawing properties menu can be opened from the button on the right hand side of the drawing button (5).
Some options regarding the arrangement drawing can be handled there. Button 1 sets the fill on. This means
that the arrangement will be drawn with the selected fill colors and patterns selected in the fill selection listbox
(2). Identification can also be drawn in the arrangement picture. The identification is selected in the list box 2
and contains a number of alternatives such as room names, purposes, permeabilities etc.
More information about drawing of arrangement setups can be found in the NAPA manuals/arrangement
drawing.
8.5 Output
For making output lists there are a set of functions integrated in the Output tab in the SM GUI.
Figure 7
Choose Ship Model Output from the LQ list box (1). The default layout is automatically chosen in the Layout
list box (2), other options are also available. By pressing the LIST button (3) a compartment list will be printed
in the command window. The list can be directed into the LIST window by si mply opening it from the TOOLS
menu. The default quantities of the compartment list are NAME, PURP (purpose), VOLM (volume), VNET (net
volume), CGX (longitudinal center of gravity of vloume , CGY (transversal center of gravity of volume), CGZ
(vertical center of gravity of volume), MOM(IY*RHO)/'TMY*RHO' (moment of tank contents), IYIMO('IY/IMO')
(moment of tank contents calculated by IMO rules), (TMY) , (RHO), (PDES) can be modified by pressing the
EDIT button (4) the list edit window will open.
Figure 8
For example, list quantities can easily be modified in the edit window by choosing LIST QUANTITIES from the
EDIT drop-down menu.
For more information about arrangement definition and the Ship Model subsystem see: Introduction to NAPA
ch. 13 Ship Model (pg. 201) or the Ship Model part in the Online Manuals.
9 Container Arrangements
9.1 General
The container arrangement is defined in the CL task. The task can be accessed either from the Ship Model
(SM) or the Loading Conditions (LD) tasks.
Before the vessel can be loaded with containers a container arrangement has to be defined. The container
arrangement defines the container numbering system which is referred to in the container load definitions. The
following steps are taken when the arrangement is defined:
■ Definition of the owner numbering
■ Definition of container types
■ Definition of container blocks
■ Definition of the combined container arrangement
The basic idea is to define an arrangement consisting of a number of smaller elements, container blocks. In
this example a container hold (as defined in SM) carries two container blocks which consists of a number of
containers.
The container arrangment follows an own "coordinate system" which is divided into Bays (transversal division),
Rows (longitudinal division) and Tiers (vertical division).
The definition of the owner numbering has to refer to the internal numbering system, which is a running
numbering system starting from the fore end of the ship longitudinally, from the centerline transversally and
from the baseline vertically.
In this project the owner numbering is defined in the CL task as following:
ON, X, 1, (1, 99, 2)
ON, Y, -6, (11, 1, -2), (0, 12, 2)
ON, Z, 1, (2, 24, 2), (82, 94, 2)
In the x-direction the owner numbering starts at 1 of the internal numbering. Then it continues from 1 to 99
by steps of 2. This will result in the number series 1, 3, 5, 7, ...,99. In y-direction the numbering is defined
differently on each side of the centerline. The numbering begins at the smallest internal numbering which is
-6 in this case. This means the 6th row on the starboard side of the ship. On the starboard side the owner
numbering starts from 1 and ends with 11 by steps of -2. This means that the number series will be -1, -3, ...,
-11. On the port side the numbering starts at 0 and ends at 12 by steps of 2. The number series will therefore
be 0, 2, 4, ..., 12. The owner numbering of the tiers starts at 2 and ends at 24 by steps of 2 below deck and
from 82 to 94 by steps of 2 above deck.
The command
ON FORMAL
combines two bays so that they form a "bay" for a 40 foot container. Adding a formal owner numbering will
make the definition as follows:
ON, X, 1, (1, 99, 2)
ON, Y, -6, (11, 1, -2), (0, 12, 2)
ON, Z, 1, (2, 24, 2), (82, 94, 2)
ON, FORMAL 3/4/5, 5/6/7
In this example the FORMAL command will combine bays 3 and 5 to a bay named 4 and bays 5 and 7 to a
bay named 6.
See !EXPL ON or the online manuals chapter CONTAINER LOADING for additional information about owner
numbering.
X, #S.TB7+0.7, 1, 0.7, 1
Y, C, 6
Z, #S.DK1, 6
RED, Y>ISP6
SYM
OK
Y, C, 6
Z, #S.DK9+.2, 3
SYM
OK
two are combined and will form the container arrangement of this ship. The combination of the blocks (HOLD
and DECK) are done like this:
COM, HOLD, HOLD1, HOLD2, HOLD3, HOLD4, HOLD5, HOLD6, HOLD7,
HOLD8, HOLD9, HOLD10
COM, DECK, DECK1, DECK2, DECK3, DECK4, DECK5, DECK6, DECK7, DECK8,
DECK9, DECK10
Now the blocks above can be combined to one arrangement (CONT):
COM, CONT, DECK, HOLD
NOTE! The combined arrangement must not be named ALL. This will collide with the drawing command
ALL and will result in that the arrangement cannot be drawn.
The plot command offers a lot of options for drawing the arrangement. See !expl PLOT or the NAPA manuals
for more information about drawing functions.
10 Container loading
In this chapter it is described how a load case is done when containers are a part of the load.
10.2 Output
The LIST command can be used for making output lists of the container load that has been made current by
GET. The LIST command can be used with a number of options (for detailed description, see !EXPL LIS in the
CL task). Here is an example of the LIST command used in CL:
Here is a list of the bays and their contents. The command that has been used here is LIST B (list bay). Lists
for rows and tiers can also be made by using LIST and R or T as option.
BAY NL MASS XM YM ZM
----------------------------------------
1 65 1300.0 166.57 -0.00 27.21
5 82 1640.0 152.19 -0.00 23.86
9 103 2060.0 136.71 -0.00 20.84
13 115 2300.0 123.23 -0.00 19.30
17 121 1815.0 105.11 -0.00 18.63
19 121 1815.0 111.91 -0.00 18.63
BAY NL MASS XM YM ZM
----------------------------------------
21 121 1815.0 91.23 -0.00 18.63
23 121 1815.0 98.03 -0.00 18.63
25 121 1815.0 75.75 -0.00 18.63
27 121 1815.0 82.55 -0.00 18.63
29 117 1755.0 62.27 -0.00 19.12
31 117 1755.0 69.07 -0.00 19.12
33 93 1395.0 29.69 -0.00 22.66
35 93 1395.0 36.49 -0.00 22.66
37 0 0.0 0.00 0.00 0.00
39 0 0.0 0.00 0.00 0.00
----------------------------------------
1511 24490.0 97.13 -0.00 20.21
The list describes number of positions that have been loaded (NL), mass, and the load´s center of gravity (XM,
YM and ZM)
When loading conditions are defined a reference is made in the Loading conditions (LD) task. More of this in
the stabilty calculations part of the example booklet.
For more information about the output commands in CL, see NAPA manuals
For more information about drawing container loads, see the NAPA manuals
11 Loading conditions
In this chapter it is explained how to define a loading condition where the containers are taken into account.
11.1 General
The loading conditions are defined in the Loading Conditions (LD) task. The task can be entered either by
the command LD in the TASK level or by launching the GUI (graphical user interface) from the TASK menu
in the main window.
The main functions are: 1. Create new load case 2. Open an existing load case 3. Save loadcase 4. Tools for
arrangement drawings 5. Output tools
When the elements table s completed the lightweight definition can be done in the LGDEF subtask (entered
from LD by the LGDEF command):
NEW A
DIST ELEM
ELEM FROM LIGE
SAVE
The syntax above defines the ligtweight to be distributed according to the elements and that the lightweight
shall be taken from the table LIGE.
For more information about lightweight definition see the NAPA manuals
The same tools as in the SM (ship model) GUI are available in the LD GUI, so a saved setup (in e.g. SM)
can be opened in here.
The first load component is defined and that is the contained load which has been defined in the CL task with
the name L1 (full load). The loading of containers must be done by defining a mass load and referring to the
container load in CL. This has to be done using manual commands so it is convenient to open the command
area in the LD GUI by choosing View>Show Commandarea
The referens to the container load is done with the MASS command:
MASS CONT L1
Now the containers weight and center of gravity is taken into account in the loading case. The next step is to
fill the tanks so that a optimum floating position for the full dead weight condition is reached. This can either
be done by choosing a set of tanks (1) with the same purpose and loading them with the loading tool situated
in the load menu on the toolbar. The other method is to choose a tank by clicking on it in the setup drawing
and the right-click to access the loading functions (2). It is also possible to manually change the values in the
loading table.
There are 4 loadcases defined in this example; Full load at departure, full load at arrival (10% consumables),
ballast condition at departure and ballast condition at arrival (10% consumables).
For more information about loading conditions see the NAPA manuals.
11.5 Output
Load and stability data can be obtained by the commands PLOT and LIST. The listing and plotting can be
performed with the listing and plotting tools included in the LD GUI (in the output tab).
For instance, standard output lists showing the loading components and the floating position can be listed
with the LIST command or by choosing the wanted list from the output tab. In the GUI, the list quantities can
be modified as described in the Ship Model (SM) part. Here is a standard output list with the LIST command
(button on the toolbar in the upper part of the GUI):
L O A D I N G C O M P O N E N T S
----------------------------------
CONTAINER HOLD
L1 0.0 19950.0 104.60 -0.00 18.14 0.0
-----------------------------------------------------------------
F L O A T I N G P O S I T I O N
--------------------------------
For plotting of the stability curve there is a button on the toolbar called PL GZ. By pressing the button a standard
GZ curve of the loading condition will be drawn in the graphics area. The curve will be drawn with the PLOT
STAB command.
A GZ curve that can be modified by PQ (plot quantities) and POO (plot output options) can be drawn with the
command PLD ST e.g. in the commandarea of the LD GUI. The diagrams can be printed by right clicking on
the graphics area and choosing Send View from the menu that opens.
HINT! The buttons on the toolbar can be customised to the users needs by definitions in a the toolbar table
for LD. The table is opened in the table editor from the NAPADB with the name TBAR*LD. For example, if
it is wanted to have a button for the PLD ST command, the user can add a row in the table and define the
new button and save it in the system database (DB2)
Drawing of the container load in the arrangement drawing is possible with the command DRW CL.
More information about drawing functions in LD can be found in the NAPA manuals.
More information about Loading Conditions in general is fournd in the LD part of the NAPA manuals
12 Capacities
The CP task is used for creating tables of hydrostatic data of compartments. The CP task is entered directly from
the TASK level by givnig command CP. Only one compartment at a time is handled. The output is controlled
with arguments for calculation and the normal output commands (LQ/TOO, PQ/POO) for layout of lists and
diagrams.
The CP task, in general, fetches all needed data from the arrangement defined in the SM task. So if no steel
reduction is explicitly defined, the steel reduction as defined in the arrangement will be used.
The CP task has a task specific window available to handle the arguments and output. This is opened from
Main Window: Tasks -> Capacities-> Compartments
see figure 1.
12.1 Arguments
The arguments can be seen under the Arguments tab in Capacities window. The values can be changed and
explanatory texts can be seen similarly than in Hydrostatics window, see Hydrostatics.
In order to have something to work on, a compartment has to be selected after entering CP task. In this example
the compartment R0705 is used.
The calculation depths can be expressed by four different quantities in arguments:
H Height from the reference height (REFZ), useful for combination TRIM=0
and HEEL=0 only.
GAUGE Gauge reading from the given sounding device (SDEV).
VOL Volume (net).
FILL Filling degree.
These can also be given as steps: STEP, GSTEP, VSTEP and FSTEP, respectively. With the step arguments,
equally spaced values of the corresponding quantity are selected within the range of the current object.
The above means that there are actually eight alternative depth arguments available. Still only one of them can
be given at the same time, so changing the value of one cancels the previously defined one.
The TRIM and HEEL arguments define the floating position of the ship. They can have only one value at a
time, but output for multiple trims and heels is possible in a single list by using qualifiers (see !EXPL LQ).
12.2 Output
Output in the CP task is made with the LIST button and commands.
12.2.1 Lists
The default list of compartment hydrostatics is created by first opening the List window and the pressing LIST
button. The argument STEP is 1 in this example:
---------------------------------------------------------
H VNET CGX CGY CGZ AWP CGXA CGYA
m m3 m m m m2 m m
---------------------------------------------------------
0.00 0.0 137.56 0.00 1.80 110.8 137.56 0.00
1.00 110.8 137.56 0.00 2.30 110.8 137.56 0.00
2.00 221.5 137.56 0.00 2.80 110.8 137.56 0.00
3.00 362.2 137.56 0.00 3.41 184.6 137.56 0.00
4.00 546.8 137.56 0.00 4.05 184.6 137.56 0.00
5.00 731.5 137.56 0.00 4.62 184.6 137.56 0.00
6.00 975.9 137.56 0.00 5.29 258.5 137.56 0.00
7.00 1234.4 137.56 0.00 5.92 258.5 137.56 0.00
8.00 1508.7 137.56 0.00 6.54 332.3 137.56 0.00
9.00 1841.0 137.56 0.00 7.22 332.3 137.56 0.00
10.00 2173.3 137.56 0.00 7.84 332.3 137.56 0.00
11.00 2551.5 137.56 0.00 8.51 406.2 137.56 0.00
12.00 2957.6 137.56 0.00 9.17 406.2 137.56 0.00
13.00 3363.8 137.56 0.00 9.79 406.2 137.56 0.00
14.00 3769.9 137.56 0.00 10.38 406.2 137.56 0.00
15.00 4176.1 137.56 0.00 10.96 406.2 137.56 0.00
16.00 4582.3 137.56 0.00 11.52 406.2 137.56 0.00
17.00 4988.4 137.56 0.00 12.07 406.2 137.56 0.00
18.00 5374.0 137.58 0.00 12.59 361.3 138.36 0.00
19.00 5735.3 137.63 0.00 13.07 361.3 138.36 0.00
19.50 5915.9 137.66 0.00 13.32 361.3 138.36 0.00
---------------------------------------------------------
A few different lists can be created by using commands in CP task. There possibilities are LIST REF, LIST
OBJ and LIST EXP.
The REF list displays general information about the vessel.
CP?>list ref
calc. sections 8
The EXP list shows information about the quantities used.
CP?>list exp
H height m
VNET net volume m3
CGX x-coordinate of center of gravity m
CGY y-coordinate of center of gravity m
CGZ z-coordinate of center of gravity m
AWP area of waterplane m2
CGXA cgx of area m
CGYA cgy of area m
@else
@dis=(t-zf)*(xb-xf)/(zb-zf)
@if dis<0 @dis=9999.9
@endif
@att=dis
The NAPA database (DB7) contains a number of criteria groups that can be used directly. Some of there are:
IMO Res. 749 (DNV approved criteria), ABS criteria for MODUs and stability criteria of U.S. Navy and Ministry
of defence. These can be studied by CAT CRI for criteria definitions or CAT CGR for criteria groups.
For more information about criteria definition, see the NAPA manuals
13.5 Openings
Most of the stability criteria require that the stability range is to be restricted to the flooding angle, the angle when
the first opening submerges. The openings are defined in a subtask which is launched by the command OPE.
OPEN, OP1
TYP, UNP
POS, (#12, 14.2, 22)
OK
The openings are divided into types, e.g. UNPROTECTED, WEATHERTIGHT, WATERTIGHT etc. The type
is defined by the command TYPE and the position is given with the command POS.
The rest of the openings defined in this example are:
OPEN, OP2
TYP, UNP
POS, (#27, 14.2, 21)
OPEN, OP3
TYP, UNP
POS, (#190, 10, 21)
OPEN, OP4
TYP, UNP
POS, (#198, 8, 22)
These openings define an opening group. This will make them more convenient to handle.
OGR, OALL
OPE, OP1, OP2, OP3, OP4
OK
Openings can also be defined between rooms or to connect a room with the sea so that progressive flooding
can be taken into account when calculating damage stability. This is done by using the command CONNECT
in the opening definition.
More information about opening definition in the NAPA manuals.
time in the project, pop-up queries will appear and the user can enter the needed values. Then the values are
stored in the argument system and can be accessed and modified in there.
The results are listed with the LIST command:
Loading condition: LC.FULL
------------------------------------------------------------------
RCR TEXT REQ ATTV UNIT STAT
------------------------------------------------------------------
V.AREA30.C Area under GZ curve . 0.152 0.213 mrad OK
V.AREA40.C Area under GZ curve . 0.270 0.401 mrad OK
V.AREA3040.C Area under GZ curve . 0.101 0.188 mrad OK
V.MINGZ30.C Min. GZ at 30 degr o. 0.558 1.160 m OK
V.MINGZ.C Min. GZ overall 0.710 1.160 m OK
V.AREATOT.C Area under GZ curve . 0.490 0.552 mrad OK
AREA30 Area under GZ curve . 0.055 0.213 mrad OK
AREA40 Area under GZ curve . 0.090 0.401 mrad OK
AREA3040 Area under GZ curve . 0.030 0.188 mrad OK
GZ0.2 Max GZ > 0.2 0.200 1.160 m OK
MAXGZ25 Max. GZ at an angle . 25.000 39.348 deg OK
GM0.15 GM > 0.15 m 0.150 1.279 m OK
IMOWEATHER IMO weather criterion 1.000 5.517 OK
------------------------------------------------------------------
The reslults can also be graphically presented as diagrams with the PLD command. The plot can contain all
relevant criteria or selected criteria.
PLD CRC V.AREA30.C
More information about calculation and output in CR can be found in the NAPA manuals.
TR 0
The draughts are now set to be calculated from 7 m to 12 m by the step of 0.5 m.
STEP 2
Define the relevant criteria:
RCR A749-4.9 IMOWEATHER
This will make the IMO criteria for containerships >100m and the IMO weathercriteron relevant for calculation.
STEP 3
Set the plot output options:
POO LIM, BOX=AXIS, NET=BGNET, LGTEXT=S, LEGEND, LGTYPE=IL, FONT=DIAG, TCOL=1,
THI=0.6, FIG=PLD1, T19='Min GM (m)',
ARG: AXIS=Z, RANGE=(5,13),
GMLIMIN: AXIS=LB, PEN=F1, RMARG=*0.1, LABEL='', RANGE=(0,3), ID=SH,
GM: AXIS=LB, RANGE=GMLIMIN, PEN=F1, RMARG=*0.1, MARK=+, NOCUR,
LABEL='', TAG=LCOND
The plot output options control the layout of the plot. In here the only things that are changed are basically
the range of the plot and text height and color. The modified POO can be saved by the command POO LIM
SAVEname. More information about the plot output options can be found by !EXPL POO/GEN.
STEP 4 (optional)
Enter names of loadcases to be plotted in the diagram:
LOADS LC.FULL_D LC.FULL_A LC.BALLAST_D LC.BALLAST__A
By defining the loadcases dekfind in LD, they will be plotted out in the minimum GM diagram. The actual limit
curve is however NOT dependent on the loadcases, but the draughs and trims entered in the arguments.
STEP 5
Plot the limit curve:
PLD LIM
Information about KG and GM limit curves can be found in the NAPA manuals.
Information about the CR task can be found in the NAPA manuals and in the Workshops "The Use of the CR
Subsystem in NAPA" held at NAPA User Meeting 2001 and "Stability Criteria Definition" held at NAPA User
Meeting 1999
14.1 Introduction
The Manager is launched from the Tools menu of the main NAPA window. The Manager task starts the
Manager window from where the application PROB can be opened. The application is based on items organised
as a tree representing the process of probabilistic damage calculation in NAPA. By clicking the items starting
from the top, definition fields for needed variables will appear for the user to deal with.
More information about the Manager tool can be found in the NAPA manuals.
The probabilistic damage stability calculation is based on table calculation and standard calculation and output
functions in NAPA. For more information about probabilistic damage calculations in NAPA, see the NAPA
manuals.
Before the probabilistic damage calculation can be started the following definitions have to be performed:
■ Definition of DAMHULL (the calculation hull for damage calculations)
■ An arrangement
■ Subdivision tables
■ Setup definitions
A new subdivision table is created by clicking the New button. A previously defined setup can be activated from
this window. If a new setup is needed, it can be created by using the Setup Editor, which also can be launched
from this window. Too see how a setup is defined, see the NAPA manuals.
Definition of Subdivision
The subdivision is defined in the upper table field. The table consists of the following columns:
■ ZONE - Index of the WT compartment (the index is automatically given)
■ TBA - Transversal bulkhead aft (aft limit of the zone)
■ TBF - Transversal bulkhead fore (fore limit)
■ LBP - Longitudinal bulkhead port (port side limit)
■ LBS - Longitudinal bulkhead starboard (starboard side limit)
■ DDN - Deck down (lower vertical limit of the zone)
■ DUP - Deck up (upper vertical limit)
The following quantities are automatically calculated based on the input above:
■ X1 - Aft limit coordinate
■ X2 - Forward limit coordinate
■ BP - Damage penetration from port side
■ BS - Damage penetration from starboard side
■ HHSD - Height (from BL) of the lower limit (deck down)
■ HHSU - Height of the upper limit
'name' is any name not appearing elsewhere in the subdivision and 'coord' is the coordinate of the plane, e.g.
TB1=#34. If the same local plane occurs many times, it is not necessary to repeat the coordinate. Using a
compartment as a limit gives the same result as a plane through the extreme point of the compartment, where
the extreme point is taken in the direction of the limit (TBA -> minimum X; TBF -> maximum X; LBP -> extreme
Y on the port side; LBS -> extreme Y on the starboard side; DDN -> minimum Z; DUP -> maximum Z).
The columns LBP and LBS contain the longitudinal subdivisions within each zone. In LBP, there are the
longitudinal subdivisions from the port side shell inward to the centerline excluding the shell and the bulkhead
at the centerline, if any. In LBS, there are the longitudinal subdivisions from the starboard side shell inward to
the centerline excluding the shell and the bulkhead at the centerline, if any. If there are more than one division
within a zone (e.g. several longitudinal bulkheads on the port side), the subdivisions must be separated by a
slash ‘/’ and they must be given in order so that the outermost comes first and the innermost comes last.
The columns DUP and DDN contain, in each zone, the horizontal subdivisions that limit the extent of damage
upward and downward. The observation points, ruling what is downwards and upwards, are the corresponding
load lines to be used in the probabilistic calculations. If the user has no knowledge about the draught for each
load line, it is though possible to list all decks from the baseline upwards in both columns. This is, however, not
recommendable as this will result in a substantial number of damages, some of which will be empty. Although
generating the damages will take some extra time, the system will later take care of, delete and disclose empty
damages from further calculations. If there are several subdivisions within a certain zone, the limitations must
be separated by a slash ‘/’ and they must be given in order, starting with the lowest subdivision and finishing
with the uppermost one last.
14.2.4 Example
In this example the subdivision limits are drawn at the main bulkhead lines. The definitions starts from the aft
of the ship.
Note that both sides of the ship can be defined in the subdivision table.
16.1.1 3D output
Here is a few examples of using commands for 3D output. Firstly PLOT and GRID:
These commands (PLOT AND GRID) are basically equivalent and are used to plot various geometrical objects.
16.1.1.1 PLOT
PRO X
PLOT TRANS
Here the transom curve is plotted in the transversal (X) projection.
PRO F
PLOT CSE STABHULL
PLOT CSE plots the calcuation sections of the desired object, in this case stabhull.
16.1.1.2 GRID
PRO F
GRID HULL
The GRID command plots the curve grid of a defined surface. As said earier this command is equivalent with
PLOT.
16.1.1.3 SECTION
The SECTION command is used for making a 3D sectioned presentation of e.g. the hull of the ship. The user
input is projection, object that shall be sectioned, optional fill, section plane and the space between sections.
PRO F
SEC STABHULL
FILL YELLOW
X D=.5
These commands will make a sectioned presentation of the hull where the sections are transverse (x-sections)
with a spacing of 0.5 m.
More information about 3D drawing functions can be found by the commands !EXPL PLOT and !EXPL GRID.
16.1.2 2D plotting
The commands that are available for 2D, e.g. diagrams, arrangement drawings etc. are the DRW, FIGURE
and PLD commands.
16.1.2.1 DRW
The DRW(draw) command is primarily used for drawing of arrangement pictures (setups). The command
includes several options according to the subsystem in which the command is used. For more information
about the task-specific functions, see !EXPL DRW in various subsystems, e.g. LD, DAM, SM. A few examples:
This example is performed in the DR task.
SET PROF Z=1 Z=6 Z=10
ID NAME
FILL PURP
DRW FSCALE
DRW ALL
The result of this command sequence is an arrangement picture of the current project with a filling according
to the purpose of each room. The framescale is plotted as well.
16.1.2.2 FIGURE
The FIG command is used for adding pictures that have previousely been stored in the database. This
command comes in handy when producing "customised" presentations of e.g. calculation results where
drawings are needed.
An example of making a setup drawing which is put in the standard NAPA frame and saved in the auxiliary
database:
The first step is to define the setup:
SET PROF Z=1 Z=6 Z=10
This will procuce the following drawing:
Then the frame is added to the drawing with the FIG command:
FIG STDFRAME (-25 -50)
The standard frame is added at the coordinate (-25 -50). The standard frame is included in the NAPADB. This
method complies with any other figure that is saved in the databases. This means drawings saved by the
user (in system database DB2, project database DB1 or auxiliary database DB4) and drawing included in the
program (NAPA database, DB7).
Now the drawing can be stored in the project database for further use:
!SEND TO DB1 NAME=SETUP !
By modifying the POO the diagram can be changed to e.g. suit the white background better. Here the colour
of the text and the EPHI-curve is changed to black and the range of the heel and GZ values are set.
POO ST, NET=BGNET, BOX=AXIS, FONT=DIAG, SMOOTH, ID, tcol=1,
HEEL: AXIS=Z, range=(-5 100),
HPHI: AXIS, PEN=F1, RMARG=*0.1, range=(-.2 4),
EPHI: RANGE=HPHI, PEN=f3
The colour and type of the curves are controlled by logical pencodes in NAPA. A picture of the pencodes can
be obtained by running the macro PLOT.PENCODES with the command !ADD:
!ADD PLOT.PENCODES
HINT!
The POO settings can be saved for later use:
POO ST SAVE GZ
The saved POO is opened by:
POO GET GZ
A catalog of stored POO´s can be opened by:
POO CAT
In the Send View window the user can choose where the picture will be sent. In the "Printer" box the printer
which is used for printing is chosen and the Page and Font setups are made. In the "Send To" box the final
destination of the picture is decided. There are several options of which the most commonly used are "Selected
printer", "Named file" and "Export file". When using the "Selected printer" option the picture is printed in the
printer selected in the "Printer" box, "Named file" saves the picture and the "Export file" saves the picture in
a different format.
The "Save As File" window presented below opens when "Named file", "Pixmap file", "XML/SVG file" or "Export
file" is selected and the Send button is clicked. Here the directory where the file is saved is defined. The
"Auxilary database" option saves the picture to NAPA db 4.
Note that when using the Geometry Window the same Send View window can be found by selecting Print with
Options in the Print menu.
When a picture is saved as an intermediate file a special task is used for handling them. The PLOT task can
be accessed from the TASK level. When entering the PLOT task the Query box below will open asking for the
device where to send the output. The alternatives available for answer can be found at Selecting the working
mode.
After the query has been answered Search criterion task opens, pressing ENTER produces a list of all
previously saved intermediate files. One of these files may then be selected as shown below.
When the selection has been made the picture will appear in the graphics window and it can adjusted for
printing. For information on the PLOT task see Output of stored drawings.