/[MITgcm]/MITgcm/model/inc/PARAMS.h
ViewVC logotype

Diff of /MITgcm/model/inc/PARAMS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.165 by baylor, Fri Sep 16 19:33:05 2005 UTC revision 1.172 by stephd, Thu Dec 8 00:15:05 2005 UTC
# Line 151  C                           =0 Linear fr Line 151  C                           =0 Linear fr
151  C     select_rStar        :: option related to r* vertical coordinate  C     select_rStar        :: option related to r* vertical coordinate
152  C                           =0 (default) use r coord. ; > 0 use r*  C                           =0 (default) use r coord. ; > 0 use r*
153  C     tempAdvScheme       :: Temp. Horiz.Advection scheme selector  C     tempAdvScheme       :: Temp. Horiz.Advection scheme selector
154  C     tempVertAdvScheme   :: Temp. Vert. Advection scheme selector  C     tempVertAdvScheme   :: Temp. Vert. Advection scheme selector
155  C     saltAdvScheme       :: Salt. Horiz.advection scheme selector  C     saltAdvScheme       :: Salt. Horiz.advection scheme selector
156  C     saltVertAdvScheme   :: Salt. Vert. Advection scheme selector  C     saltVertAdvScheme   :: Salt. Vert. Advection scheme selector
157    C     selectKEscheme      :: Kinetic Energy scheme selector (Vector Inv.)
158  C     debugLevel          :: debug level selector: higher -> more writing  C     debugLevel          :: debug level selector: higher -> more writing
159    
160        COMMON /PARM_I/        COMMON /PARM_I/
# Line 168  C     debugLevel          :: debug level Line 169  C     debugLevel          :: debug level
169       &        nonlinFreeSurf, select_rStar,       &        nonlinFreeSurf, select_rStar,
170       &        tempAdvScheme, tempVertAdvScheme,       &        tempAdvScheme, tempVertAdvScheme,
171       &        saltAdvScheme, saltVertAdvScheme,       &        saltAdvScheme, saltVertAdvScheme,
172         &        selectKEscheme,
173       &        debugLevel       &        debugLevel
174        INTEGER cg2dMaxIters        INTEGER cg2dMaxIters
175        INTEGER cg2dChkResFreq        INTEGER cg2dChkResFreq
# Line 186  C     debugLevel          :: debug level Line 188  C     debugLevel          :: debug level
188        INTEGER select_rStar        INTEGER select_rStar
189        INTEGER tempAdvScheme, tempVertAdvScheme        INTEGER tempAdvScheme, tempVertAdvScheme
190        INTEGER saltAdvScheme, saltVertAdvScheme        INTEGER saltAdvScheme, saltVertAdvScheme
191          INTEGER selectKEscheme
192        INTEGER debugLevel        INTEGER debugLevel
193    
194  C  C
# Line 226  C                     and off. Line 229  C                     and off.
229  C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux  C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux
230  C                         as a real Fresh Water (=> changes the Sea Level)  C                         as a real Fresh Water (=> changes the Sea Level)
231  C                         if F, converts P+R-E to salt flux (no SL effect)  C                         if F, converts P+R-E to salt flux (no SL effect)
232  C     useFullLeith   :: Set to true to use full Leith viscosity (may be unstable  C     useFullLeith   :: Set to true to use full Leith viscosity(may be unstable
233  C                       on irregular grids)  C                       on irregular grids)
234  C     useAnisotropicViscAGridMax :: Set to true to use Alistair's latest  C     useAreaViscLength :: Set to true to use old scaling for viscous
235  C              anisotropic length scale.  It is used only for maximum viscosity  C              lengths, e.g., L2=Raz.  May be preferable for cube sphere.
 C              calculations.  Alistair recommends a value of viscA*GridMax=.25  
