182 |
C drop form 192 -> 134! Need to investigate this further! |
C drop form 192 -> 134! Need to investigate this further! |
183 |
C For now I have introduced a parameter cg2dpcOffDFac which |
C For now I have introduced a parameter cg2dpcOffDFac which |
184 |
C defaults to 0.51 but can be set at runtime. |
C defaults to 0.51 but can be set at runtime. |
185 |
|
C delP - Vertical grid spacing ( Pa ). |
186 |
|
C delZ - Vertical grid spacing ( m ). |
187 |
|
C rkFac - Vertical coordinate to vertical index orientation. |
188 |
|
C ( 1 same orientation, -1 opposite orientation ) |
189 |
|
C ( vertical coord == m -> rkFac = -1 ) |
190 |
|
C ( vertical coord == Pa -> rkFac = 1 ) |
191 |
C delR - Vertical grid spacing ( units of r ). |
C delR - Vertical grid spacing ( units of r ). |
192 |
C delX - Separation between cell faces (m) or (deg), depending |
C delX - Separation between cell faces (m) or (deg), depending |
193 |
C delY on input flags. |
C delY on input flags. |
194 |
C gravity - Accel. due to gravity ( m/s^2 ) |
C gravity - Accel. due to gravity ( m/s^2 ) |
195 |
C gBaro - Accel. due to gravity used in barotropic equation ( m/s^2 ) |
C gBaro - Accel. due to gravity used in barotropic equation ( m/s^2 ) |
196 |
C ronil - Reference density |
C ronil - Reference density |
197 |
|
C rhoConst - Vertically constant reference density |
198 |
C startTime - Start time for model ( s ) |
C startTime - Start time for model ( s ) |
199 |
C phiMin - Latitude of southern most cell face. |
C phiMin - Latitude of southern most cell face. |
200 |
C thetaMin - Longitude of western most cell face (this |
C thetaMin - Longitude of western most cell face (this |
210 |
C momentum laterally ( m^2/s ) |
C momentum laterally ( m^2/s ) |
211 |
C viscAz - Eddy viscosity coeff. for mixing of |
C viscAz - Eddy viscosity coeff. for mixing of |
212 |
C momentum vertically ( m^2/s ) |
C momentum vertically ( m^2/s ) |
213 |
|
C viscAr - Eddy viscosity coeff. for mixing of |
214 |
|
C momentum vertically ( units of r^2/s ) |
215 |
C viscA4 - Biharmonic viscosity coeff. for mixing of |
C viscA4 - Biharmonic viscosity coeff. for mixing of |
216 |
C momentum laterally ( m^4/s ) |
C momentum laterally ( m^4/s ) |
217 |
C diffKhT - Laplacian diffusion coeff. for mixing of |
C diffKhT - Laplacian diffusion coeff. for mixing of |
218 |
C heat laterally ( m^2/s ) |
C heat laterally ( m^2/s ) |
219 |
C diffKzT - Laplacian diffusion coeff. for mixing of |
C diffKzT - Laplacian diffusion coeff. for mixing of |
220 |
C heat vertically ( m^2/s ) |
C heat vertically ( m^2/s ) |
221 |
|
C diffKrT - Laplacian diffusion coeff. for mixing of |
222 |
|
C heat vertically ( units of r^2/s ) |
223 |
C diffK4T - Biharmonic diffusion coeff. for mixing of |
C diffK4T - Biharmonic diffusion coeff. for mixing of |
224 |
C heat laterally ( m^4/s ) |
C heat laterally ( m^4/s ) |
225 |
C diffKhS - Laplacian diffusion coeff. for mixing of |
C diffKhS - Laplacian diffusion coeff. for mixing of |
226 |
C salt laterally ( m^2/s ) |
C salt laterally ( m^2/s ) |
227 |
C diffKzS - Laplacian diffusion coeff. for mixing of |
C diffKzS - Laplacian diffusion coeff. for mixing of |
228 |
C salt vertically ( m^2/s ) |
C salt vertically ( m^2/s ) |
229 |
|
C diffKrS - Laplacian diffusion coeff. for mixing of |
230 |
|
C salt vertically ( units of r^2/s ) |
231 |
C diffK4S - Biharmonic diffusion coeff. for mixing of |
C diffK4S - Biharmonic diffusion coeff. for mixing of |
232 |
C salt laterally ( m^4/s ) |
C salt laterally ( m^4/s ) |
233 |
C deltaT - Default timestep ( s ) |
C deltaT - Default timestep ( s ) |
242 |
C freesurfFac - Parameter to turn implicit free surface term on or off |
C freesurfFac - Parameter to turn implicit free surface term on or off |
243 |
C freesurfac = 1. uses implicit free surface |
C freesurfac = 1. uses implicit free surface |
244 |
C freesurfac = 0. uses rigid lid |
C freesurfac = 0. uses rigid lid |
245 |
C hFacMin - Minimum fraction size of a cell (affects hFacC etc...) |
C hFacMin - Minimum fraction size of a cell (affects hFacC etc...) |
246 |
C hFacMinDz - Minimum dimesional size of a cell (affects hFacC etc...) |
C hFacMinDz - Minimum dimesional size of a cell (affects hFacC etc..., m) |
247 |
C tauCD - CD scheme coupling timescale ( 1/s ) |
C hFacMinDr - Minimum dimesional size of a cell (affects hFacC etc..., units of r) |
248 |
C rCD - CD scheme normalised coupling parameter ( 0-1 ) |
C tauCD - CD scheme coupling timescale ( 1/s ) |
249 |
C GMmaxslope - max. slope allowed in GM/Redi tensor |
C rCD - CD scheme normalised coupling parameter ( 0-1 ) |
250 |
C GMlength - Length to use in Visbeck et al. formula for K (m) |
C GMmaxslope - max. slope allowed in GM/Redi tensor |
251 |
C GMalpha - alpha to use in Visbeck et al. formula for K |
C GMlength - Length to use in Visbeck et al. formula for K (m) |
252 |
C GMdepth - Depth over which to integrate Richardson # (Visbeck et al.) |
C GMalpha - alpha to use in Visbeck et al. formula for K |
253 |
C GMkbackground - background value of GM/Redi coefficient |
C GMdepth - Depth over which to integrate Richardson # (Visbeck et al.) |
254 |
C GMmaxval - max. value of KapGM allowed in GM/Redi scheme |
C GMkbackground - background value of GM/Redi diffusion coefficient ( m^2/s ) |
255 |
C startTime - Starting time for this integration ( s ). |
C GMmaxval - max. value of KapGM allowed in GM/Redi scheme ( m^2/s ) |
256 |
C endTime - Ending time for this integration ( s ). |
C startTime - Starting time for this integration ( s ). |
257 |
C chkPtFreq - Frequency of rolling check pointing ( s ). |
C endTime - Ending time for this integration ( s ). |
258 |
C pChkPtFreq - Frequency of permanent check pointing ( s ). |
C chkPtFreq - Frequency of rolling check pointing ( s ). |
259 |
C dumpFreq - Frequency with which model state is written to |
C pChkPtFreq - Frequency of permanent check pointing ( s ). |
260 |
C post-processing files ( s ). |
C dumpFreq - Frequency with which model state is written to |
261 |
|
C post-processing files ( s ). |
262 |
|
C afFacMom - Advection of momentum term tracer parameter |
263 |
|
C vfFacMom - Momentum viscosity tracer parameter |
264 |
|
C pfFacMom - Momentum pressure forcing tracer parameter |
265 |
|
C cfFacMom - Coriolis term tracer parameter |
266 |
|
C foFacMom - Momentum forcing tracer parameter |
267 |
|
C mtFacMom - Metric terms tracer parameter |
268 |
|
C cAdjFreq - Frequency of convective adjustment |
269 |
|
C |
270 |
C taveFreq - Frequency with which time-averaged model state is written to |
C taveFreq - Frequency with which time-averaged model state is written to |
271 |
C post-processing files ( s ). |
C post-processing files ( s ). |
|
C afFacMom - Advection of momentum term scaling parameter |
|
|
C vfFacMom - Momentum viscosity scaling parameter |
|
|
C pfFacMom - Momentum pressure forcing parameter |
|
|
C cfFacMom - Coriolis term scaling parameter |
|
|
C foFacMom - Momentum forcing scaling parameter |
|
|
C mtFacMom - Metric terms scaling parameter |
|
|
C cAdjFreq - Frequency of convective adjustment |
|
272 |
C tauThetaClimRelax - Relaxation to climatology time scale ( s ). |
C tauThetaClimRelax - Relaxation to climatology time scale ( s ). |
273 |
C lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ). |
C lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ). |
274 |
C tauSaltClimRelax - Relaxation to climatology time scale ( s ). |
C tauSaltClimRelax - Relaxation to climatology time scale ( s ). |
277 |
C externForcingCycle - Is the repeat time of the forcing (eg. 1 year) |
C externForcingCycle - Is the repeat time of the forcing (eg. 1 year) |
278 |
C (note: externForcingCycle must be an integer |
C (note: externForcingCycle must be an integer |
279 |
C number times externForcingPeriod) |
C number times externForcingPeriod) |
280 |
COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac, delR, delX, delY, |
COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac, |
281 |
|
& delP, delZ, delR, delX, delY, |
282 |
& deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, phiMin, |
& deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, phiMin, |
283 |
& thetaMin, rSphere, rRSphere, f0, fCori, beta, viscAh, viscAz, viscA4, |
& thetaMin, rSphere, rRSphere, f0, fCori, beta, |
284 |
& diffKhT, diffKzT, diffK4T, diffKhS, diffKzS, diffK4S, delT, |
& viscAh, viscAz, viscA4, viscAr, |
285 |
& tauCD, rCD, freeSurfFac, hFacMin, hFacMinDz, |
& diffKhT, diffKzT, diffK4T, diffKrT, |
286 |
|
& diffKhS, diffKzS, diffK4S, diffKsT, |
287 |
|
& delT, tauCD, rCD, freeSurfFac, hFacMin, hFacMinDz, |
288 |
& GMmaxslope,GMlength,GMalpha,GMdepth,GMkbackground,GMmaxval, |
& GMmaxslope,GMlength,GMalpha,GMdepth,GMkbackground,GMmaxval, |
289 |
& gravity, gBaro, rhonil, tRef, sRef, |
& gravity, gBaro, rhonil, tRef, sRef, |
290 |
& endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq, |
& endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq, |