| 1 |
adcroft |
1.43 |
C $Header: /u/gcmpack/models/MITgcmUV/model/inc/PARAMS.h,v 1.42 1999/08/30 18:29:21 adcroft Exp $ |
| 2 |
cnh |
1.1 |
C |
| 3 |
|
|
C /==========================================================\ |
| 4 |
|
|
C | PARAMS.h | |
| 5 |
|
|
C | o Header file defining model "parameters". | |
| 6 |
|
|
C |==========================================================| |
| 7 |
cnh |
1.33 |
C | The values from the model standard input file are | |
| 8 |
cnh |
1.1 |
C | stored into the variables held here. Notes describing | |
| 9 |
|
|
C | the parameters can also be found here. | |
| 10 |
|
|
C \==========================================================/ |
| 11 |
cnh |
1.13 |
|
| 12 |
|
|
C Macros for special grid options |
| 13 |
|
|
#include "PARAMS_MACROS.h" |
| 14 |
cnh |
1.1 |
|
| 15 |
|
|
C-- Contants |
| 16 |
|
|
C Useful physical values |
| 17 |
|
|
Real*8 PI |
| 18 |
|
|
PARAMETER ( PI = 3.14159265358979323844D0 ) |
| 19 |
|
|
Real*8 deg2rad |
| 20 |
|
|
PARAMETER ( deg2rad = 2.D0*PI/360.D0 ) |
| 21 |
|
|
|
| 22 |
cnh |
1.7 |
C Symbolic values |
| 23 |
|
|
C precXXXX - Used to indicate what precision to use for |
| 24 |
|
|
C dumping model state. |
| 25 |
|
|
INTEGER precFloat32 |
| 26 |
adcroft |
1.36 |
PARAMETER ( precFloat32 = 32 ) |
| 27 |
cnh |
1.7 |
INTEGER precFloat64 |
| 28 |
adcroft |
1.36 |
PARAMETER ( precFloat64 = 64 ) |
| 29 |
cnh |
1.28 |
C UNSET_xxx - Used to indicate variables that have not been given a value |
| 30 |
|
|
Real*8 UNSET_FLOAT8 |
| 31 |
|
|
PARAMETER ( UNSET_FLOAT8 = 1.234567D5 ) |
| 32 |
|
|
Real*4 UNSET_FLOAT4 |
| 33 |
|
|
PARAMETER ( UNSET_FLOAT4 = 1.234567E5 ) |
| 34 |
|
|
_RL UNSET_RL |
| 35 |
|
|
PARAMETER ( UNSET_RL = 1.234567D5 ) |
| 36 |
|
|
_RS UNSET_RS |
| 37 |
|
|
PARAMETER ( UNSET_RS = 1.234567E5 ) |
| 38 |
|
|
INTEGER UNSET_I |
| 39 |
|
|
PARAMETER ( UNSET_I = 123456789 ) |
| 40 |
cnh |
1.7 |
|
| 41 |
|
|
C Checkpoint data |
| 42 |
|
|
INTEGER maxNoChkptLev |
| 43 |
|
|
PARAMETER ( maxNoChkptLev = 2 ) |
| 44 |
|
|
|
| 45 |
cnh |
1.1 |
C-- COMMON /PARM_C/ Character valued parameters used by the model. |
| 46 |
cnh |
1.7 |
C checkPtSuff - List of checkpoint file suffices |
| 47 |
cnh |
1.16 |
C bathyFile - File containing bathymetry. If not defined bathymetry |
| 48 |
|
|
C is taken from inline function. |
| 49 |
|
|
C hydrogThetaFile - File containing initial hydrographic data for potential |
| 50 |
|
|
C temperature. |
| 51 |
|
|
C hydrogSaltFile - File containing initial hydrographic data for salinity. |
| 52 |
|
|
C zonalWindFile - File containing zonal wind data |
| 53 |
|
|
C meridWindFile - File containing meridional wind data |
| 54 |
cnh |
1.18 |
C thetaClimFile - File containing theta climataology used |
| 55 |
|
|
C in relaxation term -lambda(theta-theta*) |
| 56 |
|
|
C saltClimFile - File containing salt climataology used |
| 57 |
|
|
C in relaxation term -lambda(salt-salt*) |
| 58 |
adcroft |
1.37 |
C surfQfile - File containing surface heat flux |
| 59 |
|
|
C EmPmRfile - File containing surface fresh water flux |
| 60 |
cnh |
1.26 |
C buoyancyRelation - Flag used to indicate which relation to use to |
| 61 |
|
|
C get buoyancy. |
| 62 |
cnh |
1.16 |
COMMON /PARM_C/ checkPtSuff, |
| 63 |
|
|
& bathyFile, hydrogThetaFile, hydrogSaltFile, |
| 64 |
cnh |
1.18 |
& zonalWindFile, meridWindFile, thetaClimFile, |
| 65 |
adcroft |
1.37 |
& saltClimFile, buoyancyRelation, |
| 66 |
adcroft |
1.42 |
& EmPmRfile, surfQfile, |
| 67 |
adcroft |
1.43 |
& uVelInitFile, vVelInitFile, pSurfInitFile |
| 68 |
cnh |
1.7 |
CHARACTER*(5) checkPtSuff(maxNoChkptLev) |
| 69 |
cnh |
1.16 |
CHARACTER*(MAX_LEN_FNAM) bathyFile |
| 70 |
|
|
CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile |
| 71 |
|
|
CHARACTER*(MAX_LEN_FNAM) hydrogSaltFile |
| 72 |
|
|
CHARACTER*(MAX_LEN_FNAM) zonalWindFile |
| 73 |
|
|
CHARACTER*(MAX_LEN_FNAM) meridWindFile |
| 74 |
cnh |
1.18 |
CHARACTER*(MAX_LEN_FNAM) thetaClimFile |
| 75 |
|
|
CHARACTER*(MAX_LEN_FNAM) saltClimFile |
| 76 |
adcroft |
1.37 |
CHARACTER*(MAX_LEN_FNAM) surfQfile |
| 77 |
|
|
CHARACTER*(MAX_LEN_FNAM) EmPmRfile |
| 78 |
cnh |
1.26 |
CHARACTER*(MAX_LEN_FNAM) buoyancyRelation |
| 79 |
adcroft |
1.42 |
CHARACTER*(MAX_LEN_FNAM) uVelInitFile |
| 80 |
|
|
CHARACTER*(MAX_LEN_FNAM) vVelInitFile |
| 81 |
adcroft |
1.43 |
CHARACTER*(MAX_LEN_FNAM) pSurfInitFile |
| 82 |
cnh |
1.7 |
|
| 83 |
cnh |
1.1 |
C-- COMMON /PARM_I/ Integer valued parameters used by the model. |
| 84 |
|
|
C cg2dMaxIters - Maximum number of iterations in the |
| 85 |
|
|
C two-dimensional con. grad solver. |
| 86 |
|
|
C cg2dChkResFreq - Frequency with which to check residual |
| 87 |
|
|
C in con. grad solver. |
| 88 |
cnh |
1.33 |
C cg3dMaxIters - Maximum number of iterations in the |
| 89 |
|
|
C three-dimensional con. grad solver. |
| 90 |
|
|
C cg3dChkResFreq - Frequency with which to check residual |
| 91 |
|
|
C in con. grad solver. |
| 92 |
cnh |
1.1 |
C nIter0 - Start time-step number of for this run |
| 93 |
|
|
C nTimeSteps - Number of timesteps to execute |
| 94 |
|
|
C numStepsPerPickup - For offline setup. Frequency of pickup |
| 95 |
|
|
C of flow fields. |
| 96 |
cnh |
1.7 |
C writeStatePrec - Precision used for writing model state. |
| 97 |
|
|
C writeBinaryPrec - Precision used for writing binary files |
| 98 |
|
|
C readBinaryPrec - Precision used for reading binary files |
| 99 |
|
|
C nCheckLev - Holds current checkpoint level |
| 100 |
cnh |
1.34 |
C nShap - "Order" of shapiro filter to apply to |
| 101 |
|
|
C model prognositic fields. |
| 102 |
|
|
C nShap == 1 => del2 |
| 103 |
|
|
C nShap == 2 => del4 |
| 104 |
|
|
C nShap == 3 => del6 |
| 105 |
|
|
C etc... |
| 106 |
|
|
|
| 107 |
cnh |
1.1 |
COMMON /PARM_I/ |
| 108 |
|
|
& cg2dMaxIters, |
| 109 |
|
|
& cg2dChkResFreq, |
| 110 |
cnh |
1.33 |
& cg3dMaxIters, |
| 111 |
|
|
& cg3dChkResFreq, |
| 112 |
adcroft |
1.41 |
& nIter0, nTimeSteps, nEndIter, |
| 113 |
cnh |
1.7 |
& numStepsPerPickup, |
| 114 |
|
|
& writeStatePrec, nCheckLev, |
| 115 |
cnh |
1.34 |
& writeBinaryPrec, readBinaryPrec, |
| 116 |
|
|
& nShap |
| 117 |
cnh |
1.1 |
INTEGER cg2dMaxIters |
| 118 |
|
|
INTEGER cg2dChkResFreq |
| 119 |
cnh |
1.33 |
INTEGER cg3dMaxIters |
| 120 |
|
|
INTEGER cg3dChkResFreq |
| 121 |
cnh |
1.1 |
INTEGER nIter0 |
| 122 |
|
|
INTEGER nTimeSteps |
| 123 |
adcroft |
1.41 |
INTEGER nEndIter |
| 124 |
cnh |
1.1 |
INTEGER numStepsPerPickup |
| 125 |
cnh |
1.7 |
INTEGER writeStatePrec |
| 126 |
|
|
INTEGER writeBinaryPrec |
| 127 |
|
|
INTEGER readBinaryPrec |
| 128 |
|
|
INTEGER nCheckLev |
| 129 |
cnh |
1.34 |
INTEGER nShap |
| 130 |
cnh |
1.1 |
|
| 131 |
|
|
C-- COMMON /PARM_L/ Logical valued parameters used by the model. |
| 132 |
|
|
C usingCartesianGrid - If TRUE grid generation will be in a cartesian |
| 133 |
|
|
C coordinate frame. |
| 134 |
|
|
C usingSphericalPolarGrid - If TRUE grid generation will be in a |
| 135 |
|
|
C spherical polar frame. |
| 136 |
adcroft |
1.36 |
C no_slip_sides - Impose "no-slip" at lateral boundaries. |
| 137 |
|
|
C no_slip_bottom- Impose "no-slip" at bottom boundary. |
| 138 |
cnh |
1.1 |
C momViscosity - Flag which turns momentum friction terms on and off. |
| 139 |
|
|
C momAdvection - Flag which turns advection of momentum on and off. |
| 140 |
|
|
C momForcing - Flag which turns external forcing of momentum on |
| 141 |
|
|
C and off. |
| 142 |
cnh |
1.9 |
C momPressureForcing - Flag which turns pressure term in momentum equation |
| 143 |
|
|
C on and off. |
| 144 |
cnh |
1.15 |
C metricTerms - Flag which turns metric terms on or off. |
| 145 |
|
|
C usingSphericalPolarMTerms - If TRUE use spherical polar metric terms. |
| 146 |
cnh |
1.1 |
C useCoriolis - Flag which turns the coriolis terms on and off. |
| 147 |
|
|
C tempDiffusion - Flag which turns diffusion of temperature on |
| 148 |
|
|
C and off. |
| 149 |
|
|
C tempAdvection - Flag which turns advection of temperature on |
| 150 |
|
|
C and off. |
| 151 |
|
|
C tempForcing - Flag which turns external forcing of temperature on |
| 152 |
|
|
C and off. |
| 153 |
|
|
C saltDiffusion - Flag which turns diffusion of salinit on |
| 154 |
|
|
C and off. |
| 155 |
|
|
C saltAdvection - Flag which turns advection of salinit on |
| 156 |
|
|
C and off. |
| 157 |
|
|
C saltForcing - Flag which turns external forcing of salinit on |
| 158 |
|
|
C and off. |
| 159 |
cnh |
1.8 |
C implicitFreeSurface - Set to true to use implcit free surface |
| 160 |
|
|
C rigidLid - Set to true to use rigid lid |
| 161 |
cnh |
1.10 |
C momStepping - Turns momentum equation time-stepping off |
| 162 |
cnh |
1.15 |
C tempStepping - Turns temperature equation time-stepping off |
| 163 |
adcroft |
1.17 |
C saltStepping - Turns salinity equation time-stepping off |
| 164 |
cnh |
1.15 |
C useConstantF - Coriolis parameter set to f0 |
| 165 |
|
|
C useBetaPlaneF - Coriolis parameter set to f0 + beta.y |
| 166 |
|
|
C useSphereF - Coriolis parameter set to 2.omega.sin(phi) |
| 167 |
adcroft |
1.14 |
C implicitDiffusion - Turns implicit vertical diffusion on |
| 168 |
adcroft |
1.40 |
C implicitViscosity - Turns implicit vertical viscosity on |
| 169 |
cnh |
1.18 |
C doThetaClimRelax - Set true if relaxation to temperature |
| 170 |
|
|
C climatology is required. |
| 171 |
|
|
C doSaltClimRelax - Set true if relaxation to salinity |
| 172 |
|
|
C climatology is required. |
| 173 |
adcroft |
1.19 |
C periodicExternalForcing - Set true if forcing is time-dependant |
| 174 |
cnh |
1.29 |
C usingPCoords - Set to indicate that we are working in pressure |
| 175 |
|
|
C coords. |
| 176 |
|
|
C usingZCoords - Set to indicate that we are working in height |
| 177 |
|
|
C coords. |
| 178 |
adcroft |
1.35 |
C openBoundaries - Using open-boundaries |
| 179 |
adcroft |
1.37 |
C nonHydrostatic - Using non-hydrostatic terms |
| 180 |
adcroft |
1.38 |
C globalFiles - Selects between "global" and "tiled" files |
| 181 |
|
|
C allowFreezing - Allows water to freeze and form ice |
| 182 |
cnh |
1.1 |
COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid, |
| 183 |
adcroft |
1.36 |
& no_slip_sides,no_slip_bottom, |
| 184 |
cnh |
1.33 |
& momViscosity, momAdvection, momForcing, useCoriolis, |
| 185 |
|
|
& momPressureForcing,tempDiffusion, tempAdvection, tempForcing, |
| 186 |
cnh |
1.8 |
& saltDiffusion, saltAdvection, saltForcing, |
| 187 |
adcroft |
1.17 |
& implicitFreeSurface, rigidLid, |
| 188 |
|
|
& momStepping, tempStepping, saltStepping, |
| 189 |
cnh |
1.15 |
& metricTerms, usingSphericalPolarMTerms, |
| 190 |
|
|
& useConstantF, useBetaPlaneF, useSphereF, |
| 191 |
adcroft |
1.40 |
& implicitDiffusion, implicitViscosity, |
| 192 |
|
|
& doThetaClimRelax, doSaltClimRelax, |
| 193 |
adcroft |
1.35 |
& periodicExternalForcing, usingPCoords, usingZCoords, |
| 194 |
adcroft |
1.38 |
& openBoundaries, nonHydrostatic, globalFiles, |
| 195 |
|
|
& allowFreezing |
| 196 |
cnh |
1.1 |
LOGICAL usingCartesianGrid |
| 197 |
|
|
LOGICAL usingSphericalPolarGrid |
| 198 |
cnh |
1.15 |
LOGICAL usingSphericalPolarMTerms |
| 199 |
adcroft |
1.36 |
LOGICAL no_slip_sides |
| 200 |
|
|
LOGICAL no_slip_bottom |
| 201 |
cnh |
1.1 |
LOGICAL momViscosity |
| 202 |
|
|
LOGICAL momAdvection |
| 203 |
|
|
LOGICAL momForcing |
| 204 |
cnh |
1.9 |
LOGICAL momPressureForcing |
| 205 |
cnh |
1.1 |
LOGICAL useCoriolis |
| 206 |
|
|
LOGICAL tempDiffusion |
| 207 |
|
|
LOGICAL tempAdvection |
| 208 |
|
|
LOGICAL tempForcing |
| 209 |
|
|
LOGICAL saltDiffusion |
| 210 |
|
|
LOGICAL saltAdvection |
| 211 |
|
|
LOGICAL saltForcing |
| 212 |
cnh |
1.8 |
LOGICAL implicitFreeSurface |
| 213 |
|
|
LOGICAL rigidLid |
| 214 |
cnh |
1.10 |
LOGICAL momStepping |
| 215 |
|
|
LOGICAL tempStepping |
| 216 |
adcroft |
1.17 |
LOGICAL saltStepping |
| 217 |
cnh |
1.15 |
LOGICAL metricTerms |
| 218 |
|
|
LOGICAL useConstantF |
| 219 |
|
|
LOGICAL useBetaPlaneF |
| 220 |
|
|
LOGICAL useSphereF |
| 221 |
adcroft |
1.14 |
LOGICAL implicitDiffusion |
| 222 |
adcroft |
1.40 |
LOGICAL implicitViscosity |
| 223 |
cnh |
1.18 |
LOGICAL doThetaClimRelax |
| 224 |
|
|
LOGICAL doSaltClimRelax |
| 225 |
adcroft |
1.19 |
LOGICAL periodicExternalForcing |
| 226 |
cnh |
1.29 |
LOGICAL usingPCoords |
| 227 |
|
|
LOGICAL usingZCoords |
| 228 |
adcroft |
1.35 |
LOGICAL openBoundaries |
| 229 |
adcroft |
1.37 |
LOGICAL nonHydrostatic |
| 230 |
adcroft |
1.38 |
LOGICAL globalFiles |
| 231 |
|
|
LOGICAL allowFreezing |
| 232 |
cnh |
1.1 |
|
| 233 |
|
|
C-- COMMON /PARM_R/ "Real" valued parameters used by the model. |
| 234 |
|
|
C cg2dTargetResidual |
| 235 |
|
|
C - Target residual for cg2d solver. |
| 236 |
cnh |
1.33 |
C cg3dTargetResidual |
| 237 |
|
|
C - Target residual for cg3d solver. |
| 238 |
cnh |
1.7 |
C cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal. |
| 239 |
|
|
C Note. 20th May 1998 |
| 240 |
|
|
C I made a weird discovery! In the model paper we argue |
| 241 |
|
|
C for the form of the preconditioner used here ( see |
| 242 |
|
|
C A Finite-volume, Incompressible Navier-Stokes Model |
| 243 |
|
|
C ...., Marshall et. al ). The algebra gives a simple |
| 244 |
|
|
C 0.5 factor for the averaging of ac and aCw to get a |
| 245 |
|
|
C symmettric pre-conditioner. By using a factor of 0.51 |
| 246 |
|
|
C i.e. scaling the off-diagonal terms in the |
| 247 |
|
|
C preconditioner down slightly I managed to get the |
| 248 |
|
|
C number of iterations for convergence in a test case to |
| 249 |
|
|
C drop form 192 -> 134! Need to investigate this further! |
| 250 |
|
|
C For now I have introduced a parameter cg2dpcOffDFac which |
| 251 |
|
|
C defaults to 0.51 but can be set at runtime. |
| 252 |
cnh |
1.24 |
C delP - Vertical grid spacing ( Pa ). |
| 253 |
|
|
C delZ - Vertical grid spacing ( m ). |
| 254 |
cnh |
1.23 |
C delR - Vertical grid spacing ( units of r ). |
| 255 |
cnh |
1.1 |
C delX - Separation between cell faces (m) or (deg), depending |
| 256 |
|
|
C delY on input flags. |
| 257 |
|
|
C gravity - Accel. due to gravity ( m/s^2 ) |
| 258 |
cnh |
1.32 |
C recip_gravity and its inverse |
| 259 |
cnh |
1.8 |
C gBaro - Accel. due to gravity used in barotropic equation ( m/s^2 ) |
| 260 |
cnh |
1.1 |
C ronil - Reference density |
| 261 |
cnh |
1.24 |
C rhoConst - Vertically constant reference density |
| 262 |
cnh |
1.3 |
C startTime - Start time for model ( s ) |
| 263 |
cnh |
1.1 |
C phiMin - Latitude of southern most cell face. |
| 264 |
|
|
C thetaMin - Longitude of western most cell face (this |
| 265 |
|
|
C is an "inert" parameter but it is included |
| 266 |
|
|
C to make geographical references simple.) |
| 267 |
cnh |
1.3 |
C rSphere - Radius of sphere for a spherical polar grid ( m ). |
| 268 |
cnh |
1.25 |
C recip_RSphere - Reciprocal radius of sphere ( m ). |
| 269 |
cnh |
1.1 |
C f0 - Reference coriolis parameter ( 1/s ) |
| 270 |
|
|
C ( Southern edge f for beta plane ) |
| 271 |
|
|
C beta - df/dy ( s^-1.m^-1 ) |
| 272 |
cnh |
1.15 |
C omega - Angular velocity ( rad/s ) |
| 273 |
cnh |
1.1 |
C viscAh - Eddy viscosity coeff. for mixing of |
| 274 |
|
|
C momentum laterally ( m^2/s ) |
| 275 |
|
|
C viscAz - Eddy viscosity coeff. for mixing of |
| 276 |
|
|
C momentum vertically ( m^2/s ) |
| 277 |
cnh |
1.27 |
C viscAp - Eddy viscosity coeff. for mixing of |
| 278 |
|
|
C momentum vertically ( Pa^2/s ) |
| 279 |
cnh |
1.24 |
C viscAr - Eddy viscosity coeff. for mixing of |
| 280 |
|
|
C momentum vertically ( units of r^2/s ) |
| 281 |
cnh |
1.1 |
C viscA4 - Biharmonic viscosity coeff. for mixing of |
| 282 |
|
|
C momentum laterally ( m^4/s ) |
| 283 |
|
|
C diffKhT - Laplacian diffusion coeff. for mixing of |
| 284 |
|
|
C heat laterally ( m^2/s ) |
| 285 |
|
|
C diffKzT - Laplacian diffusion coeff. for mixing of |
| 286 |
|
|
C heat vertically ( m^2/s ) |
| 287 |
cnh |
1.27 |
C diffKpT - Laplacian diffusion coeff. for mixing of |
| 288 |
|
|
C heat vertically ( Pa^2/s ) |
| 289 |
cnh |
1.24 |
C diffKrT - Laplacian diffusion coeff. for mixing of |
| 290 |
|
|
C heat vertically ( units of r^2/s ) |
| 291 |
cnh |
1.1 |
C diffK4T - Biharmonic diffusion coeff. for mixing of |
| 292 |
|
|
C heat laterally ( m^4/s ) |
| 293 |
|
|
C diffKhS - Laplacian diffusion coeff. for mixing of |
| 294 |
|
|
C salt laterally ( m^2/s ) |
| 295 |
|
|
C diffKzS - Laplacian diffusion coeff. for mixing of |
| 296 |
|
|
C salt vertically ( m^2/s ) |
| 297 |
cnh |
1.27 |
C diffKpS - Laplacian diffusion coeff. for mixing of |
| 298 |
|
|
C salt vertically ( Pa^2/s ) |
| 299 |
cnh |
1.24 |
C diffKrS - Laplacian diffusion coeff. for mixing of |
| 300 |
|
|
C salt vertically ( units of r^2/s ) |
| 301 |
cnh |
1.1 |
C diffK4S - Biharmonic diffusion coeff. for mixing of |
| 302 |
|
|
C salt laterally ( m^4/s ) |
| 303 |
cnh |
1.3 |
C deltaT - Default timestep ( s ) |
| 304 |
cnh |
1.7 |
C deltaTClock - Timestep used as model "clock". This determines the |
| 305 |
|
|
C IO frequencies and is used in tagging output. It can |
| 306 |
|
|
C be totally different to the dynamical time. Typically |
| 307 |
|
|
C it will be the deep-water timestep for accelerated runs. |
| 308 |
|
|
C Frequency of checkpointing and dumping of the model state |
| 309 |
|
|
C are referenced to this clock. ( s ) |
| 310 |
cnh |
1.3 |
C deltaTMom - Timestep for momemtum equations ( s ) |
| 311 |
|
|
C deltaTtracer - Timestep for tracer equations ( s ) |
| 312 |
cnh |
1.8 |
C freesurfFac - Parameter to turn implicit free surface term on or off |
| 313 |
|
|
C freesurfac = 1. uses implicit free surface |
| 314 |
|
|
C freesurfac = 0. uses rigid lid |
| 315 |
cnh |
1.24 |
C hFacMin - Minimum fraction size of a cell (affects hFacC etc...) |
| 316 |
|
|
C hFacMinDz - Minimum dimesional size of a cell (affects hFacC etc..., m) |
| 317 |
cnh |
1.28 |
C hFacMinDp - Minimum dimesional size of a cell (affects hFacC etc..., Pa) |
| 318 |
cnh |
1.24 |
C hFacMinDr - Minimum dimesional size of a cell (affects hFacC etc..., units of r) |
| 319 |
|
|
C tauCD - CD scheme coupling timescale ( 1/s ) |
| 320 |
|
|
C rCD - CD scheme normalised coupling parameter ( 0-1 ) |
| 321 |
cnh |
1.27 |
C GMmaxslope - max. slope allowed in GM/Redi tensor |
| 322 |
|
|
C GMlength - Length to use in Visbeck et al. formula for K (m) |
| 323 |
|
|
C GMalpha - alpha to use in Visbeck et al. formula for K |
| 324 |
|
|
C GMdepth - Depth over which to integrate Richardson # (Visbeck et al.) |
| 325 |
cnh |
1.24 |
C GMkbackground - background value of GM/Redi diffusion coefficient ( m^2/s ) |
| 326 |
|
|
C GMmaxval - max. value of KapGM allowed in GM/Redi scheme ( m^2/s ) |
| 327 |
|
|
C startTime - Starting time for this integration ( s ). |
| 328 |
|
|
C endTime - Ending time for this integration ( s ). |
| 329 |
|
|
C chkPtFreq - Frequency of rolling check pointing ( s ). |
| 330 |
|
|
C pChkPtFreq - Frequency of permanent check pointing ( s ). |
| 331 |
|
|
C dumpFreq - Frequency with which model state is written to |
| 332 |
|
|
C post-processing files ( s ). |
| 333 |
|
|
C afFacMom - Advection of momentum term tracer parameter |
| 334 |
|
|
C vfFacMom - Momentum viscosity tracer parameter |
| 335 |
|
|
C pfFacMom - Momentum pressure forcing tracer parameter |
| 336 |
|
|
C cfFacMom - Coriolis term tracer parameter |
| 337 |
|
|
C foFacMom - Momentum forcing tracer parameter |
| 338 |
|
|
C mtFacMom - Metric terms tracer parameter |
| 339 |
adcroft |
1.39 |
C cosPower - Power of cosine of latitude to multiply viscosity |
| 340 |
cnh |
1.24 |
C cAdjFreq - Frequency of convective adjustment |
| 341 |
|
|
C |
| 342 |
cnh |
1.27 |
C taveFreq - Frequency with which time-averaged model state is written to |
| 343 |
|
|
C post-processing files ( s ). |
| 344 |
cnh |
1.18 |
C tauThetaClimRelax - Relaxation to climatology time scale ( s ). |
| 345 |
|
|
C lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ). |
| 346 |
|
|
C tauSaltClimRelax - Relaxation to climatology time scale ( s ). |
| 347 |
|
|
C lambdaSaltClimRelax - Inverse time scale for relaxation ( 1/s ). |
| 348 |
adcroft |
1.19 |
C externForcingPeriod - Is the period of which forcing varies (eg. 1 month) |
| 349 |
|
|
C externForcingCycle - Is the repeat time of the forcing (eg. 1 year) |
| 350 |
|
|
C (note: externForcingCycle must be an integer |
| 351 |
|
|
C number times externForcingPeriod) |
| 352 |
cnh |
1.30 |
C horiVertRatio - Ratio on units in vertical to units in horizontal. |
| 353 |
cnh |
1.31 |
C recip_horiVertRatio ( 1 if horiz in m and vertical in m ). |
| 354 |
cnh |
1.30 |
C ( g*rho if horiz in m and vertical in Pa ). |
| 355 |
cnh |
1.34 |
C latFFTFiltLo - Low latitude for FFT filtering of latitude |
| 356 |
|
|
C circles ( see filter*.F ) |
| 357 |
cnh |
1.24 |
COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac, |
| 358 |
cnh |
1.33 |
& cg3dTargetResidual, |
| 359 |
cnh |
1.24 |
& delP, delZ, delR, delX, delY, |
| 360 |
cnh |
1.33 |
& deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, |
| 361 |
|
|
& phiMin, thetaMin, rSphere, recip_RSphere, f0, fCori, beta, |
| 362 |
cnh |
1.24 |
& viscAh, viscAz, viscA4, viscAr, |
| 363 |
|
|
& diffKhT, diffKzT, diffK4T, diffKrT, |
| 364 |
cnh |
1.25 |
& diffKhS, diffKzS, diffK4S, diffKrS, |
| 365 |
cnh |
1.27 |
& delT, tauCD, rCD, freeSurfFac, hFacMin, hFacMinDz, |
| 366 |
adcroft |
1.21 |
& GMmaxslope,GMlength,GMalpha,GMdepth,GMkbackground,GMmaxval, |
| 367 |
cnh |
1.32 |
& gravity, recip_Gravity, gBaro, rhonil, recip_rhonil, |
| 368 |
cnh |
1.27 |
& recip_rhoConst, rhoConst, tRef, sRef, |
| 369 |
adcroft |
1.20 |
& endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq, |
| 370 |
cnh |
1.15 |
& afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom, |
| 371 |
adcroft |
1.39 |
& cosPower, |
| 372 |
cnh |
1.18 |
& cAdjFreq, omega, tauThetaClimRelax, lambdaThetaClimRelax, |
| 373 |
adcroft |
1.19 |
& tauSaltClimRelax, lambdaSaltClimRelax, |
| 374 |
cnh |
1.27 |
& externForcingCycle, externForcingPeriod, |
| 375 |
cnh |
1.28 |
& viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp, |
| 376 |
cnh |
1.34 |
& theta_S, specVol_S, horiVertRatio, recip_horiVertRatio, |
| 377 |
adcroft |
1.41 |
& latFFTFiltLo, ivdc_kappa |
| 378 |
cnh |
1.27 |
|
| 379 |
adcroft |
1.6 |
_RL cg2dTargetResidual |
| 380 |
cnh |
1.33 |
_RL cg3dTargetResidual |
| 381 |
cnh |
1.7 |
_RL cg2dpcOffDFac |
| 382 |
cnh |
1.25 |
_RL delZ(Nr) |
| 383 |
|
|
_RL delP(Nr) |
| 384 |
|
|
_RL delR(Nr) |
| 385 |
adcroft |
1.6 |
_RL delX(Nx) |
| 386 |
|
|
_RL delY(Ny) |
| 387 |
|
|
_RL deltaT |
| 388 |
cnh |
1.7 |
_RL deltaTClock |
| 389 |
adcroft |
1.6 |
_RL deltaTmom |
| 390 |
|
|
_RL deltaTtracer |
| 391 |
|
|
_RL abeps |
| 392 |
|
|
_RL phiMin |
| 393 |
|
|
_RL thetaMin |
| 394 |
|
|
_RL rSphere |
| 395 |
cnh |
1.25 |
_RL recip_RSphere |
| 396 |
adcroft |
1.6 |
_RL f0 |
| 397 |
cnh |
1.8 |
_RL freeSurfFac |
| 398 |
adcroft |
1.22 |
_RL hFacMin |
| 399 |
|
|
_RL hFacMinDz |
| 400 |
cnh |
1.28 |
_RL hFacMinDp |
| 401 |
cnh |
1.27 |
_RL hFacMinDr |
| 402 |
adcroft |
1.6 |
_RL beta |
| 403 |
|
|
_RL viscAh |
| 404 |
|
|
_RL viscAz |
| 405 |
cnh |
1.27 |
_RL viscAp |
| 406 |
cnh |
1.25 |
_RL viscAr |
| 407 |
adcroft |
1.6 |
_RL viscA4 |
| 408 |
|
|
_RL diffKhT |
| 409 |
cnh |
1.25 |
_RL diffKrT |
| 410 |
adcroft |
1.6 |
_RL diffKzT |
| 411 |
cnh |
1.27 |
_RL diffKpT |
| 412 |
adcroft |
1.6 |
_RL diffK4T |
| 413 |
|
|
_RL diffKhS |
| 414 |
cnh |
1.25 |
_RL diffKrS |
| 415 |
adcroft |
1.6 |
_RL diffKzS |
| 416 |
cnh |
1.27 |
_RL diffKpS |
| 417 |
adcroft |
1.6 |
_RL diffK4S |
| 418 |
|
|
_RL delt |
| 419 |
|
|
_RL tauCD |
| 420 |
|
|
_RL rCD |
| 421 |
|
|
_RL GMmaxslope |
| 422 |
|
|
_RL GMlength |
| 423 |
|
|
_RL GMalpha |
| 424 |
|
|
_RL GMdepth |
| 425 |
|
|
_RL GMkbackground |
| 426 |
adcroft |
1.21 |
_RL GMmaxval |
| 427 |
adcroft |
1.6 |
_RL gravity |
| 428 |
cnh |
1.32 |
_RL recip_gravity |
| 429 |
cnh |
1.8 |
_RL gBaro |
| 430 |
adcroft |
1.6 |
_RL rhonil |
| 431 |
cnh |
1.25 |
_RL recip_rhonil |
| 432 |
|
|
_RL rhoConst |
| 433 |
cnh |
1.26 |
_RL recip_rhoConst |
| 434 |
|
|
_RL specVol_S(Nr) |
| 435 |
cnh |
1.25 |
_RL tRef(Nr) |
| 436 |
cnh |
1.26 |
_RL theta_S(Nr) |
| 437 |
cnh |
1.25 |
_RL sRef(Nr) |
| 438 |
cnh |
1.11 |
_RS Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
| 439 |
adcroft |
1.6 |
_RL startTime |
| 440 |
|
|
_RL endTime |
| 441 |
|
|
_RL chkPtFreq |
| 442 |
cnh |
1.7 |
_RL pChkPtFreq |
| 443 |
adcroft |
1.6 |
_RL dumpFreq |
| 444 |
adcroft |
1.20 |
_RL taveFreq |
| 445 |
cnh |
1.9 |
_RL afFacMom |
| 446 |
|
|
_RL vfFacMom |
| 447 |
|
|
_RL pfFacMom |
| 448 |
|
|
_RL cfFacMom |
| 449 |
|
|
_RL foFacMom |
| 450 |
cnh |
1.15 |
_RL mTFacMom |
| 451 |
adcroft |
1.39 |
_RL cosPower |
| 452 |
cnh |
1.9 |
_RL cAdjFreq |
| 453 |
cnh |
1.15 |
_RL omega |
| 454 |
cnh |
1.18 |
_RL tauThetaClimRelax |
| 455 |
|
|
_RL lambdaThetaClimRelax |
| 456 |
|
|
_RL tauSaltClimRelax |
| 457 |
|
|
_RL lambdaSaltClimRelax |
| 458 |
adcroft |
1.19 |
_RL externForcingCycle |
| 459 |
|
|
_RL externForcingPeriod |
| 460 |
cnh |
1.30 |
_RL horiVertRatio |
| 461 |
cnh |
1.31 |
_RL recip_horiVertRatio |
| 462 |
cnh |
1.34 |
_RL latFFTFiltLo |
| 463 |
adcroft |
1.41 |
_RL ivdc_kappa |
| 464 |
adcroft |
1.6 |
|
| 465 |
adcroft |
1.36 |
COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp, |
| 466 |
cnh |
1.1 |
& Lamba_theta |
| 467 |
adcroft |
1.6 |
_RL HeatCapacity_Cp |
| 468 |
|
|
_RL Lamba_theta |
| 469 |
adcroft |
1.36 |
_RL recip_Cp |
| 470 |
adcroft |
1.5 |
|
| 471 |
|
|
C Equation of State (polynomial coeffients) |
| 472 |
|
|
COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS |
| 473 |
cnh |
1.25 |
_RL eosC(9,Nr+1),eosSig0(Nr+1),eosRefT(Nr+1),eosRefS(Nr+1) |
| 474 |
adcroft |
1.5 |
C Linear equation of state |
| 475 |
|
|
C tAlpha - Linear EOS thermal expansion coefficient ( 1/degree ). |
| 476 |
|
|
C sBeta - Linear EOS haline contraction coefficient. |
| 477 |
adcroft |
1.12 |
COMMON /PARM_EOS_LIN/ tAlpha,sBeta,eosType |
| 478 |
adcroft |
1.6 |
_RL tAlpha |
| 479 |
|
|
_RL sBeta |
| 480 |
adcroft |
1.12 |
character*(6) eosType |
| 481 |
cnh |
1.7 |
|
| 482 |
adcroft |
1.35 |
C These are input arrays (of integers) that contain the *absolute* |
| 483 |
|
|
C computational index of an open-boundary (OB) point. |
| 484 |
|
|
C A zero (0) element means there is no corresponding OB in that column/row. |
| 485 |
|
|
C The computational coordinate refers to "tracer" cells. |
| 486 |
|
|
C For a northern/southern OB, the OB V point is to the south/north. |
| 487 |
|
|
C For an eastern/western OB, the OB U point is to the west/east. |
| 488 |
|
|
C eg. |
| 489 |
|
|
C OB_Jnorth(3)=34 means that: |
| 490 |
|
|
C T( 3 ,34) is a an OB point |
| 491 |
|
|
C U(3:4,34) is a an OB point |
| 492 |
|
|
C V( 4 ,34) is a an OB point |
| 493 |
|
|
C while |
| 494 |
|
|
C OB_Jsouth(3)=1 means that: |
| 495 |
|
|
C T( 3 ,1) is a an OB point |
| 496 |
|
|
C U(3:4,1) is a an OB point |
| 497 |
|
|
C V( 4 ,2) is a an OB point |
| 498 |
|
|
C |
| 499 |
|
|
C For convenience, negative values for Jnorth/Ieast refer to |
| 500 |
|
|
C points relative to the Northern/Eastern edges of the model |
| 501 |
|
|
C eg. OB_Jnorth(3)=-1 means that the point (3,Ny-1) is a northern O-B. |
| 502 |
|
|
C |
| 503 |
|
|
COMMON /PARM_OB/ |
| 504 |
|
|
& OB_Jnorth,OB_Jsouth,OB_Ieast,OB_Iwest |
| 505 |
|
|
INTEGER OB_Jnorth(Nx) |
| 506 |
|
|
INTEGER OB_Jsouth(Nx) |
| 507 |
|
|
INTEGER OB_Ieast(Ny) |
| 508 |
|
|
INTEGER OB_Iwest(Ny) |