236  C     useStrainTensionVisc:: Set to true to use Strain-Tension viscous terms  C     useStrainTensionVisc:: Set to true to use Strain-Tension viscous terms
237  C     rigidLid            :: Set to true to use rigid lid  C     rigidLid            :: Set to true to use rigid lid
238  C     implicitFreeSurface :: Set to true to use implcit free surface  C     implicitFreeSurface :: Set to true to use implcit free surface
# Line 258  C     saltImplVertAdv :: Turns on implic Line 260  C     saltImplVertAdv :: Turns on implic
260  C     momImplVertAdv  :: Turns on implicit vertical advection for Momentum  C     momImplVertAdv  :: Turns on implicit vertical advection for Momentum
261  C     multiDimAdvection :: Flag that enable multi-dimension advection  C     multiDimAdvection :: Flag that enable multi-dimension advection
262  C     useMultiDimAdvec  :: True if multi-dim advection is used at least once  C     useMultiDimAdvec  :: True if multi-dim advection is used at least once
263  C     forcing_In_AB :: if False, put forcing (Temp,Salt,Tracers) contribution  C     forcing_In_AB     :: if False, put forcing (Temp,Salt,Tracers) contribution
264  C                      out off Adams-Bashforth time stepping.  C                          out off Adams-Bashforth time stepping.
265    C     doAB_onGtGs       :: if the Adams-Bashforth time stepping is used, always
266    C                          apply AB on tracer tendencies (rather than on Tracer)
267  C     startFromPickupAB2 :: with AB-3 code, start from an AB-2 pickup  C     startFromPickupAB2 :: with AB-3 code, start from an AB-2 pickup
268  C     doThetaClimRelax :: Set true if relaxation to temperature  C     doThetaClimRelax :: Set true if relaxation to temperature
269  C                        climatology is required.  C                        climatology is required.
# Line 307  C                        & Last iteratio Line 311  C                        & Last iteratio
311       & tempAdvection, tempForcing,       & tempAdvection, tempForcing,
312       & saltAdvection, saltForcing,       & saltAdvection, saltForcing,
313       & useRealFreshWaterFlux,       & useRealFreshWaterFlux,
314       & useFullLeith, useAnisotropicViscAGridMax, useStrainTensionVisc,       & useFullLeith, useStrainTensionVisc,
315         & useAreaViscLength,
316       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,
317       & momStepping, tempStepping, saltStepping,       & momStepping, tempStepping, saltStepping,
318       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,
# Line 318  C                        & Last iteratio Line 323  C                        & Last iteratio
323       & useAbsVorticity, upwindShear,       & useAbsVorticity, upwindShear,
324       & implicitDiffusion, implicitViscosity,       & implicitDiffusion, implicitViscosity,
325       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,
326       & multiDimAdvection, useMultiDimAdvec, forcing_In_AB,       & multiDimAdvection, useMultiDimAdvec,
327         & forcing_In_AB, doAB_onGtGs,
328       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,
329       & periodicExternalForcing,       & periodicExternalForcing,
330       & fluidIsAir, fluidIsWater,       & fluidIsAir, fluidIsWater,
# Line 353  C                        & Last iteratio Line 359  C                        & Last iteratio
359        LOGICAL saltForcing        LOGICAL saltForcing
360        LOGICAL useRealFreshWaterFlux        LOGICAL useRealFreshWaterFlux
361        LOGICAL useFullLeith        LOGICAL useFullLeith
       LOGICAL useAnisotropicViscAGridMax  
