3 |
|
|
4 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
5 |
|
|
6 |
|
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
7 |
CBOP |
CBOP |
8 |
C !ROUTINE: SET_DEFAULTS |
C !ROUTINE: SET_DEFAULTS |
9 |
C !INTERFACE: |
C !INTERFACE: |
12 |
O hFacMinDrDefault, delRdefault, rkFacDefault, |
O hFacMinDrDefault, delRdefault, rkFacDefault, |
13 |
I myThid ) |
I myThid ) |
14 |
|
|
15 |
C !DESCRIPTION: \bv |
C !DESCRIPTION: |
16 |
C *==========================================================* |
C Routine to set model "parameter defaults". |
|
C | SUBROUTINE SET_DEFAULTS |
|
|
C | o Routine to set model "parameters" |
|
|
C *==========================================================* |
|
|
C | Notes: |
|
|
C | ====== |
|
|
C | The present version of this routine is a place-holder. |
|
|
C | A production version needs to handle parameters from an |
|
|
C | external file and possibly reading in some initial field |
|
|
C | values. |
|
|
C *==========================================================* |
|
|
C \ev |
|
17 |
|
|
18 |
C !USES: |
C !USES: |
19 |
IMPLICIT NONE |
IMPLICIT NONE |
|
C === Global variables === |
|
20 |
#include "SIZE.h" |
#include "SIZE.h" |
21 |
#include "EEPARAMS.h" |
#include "EEPARAMS.h" |
22 |
#include "PARAMS.h" |
#include "PARAMS.h" |
24 |
#include "GRID.h" |
#include "GRID.h" |
25 |
|
|
26 |
C !INPUT/OUTPUT PARAMETERS: |
C !INPUT/OUTPUT PARAMETERS: |
|
C === Routine arguments === |
|
27 |
C myThid - Number of this instance of INI_PARMS |
C myThid - Number of this instance of INI_PARMS |
28 |
INTEGER myThid |
INTEGER myThid |
29 |
_RL viscArDefault |
_RL viscArDefault |
34 |
_RS rkFacDefault |
_RS rkFacDefault |
35 |
|
|
36 |
C !LOCAL VARIABLES: |
C !LOCAL VARIABLES: |
|
C === Local variables === |
|
37 |
C K, I, J - Loop counters |
C K, I, J - Loop counters |
38 |
INTEGER K, I, J |
INTEGER K, I, J |
39 |
CEOP |
CEOP |
66 |
rSphere = 6370. * 1.D3 |
rSphere = 6370. * 1.D3 |
67 |
C General curvilinear coordinate system |
C General curvilinear coordinate system |
68 |
usingCurvilinearGrid = .FALSE. |
usingCurvilinearGrid = .FALSE. |
69 |
|
C General cylindrical coordinate system |
70 |
|
usingCylindricalGrid = .FALSE. |
71 |
|
|
72 |
|
|
73 |
C-- Set default "physical" parameters |
C-- Set default "physical" parameters |
74 |
DO K =1,Nr |
DO K =1,Nr |
97 |
no_slip_bottom = .TRUE. |
no_slip_bottom = .TRUE. |
98 |
diffKrTDefault = 0.D-3 |
diffKrTDefault = 0.D-3 |
99 |
diffKrSDefault = 0.D-3 |
diffKrSDefault = 0.D-3 |
100 |
|
diffKrBL79surf = 0.D0 |
101 |
|
diffKrBL79deep = 0.D0 |
102 |
|
diffKrBL79scl = 200.D0 |
103 |
|
diffKrBL79Ho = -2000.D0 |
104 |
viscA4 = 0.D11 |
viscA4 = 0.D11 |
105 |
viscA4Grid = 0.D0 |
viscA4Grid = 0.D0 |
106 |
viscA4Max = 1.D21 |
viscA4Max = 1.D21 |
129 |
saltStepping = .TRUE. |
saltStepping = .TRUE. |
130 |
saltAdvection = .TRUE. |
saltAdvection = .TRUE. |
131 |
saltForcing = .TRUE. |
saltForcing = .TRUE. |
|
tr1Stepping = .FALSE. |
|
132 |
metricTerms = .TRUE. |
metricTerms = .TRUE. |
133 |
useNHMTerms = .FALSE. |
useNHMTerms = .FALSE. |
134 |
implicitDiffusion = .FALSE. |
implicitDiffusion = .FALSE. |
147 |
bottomDragLinear = 0. |
bottomDragLinear = 0. |
148 |
bottomDragQuadratic = 0. |
bottomDragQuadratic = 0. |
149 |
usePickupBeforeC35 = .FALSE. |
usePickupBeforeC35 = .FALSE. |
150 |
|
usePickupBeforeC54 = .FALSE. |
151 |
debugMode = .FALSE. |
debugMode = .FALSE. |
152 |
readPickupWithTracer = .FALSE. |
readPickupWithTracer = .FALSE. |
153 |
writePickupWithTracer = .FALSE. |
writePickupWithTracer = .FALSE. |
158 |
useCDscheme = .FALSE. |
useCDscheme = .FALSE. |
159 |
useEnergyConservingCoriolis = .FALSE. |
useEnergyConservingCoriolis = .FALSE. |
160 |
useJamartWetPoints = .FALSE. |
useJamartWetPoints = .FALSE. |
161 |
|
useJamartMomAdv = .FALSE. |
162 |
SadournyCoriolis = .FALSE. |
SadournyCoriolis = .FALSE. |
163 |
upwindVorticity = .FALSE. |
upwindVorticity = .FALSE. |
164 |
highOrderVorticity = .FALSE. |
highOrderVorticity = .FALSE. |
197 |
cg2dTargetResWunit = -1. |
cg2dTargetResWunit = -1. |
198 |
cg2dChkResFreq = 1 |
cg2dChkResFreq = 1 |
199 |
cg2dpcOffDFac = 0.51D0 |
cg2dpcOffDFac = 0.51D0 |
200 |
|
cg2dPreCondFreq = 1 |
201 |
cg3dMaxIters = 150 |
cg3dMaxIters = 150 |
202 |
cg3dTargetResidual = 1.D-7 |
cg3dTargetResidual = 1.D-7 |
203 |
cg3dChkResFreq = 1 |
cg3dChkResFreq = 1 |
214 |
abEps = 0.01 |
abEps = 0.01 |
215 |
pchkPtFreq = deltaT*0 |
pchkPtFreq = deltaT*0 |
216 |
chkPtFreq = deltaT*0 |
chkPtFreq = deltaT*0 |
217 |
|
outputTypesInclusive = .FALSE. |
218 |
|
pickup_read_mdsio = .TRUE. |
219 |
|
pickup_write_mdsio= .TRUE. |
220 |
|
pickup_write_immed= .FALSE. |
221 |
dumpFreq = deltaT*0 |
dumpFreq = deltaT*0 |
222 |
adjDumpFreq = deltaT*0 |
adjDumpFreq = deltaT*0 |
223 |
diagFreq = deltaT*0 |
diagFreq = deltaT*0 |
224 |
|
snapshot_mdsio = .TRUE. |
225 |
monitorFreq = -1. |
monitorFreq = -1. |
226 |
|
monitor_stdio = .TRUE. |
227 |
taveFreq = deltaT*0 |
taveFreq = deltaT*0 |
228 |
|
timeave_mdsio = .TRUE. |
229 |
tave_lastIter = 0.5 _d 0 |
tave_lastIter = 0.5 _d 0 |
230 |
writeStatePrec = precFloat64 |
writeStatePrec = precFloat64 |
231 |
writeBinaryPrec = precFloat32 |
writeBinaryPrec = precFloat32 |
241 |
periodicExternalForcing = .FALSE. |
periodicExternalForcing = .FALSE. |
242 |
externForcingPeriod = 0. |
externForcingPeriod = 0. |
243 |
externForcingCycle = 0. |
externForcingCycle = 0. |
244 |
|
tCyl = 0. |
245 |
|
|
246 |
C-- Input files |
C-- Input files |
247 |
bathyFile = ' ' |
bathyFile = ' ' |
254 |
saltClimFile = ' ' |
saltClimFile = ' ' |
255 |
EmPmRfile = ' ' |
EmPmRfile = ' ' |
256 |
surfQfile = ' ' |
surfQfile = ' ' |
257 |
surfQswfile = ' ' |
surfQnetFile = ' ' |
258 |
|
surfQswFile = ' ' |
259 |
uVelInitFile = ' ' |
uVelInitFile = ' ' |
260 |
vVelInitFile = ' ' |
vVelInitFile = ' ' |
261 |
pSurfInitFile = ' ' |
pSurfInitFile = ' ' |