*-----------------------------
* TITLE - ETC.
*-----------------------------
*-----------------------------
* READ IN .RES FILE ALVLCC.RES
*-----------------------------
5  11  11  113 3 2 1105  0B_SAVFOK 476 0  67 535  0    0    0128296207281  0    0    0OK
ALVLCCT.RES ..\..\demo                                        A*.RES      EDIT2
WAVE SURFACE(HEIGHT) CONTOUR PLOT TUTORIAL - LEVEL 1 (6 mins). 
|A demonstration of the essential features of wave height 
contour plots.
We select the file ALVLCCT.RES and then click on the OK button.
2   1   0    0 1 2 4236  0Be005328   0 0   0   0  0   30    0  0  0  0  0  4    0    0Wave Contours
Wave surface is available from the Wave Contours Window.
|Select 'Wave Contours'.
0   2   0    9 1 5 1961  0F[WHTCON   0 0   0   0  1    0    0  0  0  0  0  4    0    0Wave Surface Contour
0   3   1    0 1 9 1973100G#002846   0 0   0   0  0  800  160  0 16 80  0  4    0    01234567890
0   4   1    0 1 9 4235100G}WHTCON   0 0   0   0  0 8000 4640  0464800  0  4    0    0Graphb
*-----------------------------
* FREQ/DIR BUTTONS
*-----------------------------
2   5   1   72 1 2 4250  0S_005342   0 0   0   0  0   20    0  0  0  0  0  4    0    0
We can increment the frequency number or enter a specific number. We will
choose the higher frequency # 2, period=7.0 seconds.
1  10  13   41 1 2 4251  0S_005343   0 0   0   0  0   20    0  0  0  0  0  4    0    0
Similarly we can increment the direction number or enter a specific number.
1  11  17   10 1 2 4251  0S_005343   0 0   0   0  0   30    0  0  0  0  0  4    0    0
We will choose the 3rd direction at 60 degrees.
*-----------------------------
* amp/time=T,0,T/4
*-----------------------------
2  12  18   53 1 2 1969  0T=SPTIMT   0 0   0   0  0    0    0  0  0  0  0  4    0    0Time=t
The default plot is wave AMPLITUDE. We can also plot the wave at the current
'wave time' by choosing Time=t.
2  13  23   30 1 2 1970  0T=002843   0 0   0   0  0    0    0  0  0  0  0  4    0    0T=0.0
... or we can choose to plot at Time=0, i.e. when the wave crest is at the
centre of gravity. |This corresponds to the 'REAL' part of the wave surface.
2  14  26   20 1 2 1971  0T=002844   0 0   0   0  0    0    0  0  0  0  0  4    0    0Time=T/4
... or at Time=T/4 when the wave is at a quarter of the wave cycle.|This
corresponds to the imaginary part.
*-----------------------------
* inc/dif/rad components of the wave.
*-----------------------------
2  15  28   78 1 2 1964  0T=002837   0 0   0   0  0    0    0  0  0  0  0  4    0    0Diffraction
Any one of the 3 components contributing to the wave height may be chosen.
We will switch off the diffraction showing only the incident and radiated waves.
2  16  36   26 1 2 1966  0T=002839   0 0   0   0  0    0    0  0  0  0  0  4    0    0Radiation
Switching off the radiated component leaves only the incident wave which
always appears as a set of regular bands.
1  17  38   28 1 2 1966  0T=002839   0 0   0   0  0    0    0  0  0  0  0  4    0    0Radiation
We switch these 2 components on again to obtain the full physical surface.
0  18  41   15 1 2 1964  0T=002837   0 0   0   0  0    0    0  0  0  0  0  4    0    0Diffraction
*-----------------------------
* Zoom - currently the zoom only includes inc/dif/rad components of the wave.
*-----------------------------
1  19  43   85 1 2 4257  0To005349   0 0   0   0  0    0    0  0  0  0  0  4    0    0Grid Area/2
The user can zoom in by a factor of 2 showing more detail around the vessel.
1  20  51   58 1 2 4257  0To005349   0 0   0   0  0    0    0  0  0  0  0  4    0    0Grid Area/2
We zoom out again.
*-----------------------------
* Scaling
*-----------------------------
2  21  57   70 1 2 4248  0B_005340   0 0   0   0  0   20    0  0  0  0  0  4    0    0Scaling
Pressing the scaling button displays the Scaling Window showing the factors
used to define the contour colours.
1  22  64    0 1 5 4249  0F[SPSCAL   0 0   0   0  1    0    0  0  0  0  0  4    0    0Wave Surface Scaling
We close this Window before continuing.
0  23  64    0 1 9 1998100G#002871   0 0   0   0  0 1280  160  0 16128  0  4    0    0
0  24  64  102 1 5 4249  0F[SPSCAL   0 0   0   0  2    0    0  0  0  0  0  4    0    0Wave Surface Scaling
*-----------------------------
* Input amplitude
*-----------------------------
3  25  74   50 1 2 4244  0Re005336   0 0   0   0  0    0    0  0  0  0  0  4    0    0  1.000
!REAL_ENTRY=2.0
We will enter a value of 2.0 as the regular wave amplitude. At this amplitude
the wave is almost breaking (which is shown as white over red).
*-----------------------------
* Cycling.
*-----------------------------
3  26  79  151 1 2 2000  0T=SPCYCL   0 0   0   0  0    0    0  0  0  0  0  4    0    0 Cycle
When the cycling button is on, the PLOT CONTOURS will give an animation,
stepping through the wave and showing the wave elevations throughout the wave
cycle.
1  27  94   49 1 2 1999  0B_PLTWHT   0 0   0   0  0   30    0  0  0  0  0  4    0    0PLOT CONTOURS
We press PLOT CONTOURS to start the animation.
*-----------------------------
* Significant Wave elevation plots
*-----------------------------
4  28  99  312 1 2 4258  0ToSPISIG   0 0   0   0  0    0    0  0  0  0  0  4    0    0Significant Wave Amp
The significant wave elevation for the current spectrum may also be plotted by
switching on the Significant Wave Amplitude toggle.|As the wave spectrum for
this AQWA-LINE run is undefined, we are automatically requested to define
the wave spectrum.
0  31 151    3 1 5  738  0F[FMWASP   0 0   0   0  1    0    0  0  0  0  0  4    0    0Wave Spectra
0  32 151    0 1 9 1700100G}002560   0 0   0   0  0 2880  160  0 16288  0  4    0    012345678901234567890
0  33 151    0 1 9  756100IDICSPEC   0 0   0   0  0 2880  160  0 16288  0  4    0    012345678901234567890
3  34 151   17 1 2  740  0II001268   0 0   0   0  0    0    0  0  0  0  0  4    0    0  0
!INTEGER_ENTRY=1
We will define a Pierson-Moskowitz spectrum to demonstrate significant wave
height contours.
0   1   0    0 1 2  756  0IDICSPEC   0 0   0   0  0  100   80  0 16288  0  4    0    012345678901234567890
0  35 153    0 1 9 1700100G}002560   0 0   0   0  0 2880  160  0 16288  0  4    0    012345678901234567890
0  36 162    0 1 9  756100IDICSPEC   0 0   0   0  0 2880  160  0 16288  0  4    0    012345678901234567890
1  37 162   23 1 2  760  0T/001297   0 0   0   0  0   50    0  0  0  0  0  4    0    0Null
Display Spectrum Type
1  38 164   13 1 2  771  0Me001308   0 0   0   0  0    0    0  0  0  0  0  4    0    0Pierson-Moskowitz
Select a Pierson-Moskowitz spectrum
2  39 165   12 1 2  766  0RR001303   0 0   0   0  0    0    0  0  0  0  0  4    0    0    0.000
!REAL_ENTRY=4.0
We enter a significant wave height of 4m.
0  40 166   32 1 5  738  0F[FMWASP   0 0   0   0  2    0    0  0  0  0  0  4    0    0Wave Spectra
1  41 170   51 1 2 4258  0ToSPISIG   0 0   0   0  0   20    0  0  0  0  0  4    0    0Significant Wave Amp
We can now switch to display the  the Significant Wave Amplitude.
*-----------------------------
* Air Gap
*-----------------------------
4  44 186   25 1 2 1965  0T=002838   0 0   0   0  0   20    0  0  0  0  0  4    0    0RAO Motion
We can show the air gap around the structure by including the RAO motion in
the contour plots. Including the RAO shows the wave elevation relative to the
MOVING structure reference level. i.e. the gap between the structure and the
wave surface.
0  45 188    0 1 5 4263  0F[005355   0 0   0   0  1    0    0  0  0  0  0  4    0    0RAO Motion/Air Gap E
5   3   0   17 1 2 4266  0Re005358   0 0   0   0  0    0    0  0  0  0  0  4    0    0    2.000
!REAL_ENTRY=2.5
The air gap calculated is between a horizontal 'deck' or reference level,
which is created on the structure at the user specified elevation ABOVE THE
WATERLINE. |Where the waves are higher than this value, the contour plots are
shown as bright green. We have input 2.5m reference level for this example.
1  46 188   25 1 2 4267  0To005359   0 0   0   0  0    0    0  0  0  0  0  4    0    0Include RAO Motion
We now switch on the RAO motion effects and close the window.
0  47 191  114 1 5 4263  0F[005355   0 0   0   0  2    0    0  0  0  0  0  4    0    0RAO Motion/Air Gap E
5  48 202   36 1 2 4258  0ToSPISIG   0 0   0   0  0    0    0  0  0  0  0  4    0    0Significant Wave Amp
The display is now the significant amplitude plot of RELATIVE wave elevation
to the horizontal deck at 2.5m above still water level.| NB:2ND ORDER TERMS
ARE AUTOMATICALLY OMITTED. | Switching off the Significant amplitude 
reverts to displaying the 2m amplitude regular wave that is defined at the
current frequency.
*-----------------------------
* Reading Values - clicking on display
*-----------------------------
2   8  24   97 1 2 4235  0G}WHTCON   0 0   0   0  0 2390 2170  0464800  0  4    0    0Graphb
The user can click at any time on the contour display to read the values
being displayed under the cursor. Values are displayed in the message window.
!PAUSE=2
0   9  34   17 1 2 4235  0G}WHTCON   0 0   0   0  0 3250 1840  0464800  0  4    0    0Graphb
!PAUSE=2
0  10  36   16 1 2 4235  0G}WHTCON   0 0   0   0  0 3810 1860  0464800  0  4    0    0Graphb
!PAUSE=2
0  11  37   18 1 2 4235  0G}WHTCON   0 0   0   0  0 4460 2060  0464800  0  4    0    0Graphb
!PAUSE=2
*-----------------------------
* Options
*-----------------------------
1   5   0   26 1 2 3918  0B_005004   0 0   0   0  0   20    0  0  0  0  0  4    0    0Options
The display can be made automatic from the Options menu.
2   6   3   47 1 2 3920  0Me005006   0 0   0   0  0    0    0  0  0  0  0  4    0    0Display Values @ Cur
Switching on the 'Display Values @ Cursor' menu item makes the message
window automatically update with the values under the cursor.
0   7   8   14 1 2 3918  0B_005004   0 0   0   0  0   20    0  0  0  0  0  4    0    0Options
2   8   9   12 1 2 3922  0Me005008   0 0   0   0  0    0    0  0  0  0  0  4    0    0Show Grid
Switching on the 'Show Grid' menu item displays the grid of 'field points'
that has been used to calculate all the contour values.
0   7   8   14 1 2 3918  0B_005004   0 0   0   0  0   20    0  0  0  0  0  4    0    0Options
1   8   9   12 1 2 3922  0Me005008   0 0   0   0  0    0    0  0  0  0  0  4    0    0Show Grid
We will switch off the grid.
0   9  10   11 1 2 3918  0B_005004   0 0   0   0  0   20    0  0  0  0  0  4    0    0Options
2  10  11   11 1 2 3923  0Me005009   0 0   0   0  0    0    0  0  0  0  0  4    0    0Show Inside Grid_
Switching on the 'Show Inside Grid' menu item displays the points of the grid
which are 'inside' the vessel and hence cosmetic only.
0  11  12   22 1 2 3918  0B_005004   0 0   0   0  0   10    0  0  0  0  0  4    0    0Options
2  12  15   20 1 2 3925  0Me005011   0 0   0   0  0    0    0  0  0  0  0  4    0    0No 2nd Order Terms
At any time the second order effects for the regular wave display can be
switched off.
*-----------------------------
* Graphics output
*-----------------------------
2   1   0    0 1 2 4235  0G}WHTCON   0 0   0   0  0 1350 2750  0464800  0  4    0    0Graphb
In order to demonstrate the graphics output we will move the cursor position
to the bow of the vessel.
1   2   0   73 1 2 4268  0Be005360   0 0   0   0  0   20    0  0  0  0  0  4    0    0Graph Options
We display the graph output options by selecting GRAPH OPTIONS. 
2   3   7   58 1 2 4270  0Me005362   0 0   0   0  0    0    0  0  0  0  0  4    0    0Structure SWL(start
Selecting Structure SWL will produce a graph of the current display
starting from the NEAREST POINT ON THE VESSEL WATERLINE. 
0   4  13   28 1 2 4268  0Be005360   0 0   0   0  0   20    0  0  0  0  0  4    0    0Graph Options
2   5  16   43 1 2 4271  0Me005363   0 0   0   0  0    0    0  0  0  0  0  4    0    0X Grid (left to righ
Selecting X GRID will produce a graph of the current display from left to
right, at the cursor position.
0   6  20   28 1 2 4268  0Be005360   0 0   0   0  0   20    0  0  0  0  0  4    0    0Graph Options
2   7  23   32 1 2 4272  0Me005364   0 0   0   0  0    0    0  0  0  0  0  4    0    0Y Grid (bottom to to
Selecting Y GRID will produce a graph of the current display from the bottom
to the top of the grid at the cursor position.
1   8  26   36 1 2  912  0Be001530   0 0   0   0  0   10    0  0  0  0  0  4    0    0Graphs
To view the graphs we select the Graphical Display
0   9  30    4 1 5  234  0W[GRPLOT   0 0   0   0  1    0    0  0  0  0  0  4    0    0GraphIcal Display
0  10  30    0 1 9  734100G}001261   0 0   0   0  0  160  160  0 16 16  0  4    0    0
0  11  30    0 1 9  729100G}001256   0 0   0   0  0  160  160  0 16 16  0  4    0    0
0  12  30    0 1 9  724100G}001251   0 0   0   0  0 1280  160  0 16128  0  4    0    0:None:Auto:Min:Max:A
0  13  30    0 1 9  722100g}NGPERF   0 0   0   0  0 1280  160  0 16128  0  4    0    012345678R
0  14  30    0 1 9  240100g}GRPLOT   0 0   0   0  0 6400 4000  0400640  0  4    0    0Graphb
1  15  30   73 1 2  718  0B_PRGRAP   0 0   0   0  0   10   10  0  0  0  0  4    0    0PRGRAP
We decrement the selected graph stack to view all three graphs.
0  16  38   18 1 2  718  0B_PRGRAP   0 0   0   0  0   10   10  0  0  0  0  4    0    0PRGRAP
!PAUSE=4
*-----------------------------
* FILE - CLOSE DOWN
*-----------------------------
0  50 210  101 1 2 4238  0BeWC.RES   0 0   0   0  0    0    0  0  0  0  0  4    0    0File
0  51 221    9 1 2 4242  0Me005334   0 0   0   0  0    0    0  0  0  0  0  4    0    0Exit
0  52 221   30 1 2   65  0Me|MHELP   0 0   0   0  0   10    0  0  0  0  0  4    0    0Help
0  53 224   58 1 2 3040  0Me003967   0 0   0   0  0    0    0  0  0  0  0  4    0    0Save
 9999