362        LOGICAL useStrainTensionVisc        LOGICAL useStrainTensionVisc
363          LOGICAL useAreaViscLength
364        LOGICAL rigidLid        LOGICAL rigidLid
365        LOGICAL implicitFreeSurface        LOGICAL implicitFreeSurface
366        LOGICAL exactConserv        LOGICAL exactConserv
# Line 383  C                        & Last iteratio Line 389  C                        & Last iteratio
389        LOGICAL multiDimAdvection        LOGICAL multiDimAdvection
390        LOGICAL useMultiDimAdvec        LOGICAL useMultiDimAdvec
391        LOGICAL forcing_In_AB        LOGICAL forcing_In_AB
392          LOGICAL doAB_onGtGs
393        LOGICAL doThetaClimRelax        LOGICAL doThetaClimRelax
394        LOGICAL doSaltClimRelax        LOGICAL doSaltClimRelax
395        LOGICAL doTr1ClimRelax        LOGICAL doTr1ClimRelax
# Line 444  C     rhoConst  :: Vertically constant r Line 451  C     rhoConst  :: Vertically constant r
451  C     rhoConstFresh :: Constant reference density for fresh water (rain)  C     rhoConstFresh :: Constant reference density for fresh water (rain)
452  C     tRef      :: reference vertical profile for potential temperature  C     tRef      :: reference vertical profile for potential temperature
453  C     sRef      :: reference vertical profile for salinity/specific humidity  C     sRef      :: reference vertical profile for salinity/specific humidity
454    C     phiRef    :: reference potential (pressure/rho, geopotential) profile
455  C     phiMin    :: Latitude of southern most cell face.  C     phiMin    :: Latitude of southern most cell face.
456  C     thetaMin  :: Longitude of western most cell face (this  C     thetaMin  :: Longitude of western most cell face (this
457  C                 is an "inert" parameter but it is included  C                 is an "inert" parameter but it is included
# Line 476  C                  (act on Divergence pa Line 484  C                  (act on Divergence pa
484  C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally  C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally
485  C                  (act on Vorticity  part) ( m^4/s )  C                  (act on Vorticity  part) ( m^4/s )
486  C     viscC2leith :: Leith non-dimensional viscosity factor (grad(vort))  C     viscC2leith :: Leith non-dimensional viscosity factor (grad(vort))
487  C     viscC2leithD :: Modified Leith non-dimensional viscosity factor (grad(div))  C     viscC2leithD :: Modified Leith non-dimensional visc. factor (grad(div))
488  C     viscC2smag  :: Smagorinsky non-dimensional viscosity factor (harmonic)  C     viscC2smag  :: Smagorinsky non-dimensional viscosity factor (harmonic)
489  C     viscC4smag  :: Smagorinsky non-dimensional viscosity factor (biharmonic)  C     viscC4smag  :: Smagorinsky non-dimensional viscosity factor (biharmonic)
490  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of
491  C                 momentum laterally ( m^2/s )  C                   momentum laterally ( m^2/s )
492    C     viscAhReMax :: Maximum gridscale Reynolds number for eddy viscosity
493    C                   coeff. for mixing of momentum laterally (non-dim)
494  C     viscAhGridMax:: maximum and minimum harmonic viscosity coefficients ...  C     viscAhGridMax:: maximum and minimum harmonic viscosity coefficients ...
495  C     viscAhGridMin::  in terms of non-dimensional grid-size dependent viscosity  C     viscAhGridMin::  in terms of non-dimensional grid-size dependent visc.
496  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of
497  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
498    C     viscA4ReMax :: Maximum Gridscale Reynolds number for
499    C                  biharmonic viscosity coeff. momentum laterally (non-dim)
500  C     viscAhGrid:: non-dimensional grid-size dependent viscosity  C     viscAhGrid:: non-dimensional grid-size dependent viscosity
501  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity
502  C     viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ...  C     viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ...
# Line 578  C     recip_horiVertRatio  ( 1 if horiz Line 590  C     recip_horiVertRatio  ( 1 if horiz
590  C                          ( g*rho if horiz in m and vertical in Pa ).  C                          ( g*rho if horiz in m and vertical in Pa ).
591  C     Ro_SeaLevel        :: standard position of Sea-Level in "R" coordinate, used as  C     Ro_SeaLevel        :: standard position of Sea-Level in "R" coordinate, used as
592  C                          starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)  C                          starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)
593    C     sideDragFactor     :: side-drag scaling factor (used only if no_slip_sides)
594    C                           (default=2: full drag ; =1: gives half-slip BC)
595  C     bottomDragLinear   :: Drag coefficient built in to core dynamics  C     bottomDragLinear   :: Drag coefficient built in to core dynamics
596  C      --"-"--  Quadratic  ( linear: 1/s, quadratic: 1/m )  C     bottomDragQuadratic   ( linear: 1/s, quadratic: 1/m )
597    C     nh_Am2        :: scales the non-hydrostatic terms and changes internal scales
598    C                      (i.e. allows convection at different Rayleigh numbers)
599        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
600       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
601       & delR, delRc, delX, delY,       & delR, delRc, delX, delY,
# Line 593  C      --"-"--  Quadratic  ( linear: 1/s Line 609  C      --"-"--  Quadratic  ( linear: 1/s
609       & viscAhD, viscAhZ, viscA4D, viscA4Z,       & viscAhD, viscAhZ, viscA4D, viscA4Z,
610       & viscA4, viscA4W,       & viscA4, viscA4W,
611       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,
612         & viscAhRemax, viscA4Remax,
613       & viscC4leith, viscC4leithD, viscAr,       & viscC4leith, viscC4leithD, viscAr,
614       & diffKhT, diffK4T, diffKrNrT,       & diffKhT, diffK4T, diffKrNrT,
615       & diffKhS, diffK4S, diffKrNrS,       & diffKhS, diffK4S, diffKrNrS,
# Line 601  C      --"-"--  Quadratic  ( linear: 1/s Line 618  C      --"-"--  Quadratic  ( linear: 1/s
618       & hFacMin, hFacMinDz, hFacInf, hFacSup,       & hFacMin, hFacMinDz, hFacInf, hFacSup,
619       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
620       & recip_rhoConst, rhoConst,       & recip_rhoConst, rhoConst,
621       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,       & rhoConstFresh, convertEmP2rUnit, tRef, sRef, phiRef,
622       & baseTime, startTime, endTime,       & baseTime, startTime, endTime,
623       & chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,       & chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,
624       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,
# Line 615  C      --"-"--  Quadratic  ( linear: 1/s Line 632  C      --"-"--  Quadratic  ( linear: 1/s
632       & hFacMinDr, hFacMinDp,       & hFacMinDr, hFacMinDp,
633       & horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
634       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, Ro_SeaLevel,
635       & bottomDragLinear,bottomDragQuadratic,nh_Am2,       & sideDragFactor, bottomDragLinear, bottomDragQuadratic, nh_Am2,
636       & tCylIn, tCylOut       & tCylIn, tCylOut
637    
       _RL nh_Am2  
