PROJ 'MCEL' '1'
' Yellow Sea'
$ J Dykes, NRL SSC, Code 7322
$ 19 Jan 2004

$ Set up the scene
MODE NONSTATIONARY
OFF REFRAC
SET 0. 90 .05 200 1 9.81 1025. 0 0.1 NAUTICAL 4 .8 4 4
COORDINATES SPHERICAL
CGRID REG 117. 25. 0. 12. 17. 120 170 CIRCLE 36 .05 1. 24 MCEL

$ Dummy (no offense to you politically correct types) input grid to establish time reference
INPGRID ASTD 35. 117. 0. 120 200 1. 1. NONSTAT &
    20000101.0000 1. HR 20000101.0000

$ Bathymetry, dont know what this will be yet
INPGRID BOTTOM 117.0167 24.0143 0. 390 648 .03333 .027741
READINP BOTTOM -1. 'in-depths' 5

$ All time-dependent fields big and small normally come from MCEL
INPGRID WIND 117. 25. 0. 120 170 .1 .1 NONSTAT &
    20291109.0000 1 HR 20291123.0000 MCEL
READINP WIND 1.0 'in-winds' 4
$INPGRID CURRENT 35. 117. 0. 120 200 1. 1. NONSTAT &
$    20291109.0000 1.0 HR 20291123.0000 MCEL
$READINP CURRENT 1. 'in-currents' 4
$INPGRID WLEVEL 35. 117. 0. 120 200 1. 1. NONSTAT &
$    20291109.0000 1.0 HR 20291123.0000 MCEL
$READINP WLEVEL 1. 'in-wlevels' 4

$ Input boundary conditions
$ which could come from WAM output parameters
$BOUNDSPEC SIDE SOUTH CLOCKW VAR FILE &
$                                   0.0 'TPAR.01' 1 &
$                                   1.0 'TPAR.02' 1 &
$                                   2.0 'TPAR.03' 1 &
$                                   3.0 'TPAR.04' 1

$ Numerics, hysterics, aw who needs you...
FRICTION
WCAP KOM 2.36E-5 3.02E-3 2.0 1.0 1.0
PROP BSBT
NUMERIC ACCUR 0.03 0.03 0.15 97 1

$ Pick a point, any point, preferably at a buoy location
$POINTS 'test.p1' 123. 37.
$POINTS 'test.p2' 124. 36.
$TABLE 'test.p1' HEADER 'out-table-p1' TIME DEP HS &
$       PER RTP DIR PDIR WIND VEL &
$       OUTPUT 20291109.0000 1 HR
$TABLE 'test.p2' HEADER 'out-table-p2' TIME DEP HS &
$       PER RTP DIR PDIR WIND VEL &
$       OUTPUT 20291109.0000 1 HR

$ All block output normally goes to MCEL (I dont mean the football block)
BLOCK 'COMPGRID' NOHEAD 'MCEL' LAY 3 HS &
       OUTPUT 20291109.0000 1 HR
BLOCK 'COMPGRID' NOHEAD 'MCEL' LAY 3 DIR &
       OUTPUT 20291109.0000 1 HR
BLOCK 'COMPGRID' NOHEAD 'MCEL' LAY 3 RTP &
       OUTPUT 20291109.0000 1 HR
BLOCK 'COMPGRID' NOHEAD 'MCEL' LAY 3 PER &
       OUTPUT 20291109.0000 1 HR
BLOCK 'COMPGRID' NOHEAD 'MCEL' LAY 3 FOR &
       OUTPUT 20291109.0000 1 HR
BLOCK 'COMPGRID' NOHEAD 'MCEL' LAY 3 DEP &
       OUTPUT 20291109.0000 1 HR

$ All parents build a nest for their children
$NGRID 'nest1'  124. 38. 0.0  1. 1.  100 100
$NESTOUT 'nest1' 'out-spectra-yellow_sea_nest'

$ Comment out this restart file in a coldstart (we re not always that cold)
$INIT HOTSTART 'restart-20291109.0000'
COMPUTE 20291109.0000 20 MIN 20291123.0000
$ Restarts are pumped out every 12 hours, just in case
$HOTFILE 'restart-20031107.0000'
$COMPUTE 20031107.0000 20 MIN 20031107.1200
$HOTFILE 'restart-20031107.1200'
$COMPUTE 20031107.1200 20 MIN 20031108.0000
$HOTFILE 'restart-20031108.0000'
$COMPUTE 20031108.0000 20 MIN 20291123.0000
HOTFILE 'restart-20291123.0000'

STOP
