I set a closed boundary pool(50m*50m), △x=1m, △t=0.2s.
There is just one forcing condition, a constant Uwind = 8m/s.
But my result looks so strange. (I think it should be a smooth parabola)
Here is my result.png. It looks unnatural.
The x-coordinate is u(m/s) ,and the y-coordinate is s_rho. I just want to draw the relationship between the velocity of flow and the water depth under the condition
of a constant Uwind.
My constant wind-induced case seems strange
- zhangtianhao
- Posts: 50
- Joined: Fri May 11, 2018 5:36 pm
- Location: Beijing Normal University
My constant wind-induced case seems strange
- Attachments
-
- pool.png (24.42 KiB) Viewed 3653 times
Last edited by zhangtianhao on Tue May 22, 2018 8:01 am, edited 1 time in total.
- zhangtianhao
- Posts: 50
- Joined: Fri May 11, 2018 5:36 pm
- Location: Beijing Normal University
Re: My constant wind-induced case seems strange
Init file : all values = 0
Forcing file : Uwind = 8m/s
Here is my in.file:
!==============================================================================
!
! Application title.
TITLE = POOL
! C-preprocessing Flag.
MyAppCPP = POOL
! Input variable information file name. This file needs to be processed
! first so all information arrays can be initialized properly.
VARNAME = /home/hpd14/Documents/COAWST_V3.2/ROMS/External/varinfo.dat
! Number of nested grids.
Ngrids = 1
! Number of grid nesting layers. This parameter is used to allow refinement
! and composite grid combinations.
NestLayers = 1
! Number of grids in each nesting layer [1:NestLayers].
GridsInLayer = 1
! Grid dimension parameters. See notes below in the Glossary for how to set
! these parameters correctly.
Lm == 48 ! Number of I-direction INTERIOR RHO-points
Mm == 48 ! Number of J-direction INTERIOR RHO-points
N == 20 ! Number of vertical levels
ND == 0 ! Number of wave directional bins
Nbed = 0 ! Number of sediment bed layers
NAT = 2 ! Number of active tracers (usually, 2)
NPT = 0 ! Number of inactive passive tracers
NCS = 0 ! Number of cohesive (mud) sediment tracers
NNS = 0 ! Number of non-cohesive (sand) sediment tracers
! Domain decomposition parameters for serial, distributed-memory or
! shared-memory configurations used to determine tile horizontal range
! indices (Istr,Iend) and (Jstr,Jend), [1:Ngrids].
NtileI == 1 ! I-direction partition
NtileJ == 1 ! J-direction partition
! Set lateral boundary conditions keyword. Notice that a value is expected
! for each boundary segment per nested grid for each state variable.
!
! Each tracer variable requires [1:4,1:NAT+NPT,Ngrids] values. Otherwise,
! [1:4,1:Ngrids] values are expected for other variables. The boundary
! order is: 1=west, 2=south, 3=east, and 4=north. That is, anticlockwise
! starting at the western boundary.
!
! The keyword is case insensitive and usually has three characters. However,
! it is possible to have compound keywords, if applicable. For example, the
! keyword "RadNud" implies radiation boundary condition with nudging. This
! combination is usually used in active/passive radiation conditions.
!
! Keyword Lateral Boundary Condition Type
!
! Cha Chapman_implicit (free-surface)
! Che Chapman_explicit (free-surface)
! Cla Clamped
! Clo Closed
! Fla Flather (2D momentum) _____N_____ j=Mm
! Gra Gradient | 4 |
! Nes Nested (refinement) | |
! Nud Nudging 1 W E 3
! Per Periodic | |
! Rad Radiation |_____S_____|
! Red Reduced Physics (2D momentum) 2 j=1
! Shc Shchepetkin (2D momentum) i=1 i=Lm
!
! W S E N
! e o a o
! s u s r
! t t t t
! h h
!
! 1 2 3 4
LBC(isFsur) == Clo Clo Clo Clo ! free-surface
LBC(isUbar) == Clo Clo Clo Clo ! 2D U-momentum
LBC(isVbar) == Clo Clo Clo Clo ! 2D V-momentum
LBC(isUvel) == Clo Clo Clo Clo ! 3D U-momentum
LBC(isVvel) == Clo Clo Clo Clo ! 3D V-momentum
LBC(isMtke) == Clo Clo Clo Clo ! mixing TKE
LBC(isTvar) == Clo Clo Clo Clo \ ! temperature
Clo Clo Clo Clo ! salinity
! Wec boundary conditions
LBC(isU2Sd) == Clo Clo Clo Clo ! 2D U-stokes
LBC(isV2Sd) == Clo Clo Clo Clo ! 2D V-stokes
LBC(isU3Sd) == Clo Clo Clo Clo ! 3D U-stokes
LBC(isV3Sd) == Clo Clo Clo Clo ! 3D V-stokes
! Ice boundary conditions
LBC(isAice) == Clo Clo Clo Clo ! ice concentration
LBC(isHice) == Clo Clo Clo Clo ! ice thickness
LBC(isHsno) == Clo Clo Clo Clo ! snow thickness
LBC(isTice) == Clo Clo Clo Clo ! ice temperature
LBC(isSfwat)== Clo Clo Clo Clo ! surface water
LBC(isSig11)== Clo Clo Clo Clo ! sigma-11
LBC(isSig12)== Clo Clo Clo Clo ! sigma-12
LBC(isSig22)== Clo Clo Clo Clo ! sigma-22
LBC(isUice) == Clo Clo Clo Clo ! ice U-momentum
LBC(isVice) == Clo Clo Clo Clo ! ice V-momentum
! Adjoint-based algorithms can have different lateral boundary
! conditions keywords.
ad_LBC(isFsur) == Clo Clo Clo Clo ! free-surface
ad_LBC(isUbar) == Clo Clo Clo Clo ! 2D U-momentum
ad_LBC(isVbar) == Clo Clo Clo Clo ! 2D U-momentum
ad_LBC(isUvel) == Clo Clo Clo Clo ! 3D U-momentum
ad_LBC(isVvel) == Clo Clo Clo Clo ! 3D V-momentum
ad_LBC(isMtke) == Clo Clo Clo Clo ! mixing TKE
ad_LBC(isTvar) == Clo Clo Clo Clo \ ! temperature
Clo Clo Clo Clo ! salinity
! Set lateral open boundary edge volume conservation switch for
! nonlinear model and adjoint-based algorithms. Usually activated
! with radiation boundary conditions to enforce global mass
! conservation, except if tidal forcing is enabled. [1:Ngrids].
VolCons(west) == F ! western boundary
VolCons(east) == F ! eastern boundary
VolCons(south) == F ! southern boundary
VolCons(north) == F ! northern boundary
ad_VolCons(west) == F ! western boundary
ad_VolCons(east) == F ! eastern boundary
ad_VolCons(south) == F ! southern boundary
ad_VolCons(north) == F ! northern boundary
! Time-Stepping parameters.
NTIMES == 2880
DT == 0.2d0
NDTFAST == 20
! Model iteration loops parameters.
ERstr = 1
ERend = 1
Nouter = 1
Ninner = 1
Nintervals = 1
! Number of eigenvalues (NEV) and eigenvectors (NCV) to compute for the
! Lanczos/Arnoldi problem in the Generalized Stability Theory (GST)
! analysis. NCV must be greater than NEV (see documentation below).
NEV = 2 ! Number of eigenvalues
NCV = 10 ! Number of eigenvectors
! Input/Output parameters.
NRREC == 0
LcycleRST == T
NRST == 120
NSTA == 1
NFLT == 1
NINFO == 1
! Output history, average, diagnostic files parameters.
LDEFOUT == T
NHIS == 1
NDEFHIS == 0
NTSAVG == 1
NAVG == 360
NDEFAVG == 0
NTSDIA == 1
NDIA == 360
NDEFDIA == 0
! Output tangent linear and adjoint models parameters.
LcycleTLM == F
NTLM == 720
NDEFTLM == 0
LcycleADJ == F
NADJ == 720
NDEFADJ == 0
NSFF == 720
NOBC == 720
! GST output and check pointing restart parameters.
LmultiGST = F ! one eigenvector per file
LrstGST = F ! GST restart switch
MaxIterGST = 500 ! maximum number of iterations
NGST = 10 ! check pointing interval
! Relative accuracy of the Ritz values computed in the GST analysis.
Ritz_tol = 1.0d-15
! Harmonic/biharmonic horizontal diffusion of tracer for nonlinear model
! and adjoint-based algorithms: [1:NAT+NPT,Ngrids].
TNU2 == 0.0d0 0.0d0 ! m2/s
TNU4 == 2.0d0 0.0d0 ! m4/s
ad_TNU2 == 0.0d0 0.0d0 ! m2/s
ad_TNU4 == 0.0d0 0.0d0 ! m4/s
! Harmonic/biharmonic, horizontal viscosity coefficient for nonlinear model
! and adjoint-based algorithms: [Ngrids].
VISC2 == 0.05d0 ! m2/s
VISC4 == 0.0d0 ! m4/s
ad_VISC2 == 0.0d0 ! m2/s
ad_VISC4 == 0.0d0 ! m4/s
! Logical switches (TRUE/FALSE) to increase/decrease horizontal viscosity
! and/or diffusivity in specific areas of the application domain (like
! sponge areas) for the desired application grid.
LuvSponge == F ! horizontal momentum
LtracerSponge == F F ! temperature, salinity, inert
! Vertical mixing coefficients for tracers in nonlinear model and
! basic state scale factor in adjoint-based algorithms: [1:NAT+NPT,Ngrids]
AKT_BAK == 5.0d-6 5.0d-6 5.0d-6 5.0d-6 ! m2/s
ad_AKT_fac == 1.0d0 1.0d0 ! nondimensional
! Vertical mixing coefficient for momentum for nonlinear model and
! basic state scale factor in adjoint-based algorithms: [Ngrids].
AKV_BAK == 5.0d-5 5.0d-5 ! m2/s
ad_AKV_fac == 1.0d0 ! nondimensional
! Turbulent closure parameters.
AKK_BAK == 5.0d-6 ! m2/s
AKP_BAK == 5.0d-6 ! m2/s
TKENU2 == 0.0d0 ! m2/s
TKENU4 == 0.0d0 ! m4/s
! Generic length-scale turbulence closure parameters.
GLS_P == 3.0d0 ! K-epsilon
GLS_M == 1.5d0
GLS_N == -1.0d0
GLS_Kmin == 7.6d-6
GLS_Pmin == 1.0d-12
GLS_CMU0 == 0.5477d0
GLS_C1 == 1.44d0
GLS_C2 == 1.92d0
GLS_C3M == -0.4d0
GLS_C3P == 1.0d0
GLS_SIGK == 1.0d0
GLS_SIGP == 1.30d0
! Constants used in surface turbulent kinetic energy flux computation.
CHARNOK_ALPHA == 1400.0d0 ! Charnok surface roughness
ZOS_HSIG_ALPHA == 0.5d0 ! roughness from wave amplitude
SZ_ALPHA == 0.25d0 ! roughness from wave dissipation
CRGBAN_CW == 100.0d0 ! Craig and Banner wave breaking
WEC_ALPHA == 0.0d0 ! 0: all wave dissip goes to break and none to roller.
! 1: all wave dissip goes to roller and none to breaking.
! Constants used in momentum stress computation.
RDRG == 3.0d-04 ! m/s
RDRG2 == 0.025d0 ! nondimensional
Zob == 0.02d0 ! m
Zos == 0.5d0 ! m
! Height (m) of atmospheric measurements for Bulk fluxes parameterization.
BLK_ZQ == 2.0d0 ! air humidity
BLK_ZT == 2.0d0 ! air temperature
BLK_ZW == 10.0d0 ! winds
! Minimum depth for wetting and drying.
DCRIT == 0.10d0 ! m
! Various parameters.
WTYPE == 1
LEVSFRC == 15
LEVBFRC == 1
! Set vertical, terrain-following coordinates transformation equation and
! stretching function (see below for details), [1:Ngrids].
Vtransform == 2 ! transformation equation
Vstretching == 4 ! stretching function
! Vertical S-coordinates parameters (see below for details), [1:Ngrids].
THETA_S == 8.0d0 ! surface stretching parameter
THETA_B == 0.5d0 ! bottom stretching parameter
TCLINE == 20.0d0 ! critical depth (m)
! Mean Density and Brunt-Vaisala frequency.
RHO0 = 1025.0d0 ! kg/m3
BVF_BAK = 1.0d-5 ! 1/s2
! Time-stamp assigned for model initialization, reference time
! origin for tidal forcing, and model reference time for output
! NetCDF units attribute.
DSTART = 0.0d0 ! days
TIDE_START = 0.0d0 ! days
TIME_REF = 0.0d0 ! yyyymmdd.dd
! Nudging/relaxation time scales, inverse scales will be computed
! internally, [1:Ngrids].
TNUDG == 0.0d0 0.0d0 ! days
ZNUDG == 0.0d0 ! days
M2NUDG == 0.0d0 ! days
M3NUDG == 0.0d0 ! days
! Factor between passive (outflow) and active (inflow) open boundary
! conditions, [1:Ngrids]. If OBCFAC > 1, nudging on inflow is stronger
! than on outflow (recommended).
OBCFAC == 0.0d0 ! nondimensional
! Linear equation of State parameters:
R0 == 1027.0d0 ! kg/m3
T0 == 10.0d0 ! Celsius
S0 == 30.0d0 ! nondimensional
TCOEF == 1.7d-4 ! 1/Celsius
SCOEF == 7.6d-4 ! nondimensional
! Slipperiness parameter: 1.0 (free slip) or -1.0 (no slip)
GAMMA2 == 1.0d0
! Logical switches (TRUE/FALSE) to activate horizontal momentum transport
! point Sources/Sinks (like river runoff transport) and mass point
! Sources/Sinks (like volume vertical influx), [1:Ngrids].
LuvSrc == F ! horizontal momentum transport
LwSrc == F ! volume vertical influx
! Logical switches (TRUE/FALSE) to activate tracers point Sources/Sinks
! (like river runoff) and to specify which tracer variables to consider:
! [1:NAT+NPT,Ngrids]. See glossary below for details.
LtracerSrc == F F ! temperature, salinity, inert
! Logical switches (TRUE/FALSE) to read and process climatology fields.
! See glossary below for details.
LsshCLM == F ! sea-surface height
Lm2CLM == F ! 2D momentum
Lm3CLM == F ! 3D momentum
LtracerCLM == F F ! temperature, salinity, inert
! Logical switches (TRUE/FALSE) to nudge the desired climatology field(s).
! If not analytical climatology fields, users need to turn ON the logical
! switches above to process the fields from the climatology NetCDF file
! that are needed for nudging. See glossary below for details.
LnudgeM2CLM == F ! 2D momentum
LnudgeM3CLM == F ! 3D momentum
LnudgeTCLM == F F ! temperature, salinity, inert
! Starting (DstrS) and ending (DendS) day for adjoint sensitivity forcing.
! DstrS must be less or equal to DendS. If both values are zero, their
! values are reset internally to the full range of the adjoint integration.
DstrS == 0.0d0 ! starting day
DendS == 0.0d0 ! ending day
! Starting and ending vertical levels of the 3D adjoint state variables
! whose sensitivity is required.
KstrS == 1 ! starting level
KendS == 1 ! ending level
! Logical switches (TRUE/FALSE) to specify the adjoint state variables
! whose sensitivity is required.
Lstate(isFsur) == F ! free-surface
Lstate(isUbar) == F ! 2D U-momentum
Lstate(isVbar) == F ! 2D V-momentum
Lstate(isUvel) == F ! 3D U-momentum
Lstate(isVvel) == F ! 3D V-momentum
Lstate(isTvar) == F F ! NT tracers
! Logical switches (TRUE/FALSE) to specify the state variables for
! which Forcing Singular Vectors or Stochastic Optimals is required.
Fstate(isFsur) == F ! free-surface
Fstate(isUbar) == F ! 2D U-momentum
Fstate(isVbar) == F ! 2D V-momentum
Fstate(isUvel) == F ! 3D U-momentum
Fstate(isVvel) == F ! 3D V-momentum
Fstate(isTvar) == F F ! NT tracers
Fstate(isUstr) == T ! surface U-stress
Fstate(isVstr) == T ! surface V-stress
Fstate(isTsur) == F F ! NT surface tracers flux
! Stochastic Optimals time decorrelation scale (days) assumed for
! red noise processes.
SO_decay == 2.0d0 ! days
! Stochastic Optimals surface forcing standard deviation for
! dimensionalization.
SO_sdev(isFsur) == 1.0d0 ! free-surface
SO_sdev(isUbar) == 1.0d0 ! 2D U-momentum
SO_sdev(isVbar) == 1.0d0 ! 2D V-momentum
SO_sdev(isUvel) == 1.0d0 ! 3D U-momentum
SO_sdev(isVvel) == 1.0d0 ! 3D V-momentum
SO_sdev(isTvar) == 1.0d0 1.0d0 ! NT tracers
SO_sdev(isUstr) == 1.0d0 ! surface U-stress
SO_sdev(isVstr) == 1.0d0 ! surface V-stress
SO_sdev(isTsur) == 1.0d0 1.0d0 ! NT surface tracers flux
! Logical switches (TRUE/FALSE) to activate writing of fields into
! HISTORY output file.
Hout(idUvel) == T ! u 3D U-velocity
Hout(idVvel) == T ! v 3D V-velocity
Hout(idu3dE) == F ! u_eastward 3D U-eastward at RHO-points
Hout(idv3dN) == F ! v_northward 3D V-northward at RHO-points
Hout(idWvel) == T ! w 3D W-velocity
Hout(idOvel) == T ! omega omega vertical velocity
Hout(idUbar) == T ! ubar 2D U-velocity
Hout(idVbar) == T ! vbar 2D V-velocity
Hout(idu2dE) == F ! ubar_eastward 2D U-eastward at RHO-points
Hout(idv2dN) == F ! vbar_northward 2D V-northward at RHO-points
Hout(idFsur) == T ! zeta free-surface
Hout(idBath) == T ! bath time-dependent bathymetry
Hout(idTvar) == T T ! temp, salt temperature and salinity
Hout(idUair) == T ! Uwind surface U-wind
Hout(idVair) == T ! Vwind surface V-wind
Hout(idUairE) == F ! Uwind_eastward surface U-wind
Hout(idVairN) == F ! Vwind_northward surface V-wind
Hout(idUsms) == T ! sustr surface U-stress
Hout(idVsms) == T ! svstr surface V-stress
Hout(idUbms) == T ! bustr bottom U-stress
Hout(idVbms) == T ! bvstr bottom V-stress
Hout(idUbrs) == F ! bustrc bottom U-current stress
Hout(idVbrs) == F ! bvstrc bottom V-current stress
Hout(idUbws) == F ! bustrw bottom U-wave stress
Hout(idVbws) == F ! bvstrw bottom V-wave stress
Hout(idUbcs) == F ! bustrcwmax bottom max wave-current U-stress
Hout(idVbcs) == F ! bvstrcwmax bottom max wave-current V-stress
Hout(idUVwc) == F ! bstrcwmax bottom max wave-current stress magnitude
Hout(idUbot) == F ! Ubot bed wave orbital U-velocity
Hout(idVbot) == F ! Vbot bed wave orbital V-velocity
Hout(idUbur) == F ! Ur bottom U-velocity above bed
Hout(idVbvr) == F ! Vr bottom V-velocity above bed
Hout(idW2xx) == F ! Sxx_bar WEC_Mellor 2D Sxx radiation stress
Hout(idW2xy) == F ! Sxy_bar WEC_Mellor 2D Sxy radiation stress
Hout(idW2yy) == F ! Syy_bar WEC_Mellor 2D Syy radiation stress
Hout(idW3xx) == F ! Sxx WEC_Mellor 3D Sxx radiation stress
Hout(idW3xy) == F ! Sxy WEC_Mellor 3D Sxy radiation stress
Hout(idW3yy) == F ! Syy WEC_Mellor 3D Syy radiation stress
Hout(idW3zx) == F ! Szx WEC_Mellor 3D Szx radiation stress
Hout(idW3zy) == F ! Szy WEC_Mellor 3D Szy radiation stress
Hout(idWztw) == F ! zetaw WEC_VF quasi-static sea level adjustment
Hout(idWqsp) == F ! qsp WEC_VF quasi-static pressure
Hout(idWbeh) == F ! bh WEC_VF Bernoulli head
Hout(idU2rs) == F ! ubar_Wecstress WEC 2D U-stress
Hout(idV2rs) == F ! vbar_Wecstress WEC 2D V-stress
Hout(idU3rs) == F ! u_Rstress WEC 3D U-stress
Hout(idV3rs) == F ! v_Rstress WEC 3D V-stress
Hout(idU2Sd) == F ! ubar_stokes 2D U-Stokes velocity
Hout(idV2Sd) == F ! vbar_stokes 2D V-Stokes velocity
Hout(idU3Sd) == F ! u_stokes 3D U-Stokes velocity
Hout(idV3Sd) == F ! v_stokes 3D V-Stokes velocity
Hout(idW3Sd) == F ! omega_stokes 3D Omega-Stokes velocity
Hout(idW3St) == F ! w_stokes 3D W-Stokes velocity
Hout(idWamp) == F ! Hwave wave height
Hout(idWlen) == F ! Lwave wave length-mean
Hout(idWlep) == F ! Lwavep wave length-peak
Hout(idWdir) == F ! Dwave wave direction
Hout(idWptp) == F ! Pwave_top wave surface period
Hout(idWpbt) == F ! Pwave_bot wave bottom period
Hout(idWorb) == F ! Uwave_rms wave bottom orbital velocity
Hout(idWbrk) == F ! Wave_break wave breaking (percent)
Hout(idUwav) == F ! uWave wave-depth avgeraged U-velocity
Hout(idVwav) == F ! vWave wave-depth avgeraged V-velocity
Hout(idWdif) == F ! Dissip_fric wave dissipation due to bottom friction
Hout(idWdib) == F ! Dissip_break wave dissipation due to breaking
Hout(idWdiw) == F ! Dissip_wcap wave dissipation due to white capping
Hout(idWdis) == F ! Dissip_roller wave roller dissipation
Hout(idWrol) == F ! rollA wave roller action density
Hout(idRunoff) == F ! Runoff surface runoff from land
Hout(idPair) == T ! Pair surface air pressure
Hout(idUair) == F ! Uair surface U-wind component
Hout(idVair) == F ! Vair surface V-wind component
Hout(idTsur) == F F ! shflux, ssflux surface net heat and salt flux
Hout(idLhea) == F ! latent latent heat flux
Hout(idShea) == F ! sensible sensible heat flux
Hout(idLrad) == F ! lwrad longwave radiation flux
Hout(idSrad) == F ! swrad shortwave radiation flux
Hout(idEmPf) == F ! EminusP E-P flux
Hout(idevap) == F ! evaporation evaporation rate
Hout(idrain) == F ! rain precipitation rate
Hout(idDano) == F ! rho density anomaly
Hout(idVvis) == F ! AKv vertical viscosity
Hout(idTdif) == F ! AKt vertical T-diffusion
Hout(idSdif) == F ! AKs vertical Salinity diffusion
Hout(idHsbl) == F ! Hsbl depth of surface boundary layer
Hout(idHbbl) == F ! Hbbl depth of bottom boundary layer
Hout(idMtke) == F ! tke turbulent kinetic energy
Hout(idMtls) == F ! gls turbulent length scale
! Logical switches (TRUE/FALSE) to activate writing of extra inert passive
! tracers other than biological and sediment tracers. An inert passive tracer
! is one that it is only advected and diffused. Other processes are ignored.
! These tracers include, for example, dyes, pollutants, oil spills, etc.
! NPT values are expected. However, these switches can be activated using
! compact parameter specification.
Hout(inert) == F ! dye_01, ... inert passive tracers
! Logical switches (TRUE/FALSE) to activate writing of time-averaged
! fields into AVERAGE output file.
Aout(idUvel) == F ! u 3D U-velocity
Aout(idVvel) == F ! v 3D V-velocity
Aout(idu3dE) == F ! u_eastward 3D U-eastward at RHO-points
Aout(idv3dN) == F ! v_northward 3D V-northward at RHO-points
Aout(idWvel) == F ! w 3D W-velocity
Aout(idOvel) == F ! omega omega vertical velocity
Aout(idUbar) == F ! ubar 2D U-velocity
Aout(idVbar) == F ! vbar 2D V-velocity
Aout(idu2dE) == F ! ubar_eastward 2D U-eastward at RHO-points
Aout(idv2dN) == F ! vbar_northward 2D V-northward at RHO-points
Aout(idFsur) == F ! zeta free-surface
Aout(idBath) == F ! bath time-dependent bathymetry
Aout(idTvar) == F F ! temp, salt temperature and salinity
Aout(idUair) == F ! Uwind surface U-wind
Aout(idVair) == F ! Vwind surface V-wind
Aout(idUairE) == F ! Uwind_eastward surface U-wind
Aout(idVairN) == F ! Vwind_northward surface V-wind
Aout(idUsms) == F ! sustr surface U-stress
Aout(idVsms) == F ! svstr surface V-stress
Aout(idUbms) == F ! bustr bottom U-stress
Aout(idVbms) == F ! bvstr bottom V-stress
Aout(idUbrs) == F ! bustrc bottom U-current stress
Aout(idVbrs) == F ! bvstrc bottom V-current stress
Aout(idUbws) == F ! bustrw bottom U-wave stress
Aout(idVbws) == F ! bvstrw bottom V-wave stress
Aout(idUbcs) == F ! bustrcwmax bottom max wave-current U-stress
Aout(idVbcs) == F ! bvstrcwmax bottom max wave-current V-stress
Aout(idUVwc) == F ! bstrcwmax bottom max wave-current stress magnitude
Aout(idUbot) == F ! Ubot bed wave orbital U-velocity
Aout(idVbot) == F ! Vbot bed wave orbital V-velocity
Aout(idUbur) == F ! Ur bottom U-velocity above bed
Aout(idVbvr) == F ! Vr bottom V-velocity above bed
Aout(idW2xx) == F ! Sxx_bar WEC_Mellor 2D Sxx radiation stress
Aout(idW2xy) == F ! Sxy_bar WEC_Mellor 2D Sxy radiation stress
Aout(idW2yy) == F ! Syy_bar WEC_Mellor 2D Syy radiation stress
Aout(idW3xx) == F ! Sxx WEC_Mellor 3D Sxx radiation stress
Aout(idW3xy) == F ! Sxy WEC_Mellor 3D Sxy radiation stress
Aout(idW3yy) == F ! Syy WEC_Mellor 3D Syy radiation stress
Aout(idW3zx) == F ! Szx WEC_Mellor 3D Szx radiation stress
Aout(idW3zy) == F ! Szy WEC_Mellor 3D Szy radiation stress
Aout(idWztw) == F ! zetaw WEC_VF quasi-static sea level adjustment
Aout(idWqsp) == F ! qsp WEC_VF quasi-static pressure
Aout(idWbeh) == F ! bh WEC_VF Bernoulli head
Aout(idU2rs) == F ! ubar_Wecstress WEC 2D U-stress
Aout(idV2rs) == F ! vbar_Wecstress WEC 2D V-stress
Aout(idU3rs) == F ! u_Rstress WEC 3D U-stress
Aout(idV3rs) == F ! v_Rstress WEC 3D V-stress
Aout(idU2Sd) == F ! ubar_stokes 2D U-Stokes velocity
Aout(idV2Sd) == F ! vbar_stokes 2D V-Stokes velocity
Aout(idU3Sd) == F ! u_stokes 3D U-Stokes velocity
Aout(idV3Sd) == F ! v_stokes 3D V-Stokes velocity
Aout(idW3Sd) == F ! omega_stokes 3D Omega-Stokes velocity
Aout(idW3St) == F ! w_stokes 3D W-Stokes velocity
Aout(idWamp) == F ! Hwave wave height
Aout(idWlen) == F ! Lwave wave length-mean
Aout(idWlep) == F ! Lwavep wave length-peak
Aout(idWdir) == F ! Dwave wave direction
Aout(idWptp) == F ! Pwave_top wave surface period
Aout(idWpbt) == F ! Pwave_bot wave bottom period
Aout(idWorb) == F ! Uwave_rms wave bottom orbital velocity
Aout(idWbrk) == F ! Wave_break wave breaking (percent)
Aout(idUwav) == F ! uWave wave-depth avgeraged U-velocity
Aout(idVwav) == F ! vWave wave-depth avgeraged V-velocity
Aout(idWdif) == F ! Dissip_fric wave dissipation due to bottom friction
Aout(idWdib) == F ! Dissip_break wave dissipation due to breaking
Aout(idWdiw) == F ! Dissip_wcap wave dissipation due to white capping
Aout(idWdis) == F ! Dissip_roller wave roller dissipation
Aout(idWrol) == F ! rollA wave roller action density
Aout(idRunoff) == F ! Runoff surface runoff from land
Aout(idPair) == F ! Pair surface air pressure
Aout(idUair) == F ! Uair surface U-wind component
Aout(idVair) == F ! Vair surface V-wind component
Aout(idTsur) == F F ! shflux, ssflux surface net heat and salt flux
Aout(idLhea) == F ! latent latent heat flux
Aout(idShea) == F ! sensible sensible heat flux
Aout(idLrad) == F ! lwrad longwave radiation flux
Aout(idSrad) == F ! swrad shortwave radiation flux
Aout(idevap) == F ! evaporation evaporation rate
Aout(idrain) == F ! rain precipitation rate
Aout(idDano) == F ! rho density anomaly
Aout(idVvis) == F ! AKv vertical viscosity
Aout(idTdif) == F ! AKt vertical T-diffusion
Aout(idSdif) == T ! AKs vertical Salinity diffusion
Aout(idHsbl) == F ! Hsbl depth of surface boundary layer
Aout(idHbbl) == F ! Hbbl depth of bottom boundary layer
Aout(id2dRV) == F ! pvorticity_bar 2D relative vorticity
Aout(id3dRV) == F ! pvorticity 3D relative vorticity
Aout(id2dPV) == F ! rvorticity_bar 2D potential vorticity
Aout(id3dPV) == F ! rvorticity 3D potential vorticity
Aout(idu3dD) == F ! u_detided detided 3D U-velocity
Aout(idv3dD) == F ! v_detided detided 3D V-velocity
Aout(idu2dD) == F ! ubar_detided detided 2D U-velocity
Aout(idv2dD) == F ! vbar_detided detided 2D V-velocity
Aout(idFsuD) == F ! zeta_detided detided free-surface
Aout(idTrcD) == F F ! temp_detided, ... detided temperature and salinity
Aout(idHUav) == F ! Huon u-volume flux, Huon
Aout(idHVav) == F ! Hvom v-volume flux, Hvom
Aout(idUUav) == F ! uu quadratic <u*u> term
Aout(idUVav) == F ! uv quadratic <u*v> term
Aout(idVVav) == F ! vv quadratic <v*v> term
Aout(idU2av) == F ! ubar2 quadratic <ubar*ubar> term
Aout(idV2av) == F ! vbar2 quadratic <vbar*vbar> term
Aout(idZZav) == F ! zeta2 quadratic <zeta*zeta> term
Aout(idTTav) == F F ! temp_2, ... quadratic <t*t> tracer terms
Aout(idUTav) == F F ! u_temp, ... quadratic <u*t> tracer terms
Aout(idVTav) == F F ! v_temp, ... quadratic <v*t> tracer terms
Aout(iHUTav) == F F ! Huon_temp, ... tracer volume flux, <Huon*t>
Aout(iHVTav) == F F ! Hvom_temp, ... tracer volume flux, <Hvom*t>
! Logical switches (TRUE/FALSE) to activate writing of extra inert passive
! tracers other than biological and sediment tracers into the AVERAGE file.
Aout(inert) == F ! dye_01, ... inert passive tracers
! Logical switches (TRUE/FALSE) to activate writing of time-averaged,
! 2D momentum (ubar,vbar) diagnostic terms into DIAGNOSTIC output file.
Dout(M2rate) == F ! ubar_accel, ... acceleration
Dout(M2pgrd) == F ! ubar_prsgrd, ... pressure gradient
Dout(M2fcor) == F ! ubar_cor, ... Coriolis force
Dout(M2hadv) == F ! ubar_hadv, ... horizontal total advection
Dout(M2xadv) == F ! ubar_xadv, ... horizontal XI-advection
Dout(M2yadv) == F ! ubar_yadv, ... horizontal ETA-advection
Dout(M2hrad) == F ! ubar_hrad, ... horizontal total wec_mellor radiation stress
Dout(M2hvis) == F ! ubar_hvisc, ... horizontal total viscosity
Dout(M2xvis) == F ! ubar_xvisc, ... horizontal XI-viscosity
Dout(M2yvis) == F ! ubar_yvisc, ... horizontal ETA-viscosity
Dout(M2sstr) == F ! ubar_sstr, ... surface stress
Dout(M2bstr) == F ! ubar_bstr, ... bottom stress
Dout(M2hjvf) == F ! 2D wec_vf horizontal J vortex force
Dout(M2kvrf) == F ! 2D wec_vf K vortex force
Dout(M2fsco) == F ! 2D wec_vf coriolis-stokes
Dout(M2bstm) == F ! 2D wec_vf bottom streaming
Dout(M2sstm) == F ! 2D wec_vf surface streaming
Dout(M2wrol) == F ! 2D wec_vf wave roller accel
Dout(M2wbrk) == F ! 2D wec_vf wave breaking
Dout(M2zeta) == F ! 2D wec_vf Eulerian sea level adjustment
Dout(M2zetw) == F ! 2D wec_vf quasi-static sea level adjustment
Dout(M2zqsp) == F ! 2D wec_vf quasi-static pressure
Dout(M2zbeh) == F ! 2D wec_vf Bernoulli head
! Logical switches (TRUE/FALSE) to activate writing of time-averaged,
! 3D momentum (u,v) diagnostic terms into DIAGNOSTIC output file.
Dout(M3rate) == F ! u_accel, ... acceleration
Dout(M3pgrd) == F ! u_prsgrd, ... pressure gradient
Dout(M3fcor) == F ! u_cor, ... Coriolis force
Dout(M3hadv) == F ! u_hadv, ... horizontal total advection
Dout(M3xadv) == F ! u_xadv, ... horizontal XI-advection
Dout(M3yadv) == F ! u_yadv, ... horizontal ETA-advection
Dout(M3vadv) == F ! u_vadv, ... vertical advection
Dout(M3hrad) == F ! u_hrad, ... horizontal total wec_mellor radiation stress
Dout(M3vrad) == F ! v_hrad, ... vertical total wec_mellor radiation stress
Dout(M3hvis) == F ! u_hvisc, ... horizontal total viscosity
Dout(M3xvis) == F ! u_xvisc, ... horizontal XI-viscosity
Dout(M3yvis) == F ! u_yvisc, ... horizontal ETA-viscosity
Dout(M3vvis) == F ! u_vvisc, ... vertical viscosity
Dout(M3vjvf) == F ! 3D wec_vf vertical J vortex force
Dout(M3hjvf) == F ! 3D wec_vf horizontal J vortex force
Dout(M3kvrf) == F ! 3D wec_vf K vortex force
Dout(M3fsco) == F ! 3D wec_vf coriolis-stokes
Dout(M3bstm) == F ! 3D wec_vf bottom streaming
Dout(M3sstm) == F ! 3D wec_vf surface streaming
Dout(M3wrol) == F ! 3D wec_vf wave roller accel
Dout(M3wbrk) == F ! 3D wec_vf wave breaking
! Logical switches (TRUE/FALSE) to activate writing of time-averaged,
! active (temperature and salinity) and passive (inert) tracer diagnostic
! terms into DIAGNOSTIC output file: [1:NAT+NPT,Ngrids].
Dout(iTrate) == F F ! temp_rate, ... time rate of change
Dout(iThadv) == F F ! temp_hadv, ... horizontal total advection
Dout(iTxadv) == F F ! temp_xadv, ... horizontal XI-advection
Dout(iTyadv) == F F ! temp_yadv, ... horizontal ETA-advection
Dout(iTvadv) == F F ! temp_vadv, ... vertical advection
Dout(iThdif) == F F ! temp_hdiff, ... horizontal total diffusion
Dout(iTxdif) == F F ! temp_xdiff, ... horizontal XI-diffusion
Dout(iTydif) == F F ! temp_ydiff, ... horizontal ETA-diffusion
Dout(iTsdif) == F F ! temp_sdiff, ... horizontal S-diffusion
Dout(iTvdif) == F F ! temp_vdiff, ... vertical diffusion
! Generic User parameters, [1:NUSER].
NUSER = 0
USER = 0.d0
! NetCDF-4/HDF5 compression parameters for output files.
NC_SHUFFLE = 1 ! if non-zero, turn on shuffle filter
NC_DEFLATE = 1 ! if non-zero, turn on deflate filter
NC_DLEVEL = 1 ! deflate level [0-9]
! Input NetCDF file names, [1:Ngrids].
GRDNAME == /home/hpd14/Documents/COAWST_V3.2/Projects/pool/pool_grid.nc
ININAME == /home/hpd14/Documents/COAWST_V3.2/Projects/pool/pool_init.nc
! ITLNAME == ocean_itl.nc
! IRPNAME == ocean_irp.nc
! IADNAME == ocean_iad.nc
! FWDNAME == ocean_fwd.nc
! ADSNAME == ocean_ads.nc
! Nesting grids connectivity data: contact points information. This
! NetCDF file is special and complex. It is currently generated using
! the script "matlab/grid/contact.m" from the Matlab repository.
! NGCNAME = ocean_ngc.nc
! Input lateral boundary conditions and climatology file names. The
! USER has the option to split input data time records into several
! NetCDF files (see prologue instructions above). If so, use a single
! line per entry with a vertical bar (|) symbol after each entry,
! except the last one.
NCLMFILES == 1 ! number of climate files
! CLMNAME == ocean_clm.nc
NBCFILES == 1 ! number of boundary files
! BRYNAME == ocean_bry.nc
! Input climatology nudging coefficients file name.
! NUDNAME == ocean_nud.nc
! Input Sources/Sinks forcing (like river runoff) file name.
! SSFNAME == ocean_rivers.nc
! Input forcing NetCDF file name(s). The USER has the option to enter
! several file names for each nested grid. For example, the USER may
! have different files for wind products, heat fluxes, tides, etc.
! The model will scan the file list and will read the needed data from
! the first file in the list containing the forcing field. Therefore,
! the order of the file names is very important. If using multiple forcing
! files per grid, first enter all the file names for grid 1, then grid 2,
! and so on. It is also possible to split input data time records into
! several NetCDF files (see prologue instructions above). Use a single line
! per entry with a continuation (\) or vertical bar (|) symbol after each
! entry, except the last one.
NFFILES == 1 ! number of forcing files
FRCNAME == /home/hpd14/Documents/COAWST_V3.2/Projects/pool/pool_wind.nc
! Output NetCDF file names, [1:Ngrids].
GSTNAME == ocean_gst.nc
RSTNAME == ocean_rst.nc
HISNAME == ocean_pool_his.nc
TLMNAME == ocean_tlm.nc
TLFNAME == ocean_tlf.nc
ADJNAME == ocean_adj.nc
AVGNAME == ocean_avg.nc
DIANAME == ocean_dia.nc
STANAME == ocean_sta.nc
FLTNAME == ocean_flt.nc
! Input ASCII parameter filenames.
APARNAM = ROMS/External/s4dvar.in
SPOSNAM = ROMS/External/stations.in
FPOSNAM = ROMS/External/floats.in
BPARNAM = ROMS/External/bioFasham.in
SPARNAM = ROMS/External/sediment.in
USRNAME = ROMS/External/MyFile.dat
Forcing file : Uwind = 8m/s
Here is my in.file:
!==============================================================================
!
! Application title.
TITLE = POOL
! C-preprocessing Flag.
MyAppCPP = POOL
! Input variable information file name. This file needs to be processed
! first so all information arrays can be initialized properly.
VARNAME = /home/hpd14/Documents/COAWST_V3.2/ROMS/External/varinfo.dat
! Number of nested grids.
Ngrids = 1
! Number of grid nesting layers. This parameter is used to allow refinement
! and composite grid combinations.
NestLayers = 1
! Number of grids in each nesting layer [1:NestLayers].
GridsInLayer = 1
! Grid dimension parameters. See notes below in the Glossary for how to set
! these parameters correctly.
Lm == 48 ! Number of I-direction INTERIOR RHO-points
Mm == 48 ! Number of J-direction INTERIOR RHO-points
N == 20 ! Number of vertical levels
ND == 0 ! Number of wave directional bins
Nbed = 0 ! Number of sediment bed layers
NAT = 2 ! Number of active tracers (usually, 2)
NPT = 0 ! Number of inactive passive tracers
NCS = 0 ! Number of cohesive (mud) sediment tracers
NNS = 0 ! Number of non-cohesive (sand) sediment tracers
! Domain decomposition parameters for serial, distributed-memory or
! shared-memory configurations used to determine tile horizontal range
! indices (Istr,Iend) and (Jstr,Jend), [1:Ngrids].
NtileI == 1 ! I-direction partition
NtileJ == 1 ! J-direction partition
! Set lateral boundary conditions keyword. Notice that a value is expected
! for each boundary segment per nested grid for each state variable.
!
! Each tracer variable requires [1:4,1:NAT+NPT,Ngrids] values. Otherwise,
! [1:4,1:Ngrids] values are expected for other variables. The boundary
! order is: 1=west, 2=south, 3=east, and 4=north. That is, anticlockwise
! starting at the western boundary.
!
! The keyword is case insensitive and usually has three characters. However,
! it is possible to have compound keywords, if applicable. For example, the
! keyword "RadNud" implies radiation boundary condition with nudging. This
! combination is usually used in active/passive radiation conditions.
!
! Keyword Lateral Boundary Condition Type
!
! Cha Chapman_implicit (free-surface)
! Che Chapman_explicit (free-surface)
! Cla Clamped
! Clo Closed
! Fla Flather (2D momentum) _____N_____ j=Mm
! Gra Gradient | 4 |
! Nes Nested (refinement) | |
! Nud Nudging 1 W E 3
! Per Periodic | |
! Rad Radiation |_____S_____|
! Red Reduced Physics (2D momentum) 2 j=1
! Shc Shchepetkin (2D momentum) i=1 i=Lm
!
! W S E N
! e o a o
! s u s r
! t t t t
! h h
!
! 1 2 3 4
LBC(isFsur) == Clo Clo Clo Clo ! free-surface
LBC(isUbar) == Clo Clo Clo Clo ! 2D U-momentum
LBC(isVbar) == Clo Clo Clo Clo ! 2D V-momentum
LBC(isUvel) == Clo Clo Clo Clo ! 3D U-momentum
LBC(isVvel) == Clo Clo Clo Clo ! 3D V-momentum
LBC(isMtke) == Clo Clo Clo Clo ! mixing TKE
LBC(isTvar) == Clo Clo Clo Clo \ ! temperature
Clo Clo Clo Clo ! salinity
! Wec boundary conditions
LBC(isU2Sd) == Clo Clo Clo Clo ! 2D U-stokes
LBC(isV2Sd) == Clo Clo Clo Clo ! 2D V-stokes
LBC(isU3Sd) == Clo Clo Clo Clo ! 3D U-stokes
LBC(isV3Sd) == Clo Clo Clo Clo ! 3D V-stokes
! Ice boundary conditions
LBC(isAice) == Clo Clo Clo Clo ! ice concentration
LBC(isHice) == Clo Clo Clo Clo ! ice thickness
LBC(isHsno) == Clo Clo Clo Clo ! snow thickness
LBC(isTice) == Clo Clo Clo Clo ! ice temperature
LBC(isSfwat)== Clo Clo Clo Clo ! surface water
LBC(isSig11)== Clo Clo Clo Clo ! sigma-11
LBC(isSig12)== Clo Clo Clo Clo ! sigma-12
LBC(isSig22)== Clo Clo Clo Clo ! sigma-22
LBC(isUice) == Clo Clo Clo Clo ! ice U-momentum
LBC(isVice) == Clo Clo Clo Clo ! ice V-momentum
! Adjoint-based algorithms can have different lateral boundary
! conditions keywords.
ad_LBC(isFsur) == Clo Clo Clo Clo ! free-surface
ad_LBC(isUbar) == Clo Clo Clo Clo ! 2D U-momentum
ad_LBC(isVbar) == Clo Clo Clo Clo ! 2D U-momentum
ad_LBC(isUvel) == Clo Clo Clo Clo ! 3D U-momentum
ad_LBC(isVvel) == Clo Clo Clo Clo ! 3D V-momentum
ad_LBC(isMtke) == Clo Clo Clo Clo ! mixing TKE
ad_LBC(isTvar) == Clo Clo Clo Clo \ ! temperature
Clo Clo Clo Clo ! salinity
! Set lateral open boundary edge volume conservation switch for
! nonlinear model and adjoint-based algorithms. Usually activated
! with radiation boundary conditions to enforce global mass
! conservation, except if tidal forcing is enabled. [1:Ngrids].
VolCons(west) == F ! western boundary
VolCons(east) == F ! eastern boundary
VolCons(south) == F ! southern boundary
VolCons(north) == F ! northern boundary
ad_VolCons(west) == F ! western boundary
ad_VolCons(east) == F ! eastern boundary
ad_VolCons(south) == F ! southern boundary
ad_VolCons(north) == F ! northern boundary
! Time-Stepping parameters.
NTIMES == 2880
DT == 0.2d0
NDTFAST == 20
! Model iteration loops parameters.
ERstr = 1
ERend = 1
Nouter = 1
Ninner = 1
Nintervals = 1
! Number of eigenvalues (NEV) and eigenvectors (NCV) to compute for the
! Lanczos/Arnoldi problem in the Generalized Stability Theory (GST)
! analysis. NCV must be greater than NEV (see documentation below).
NEV = 2 ! Number of eigenvalues
NCV = 10 ! Number of eigenvectors
! Input/Output parameters.
NRREC == 0
LcycleRST == T
NRST == 120
NSTA == 1
NFLT == 1
NINFO == 1
! Output history, average, diagnostic files parameters.
LDEFOUT == T
NHIS == 1
NDEFHIS == 0
NTSAVG == 1
NAVG == 360
NDEFAVG == 0
NTSDIA == 1
NDIA == 360
NDEFDIA == 0
! Output tangent linear and adjoint models parameters.
LcycleTLM == F
NTLM == 720
NDEFTLM == 0
LcycleADJ == F
NADJ == 720
NDEFADJ == 0
NSFF == 720
NOBC == 720
! GST output and check pointing restart parameters.
LmultiGST = F ! one eigenvector per file
LrstGST = F ! GST restart switch
MaxIterGST = 500 ! maximum number of iterations
NGST = 10 ! check pointing interval
! Relative accuracy of the Ritz values computed in the GST analysis.
Ritz_tol = 1.0d-15
! Harmonic/biharmonic horizontal diffusion of tracer for nonlinear model
! and adjoint-based algorithms: [1:NAT+NPT,Ngrids].
TNU2 == 0.0d0 0.0d0 ! m2/s
TNU4 == 2.0d0 0.0d0 ! m4/s
ad_TNU2 == 0.0d0 0.0d0 ! m2/s
ad_TNU4 == 0.0d0 0.0d0 ! m4/s
! Harmonic/biharmonic, horizontal viscosity coefficient for nonlinear model
! and adjoint-based algorithms: [Ngrids].
VISC2 == 0.05d0 ! m2/s
VISC4 == 0.0d0 ! m4/s
ad_VISC2 == 0.0d0 ! m2/s
ad_VISC4 == 0.0d0 ! m4/s
! Logical switches (TRUE/FALSE) to increase/decrease horizontal viscosity
! and/or diffusivity in specific areas of the application domain (like
! sponge areas) for the desired application grid.
LuvSponge == F ! horizontal momentum
LtracerSponge == F F ! temperature, salinity, inert
! Vertical mixing coefficients for tracers in nonlinear model and
! basic state scale factor in adjoint-based algorithms: [1:NAT+NPT,Ngrids]
AKT_BAK == 5.0d-6 5.0d-6 5.0d-6 5.0d-6 ! m2/s
ad_AKT_fac == 1.0d0 1.0d0 ! nondimensional
! Vertical mixing coefficient for momentum for nonlinear model and
! basic state scale factor in adjoint-based algorithms: [Ngrids].
AKV_BAK == 5.0d-5 5.0d-5 ! m2/s
ad_AKV_fac == 1.0d0 ! nondimensional
! Turbulent closure parameters.
AKK_BAK == 5.0d-6 ! m2/s
AKP_BAK == 5.0d-6 ! m2/s
TKENU2 == 0.0d0 ! m2/s
TKENU4 == 0.0d0 ! m4/s
! Generic length-scale turbulence closure parameters.
GLS_P == 3.0d0 ! K-epsilon
GLS_M == 1.5d0
GLS_N == -1.0d0
GLS_Kmin == 7.6d-6
GLS_Pmin == 1.0d-12
GLS_CMU0 == 0.5477d0
GLS_C1 == 1.44d0
GLS_C2 == 1.92d0
GLS_C3M == -0.4d0
GLS_C3P == 1.0d0
GLS_SIGK == 1.0d0
GLS_SIGP == 1.30d0
! Constants used in surface turbulent kinetic energy flux computation.
CHARNOK_ALPHA == 1400.0d0 ! Charnok surface roughness
ZOS_HSIG_ALPHA == 0.5d0 ! roughness from wave amplitude
SZ_ALPHA == 0.25d0 ! roughness from wave dissipation
CRGBAN_CW == 100.0d0 ! Craig and Banner wave breaking
WEC_ALPHA == 0.0d0 ! 0: all wave dissip goes to break and none to roller.
! 1: all wave dissip goes to roller and none to breaking.
! Constants used in momentum stress computation.
RDRG == 3.0d-04 ! m/s
RDRG2 == 0.025d0 ! nondimensional
Zob == 0.02d0 ! m
Zos == 0.5d0 ! m
! Height (m) of atmospheric measurements for Bulk fluxes parameterization.
BLK_ZQ == 2.0d0 ! air humidity
BLK_ZT == 2.0d0 ! air temperature
BLK_ZW == 10.0d0 ! winds
! Minimum depth for wetting and drying.
DCRIT == 0.10d0 ! m
! Various parameters.
WTYPE == 1
LEVSFRC == 15
LEVBFRC == 1
! Set vertical, terrain-following coordinates transformation equation and
! stretching function (see below for details), [1:Ngrids].
Vtransform == 2 ! transformation equation
Vstretching == 4 ! stretching function
! Vertical S-coordinates parameters (see below for details), [1:Ngrids].
THETA_S == 8.0d0 ! surface stretching parameter
THETA_B == 0.5d0 ! bottom stretching parameter
TCLINE == 20.0d0 ! critical depth (m)
! Mean Density and Brunt-Vaisala frequency.
RHO0 = 1025.0d0 ! kg/m3
BVF_BAK = 1.0d-5 ! 1/s2
! Time-stamp assigned for model initialization, reference time
! origin for tidal forcing, and model reference time for output
! NetCDF units attribute.
DSTART = 0.0d0 ! days
TIDE_START = 0.0d0 ! days
TIME_REF = 0.0d0 ! yyyymmdd.dd
! Nudging/relaxation time scales, inverse scales will be computed
! internally, [1:Ngrids].
TNUDG == 0.0d0 0.0d0 ! days
ZNUDG == 0.0d0 ! days
M2NUDG == 0.0d0 ! days
M3NUDG == 0.0d0 ! days
! Factor between passive (outflow) and active (inflow) open boundary
! conditions, [1:Ngrids]. If OBCFAC > 1, nudging on inflow is stronger
! than on outflow (recommended).
OBCFAC == 0.0d0 ! nondimensional
! Linear equation of State parameters:
R0 == 1027.0d0 ! kg/m3
T0 == 10.0d0 ! Celsius
S0 == 30.0d0 ! nondimensional
TCOEF == 1.7d-4 ! 1/Celsius
SCOEF == 7.6d-4 ! nondimensional
! Slipperiness parameter: 1.0 (free slip) or -1.0 (no slip)
GAMMA2 == 1.0d0
! Logical switches (TRUE/FALSE) to activate horizontal momentum transport
! point Sources/Sinks (like river runoff transport) and mass point
! Sources/Sinks (like volume vertical influx), [1:Ngrids].
LuvSrc == F ! horizontal momentum transport
LwSrc == F ! volume vertical influx
! Logical switches (TRUE/FALSE) to activate tracers point Sources/Sinks
! (like river runoff) and to specify which tracer variables to consider:
! [1:NAT+NPT,Ngrids]. See glossary below for details.
LtracerSrc == F F ! temperature, salinity, inert
! Logical switches (TRUE/FALSE) to read and process climatology fields.
! See glossary below for details.
LsshCLM == F ! sea-surface height
Lm2CLM == F ! 2D momentum
Lm3CLM == F ! 3D momentum
LtracerCLM == F F ! temperature, salinity, inert
! Logical switches (TRUE/FALSE) to nudge the desired climatology field(s).
! If not analytical climatology fields, users need to turn ON the logical
! switches above to process the fields from the climatology NetCDF file
! that are needed for nudging. See glossary below for details.
LnudgeM2CLM == F ! 2D momentum
LnudgeM3CLM == F ! 3D momentum
LnudgeTCLM == F F ! temperature, salinity, inert
! Starting (DstrS) and ending (DendS) day for adjoint sensitivity forcing.
! DstrS must be less or equal to DendS. If both values are zero, their
! values are reset internally to the full range of the adjoint integration.
DstrS == 0.0d0 ! starting day
DendS == 0.0d0 ! ending day
! Starting and ending vertical levels of the 3D adjoint state variables
! whose sensitivity is required.
KstrS == 1 ! starting level
KendS == 1 ! ending level
! Logical switches (TRUE/FALSE) to specify the adjoint state variables
! whose sensitivity is required.
Lstate(isFsur) == F ! free-surface
Lstate(isUbar) == F ! 2D U-momentum
Lstate(isVbar) == F ! 2D V-momentum
Lstate(isUvel) == F ! 3D U-momentum
Lstate(isVvel) == F ! 3D V-momentum
Lstate(isTvar) == F F ! NT tracers
! Logical switches (TRUE/FALSE) to specify the state variables for
! which Forcing Singular Vectors or Stochastic Optimals is required.
Fstate(isFsur) == F ! free-surface
Fstate(isUbar) == F ! 2D U-momentum
Fstate(isVbar) == F ! 2D V-momentum
Fstate(isUvel) == F ! 3D U-momentum
Fstate(isVvel) == F ! 3D V-momentum
Fstate(isTvar) == F F ! NT tracers
Fstate(isUstr) == T ! surface U-stress
Fstate(isVstr) == T ! surface V-stress
Fstate(isTsur) == F F ! NT surface tracers flux
! Stochastic Optimals time decorrelation scale (days) assumed for
! red noise processes.
SO_decay == 2.0d0 ! days
! Stochastic Optimals surface forcing standard deviation for
! dimensionalization.
SO_sdev(isFsur) == 1.0d0 ! free-surface
SO_sdev(isUbar) == 1.0d0 ! 2D U-momentum
SO_sdev(isVbar) == 1.0d0 ! 2D V-momentum
SO_sdev(isUvel) == 1.0d0 ! 3D U-momentum
SO_sdev(isVvel) == 1.0d0 ! 3D V-momentum
SO_sdev(isTvar) == 1.0d0 1.0d0 ! NT tracers
SO_sdev(isUstr) == 1.0d0 ! surface U-stress
SO_sdev(isVstr) == 1.0d0 ! surface V-stress
SO_sdev(isTsur) == 1.0d0 1.0d0 ! NT surface tracers flux
! Logical switches (TRUE/FALSE) to activate writing of fields into
! HISTORY output file.
Hout(idUvel) == T ! u 3D U-velocity
Hout(idVvel) == T ! v 3D V-velocity
Hout(idu3dE) == F ! u_eastward 3D U-eastward at RHO-points
Hout(idv3dN) == F ! v_northward 3D V-northward at RHO-points
Hout(idWvel) == T ! w 3D W-velocity
Hout(idOvel) == T ! omega omega vertical velocity
Hout(idUbar) == T ! ubar 2D U-velocity
Hout(idVbar) == T ! vbar 2D V-velocity
Hout(idu2dE) == F ! ubar_eastward 2D U-eastward at RHO-points
Hout(idv2dN) == F ! vbar_northward 2D V-northward at RHO-points
Hout(idFsur) == T ! zeta free-surface
Hout(idBath) == T ! bath time-dependent bathymetry
Hout(idTvar) == T T ! temp, salt temperature and salinity
Hout(idUair) == T ! Uwind surface U-wind
Hout(idVair) == T ! Vwind surface V-wind
Hout(idUairE) == F ! Uwind_eastward surface U-wind
Hout(idVairN) == F ! Vwind_northward surface V-wind
Hout(idUsms) == T ! sustr surface U-stress
Hout(idVsms) == T ! svstr surface V-stress
Hout(idUbms) == T ! bustr bottom U-stress
Hout(idVbms) == T ! bvstr bottom V-stress
Hout(idUbrs) == F ! bustrc bottom U-current stress
Hout(idVbrs) == F ! bvstrc bottom V-current stress
Hout(idUbws) == F ! bustrw bottom U-wave stress
Hout(idVbws) == F ! bvstrw bottom V-wave stress
Hout(idUbcs) == F ! bustrcwmax bottom max wave-current U-stress
Hout(idVbcs) == F ! bvstrcwmax bottom max wave-current V-stress
Hout(idUVwc) == F ! bstrcwmax bottom max wave-current stress magnitude
Hout(idUbot) == F ! Ubot bed wave orbital U-velocity
Hout(idVbot) == F ! Vbot bed wave orbital V-velocity
Hout(idUbur) == F ! Ur bottom U-velocity above bed
Hout(idVbvr) == F ! Vr bottom V-velocity above bed
Hout(idW2xx) == F ! Sxx_bar WEC_Mellor 2D Sxx radiation stress
Hout(idW2xy) == F ! Sxy_bar WEC_Mellor 2D Sxy radiation stress
Hout(idW2yy) == F ! Syy_bar WEC_Mellor 2D Syy radiation stress
Hout(idW3xx) == F ! Sxx WEC_Mellor 3D Sxx radiation stress
Hout(idW3xy) == F ! Sxy WEC_Mellor 3D Sxy radiation stress
Hout(idW3yy) == F ! Syy WEC_Mellor 3D Syy radiation stress
Hout(idW3zx) == F ! Szx WEC_Mellor 3D Szx radiation stress
Hout(idW3zy) == F ! Szy WEC_Mellor 3D Szy radiation stress
Hout(idWztw) == F ! zetaw WEC_VF quasi-static sea level adjustment
Hout(idWqsp) == F ! qsp WEC_VF quasi-static pressure
Hout(idWbeh) == F ! bh WEC_VF Bernoulli head
Hout(idU2rs) == F ! ubar_Wecstress WEC 2D U-stress
Hout(idV2rs) == F ! vbar_Wecstress WEC 2D V-stress
Hout(idU3rs) == F ! u_Rstress WEC 3D U-stress
Hout(idV3rs) == F ! v_Rstress WEC 3D V-stress
Hout(idU2Sd) == F ! ubar_stokes 2D U-Stokes velocity
Hout(idV2Sd) == F ! vbar_stokes 2D V-Stokes velocity
Hout(idU3Sd) == F ! u_stokes 3D U-Stokes velocity
Hout(idV3Sd) == F ! v_stokes 3D V-Stokes velocity
Hout(idW3Sd) == F ! omega_stokes 3D Omega-Stokes velocity
Hout(idW3St) == F ! w_stokes 3D W-Stokes velocity
Hout(idWamp) == F ! Hwave wave height
Hout(idWlen) == F ! Lwave wave length-mean
Hout(idWlep) == F ! Lwavep wave length-peak
Hout(idWdir) == F ! Dwave wave direction
Hout(idWptp) == F ! Pwave_top wave surface period
Hout(idWpbt) == F ! Pwave_bot wave bottom period
Hout(idWorb) == F ! Uwave_rms wave bottom orbital velocity
Hout(idWbrk) == F ! Wave_break wave breaking (percent)
Hout(idUwav) == F ! uWave wave-depth avgeraged U-velocity
Hout(idVwav) == F ! vWave wave-depth avgeraged V-velocity
Hout(idWdif) == F ! Dissip_fric wave dissipation due to bottom friction
Hout(idWdib) == F ! Dissip_break wave dissipation due to breaking
Hout(idWdiw) == F ! Dissip_wcap wave dissipation due to white capping
Hout(idWdis) == F ! Dissip_roller wave roller dissipation
Hout(idWrol) == F ! rollA wave roller action density
Hout(idRunoff) == F ! Runoff surface runoff from land
Hout(idPair) == T ! Pair surface air pressure
Hout(idUair) == F ! Uair surface U-wind component
Hout(idVair) == F ! Vair surface V-wind component
Hout(idTsur) == F F ! shflux, ssflux surface net heat and salt flux
Hout(idLhea) == F ! latent latent heat flux
Hout(idShea) == F ! sensible sensible heat flux
Hout(idLrad) == F ! lwrad longwave radiation flux
Hout(idSrad) == F ! swrad shortwave radiation flux
Hout(idEmPf) == F ! EminusP E-P flux
Hout(idevap) == F ! evaporation evaporation rate
Hout(idrain) == F ! rain precipitation rate
Hout(idDano) == F ! rho density anomaly
Hout(idVvis) == F ! AKv vertical viscosity
Hout(idTdif) == F ! AKt vertical T-diffusion
Hout(idSdif) == F ! AKs vertical Salinity diffusion
Hout(idHsbl) == F ! Hsbl depth of surface boundary layer
Hout(idHbbl) == F ! Hbbl depth of bottom boundary layer
Hout(idMtke) == F ! tke turbulent kinetic energy
Hout(idMtls) == F ! gls turbulent length scale
! Logical switches (TRUE/FALSE) to activate writing of extra inert passive
! tracers other than biological and sediment tracers. An inert passive tracer
! is one that it is only advected and diffused. Other processes are ignored.
! These tracers include, for example, dyes, pollutants, oil spills, etc.
! NPT values are expected. However, these switches can be activated using
! compact parameter specification.
Hout(inert) == F ! dye_01, ... inert passive tracers
! Logical switches (TRUE/FALSE) to activate writing of time-averaged
! fields into AVERAGE output file.
Aout(idUvel) == F ! u 3D U-velocity
Aout(idVvel) == F ! v 3D V-velocity
Aout(idu3dE) == F ! u_eastward 3D U-eastward at RHO-points
Aout(idv3dN) == F ! v_northward 3D V-northward at RHO-points
Aout(idWvel) == F ! w 3D W-velocity
Aout(idOvel) == F ! omega omega vertical velocity
Aout(idUbar) == F ! ubar 2D U-velocity
Aout(idVbar) == F ! vbar 2D V-velocity
Aout(idu2dE) == F ! ubar_eastward 2D U-eastward at RHO-points
Aout(idv2dN) == F ! vbar_northward 2D V-northward at RHO-points
Aout(idFsur) == F ! zeta free-surface
Aout(idBath) == F ! bath time-dependent bathymetry
Aout(idTvar) == F F ! temp, salt temperature and salinity
Aout(idUair) == F ! Uwind surface U-wind
Aout(idVair) == F ! Vwind surface V-wind
Aout(idUairE) == F ! Uwind_eastward surface U-wind
Aout(idVairN) == F ! Vwind_northward surface V-wind
Aout(idUsms) == F ! sustr surface U-stress
Aout(idVsms) == F ! svstr surface V-stress
Aout(idUbms) == F ! bustr bottom U-stress
Aout(idVbms) == F ! bvstr bottom V-stress
Aout(idUbrs) == F ! bustrc bottom U-current stress
Aout(idVbrs) == F ! bvstrc bottom V-current stress
Aout(idUbws) == F ! bustrw bottom U-wave stress
Aout(idVbws) == F ! bvstrw bottom V-wave stress
Aout(idUbcs) == F ! bustrcwmax bottom max wave-current U-stress
Aout(idVbcs) == F ! bvstrcwmax bottom max wave-current V-stress
Aout(idUVwc) == F ! bstrcwmax bottom max wave-current stress magnitude
Aout(idUbot) == F ! Ubot bed wave orbital U-velocity
Aout(idVbot) == F ! Vbot bed wave orbital V-velocity
Aout(idUbur) == F ! Ur bottom U-velocity above bed
Aout(idVbvr) == F ! Vr bottom V-velocity above bed
Aout(idW2xx) == F ! Sxx_bar WEC_Mellor 2D Sxx radiation stress
Aout(idW2xy) == F ! Sxy_bar WEC_Mellor 2D Sxy radiation stress
Aout(idW2yy) == F ! Syy_bar WEC_Mellor 2D Syy radiation stress
Aout(idW3xx) == F ! Sxx WEC_Mellor 3D Sxx radiation stress
Aout(idW3xy) == F ! Sxy WEC_Mellor 3D Sxy radiation stress
Aout(idW3yy) == F ! Syy WEC_Mellor 3D Syy radiation stress
Aout(idW3zx) == F ! Szx WEC_Mellor 3D Szx radiation stress
Aout(idW3zy) == F ! Szy WEC_Mellor 3D Szy radiation stress
Aout(idWztw) == F ! zetaw WEC_VF quasi-static sea level adjustment
Aout(idWqsp) == F ! qsp WEC_VF quasi-static pressure
Aout(idWbeh) == F ! bh WEC_VF Bernoulli head
Aout(idU2rs) == F ! ubar_Wecstress WEC 2D U-stress
Aout(idV2rs) == F ! vbar_Wecstress WEC 2D V-stress
Aout(idU3rs) == F ! u_Rstress WEC 3D U-stress
Aout(idV3rs) == F ! v_Rstress WEC 3D V-stress
Aout(idU2Sd) == F ! ubar_stokes 2D U-Stokes velocity
Aout(idV2Sd) == F ! vbar_stokes 2D V-Stokes velocity
Aout(idU3Sd) == F ! u_stokes 3D U-Stokes velocity
Aout(idV3Sd) == F ! v_stokes 3D V-Stokes velocity
Aout(idW3Sd) == F ! omega_stokes 3D Omega-Stokes velocity
Aout(idW3St) == F ! w_stokes 3D W-Stokes velocity
Aout(idWamp) == F ! Hwave wave height
Aout(idWlen) == F ! Lwave wave length-mean
Aout(idWlep) == F ! Lwavep wave length-peak
Aout(idWdir) == F ! Dwave wave direction
Aout(idWptp) == F ! Pwave_top wave surface period
Aout(idWpbt) == F ! Pwave_bot wave bottom period
Aout(idWorb) == F ! Uwave_rms wave bottom orbital velocity
Aout(idWbrk) == F ! Wave_break wave breaking (percent)
Aout(idUwav) == F ! uWave wave-depth avgeraged U-velocity
Aout(idVwav) == F ! vWave wave-depth avgeraged V-velocity
Aout(idWdif) == F ! Dissip_fric wave dissipation due to bottom friction
Aout(idWdib) == F ! Dissip_break wave dissipation due to breaking
Aout(idWdiw) == F ! Dissip_wcap wave dissipation due to white capping
Aout(idWdis) == F ! Dissip_roller wave roller dissipation
Aout(idWrol) == F ! rollA wave roller action density
Aout(idRunoff) == F ! Runoff surface runoff from land
Aout(idPair) == F ! Pair surface air pressure
Aout(idUair) == F ! Uair surface U-wind component
Aout(idVair) == F ! Vair surface V-wind component
Aout(idTsur) == F F ! shflux, ssflux surface net heat and salt flux
Aout(idLhea) == F ! latent latent heat flux
Aout(idShea) == F ! sensible sensible heat flux
Aout(idLrad) == F ! lwrad longwave radiation flux
Aout(idSrad) == F ! swrad shortwave radiation flux
Aout(idevap) == F ! evaporation evaporation rate
Aout(idrain) == F ! rain precipitation rate
Aout(idDano) == F ! rho density anomaly
Aout(idVvis) == F ! AKv vertical viscosity
Aout(idTdif) == F ! AKt vertical T-diffusion
Aout(idSdif) == T ! AKs vertical Salinity diffusion
Aout(idHsbl) == F ! Hsbl depth of surface boundary layer
Aout(idHbbl) == F ! Hbbl depth of bottom boundary layer
Aout(id2dRV) == F ! pvorticity_bar 2D relative vorticity
Aout(id3dRV) == F ! pvorticity 3D relative vorticity
Aout(id2dPV) == F ! rvorticity_bar 2D potential vorticity
Aout(id3dPV) == F ! rvorticity 3D potential vorticity
Aout(idu3dD) == F ! u_detided detided 3D U-velocity
Aout(idv3dD) == F ! v_detided detided 3D V-velocity
Aout(idu2dD) == F ! ubar_detided detided 2D U-velocity
Aout(idv2dD) == F ! vbar_detided detided 2D V-velocity
Aout(idFsuD) == F ! zeta_detided detided free-surface
Aout(idTrcD) == F F ! temp_detided, ... detided temperature and salinity
Aout(idHUav) == F ! Huon u-volume flux, Huon
Aout(idHVav) == F ! Hvom v-volume flux, Hvom
Aout(idUUav) == F ! uu quadratic <u*u> term
Aout(idUVav) == F ! uv quadratic <u*v> term
Aout(idVVav) == F ! vv quadratic <v*v> term
Aout(idU2av) == F ! ubar2 quadratic <ubar*ubar> term
Aout(idV2av) == F ! vbar2 quadratic <vbar*vbar> term
Aout(idZZav) == F ! zeta2 quadratic <zeta*zeta> term
Aout(idTTav) == F F ! temp_2, ... quadratic <t*t> tracer terms
Aout(idUTav) == F F ! u_temp, ... quadratic <u*t> tracer terms
Aout(idVTav) == F F ! v_temp, ... quadratic <v*t> tracer terms
Aout(iHUTav) == F F ! Huon_temp, ... tracer volume flux, <Huon*t>
Aout(iHVTav) == F F ! Hvom_temp, ... tracer volume flux, <Hvom*t>
! Logical switches (TRUE/FALSE) to activate writing of extra inert passive
! tracers other than biological and sediment tracers into the AVERAGE file.
Aout(inert) == F ! dye_01, ... inert passive tracers
! Logical switches (TRUE/FALSE) to activate writing of time-averaged,
! 2D momentum (ubar,vbar) diagnostic terms into DIAGNOSTIC output file.
Dout(M2rate) == F ! ubar_accel, ... acceleration
Dout(M2pgrd) == F ! ubar_prsgrd, ... pressure gradient
Dout(M2fcor) == F ! ubar_cor, ... Coriolis force
Dout(M2hadv) == F ! ubar_hadv, ... horizontal total advection
Dout(M2xadv) == F ! ubar_xadv, ... horizontal XI-advection
Dout(M2yadv) == F ! ubar_yadv, ... horizontal ETA-advection
Dout(M2hrad) == F ! ubar_hrad, ... horizontal total wec_mellor radiation stress
Dout(M2hvis) == F ! ubar_hvisc, ... horizontal total viscosity
Dout(M2xvis) == F ! ubar_xvisc, ... horizontal XI-viscosity
Dout(M2yvis) == F ! ubar_yvisc, ... horizontal ETA-viscosity
Dout(M2sstr) == F ! ubar_sstr, ... surface stress
Dout(M2bstr) == F ! ubar_bstr, ... bottom stress
Dout(M2hjvf) == F ! 2D wec_vf horizontal J vortex force
Dout(M2kvrf) == F ! 2D wec_vf K vortex force
Dout(M2fsco) == F ! 2D wec_vf coriolis-stokes
Dout(M2bstm) == F ! 2D wec_vf bottom streaming
Dout(M2sstm) == F ! 2D wec_vf surface streaming
Dout(M2wrol) == F ! 2D wec_vf wave roller accel
Dout(M2wbrk) == F ! 2D wec_vf wave breaking
Dout(M2zeta) == F ! 2D wec_vf Eulerian sea level adjustment
Dout(M2zetw) == F ! 2D wec_vf quasi-static sea level adjustment
Dout(M2zqsp) == F ! 2D wec_vf quasi-static pressure
Dout(M2zbeh) == F ! 2D wec_vf Bernoulli head
! Logical switches (TRUE/FALSE) to activate writing of time-averaged,
! 3D momentum (u,v) diagnostic terms into DIAGNOSTIC output file.
Dout(M3rate) == F ! u_accel, ... acceleration
Dout(M3pgrd) == F ! u_prsgrd, ... pressure gradient
Dout(M3fcor) == F ! u_cor, ... Coriolis force
Dout(M3hadv) == F ! u_hadv, ... horizontal total advection
Dout(M3xadv) == F ! u_xadv, ... horizontal XI-advection
Dout(M3yadv) == F ! u_yadv, ... horizontal ETA-advection
Dout(M3vadv) == F ! u_vadv, ... vertical advection
Dout(M3hrad) == F ! u_hrad, ... horizontal total wec_mellor radiation stress
Dout(M3vrad) == F ! v_hrad, ... vertical total wec_mellor radiation stress
Dout(M3hvis) == F ! u_hvisc, ... horizontal total viscosity
Dout(M3xvis) == F ! u_xvisc, ... horizontal XI-viscosity
Dout(M3yvis) == F ! u_yvisc, ... horizontal ETA-viscosity
Dout(M3vvis) == F ! u_vvisc, ... vertical viscosity
Dout(M3vjvf) == F ! 3D wec_vf vertical J vortex force
Dout(M3hjvf) == F ! 3D wec_vf horizontal J vortex force
Dout(M3kvrf) == F ! 3D wec_vf K vortex force
Dout(M3fsco) == F ! 3D wec_vf coriolis-stokes
Dout(M3bstm) == F ! 3D wec_vf bottom streaming
Dout(M3sstm) == F ! 3D wec_vf surface streaming
Dout(M3wrol) == F ! 3D wec_vf wave roller accel
Dout(M3wbrk) == F ! 3D wec_vf wave breaking
! Logical switches (TRUE/FALSE) to activate writing of time-averaged,
! active (temperature and salinity) and passive (inert) tracer diagnostic
! terms into DIAGNOSTIC output file: [1:NAT+NPT,Ngrids].
Dout(iTrate) == F F ! temp_rate, ... time rate of change
Dout(iThadv) == F F ! temp_hadv, ... horizontal total advection
Dout(iTxadv) == F F ! temp_xadv, ... horizontal XI-advection
Dout(iTyadv) == F F ! temp_yadv, ... horizontal ETA-advection
Dout(iTvadv) == F F ! temp_vadv, ... vertical advection
Dout(iThdif) == F F ! temp_hdiff, ... horizontal total diffusion
Dout(iTxdif) == F F ! temp_xdiff, ... horizontal XI-diffusion
Dout(iTydif) == F F ! temp_ydiff, ... horizontal ETA-diffusion
Dout(iTsdif) == F F ! temp_sdiff, ... horizontal S-diffusion
Dout(iTvdif) == F F ! temp_vdiff, ... vertical diffusion
! Generic User parameters, [1:NUSER].
NUSER = 0
USER = 0.d0
! NetCDF-4/HDF5 compression parameters for output files.
NC_SHUFFLE = 1 ! if non-zero, turn on shuffle filter
NC_DEFLATE = 1 ! if non-zero, turn on deflate filter
NC_DLEVEL = 1 ! deflate level [0-9]
! Input NetCDF file names, [1:Ngrids].
GRDNAME == /home/hpd14/Documents/COAWST_V3.2/Projects/pool/pool_grid.nc
ININAME == /home/hpd14/Documents/COAWST_V3.2/Projects/pool/pool_init.nc
! ITLNAME == ocean_itl.nc
! IRPNAME == ocean_irp.nc
! IADNAME == ocean_iad.nc
! FWDNAME == ocean_fwd.nc
! ADSNAME == ocean_ads.nc
! Nesting grids connectivity data: contact points information. This
! NetCDF file is special and complex. It is currently generated using
! the script "matlab/grid/contact.m" from the Matlab repository.
! NGCNAME = ocean_ngc.nc
! Input lateral boundary conditions and climatology file names. The
! USER has the option to split input data time records into several
! NetCDF files (see prologue instructions above). If so, use a single
! line per entry with a vertical bar (|) symbol after each entry,
! except the last one.
NCLMFILES == 1 ! number of climate files
! CLMNAME == ocean_clm.nc
NBCFILES == 1 ! number of boundary files
! BRYNAME == ocean_bry.nc
! Input climatology nudging coefficients file name.
! NUDNAME == ocean_nud.nc
! Input Sources/Sinks forcing (like river runoff) file name.
! SSFNAME == ocean_rivers.nc
! Input forcing NetCDF file name(s). The USER has the option to enter
! several file names for each nested grid. For example, the USER may
! have different files for wind products, heat fluxes, tides, etc.
! The model will scan the file list and will read the needed data from
! the first file in the list containing the forcing field. Therefore,
! the order of the file names is very important. If using multiple forcing
! files per grid, first enter all the file names for grid 1, then grid 2,
! and so on. It is also possible to split input data time records into
! several NetCDF files (see prologue instructions above). Use a single line
! per entry with a continuation (\) or vertical bar (|) symbol after each
! entry, except the last one.
NFFILES == 1 ! number of forcing files
FRCNAME == /home/hpd14/Documents/COAWST_V3.2/Projects/pool/pool_wind.nc
! Output NetCDF file names, [1:Ngrids].
GSTNAME == ocean_gst.nc
RSTNAME == ocean_rst.nc
HISNAME == ocean_pool_his.nc
TLMNAME == ocean_tlm.nc
TLFNAME == ocean_tlf.nc
ADJNAME == ocean_adj.nc
AVGNAME == ocean_avg.nc
DIANAME == ocean_dia.nc
STANAME == ocean_sta.nc
FLTNAME == ocean_flt.nc
! Input ASCII parameter filenames.
APARNAM = ROMS/External/s4dvar.in
SPOSNAM = ROMS/External/stations.in
FPOSNAM = ROMS/External/floats.in
BPARNAM = ROMS/External/bioFasham.in
SPARNAM = ROMS/External/sediment.in
USRNAME = ROMS/External/MyFile.dat
- zhangtianhao
- Posts: 50
- Joined: Fri May 11, 2018 5:36 pm
- Location: Beijing Normal University
Re: My constant wind-induced case seems strange
I think the result should be like this:
( I draw this picture by the analytical formula)
( I draw this picture by the analytical formula)
- Attachments
-
- pool2.png (15.21 KiB) Viewed 3653 times
Re: My constant wind-induced case seems strange
THETA_S == 8.0d0 ! surface stretching parameter
THETA_B == 0.5d0 ! bottom stretching parameter
TCLINE == 20.0d0 ! critical depth (m)
use something like Gout=get_roms_grid('ocean_his.nc',tidx);
this will give you a field Gout.s_rho that you can avg to get the vertical locations of your grid. how did you get the 'z' values in your plot?
Ok, then i saw your bc's and it says everything is closed. Try to do a periodic in N-S or E-W.
-j
THETA_B == 0.5d0 ! bottom stretching parameter
TCLINE == 20.0d0 ! critical depth (m)
use something like Gout=get_roms_grid('ocean_his.nc',tidx);
this will give you a field Gout.s_rho that you can avg to get the vertical locations of your grid. how did you get the 'z' values in your plot?
Ok, then i saw your bc's and it says everything is closed. Try to do a periodic in N-S or E-W.
-j
- zhangtianhao
- Posts: 50
- Joined: Fri May 11, 2018 5:36 pm
- Location: Beijing Normal University
Re: My constant wind-induced case seems strange
Thank you for your suggestion! By the way, I have another question, I try another case, a hurricane-induced flow field (set a hurricane on the centre of a square field). If I just do a periodic N-S or W-E, the field will be asymmetric. But if I do a periodic N-S-W-E, it seems strange...jcwarner wrote:THETA_S == 8.0d0 ! surface stretching parameter
THETA_B == 0.5d0 ! bottom stretching parameter
TCLINE == 20.0d0 ! critical depth (m)
use something like Gout=get_roms_grid('ocean_his.nc',tidx);
this will give you a field Gout.s_rho that you can avg to get the vertical locations of your grid. how did you get the 'z' values in your plot?
Ok, then i saw your bc's and it says everything is closed. Try to do a periodic in N-S or E-W.
-j