638        _RL cg2dTargetResidual        _RL cg2dTargetResidual
639        _RL cg2dTargetResWunit        _RL cg2dTargetResWunit
640        _RL cg3dTargetResidual        _RL cg3dTargetResidual
# Line 653  C      --"-"--  Quadratic  ( linear: 1/s Line 669  C      --"-"--  Quadratic  ( linear: 1/s
669        _RL viscAhD        _RL viscAhD
670        _RL viscAhZ        _RL viscAhZ
671        _RL viscAhMax        _RL viscAhMax
672          _RL viscAhReMax
673        _RL viscAhGrid        _RL viscAhGrid
674        _RL viscAhGridMax        _RL viscAhGridMax
675        _RL viscAhGridMin        _RL viscAhGridMin
# Line 666  C      --"-"--  Quadratic  ( linear: 1/s Line 683  C      --"-"--  Quadratic  ( linear: 1/s
683        _RL viscA4D        _RL viscA4D
684        _RL viscA4Z        _RL viscA4Z
685        _RL viscA4Max        _RL viscA4Max
686          _RL viscA4ReMax
687        _RL viscA4Grid, viscA4GridMax, viscA4GridMin        _RL viscA4Grid, viscA4GridMax, viscA4GridMin
688        _RL viscC4leith        _RL viscC4leith
689        _RL viscC4leithD        _RL viscC4leithD
# Line 693  C      --"-"--  Quadratic  ( linear: 1/s Line 711  C      --"-"--  Quadratic  ( linear: 1/s
711        _RL convertEmP2rUnit        _RL convertEmP2rUnit
712        _RL tRef(Nr)        _RL tRef(Nr)
713        _RL sRef(Nr)        _RL sRef(Nr)
714          _RL phiRef(2*Nr+1)
715        _RL baseTime        _RL baseTime
716        _RL startTime        _RL startTime
717        _RL endTime        _RL endTime
# Line 729  C      --"-"--  Quadratic  ( linear: 1/s Line 748  C      --"-"--  Quadratic  ( linear: 1/s
748        _RL recip_horiVertRatio        _RL recip_horiVertRatio
749        _RL ivdc_kappa        _RL ivdc_kappa
750        _RL Ro_SeaLevel        _RL Ro_SeaLevel
751          _RL sideDragFactor
752        _RL bottomDragLinear        _RL bottomDragLinear
753        _RL bottomDragQuadratic        _RL bottomDragQuadratic
754          _RL nh_Am2
755        _RL tCylIn        _RL tCylIn
756        _RL tCylOut        _RL tCylOut
757    
# Line 776  C Logical flags for selecting packages Line 797  C Logical flags for selecting packages
797        LOGICAL useFLT        LOGICAL useFLT
798        LOGICAL usePTRACERS        LOGICAL usePTRACERS
799        LOGICAL useGCHEM        LOGICAL useGCHEM
800          LOGICAL useRBCS
801        LOGICAL useSBO        LOGICAL useSBO
802        LOGICAL useSEAICE        LOGICAL useSEAICE
803        LOGICAL useBulkForce        LOGICAL useBulkForce
# Line 790  C Logical flags for selecting packages Line 812  C Logical flags for selecting packages
812        COMMON /PARM_PACKAGES/        COMMON /PARM_PACKAGES/
813       &        useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO,       &        useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO,
814       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,
815       &        usePTRACERS, useGCHEM,       &        usePTRACERS, useGCHEM, useRBCS,
816       &        useSBO, useSEAICE, useThSIce, useBulkForce,       &        useSBO, useSEAICE, useThSIce, useBulkForce,
817       &        usefizhi, usegridalt, usediagnostics, useEBM, useMNC,       &        usefizhi, usegridalt, usediagnostics, useEBM, useMNC,
818       &        usePP81, useMY82, useOPPS, useGGL90, useMATRIX,       &        usePP81, useMY82, useOPPS, useGGL90, useMATRIX,

Legend:
Removed from v.1.165  
changed lines
  Added in v.1.172

  ViewVC Help
Powered by ViewVC 1.1.22