'
' **************************************************************
' #                                                            #
' #  Inputfile for test of marine growth profile               #
' #                                                            #
' #  Test case  : Vertical riser with buoyancy zone            #
' #               in uniform or sheared current                #
' #               marine growth NORSOK N-003                   #
' #                                                            #
' #  Module     : RIFLEX INPMOD                                #
' #                                                            #
' #  VIVANA input file  : drill_growth_vivana.inp              #
' #                                                            #
' #  RIFLEX input files : drill_growth_inpmod.inp              #
' #                       drill_growth_stamod.inp              #
' #  Date        : 27/3 - 2018    grob                         #
' **************************************************************
'
'----------------------------------------------------------
        INPMOD IDENTIFICATION TEXT  3.8
'----------------------------------------------------------
   - VIVANA Test case
   - Vertical riser with buoyancy in uniform or sheared current.
   - 600 m water depth, upper end above water
'----------------------------------------------------------
        UNIT NAME SPECIFICATION
         s   m   Mg  kN  9.81  1.
'----------------------------------------------------------
        NEW SINGLE RISER
'----------------------------------------------------------
'        atyps  idris
         AR     VERTIC
         ARBITRARY SYSTEM AR
'        nsnod  nlin nsnfix  nves nricon  nspr  nakc 
         2      1    2       1    0       0     0     
'        ibtang  zbot     ibot3d 
         0       -600.    0    
'
'----------------------------------------------------------
'        ilinty   isnod1     isnod2
          1         1          2
'----------------------------------------------------------
'
'    BOTTOM NODE COORDINATES AND BC
'    isnod  ipos   ix      iy     iz     irx    iry      irz    chref
     1      0      1       1      1      0      0        1      GLOBAL
'    xo     yo     zo      x1     y1     z1      rot     dir
     0.0    0.0    -600.0  0.0    0.0    -600.0  0.0     0.0
'
'    TOP NODE COORDINATES AND BC
'    isnod  ipos   ix      iy     iz     irx    iry      irz    chref
     2      1      1       1      0      0      0        1      GLOBAL
'    xo     yo     zo      x1     y1     z1     rot      dir
     0.0    0.0    12.0    0.0    0.0    12.0   0.0      0.0
'
' ives    idhftr  xg      yg      zg      headng  
  1       HFTLP   0.0     0.0     25.0    30.0  
'
' ----------------------------------------------------------
'       LINE AND SEGMENT SPECIFICATION
'       This riser has one line built up by three segments, 
'       one with buoyancy modelled as external wraping
' ----------------------------------------------------------
        NEW LINE DATA
'
'       ilinty  nseg  icnlty  ifluty     
        1       3     0       3
'
'   segment data
'   NOTE: Segment 1 is at seafloor
'
'	icmpty  icn1ty  iexwty  nelseg    slgth nstrps nstrpd slgth0
        1       0       0       30        112.
        2       0       0       175       420.
        1       0       0       25        80.
'----------------------------------------------------------
'          	Total length : 612 m          
'==========================================================
'
'          C O M P O N E N T     D A T A
'  --------------------------------------------------------
'       Pipe cross sections.  Note that two different component
'       definitions are used here, see User's Manual
'  --------------------------------------------------------
'
        NEW COMPONENT CRS0
'	icmpty  temp
        1       20.
'
'       diast   thst   densst  thex     densex
        0.5     0.015  7.85     /   / 
'       metkind emod       gmod
        1       206000000. 80000000.
'
'       dh is the hydrodynamic diameter used by VIVANA
'
'	cqx      cqy      cax     cay     clx   cly    icode   dh
        0.0      0.8       0.      0.6    0.    0.     2       
'
'	tb	 ycurmx
        14380.   0.4329
' -------------------------------------------------
'
        NEW COMPONENT CRS0
'	icmpty  temp
        2       20.
'
'       diast   thst   densst  thex     densex
'        0.5     0.015  7.85    0.15      0.4
         0.8     0.015  7.85    / / 
'       metkind emod       gmod
        1       206000000. 80000000.
'
'       dh is the hydrodynamic diameter used by VIVANA
'
'	cqx      cqy      cax     cay     clx   cly    icode   dh
        0.0      0.8       0.      0.6    0.    0.     2       
'
'	tb	 ycurmx
        14380.   0.4329
'  -----------------------------------------------------
'
        NEW COMPONENT FLUID
'       icmpty
        3
'       rhoi    vveli    pressi    dpress    idir
        1.4     0        0         0         1
