'
' Simplified example to demonstrate winch functionality
'
' ======================================================================
   INPMOD IDENTIFICATION TEXT    3.6
' ======================================================================
'
         Winching
         2 winches
         Example
'
' ----------------------------------------------------------------------
'    Selection of unit system physical constants
' ----------------------------------------------------------------------
         UNIT NAME SPECIFICATION
'       ut   ul   um   uf   gravl   gcons
         s    m    Mg   kN   9.81    1.
'
' ----------------------------------------------------------------------
'   Riser type identification
' ----------------------------------------------------------------------
         NEW SINGLE RISER
'
' ----------------------------------------------------------------------
'   Selection of riser type and identifier
' ----------------------------------------------------------------------
'        atyps   idris
         AR      ALIN
'                                              ***** SECTION C *****
' ----------------------------------------------------------------------
'   Single riser:  ARbitary system
' ----------------------------------------------------------------------
      ARBITARY SYSTEM AR
'
' ----------------------------------------------------------------------
'   Topology
' ----------------------------------------------------------------------
'    nsnod   nlin   nsnfix   nves   nricon   nspr  nack
       4       2       2       1       0       0     0     
'
' ----------------------------------------------------------------------
'   Seafloor support conditions
' ----------------------------------------------------------------------
'        ibtang    zbot   ibot3d
         0
'
' ----------------------------------------------------------------------
'  Line number, line type and super node correspondence
'  NOTE! Lines are numbered in the sequence they are specified
' ----------------------------------------------------------------------
'        ilinty    isnod1   isnod2
'                                  
         1          1        2
         1          3        4
'
' ----------------------------------------------------------------------
' Supernodes with boundary condition (fixed/pre-secribed displacements)
' "Stress free" and final positions
' ----------------------------------------------------------------------
'
'        isnod  ipos   ix    iy    iz   irx   iry   irz   chcoo   chupro
          1      1     1     1      1     1    1     1    GLOBAL   NO
'        x0     y0     z0    x1    y1    z1   rot   dir
          45.    1.   525.   45.    1.  525. 0    0
'        isnod  ipos   ix    iy    iz   irx   iry   irz   chcoo   chupro
          3      1     1     1      1     1    1     1    GLOBAL   NO
'        x0     y0     z0    x1    y1    z1   rot   dir
          45.   -1.   525.   45.   -1.  525. 0    0
'
' ----------------------------------------------------------------------
' Free supernodes ("Stress free" positions)
' ----------------------------------------------------------------------
'
'        isnod  x0     y0     z0
         2     45.    1.   -25.5
         4     45.   -1.   -25.5
'
'
' ----------------------------------------------------------------------
' Support vessel: Id and global position
' ----------------------------------------------------------------------
' ives    idhftr  xg      yg      zg    direction (heading)
  1      SEMISU   0.      0.      -3.     0.
'
'
' ======================================================================
    WINCH SPECIFICATION
' ======================================================================
'
' nwinch (Number of winches) 
   2 
'
' ------------ 
' - Winch #2 -  
' ------------
' chident (dummy)
   WINCH2
'
' ilin_w  ilseg_wp rlseg_wp iend_w  
    2       1         0.70     1
'
' xw   yw  zw  rotw dirw
  60.  19. 28.  0.   0.  
'
' chbound  isupport
   VESSEL     1
'
' velmax   tim2vm  ldrop  radius  izsign  lelvar
    1.      2.        1    4.0       -1     1
'
' ------------ 
' - Winch #1 -  
' ------------
' chident (dummy)
  WINCH1
'
' ilin_w  ilseg_wp rlseg_wp iend_w  
    1       1         0.70     1
'
' xw   yw  zw  rotw dirw
  60.   21.  28.  0.   0.  
'
' chbound  isupport
   VESSEL     1
'
' velmax   tim2vm  ldrop  radius  izsign  lelvar
    1.      2.        0    4.0       -1     0
'
'
'
' ======================================================================
'   Line type specification
' ======================================================================
'
'
         NEW LINE DATA
'        ilinty   nseg   icnlty   ifluty
         1         2       0        0
'        icmty   icn1ty   iexwty   nelseg   slgth      nstrps  nstrpd slgth0l isoity
         1         0        0       110       550.0
         2         0        0         1         0.5
'
'
' ======================================================================
'   Compunent specifications
' ======================================================================
' 
' -------------------
   NEW COMPONENT CRS1
' -------------------
'                    
' icmpty  temp
   1       20.
'  ams       ae        ai   rgyr  ast  wst thst
   0.154250 0.019563452 0.   0.
'  iea  iej  igt  ipress  imf  harpar
   3    0    0    0       0    0
'  EA
   -1.     -1.   &
    0.      0.   &
   6.20678E+05   1.0
'  cqx   cqy   cax   cay   clx   cly   icode   d
   0.0    2.0   0.1   1.5   0.    0.     2     0.084
'  tb       ycurmx 
   50000.  10.
'
' -------------------
   NEW COMPONENT CRS1
' -------------------
'                                       Xtra weight
' icmpty  temp
   2       20.
'  ams       ae      ai  rgyr  ast  wst thst
   150.4250 1.9563452 0.   0.
'  iea  iej  igt  ipress  imf  harpar
   1    0    0    0       0    0
'   ea
   6.20678E+05
'  cqx   cqy   cax   cay   clx   cly   icode   d
   0.1    2.0   1.0   1.0  0.    0.     2     0.084
'  tb       ycurmx
   50000.  10.
'
' ======================================================================
           ENVIRONMENTAL IDENTIFIER
'-------------------------------------------------------------------------------
' IDENTIFICATION TEXT
   env2-text
' 
' Environmental identifier
  ENV2
'
'-------------------------------------------------------------------------------
  WATERDEPTH AND  WAVETYPE
'-------------------------------------------------------------------------------
'  wdepth     noirw     norw   ncusta
  1000.        1         0      1
'-------------------------------------------------------------------------------
   ENVIRONMENTAL CONSTANTS
'-------------------------------------------------------------------------------
'  airden     watden     wakivi
  .00130      1.025      .1880E-05
'-------------------------------------------------------------------------------
   NEW  IRREGULAR  SEASTATE
'-------------------------------------------------------------------------------
'    nirwc   iwasp1 iwadir iwasp2 iwadir2
      1      1      0      0      0
'-------------------------------------------------------------------------------
   WAVE SPECTRUM WIND
'-------------------------------------------------------------------------------
''siwahe   avwape
   2.0     11.73
'-------------------------------------------------------------------------------
   DIRECTIONAL PARAMETERS
'-------------------------------------------------------------------------------
'  wadir   expo1
  .0     .0
'-------------------------------------------------------------------------------
   NEW  CURRENT STATE
'-------------------------------------------------------------------------------
'     icusta nculev 
      1      3
'   curlev    curdir      curvel
     0.       0.          0.2
   -90.       0.          0.2
  -100.       0.          0.0
'-------------------------------------------------------------------------------
   TRANSFER FUNCTION FILE
'-------------------------------------------------------------------------------
 semi_42000.tra
'
'
' =======
   END     
' ======                                                                
