/[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.138 by mlosch, Fri Nov 19 01:33:31 2004 UTC revision 1.149 by edhill, Sun Apr 3 05:16:43 2005 UTC
# Line 68  C     surfQnetFile    :: File containing Line 68  C     surfQnetFile    :: File containing
68  C     surfQswFile     :: File containing surface shortwave radiation  C     surfQswFile     :: File containing surface shortwave radiation
69  C     dQdTfile        :: File containing thermal relaxation coefficient  C     dQdTfile        :: File containing thermal relaxation coefficient
70  C     EmPmRfile       :: File containing surface fresh water flux  C     EmPmRfile       :: File containing surface fresh water flux
71    C     saltFluxFile    :: File containing surface salt flux
72  C     pLoadFile       :: File containing pressure loading  C     pLoadFile       :: File containing pressure loading
73    C     eddyTauxFile    :: File containing zonal Eddy stress data
74    C     eddyTauyFile    :: File containing meridional Eddy stress data
75  C     buoyancyRelation :: Flag used to indicate which relation to use to  C     buoyancyRelation :: Flag used to indicate which relation to use to
76  C                        get buoyancy.  C                        get buoyancy.
77  C     eosType         :: choose the equation of state:  C     eosType         :: choose the equation of state:
# Line 79  C     the_run_name    :: string identify Line 82  C     the_run_name    :: string identify
82       &                hydrogThetaFile, hydrogSaltFile,       &                hydrogThetaFile, hydrogSaltFile,
83       &                zonalWindFile, meridWindFile, thetaClimFile,       &                zonalWindFile, meridWindFile, thetaClimFile,
84       &                saltClimFile, buoyancyRelation,       &                saltClimFile, buoyancyRelation,
85       &                EmPmRfile, surfQfile, surfQnetFile, surfQswFile,       &                EmPmRfile, saltFluxFile,
86         &                surfQfile, surfQnetFile, surfQswFile,
87       &                uVelInitFile, vVelInitFile, pSurfInitFile,       &                uVelInitFile, vVelInitFile, pSurfInitFile,
88       &                dQdTfile, ploadFile,       &                dQdTfile, ploadFile,
89         &                eddyTauxFile, eddyTauyFile,
90       &                eosType, pickupSuff,       &                eosType, pickupSuff,
91       &                mdsioLocalDir,       &                mdsioLocalDir,
92       &                the_run_name       &                the_run_name
# Line 97  C     the_run_name    :: string identify Line 102  C     the_run_name    :: string identify
102        CHARACTER*(MAX_LEN_FNAM) surfQnetFile        CHARACTER*(MAX_LEN_FNAM) surfQnetFile
103        CHARACTER*(MAX_LEN_FNAM) surfQswFile        CHARACTER*(MAX_LEN_FNAM) surfQswFile
104        CHARACTER*(MAX_LEN_FNAM) EmPmRfile        CHARACTER*(MAX_LEN_FNAM) EmPmRfile
105          CHARACTER*(MAX_LEN_FNAM) saltFluxFile
106        CHARACTER*(MAX_LEN_FNAM) buoyancyRelation        CHARACTER*(MAX_LEN_FNAM) buoyancyRelation
107        CHARACTER*(MAX_LEN_FNAM) uVelInitFile        CHARACTER*(MAX_LEN_FNAM) uVelInitFile
108        CHARACTER*(MAX_LEN_FNAM) vVelInitFile        CHARACTER*(MAX_LEN_FNAM) vVelInitFile
109        CHARACTER*(MAX_LEN_FNAM) pSurfInitFile        CHARACTER*(MAX_LEN_FNAM) pSurfInitFile
110        CHARACTER*(MAX_LEN_FNAM) dQdTfile        CHARACTER*(MAX_LEN_FNAM) dQdTfile
111        CHARACTER*(MAX_LEN_FNAM) ploadFile        CHARACTER*(MAX_LEN_FNAM) ploadFile
112          CHARACTER*(MAX_LEN_FNAM) eddyTauxFile
113          CHARACTER*(MAX_LEN_FNAM) eddyTauyFile
114        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir
115        CHARACTER*(MAX_LEN_FNAM) the_run_name        CHARACTER*(MAX_LEN_FNAM) the_run_name
116        CHARACTER*(6) eosType        CHARACTER*(6) eosType
# Line 207  C                     and off. Line 215  C                     and off.
215  C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux  C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux
216  C                         as a real Fresh Water (=> changes the Sea Level)  C                         as a real Fresh Water (=> changes the Sea Level)
217  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)
218    C     useFullLeith   :: Set to true to use full Leith viscosity (may be unstable
219    C                       on irregular grids)
220  C     rigidLid            :: Set to true to use rigid lid  C     rigidLid            :: Set to true to use rigid lid
221  C     implicitFreeSurface :: Set to true to use implcit free surface  C     implicitFreeSurface :: Set to true to use implcit free surface
222  C     exactConserv        :: Set to true to conserve exactly the total Volume  C     exactConserv        :: Set to true to conserve exactly the total Volume
# Line 265  C     pickup_read_mdsio  :: use mdsio to Line 275  C     pickup_read_mdsio  :: use mdsio to
275  C     pickup_write_immed :: echo the pickup immediately (for conversion)  C     pickup_write_immed :: echo the pickup immediately (for conversion)
276  C     timeave_mdsio      :: use mdsio for timeave output  C     timeave_mdsio      :: use mdsio for timeave output
277  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output
278    C     seaice_mdsio       :: use mdsio for seaice output
279  C     monitor_stdio      :: use stdio for monitor output  C     monitor_stdio      :: use stdio for monitor output
280    C     calendarDumps :: When set, approximate months (30-31 days) and years (360-372 days)
281    C                      for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq,
282    C                      KPP_taveFreq, and freq in pkg/diagnostics are converted to exact
283    C                      calendar months and years.  Requires pkg/cal.
284        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
285       & usingCurvilinearGrid, usingCylindricalGrid,       & usingCurvilinearGrid, usingCylindricalGrid,
286       & no_slip_sides,no_slip_bottom,       & no_slip_sides,no_slip_bottom,
# Line 275  C     monitor_stdio      :: use stdio fo Line 290  C     monitor_stdio      :: use stdio fo
290       & tempAdvection, tempForcing,       & tempAdvection, tempForcing,
291       & saltAdvection, saltForcing,       & saltAdvection, saltForcing,
292       & useRealFreshWaterFlux,       & useRealFreshWaterFlux,
293         & useFullLeith,
294       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,
295       & momStepping, tempStepping, saltStepping,       & momStepping, tempStepping, saltStepping,
296       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,
# Line 295  C     monitor_stdio      :: use stdio fo Line 311  C     monitor_stdio      :: use stdio fo
311       & usePickupBeforeC35, usePickupBeforeC54, debugMode,       & usePickupBeforeC35, usePickupBeforeC54, debugMode,
312       & readPickupWithTracer, writePickupWithTracer,       & readPickupWithTracer, writePickupWithTracer,
313       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,
314       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio, seaice_mdsio,
315       & outputTypesInclusive       & outputTypesInclusive,
316         & inAdMode, inAdTrue, inAdFalse, inAdExact,
317         & calendarDumps
318    
319        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
320        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
# Line 318  C     monitor_stdio      :: use stdio fo Line 336  C     monitor_stdio      :: use stdio fo
336        LOGICAL saltAdvection        LOGICAL saltAdvection
337        LOGICAL saltForcing        LOGICAL saltForcing
338        LOGICAL useRealFreshWaterFlux        LOGICAL useRealFreshWaterFlux
339          LOGICAL useFullLeith
340        LOGICAL rigidLid        LOGICAL rigidLid
341        LOGICAL implicitFreeSurface        LOGICAL implicitFreeSurface
342        LOGICAL exactConserv        LOGICAL exactConserv
# Line 370  C     monitor_stdio      :: use stdio fo Line 389  C     monitor_stdio      :: use stdio fo
389        LOGICAL pickup_read_mdsio, pickup_write_mdsio        LOGICAL pickup_read_mdsio, pickup_write_mdsio
390        LOGICAL pickup_write_immed        LOGICAL pickup_write_immed
391        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio
392          LOGICAL seaice_mdsio
393        LOGICAL outputTypesInclusive        LOGICAL outputTypesInclusive
394          LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact
395          LOGICAL calendarDumps
396    
397  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
398  C     cg2dTargetResidual  C     cg2dTargetResidual
# Line 426  C     viscAr    :: Eddy viscosity coeff. Line 448  C     viscAr    :: Eddy viscosity coeff.
448  C                 momentum vertically ( units of r^2/s )  C                 momentum vertically ( units of r^2/s )
449  C     viscA4    :: Biharmonic viscosity coeff. for mixing of  C     viscA4    :: Biharmonic viscosity coeff. for mixing of
450  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
451    C     viscA4W   :: Biharmonic viscosity coeff. for mixing of vertical
452    C                 momentum laterally, no effect for hydrostatic
453    C                 model, defaults to viscA4 if unset ( m^2/s )
454  C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally
455  C                  (act on Divergence part) ( m^2/s )  C                  (act on Divergence part) ( m^2/s )
456  C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally
# Line 434  C     viscA4D   :: Biharmonic viscosity Line 459  C     viscA4D   :: Biharmonic viscosity
459  C                  (act on Divergence part) ( m^4/s )  C                  (act on Divergence part) ( m^4/s )
460  C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally  C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally
461  C                  (act on Vorticity  part) ( m^4/s )  C                  (act on Vorticity  part) ( m^4/s )
462  C     viscC2leith :: Leith non-dimensional viscosity factor  C     viscC2leith :: Leith non-dimensional viscosity factor (grad(vort))
463    C     viscC2leithD :: Modified Leith non-dimensional viscosity factor (grad(div))
464    C     viscC2smag  :: Smagorinsky non-dimensional viscosity factor
465  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of
466  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
467    C     viscAhGridMax:: maximum and minimum harmonic viscosity coefficients ...
468    C     viscAhGridMin::  in terms of non-dimensional grid-size dependent viscosity
469  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of
470  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
471  C     viscAhGrid:: non-dimensional grid-size dependent viscosity  C     viscAhGrid:: non-dimensional grid-size dependent viscosity
472  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity
473  C     viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ...  C     viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ...
474  C     viscA4GridMin::  in terms of non-dimensional grid-size dependent viscosity  C     viscA4GridMin::  in terms of non-dimensional grid-size dependent viscosity
475  C     viscC4leith :: Leith non-dimensional viscosity factor  C     viscC4leith :: Leith non-dimensional viscosity factor (grad(vort))
476    C     viscC4leithD :: Modified Leith non-dimensional viscosity factor (grad(div))
477  C     diffKhT   :: Laplacian diffusion coeff. for mixing of  C     diffKhT   :: Laplacian diffusion coeff. for mixing of
478  C                 heat laterally ( m^2/s )  C                 heat laterally ( m^2/s )
479  C     diffKrNrT :: vertical profile of Laplacian diffusion coeff.  C     diffKrNrT :: vertical profile of Laplacian diffusion coeff.
# Line 468  C                    it will be the deep Line 498  C                    it will be the deep
498  C                    Frequency of checkpointing and dumping of the model state  C                    Frequency of checkpointing and dumping of the model state
499  C                    are referenced to this clock. ( s )  C                    are referenced to this clock. ( s )
500  C     deltaTMom    :: Timestep for momemtum equations ( s )  C     deltaTMom    :: Timestep for momemtum equations ( s )
501  C     deltaTtracer :: Timestep for tracer equations ( s )  C     dTtracerLev  :: Timestep for tracer equations ( s ), function of level k
502  C     deltaTfreesurf :: Timestep for free-surface equation ( s )  C     deltaTfreesurf :: Timestep for free-surface equation ( s )
503  C     freesurfFac  :: Parameter to turn implicit free surface term on or off  C     freesurfFac  :: Parameter to turn implicit free surface term on or off
504  C                    freesurfac = 1. uses implicit free surface  C                    freesurfac = 1. uses implicit free surface
# Line 534  C      --"-"--  Quadratic  ( linear: 1/s Line 564  C      --"-"--  Quadratic  ( linear: 1/s
564        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
565       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
566       & delR, delRc, delX, delY,       & delR, delRc, delX, delY,
567       & deltaT, deltaTmom, deltaTtracer, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
568       & abeps, startTime,       & abeps, startTime,
569       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,
570       & fCori, fCoriG, fCoriCos,       & fCori, fCoriG, fCoriCos,
571       & viscAh, viscAhW, viscAhMax, viscAhGrid, viscC2leith,       & viscAh, viscAhW, viscAhMax,
572         & viscAhGrid, viscAhGridMax, viscAhGridMin,
573         & viscC2leith, viscC2leithD,
574         & viscC2smag,
575       & viscAhD, viscAhZ, viscA4D, viscA4Z,       & viscAhD, viscAhZ, viscA4D, viscA4Z,
576       & viscA4,  viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,       & viscA4, viscA4W,
577       & viscC4leith, viscAr, viscAstrain, viscAtension,       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,
578         & viscC4leith, viscC4leithD, viscAr, viscAstrain, viscAtension,
579       & diffKhT, diffK4T, diffKrNrT,       & diffKhT, diffK4T, diffKrNrT,
580       & diffKhS, diffK4S, diffKrNrS,       & diffKhS, diffK4S, diffKrNrS,
581       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,
# Line 551  C      --"-"--  Quadratic  ( linear: 1/s Line 585  C      --"-"--  Quadratic  ( linear: 1/s
585       & recip_rhoConst, rhoConst,       & recip_rhoConst, rhoConst,
586       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,
587       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,
588       & diagFreq, taveFreq, tave_lastIter, monitorFreq,       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,
589       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
590       & cosPower, cAdjFreq, omega, rotationPeriod,       & cosPower, cAdjFreq, omega, rotationPeriod,
591       & tauThetaClimRelax, lambdaThetaClimRelax,       & tauThetaClimRelax, lambdaThetaClimRelax,
# Line 563  C      --"-"--  Quadratic  ( linear: 1/s Line 597  C      --"-"--  Quadratic  ( linear: 1/s
597       & horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
598       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, Ro_SeaLevel,
599       & bottomDragLinear,bottomDragQuadratic,       & bottomDragLinear,bottomDragQuadratic,
600       & tCyl       & tCylIn, tCylOut
601    
602        _RL cg2dTargetResidual        _RL cg2dTargetResidual
603        _RL cg2dTargetResWunit        _RL cg2dTargetResWunit
# Line 576  C      --"-"--  Quadratic  ( linear: 1/s Line 610  C      --"-"--  Quadratic  ( linear: 1/s
610        _RL deltaT        _RL deltaT
611        _RL deltaTClock        _RL deltaTClock
612        _RL deltaTmom        _RL deltaTmom
613        _RL deltaTtracer        _RL dTtracerLev(Nr)
614        _RL deltaTfreesurf        _RL deltaTfreesurf
615        _RL abeps        _RL abeps
616        _RL phiMin        _RL phiMin
# Line 600  C      --"-"--  Quadratic  ( linear: 1/s Line 634  C      --"-"--  Quadratic  ( linear: 1/s
634        _RL viscAhZ        _RL viscAhZ
635        _RL viscAhMax        _RL viscAhMax
636        _RL viscAhGrid        _RL viscAhGrid
637          _RL viscAhGridMax
638          _RL viscAhGridMin
639        _RL viscC2leith        _RL viscC2leith
640          _RL viscC2leithD
641          _RL viscC2smag
642        _RL viscAstrain        _RL viscAstrain
643        _RL viscAtension        _RL viscAtension
644        _RL viscAr        _RL viscAr
645        _RL viscA4        _RL viscA4
646          _RL viscA4W
647        _RL viscA4D        _RL viscA4D
648        _RL viscA4Z        _RL viscA4Z
649        _RL viscA4Max        _RL viscA4Max
650        _RL viscA4Grid, viscA4GridMax, viscA4GridMin        _RL viscA4Grid, viscA4GridMax, viscA4GridMin
651        _RL viscC4leith        _RL viscC4leith
652          _RL viscC4leithD
653        _RL diffKhT        _RL diffKhT
654        _RL diffKrNrT(Nr)        _RL diffKrNrT(Nr)
655        _RL diffK4T        _RL diffK4T
# Line 647  C      --"-"--  Quadratic  ( linear: 1/s Line 687  C      --"-"--  Quadratic  ( linear: 1/s
687        _RL taveFreq        _RL taveFreq
688        _RL tave_lastIter        _RL tave_lastIter
689        _RL monitorFreq        _RL monitorFreq
690          _RL adjMonitorFreq
691        _RL afFacMom        _RL afFacMom
692        _RL vfFacMom        _RL vfFacMom
693        _RL pfFacMom        _RL pfFacMom
# Line 675  C      --"-"--  Quadratic  ( linear: 1/s Line 716  C      --"-"--  Quadratic  ( linear: 1/s
716        _RL Ro_SeaLevel        _RL Ro_SeaLevel
717        _RL bottomDragLinear        _RL bottomDragLinear
718        _RL bottomDragQuadratic        _RL bottomDragQuadratic
719        _RL tCyl        _RL tCylIn
720          _RL tCylOut
721    
722  C--   COMMON /PARM_A/ Thermodynamics constants ?  C--   COMMON /PARM_A/ Thermodynamics constants ?
723        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp

Legend:
Removed from v.1.138  
changed lines
  Added in v.1.149

  ViewVC Help
Powered by ViewVC 1.1.22