1 |
C $Header$ |
C $Header$ |
2 |
|
C $Name$ |
3 |
|
|
4 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
5 |
|
|
25 |
#include "EEPARAMS.h" |
#include "EEPARAMS.h" |
26 |
#include "PARAMS.h" |
#include "PARAMS.h" |
27 |
#include "GRID.h" |
#include "GRID.h" |
|
#include "CG2D.h" |
|
28 |
|
|
29 |
C === Routine arguments === |
C === Routine arguments === |
30 |
C myThid - Number of this instance of INI_PARMS |
C myThid - Number of this instance of INI_PARMS |
44 |
C Vertical gridding |
C Vertical gridding |
45 |
rkFacDefault = 1.D0 |
rkFacDefault = 1.D0 |
46 |
horiVertRatio = 1.D0 |
horiVertRatio = 1.D0 |
47 |
|
Ro_SeaLevel = 0. |
48 |
DO k=1,Nr |
DO k=1,Nr |
49 |
delRdefault(k) = 0. |
delRdefault(k) = 0. |
50 |
ENDDO |
ENDDO |
53 |
C In cartesian coords distances are in metres |
C In cartesian coords distances are in metres |
54 |
usingCartesianGrid = .TRUE. |
usingCartesianGrid = .TRUE. |
55 |
DO i=1,Nx |
DO i=1,Nx |
56 |
delX(i) = 0. |
delX(i) = UNSET_RL |
57 |
ENDDO |
ENDDO |
58 |
DO j=1,Ny |
DO j=1,Ny |
59 |
delY(j) = 0. |
delY(j) = UNSET_RL |
60 |
ENDDO |
ENDDO |
61 |
C In spherical polar distances are in degrees |
C In spherical polar distances are in degrees |
62 |
usingSphericalPolarGrid = .FALSE. |
usingSphericalPolarGrid = .FALSE. |
63 |
phiMin = 0.0 |
phiMin = 0.0 |
64 |
thetaMin = 0. |
thetaMin = 0. |
65 |
rSphere = 6370. * 1.D3 |
rSphere = 6370. * 1.D3 |
66 |
|
C General curvilinear coordinate system |
67 |
|
usingCurvilinearGrid = .FALSE. |
68 |
|
|
69 |
C-- Set default "physical" parameters |
C-- Set default "physical" parameters |
70 |
DO K =1,Nr |
DO K =1,Nr |
74 |
rhoNil = 999.8D0 |
rhoNil = 999.8D0 |
75 |
f0 = 1.D-4 |
f0 = 1.D-4 |
76 |
beta = 1.D-11 |
beta = 1.D-11 |
77 |
|
omega = 2.D0 * PI / ( 3600.D0 * 24.D0 ) |
78 |
viscAh = 0.D3 |
viscAh = 0.D3 |
79 |
diffKhT = 0.D3 |
diffKhT = 0.D3 |
80 |
diffKhS = 0.D3 |
diffKhS = 0.D3 |
87 |
diffK4T = 0.D11 |
diffK4T = 0.D11 |
88 |
diffK4S = 0.D11 |
diffK4S = 0.D11 |
89 |
cosPower = 0. |
cosPower = 0. |
|
GMmaxslope = 1.D-2 |
|
|
GMlength = 200.D3 |
|
|
GMalpha = 0.D0 |
|
|
GMdepth = 1000.D0 |
|
|
GMkbackground = 0.D0 |
|
|
GMmaxval = 2500.D0 |
|
90 |
HeatCapacity_Cp = 3994.D0 |
HeatCapacity_Cp = 3994.D0 |
91 |
tAlpha = 2.D-4 |
tAlpha = 2.D-4 |
92 |
sBeta = 7.4D-4 |
sBeta = 7.4D-4 |
94 |
buoyancyRelation = 'OCEANIC' |
buoyancyRelation = 'OCEANIC' |
95 |
implicitFreeSurface = .TRUE. |
implicitFreeSurface = .TRUE. |
96 |
rigidLid = .FALSE. |
rigidLid = .FALSE. |
97 |
|
implicSurfPress = 1.D0 |
98 |
|
implicDiv2DFlow = 1.D0 |
99 |
hFacMin = 1.D0 |
hFacMin = 1.D0 |
100 |
hFacMinDrDefault = 0.D0 |
hFacMinDrDefault = 0.D0 |
101 |
|
exactConserv = .FALSE. |
102 |
|
uniformLin_PhiSurf = .TRUE. |
103 |
|
nonlinFreeSurf = 0 |
104 |
|
hFacInf = 1.D0 |
105 |
|
hFacSup = 1.D0 |
106 |
|
staggerTimeStep = .FALSE. |
107 |
momViscosity = .TRUE. |
momViscosity = .TRUE. |
108 |
momAdvection = .TRUE. |
momAdvection = .TRUE. |
109 |
momForcing = .TRUE. |
momForcing = .TRUE. |
112 |
momStepping = .TRUE. |
momStepping = .TRUE. |
113 |
tempStepping = .TRUE. |
tempStepping = .TRUE. |
114 |
saltStepping = .TRUE. |
saltStepping = .TRUE. |
115 |
metricTerms = .FALSE. |
tr1Stepping = .FALSE. |
116 |
|
metricTerms = .TRUE. |
117 |
implicitDiffusion = .FALSE. |
implicitDiffusion = .FALSE. |
118 |
implicitViscosity = .FALSE. |
implicitViscosity = .FALSE. |
|
openBoundaries = .FALSE. |
|
119 |
nonHydrostatic = .FALSE. |
nonHydrostatic = .FALSE. |
120 |
globalFiles = .FALSE. |
globalFiles = .FALSE. |
121 |
allowFreezing = .FALSE. |
allowFreezing = .FALSE. |
122 |
ivdc_kappa = 0.D0 |
ivdc_kappa = 0.D0 |
123 |
|
groundAtK1 = .FALSE. |
124 |
|
zonal_filt_lat = 90. |
125 |
|
zonal_filt_sinpow = 2 |
126 |
|
zonal_filt_cospow = 2 |
127 |
|
bottomDragLinear = 0. |
128 |
|
bottomDragQuadratic = 0. |
129 |
|
usePickupBeforeC35 = .FALSE. |
130 |
|
debugMode = .FALSE. |
131 |
|
readPickupWithTracer = .FALSE. |
132 |
|
writePickupWithTracer = .FALSE. |
133 |
|
tempAdvScheme = 2 |
134 |
|
saltAdvScheme = 2 |
135 |
|
tracerAdvScheme = 2 |
136 |
|
|
137 |
|
C-- Atmospheric physical parameters (e.g.: EOS) |
138 |
|
atm_po = 1.D5 |
139 |
|
atm_cp = 1004.D0 |
140 |
|
atm_kappa = 2.D0 / 7.D0 |
141 |
|
Integr_GeoPot = 2 |
142 |
|
|
143 |
C-- Elliptic solver parameters |
C-- Elliptic solver parameters |
144 |
cg2dMaxIters = 150 |
cg2dMaxIters = 150 |
145 |
cg2dTargetResidual = 1.D-7 |
cg2dTargetResidual = 1.D-7 |
146 |
|
cg2dTargetResWunit = -1. |
147 |
cg2dChkResFreq = 1 |
cg2dChkResFreq = 1 |
148 |
cg2dpcOffDFac = 0.51D0 |
cg2dpcOffDFac = 0.51D0 |
149 |
cg3dMaxIters = 150 |
cg3dMaxIters = 150 |
161 |
pchkPtFreq = deltaT*0 |
pchkPtFreq = deltaT*0 |
162 |
chkPtFreq = deltaT*0 |
chkPtFreq = deltaT*0 |
163 |
dumpFreq = deltaT*0 |
dumpFreq = deltaT*0 |
164 |
|
monitorFreq = -1. |
165 |
taveFreq = deltaT*0 |
taveFreq = deltaT*0 |
166 |
writeStatePrec = precFloat64 |
writeStatePrec = precFloat64 |
167 |
writeBinaryPrec = precFloat32 |
writeBinaryPrec = precFloat32 |
173 |
tauCD = 0.D0 |
tauCD = 0.D0 |
174 |
tauThetaClimRelax = 0.D0 |
tauThetaClimRelax = 0.D0 |
175 |
tauSaltClimRelax = 0.D0 |
tauSaltClimRelax = 0.D0 |
176 |
|
tauTr1ClimRelax = 0.D0 |
177 |
periodicExternalForcing = .FALSE. |
periodicExternalForcing = .FALSE. |
178 |
externForcingPeriod = 0. |
externForcingPeriod = 0. |
179 |
externForcingCycle = 0. |
externForcingCycle = 0. |
180 |
|
|
181 |
C-- Input files |
C-- Input files |
182 |
bathyFile = ' ' |
bathyFile = ' ' |
183 |
|
topoFile = ' ' |
184 |
hydrogSaltFile = ' ' |
hydrogSaltFile = ' ' |
185 |
hydrogThetaFile = ' ' |
hydrogThetaFile = ' ' |
186 |
zonalWindFile = ' ' |
zonalWindFile = ' ' |
189 |
saltClimFile = ' ' |
saltClimFile = ' ' |
190 |
EmPmRfile = ' ' |
EmPmRfile = ' ' |
191 |
surfQfile = ' ' |
surfQfile = ' ' |
192 |
|
surfQswfile = ' ' |
193 |
C-- OBCS |
uVelInitFile = ' ' |
194 |
DO I=1,Nx |
vVelInitFile = ' ' |
195 |
OB_Jnorth(I)=0 |
pSurfInitFile = ' ' |
196 |
OB_Jsouth(I)=0 |
dQdTFile = ' ' |
|
ENDDO |
|
|
DO J=1,Ny |
|
|
OB_Ieast(J)=0 |
|
|
OB_Iwest(J)=0 |
|
|
ENDDO |
|
197 |
|
|
198 |
C |
C |
199 |
RETURN |
RETURN |