14 |
|
|
15 |
CEOP |
CEOP |
16 |
|
|
|
C Macros for special grid options |
|
|
#include "PARAMS_MACROS.h" |
|
|
|
|
17 |
C-- Contants |
C-- Contants |
18 |
C Useful physical values |
C Useful physical values |
19 |
Real*8 PI |
Real*8 PI |
49 |
C is taken from inline function. |
C is taken from inline function. |
50 |
C topoFile :: File containing the topography of the surface (unit=m) |
C topoFile :: File containing the topography of the surface (unit=m) |
51 |
C (mainly used for the atmosphere = ground height). |
C (mainly used for the atmosphere = ground height). |
52 |
|
C addWwallFile :: File containing 2-D additional Western cell-edge wall |
53 |
|
C addSwallFile :: File containing 2-D additional Southern cell-edge wall |
54 |
|
C (e.g., to add "thin-wall" where it is =1) |
55 |
C hydrogThetaFile :: File containing initial hydrographic data (3-D) |
C hydrogThetaFile :: File containing initial hydrographic data (3-D) |
56 |
C for potential temperature. |
C for potential temperature. |
57 |
C hydrogSaltFile :: File containing initial hydrographic data (3-D) |
C hydrogSaltFile :: File containing initial hydrographic data (3-D) |
87 |
& tRefFile, sRefFile, rhoRefFile, |
& tRefFile, sRefFile, rhoRefFile, |
88 |
& delRFile, delRcFile, hybSigmFile, |
& delRFile, delRcFile, hybSigmFile, |
89 |
& delXFile, delYFile, horizGridFile, |
& delXFile, delYFile, horizGridFile, |
90 |
& bathyFile, topoFile, |
& bathyFile, topoFile, addWwallFile, addSwallFile, |
91 |
& viscAhDfile, viscAhZfile, |
& viscAhDfile, viscAhZfile, |
92 |
& viscA4Dfile, viscA4Zfile, |
& viscA4Dfile, viscA4Zfile, |
93 |
& hydrogThetaFile, hydrogSaltFile, diffKrFile, |
& hydrogThetaFile, hydrogSaltFile, diffKrFile, |
98 |
& lambdaThetaFile, lambdaSaltFile, |
& lambdaThetaFile, lambdaSaltFile, |
99 |
& uVelInitFile, vVelInitFile, pSurfInitFile, |
& uVelInitFile, vVelInitFile, pSurfInitFile, |
100 |
& pLoadFile, addMassFile, |
& pLoadFile, addMassFile, |
101 |
& eddyPsiXFile, eddyPsiYFile, |
& eddyPsiXFile, eddyPsiYFile, geothermalFile, |
102 |
& the_run_name |
& the_run_name |
103 |
CHARACTER*(MAX_LEN_FNAM) buoyancyRelation |
CHARACTER*(MAX_LEN_FNAM) buoyancyRelation |
104 |
CHARACTER*(6) eosType |
CHARACTER*(6) eosType |
115 |
CHARACTER*(MAX_LEN_FNAM) delYFile |
CHARACTER*(MAX_LEN_FNAM) delYFile |
116 |
CHARACTER*(MAX_LEN_FNAM) horizGridFile |
CHARACTER*(MAX_LEN_FNAM) horizGridFile |
117 |
CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile |
CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile |
118 |
|
CHARACTER*(MAX_LEN_FNAM) addWwallFile, addSwallFile |
119 |
CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile, hydrogSaltFile |
CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile, hydrogSaltFile |
120 |
CHARACTER*(MAX_LEN_FNAM) diffKrFile |
CHARACTER*(MAX_LEN_FNAM) diffKrFile |
121 |
CHARACTER*(MAX_LEN_FNAM) viscAhDfile |
CHARACTER*(MAX_LEN_FNAM) viscAhDfile |
138 |
CHARACTER*(MAX_LEN_FNAM) addMassFile |
CHARACTER*(MAX_LEN_FNAM) addMassFile |
139 |
CHARACTER*(MAX_LEN_FNAM) eddyPsiXFile |
CHARACTER*(MAX_LEN_FNAM) eddyPsiXFile |
140 |
CHARACTER*(MAX_LEN_FNAM) eddyPsiYFile |
CHARACTER*(MAX_LEN_FNAM) eddyPsiYFile |
141 |
|
CHARACTER*(MAX_LEN_FNAM) geothermalFile |
142 |
CHARACTER*(MAX_LEN_FNAM) lambdaThetaFile |
CHARACTER*(MAX_LEN_FNAM) lambdaThetaFile |
143 |
CHARACTER*(MAX_LEN_FNAM) lambdaSaltFile |
CHARACTER*(MAX_LEN_FNAM) lambdaSaltFile |
144 |
CHARACTER*(MAX_LEN_PREC/2) the_run_name |
CHARACTER*(MAX_LEN_PREC/2) the_run_name |
351 |
C balanceThetaClimRelax :: substract global mean effect at every time step |
C balanceThetaClimRelax :: substract global mean effect at every time step |
352 |
C balanceSaltClimRelax :: substract global mean effect at every time step |
C balanceSaltClimRelax :: substract global mean effect at every time step |
353 |
C allowFreezing :: Allows surface water to freeze and form ice |
C allowFreezing :: Allows surface water to freeze and form ice |
|
C useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12) |
|
354 |
C periodicExternalForcing :: Set true if forcing is time-dependant |
C periodicExternalForcing :: Set true if forcing is time-dependant |
355 |
C- I/O parameters - |
C- I/O parameters - |
356 |
C globalFiles :: Selects between "global" and "tiled" files. |
C globalFiles :: Selects between "global" and "tiled" files. |
405 |
& balanceEmPmR, balanceQnet, balancePrintMean, |
& balanceEmPmR, balanceQnet, balancePrintMean, |
406 |
& balanceThetaClimRelax, balanceSaltClimRelax, |
& balanceThetaClimRelax, balanceSaltClimRelax, |
407 |
& doThetaClimRelax, doSaltClimRelax, |
& doThetaClimRelax, doSaltClimRelax, |
408 |
& allowFreezing, useOldFreezing, |
& allowFreezing, |
409 |
& periodicExternalForcing, |
& periodicExternalForcing, |
410 |
& globalFiles, |
& globalFiles, |
411 |
& pickupStrictlyMatch, usePickupBeforeC54, startFromPickupAB2, |
& pickupStrictlyMatch, usePickupBeforeC54, startFromPickupAB2, |
500 |
LOGICAL balanceThetaClimRelax |
LOGICAL balanceThetaClimRelax |
501 |
LOGICAL balanceSaltClimRelax |
LOGICAL balanceSaltClimRelax |
502 |
LOGICAL allowFreezing |
LOGICAL allowFreezing |
|
LOGICAL useOldFreezing |
|
503 |
LOGICAL periodicExternalForcing |
LOGICAL periodicExternalForcing |
504 |
LOGICAL globalFiles |
LOGICAL globalFiles |
505 |
LOGICAL pickupStrictlyMatch |
LOGICAL pickupStrictlyMatch |
542 |
C :: parameter but it makes geographical references simple.) |
C :: parameter but it makes geographical references simple.) |
543 |
C ygOrigin :: Origin of the Y-axis (Cartesian Grid) / Latitude of Southern |
C ygOrigin :: Origin of the Y-axis (Cartesian Grid) / Latitude of Southern |
544 |
C :: most face (Lat-Lon grid). |
C :: most face (Lat-Lon grid). |
545 |
C gravity :: Accel. due to gravity ( m/s^2 ) |
C gravity :: Accel. due to gravity ( m/s^2 ) |
546 |
C recip_gravity and its inverse |
C recip_gravity and its inverse |
547 |
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 ) |
548 |
C rhoNil :: Reference density for the linear equation of state |
C rhoNil :: Reference density for the linear equation of state |
549 |
C rhoConst :: Vertically constant reference density (Boussinesq) |
C rhoConst :: Vertically constant reference density (Boussinesq) |
550 |
C rhoFacC :: normalized (by rhoConst) reference density at cell-Center |
C thetaConst :: Constant reference for potential temperature |
551 |
C rhoFacF :: normalized (by rhoConst) reference density at cell-interFace |
C rhoFacC :: normalized (by rhoConst) reference density at cell-Center |
552 |
|
C rhoFacF :: normalized (by rhoConst) reference density at cell-interFace |
553 |
C rhoConstFresh :: Constant reference density for fresh water (rain) |
C rhoConstFresh :: Constant reference density for fresh water (rain) |
554 |
C rho1Ref :: reference vertical profile for density |
C rho1Ref :: reference vertical profile for density |
555 |
C tRef :: reference vertical profile for potential temperature |
C tRef :: reference vertical profile for potential temperature |
556 |
C sRef :: reference vertical profile for salinity/specific humidity |
C sRef :: reference vertical profile for salinity/specific humidity |
557 |
C phiRef :: reference potential (pressure/rho, geopotential) profile |
C phiRef :: reference potential (pressure/rho, geopotential) profile |
558 |
C dBdrRef :: vertical gradient of reference buoyancy [(m/s/r)^2]: |
C dBdrRef :: vertical gradient of reference buoyancy [(m/s/r)^2]: |
559 |
C :: z-coord: = N^2_ref = Brunt-Vaissala frequency [s^-2] |
C :: z-coord: = N^2_ref = Brunt-Vaissala frequency [s^-2] |
560 |
C :: p-coord: = -(d.alpha/dp)_ref [(m^2.s/kg)^2] |
C :: p-coord: = -(d.alpha/dp)_ref [(m^2.s/kg)^2] |
561 |
C rVel2wUnit :: units conversion factor (Non-Hydrostatic code), |
C rVel2wUnit :: units conversion factor (Non-Hydrostatic code), |
562 |
C :: from r-coordinate vertical velocity to vertical velocity [m/s]. |
C :: from r-coordinate vertical velocity to vertical velocity [m/s]. |
563 |
C :: z-coord: = 1 ; p-coord: wSpeed [m/s] = rVel [Pa/s] * rVel2wUnit |
C :: z-coord: = 1 ; p-coord: wSpeed [m/s] = rVel [Pa/s] * rVel2wUnit |
769 |
& freeSurfFac, implicSurfPress, implicDiv2Dflow, implicitNHPress, |
& freeSurfFac, implicSurfPress, implicDiv2Dflow, implicitNHPress, |
770 |
& hFacMin, hFacMinDz, hFacInf, hFacSup, |
& hFacMin, hFacMinDz, hFacInf, hFacSup, |
771 |
& gravity, recip_gravity, gBaro, |
& gravity, recip_gravity, gBaro, |
772 |
& rhoNil, rhoConst, recip_rhoConst, |
& rhoNil, rhoConst, recip_rhoConst, thetaConst, |
773 |
& rhoFacC, recip_rhoFacC, rhoFacF, recip_rhoFacF, |
& rhoFacC, recip_rhoFacC, rhoFacF, recip_rhoFacF, |
774 |
& rhoConstFresh, rho1Ref, tRef, sRef, phiRef, dBdrRef, |
& rhoConstFresh, rho1Ref, tRef, sRef, phiRef, dBdrRef, |
775 |
& rVel2wUnit, wUnit2rVel, mass2rUnit, rUnit2mass, |
& rVel2wUnit, wUnit2rVel, mass2rUnit, rUnit2mass, |
867 |
_RL gBaro |
_RL gBaro |
868 |
_RL rhoNil |
_RL rhoNil |
869 |
_RL rhoConst, recip_rhoConst |
_RL rhoConst, recip_rhoConst |
870 |
|
_RL thetaConst |
871 |
_RL rhoFacC(Nr), recip_rhoFacC(Nr) |
_RL rhoFacC(Nr), recip_rhoFacC(Nr) |
872 |
_RL rhoFacF(Nr+1), recip_rhoFacF(Nr+1) |
_RL rhoFacF(Nr+1), recip_rhoFacF(Nr+1) |
873 |
_RL rhoConstFresh |
_RL rhoConstFresh |
923 |
_RL phiEuler, thetaEuler, psiEuler |
_RL phiEuler, thetaEuler, psiEuler |
924 |
|
|
925 |
C-- COMMON /PARM_A/ Thermodynamics constants ? |
C-- COMMON /PARM_A/ Thermodynamics constants ? |
926 |
COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp |
COMMON /PARM_A/ HeatCapacity_Cp |
927 |
_RL HeatCapacity_Cp |
_RL HeatCapacity_Cp |
|
_RL recip_Cp |
|
928 |
|
|
929 |
C-- COMMON /PARM_ATM/ Atmospheric physical parameters (Ideal Gas EOS, ...) |
C-- COMMON /PARM_ATM/ Atmospheric physical parameters (Ideal Gas EOS, ...) |
930 |
C celsius2K :: convert centigrade (Celsius) degree to Kelvin |
C celsius2K :: convert centigrade (Celsius) degree to Kelvin |
953 |
LOGICAL useZONAL_FILT |
LOGICAL useZONAL_FILT |
954 |
LOGICAL useOPPS |
LOGICAL useOPPS |
955 |
LOGICAL usePP81 |
LOGICAL usePP81 |
956 |
|
LOGICAL useKL10 |
957 |
LOGICAL useMY82 |
LOGICAL useMY82 |
958 |
LOGICAL useGGL90 |
LOGICAL useGGL90 |
959 |
LOGICAL useKPP |
LOGICAL useKPP |
969 |
LOGICAL useSMOOTH |
LOGICAL useSMOOTH |
970 |
LOGICAL usePROFILES |
LOGICAL usePROFILES |
971 |
LOGICAL useECCO |
LOGICAL useECCO |
972 |
|
LOGICAL useCTRL |
973 |
LOGICAL useSBO |
LOGICAL useSBO |
974 |
LOGICAL useFLT |
LOGICAL useFLT |
975 |
LOGICAL usePTRACERS |
LOGICAL usePTRACERS |
999 |
LOGICAL useMYPACKAGE |
LOGICAL useMYPACKAGE |
1000 |
COMMON /PARM_PACKAGES/ |
COMMON /PARM_PACKAGES/ |
1001 |
& useGAD, useOBCS, useSHAP_FILT, useZONAL_FILT, |
& useGAD, useOBCS, useSHAP_FILT, useZONAL_FILT, |
1002 |
& useOPPS, usePP81, useMY82, useGGL90, useKPP, |
& useOPPS, usePP81, useKL10, useMY82, useGGL90, useKPP, |
1003 |
& useGMRedi, useBBL, useDOWN_SLOPE, |
& useGMRedi, useBBL, useDOWN_SLOPE, useCTRL, |
1004 |
& useCAL, useEXF, useBulkForce, useEBM, useCheapAML, |
& useCAL, useEXF, useBulkForce, useEBM, useCheapAML, |
1005 |
& useGrdchk,useSMOOTH,usePROFILES,useECCO,useSBO, useFLT, |
& useGrdchk,useSMOOTH,usePROFILES,useECCO,useSBO, useFLT, |
1006 |
& usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX, |
& usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX, |