'----------------------------------------------------
   NEW COMPonent GROWth
'----------------------------------------------------
' Marine growth :  NORSOK N-003 
'------------------------------------------------
'      ID  NMGLEV  (0mm utenfor det som er definert)
     NOR300      5
'   MGLEV        MG     MDENS
     2.0        0.06     1.325
    -40.0       0.06     1.325
    -40.01      0.03     1.325
    -300.0      0.03     1.325
    -700.0      0.03     1.325
'-------------------------------------------------
         ENVIRONMENT IDENTIFICATION
'       
         Current conditions
'        idenv
         ENV1
'
         WATERDEPTH AND WAVETYPE
'        wdepth   noirw  norw    ncusta
         400.0    2      1       5
'
         ENVIRONMENT CONSTANTS
'        airden   watden   wakivi
         .0013    1.000    1.188e-6
'
'              --------------- Case 1  Uniform, low speed
         NEW CURRENT STATE
'        icusta   nculev
         1        2
'        curlev   curdir  curvel
         0.0      0.      0.10
         -600.0   0.      0.10
'
'              -------------- Case 2   Sheared, low speed
         NEW CURRENT STATE
'        icusta   nculev
         2        2
'        curlev   curdir  curvel
         0.0      0.      0.2
         -600.0   0.      0.1
'
'             --------------- Case 3   Uniform, medium speed
         NEW CURRENT STATE
'        icusta   nculev
         3        2
'        curlev   curdir  curvel
         0.0      0.      0.6
         -600.0   0.      0.6
'       
'           ------------------ Case 4   Sheared, medium speed
         NEW CURRENT STATE
'        icusta   nculev
         4        2
'        curlev   curdir  curvel
         0.0      0.      0.6
         -600.0   0.      0.1
'
'            ----------------- Case 5   Uniform, high speed
         NEW CURRENT STATE
'        icusta   nculev
         5        2
'        curlev   curdir  curvel
         0.0      0.      1.0
         -600.0   0.      1.0
'
'
NEW IRREGULAR SEASTATE
'                      1: PM, Hs = 5.0 ,Tz = 8.5
' nirwc   iwasp1   iwadr1   iwasp2   iwadr2
  1       1        0        0        0
WAVE SPECTRUM WIND
' hs      tz
  5.0     8.5
DIRECTION PARAMETERS
' wadr1   expo1
  30.     1.
'
NEW IRREGULAR SEASTATE
'                      2: JW, Hs = 16.5, TP=16.5, G = 3.0
' nirwc   iwasp1   iwadr1   iwasp2   iwadr2
  2       9        0        0        0
WAVE SPECTRUM WIND
' sigwh   peakpe   gamma
  16.5    16.5     3.0
DIRECTION PARAMETERS
' wadr1   expo1
  90.       1.
'
REGULAR WAVE DATA
' inrwc   amplit  period  wavdir
  1       8.0     15.0    0.0
'-----------------------------------------------------------------------
'------  SUPPORT VESSEL DATA                                      ------
'-----------------------------------------------------------------------
'
SUPPORT VESSEL IDENTIFICATION
TLP transfer functions
' idhftr
  HFTLP
HFTRAN REFERENCE POSITION
' zg
  25.0
HFTRANSFER CONTROL DATA
' ndhftr  nwhftr  isymhf  itypin
  1       18      2       2
WAVE DIRECTIONS
' ihead   head
  1       0.0
WAVE FREQUENCIES
' ifreq   whftr
   1      0.10
   2      0.20
   3      0.30
   4      0.35
   5      0.40
   6      0.50
   7      0.60
   8      0.70
   9      0.80
  10      0.90
  11      1.00
  12      1.10
  13      1.20
  14      1.30
  15      1.40
  16      1.50
  17      2.50
  18      3.51
HFTRANSFER FUNCTION SURGE
' idir    ifreq    amprat  phase
  1        1       2.58    272.
  1        2       1.22    272.
  1        3       1.02    272.
  1        4       0.91    272.
  1        5       0.78    272.
  1        6       0.52    272.
  1        7       0.23    272.
  1        8       0.05     87.
  1        9       0.21     87.
  1       10       0.26     87.
  1       11       0.18     84.
  1       12       0.08     84.
  1       13       0.03    260.
  1       14       0.05    260.
  1       15       0.05    260.
  1       16       0.00     96.
  1       17       0.00     96.
  1       18       0.00     96.
END
