1 |
|
2 |
#include "DIC_OPTIONS.h" |
3 |
#include "GCHEM_OPTIONS.h" |
4 |
|
5 |
CBOP |
6 |
C !ROUTINE: DIC_ABIOTIC_PARAM |
7 |
|
8 |
C !INTERFACE: ========================================================== |
9 |
SUBROUTINE DIC_ABIOTIC_PARAM( myThid ) |
10 |
|
11 |
C !DESCRIPTION: |
12 |
C Set parameters needed for calculating air-sea exchange of CO2 and O2 |
13 |
|
14 |
C !USES: =============================================================== |
15 |
IMPLICIT NONE |
16 |
#include "SIZE.h" |
17 |
#include "EEPARAMS.h" |
18 |
#include "PARAMS.h" |
19 |
#include "GRID.h" |
20 |
#include "DYNVARS.h" |
21 |
#include "DIC_ABIOTIC.h" |
22 |
|
23 |
c !INPUT PARAMETERS: =================================================== |
24 |
INTEGER myThid |
25 |
|
26 |
C !LOCAL VARIABLES: ==================================================== |
27 |
C i,j :: loop indices |
28 |
integer i,j,bi,bj |
29 |
CEOP |
30 |
|
31 |
_BARRIER |
32 |
|
33 |
C set up coefficients for DIC chemistry |
34 |
C define Schmidt no. coefficients for CO2 |
35 |
sca1 = 2073.1 |
36 |
sca2 = -125.62 |
37 |
sca3 = 3.6276 |
38 |
sca4 = -0.043219 |
39 |
C define Schmidt no. coefficients for O2 |
40 |
C based on Keeling et al [GBC, 12, 141, (1998)] |
41 |
sox1 = 1638.0 |
42 |
sox2 = -81.83 |
43 |
sox3 = 1.483 |
44 |
sox4 = -0.008004 |
45 |
|
46 |
C coefficients for determining saturation O2 |
47 |
oA0= 2.00907 |
48 |
oA1= 3.22014 |
49 |
oA2= 4.05010 |
50 |
oA3= 4.94457 |
51 |
oA4= -2.56847E-1 |
52 |
oA5= 3.88767 |
53 |
oB0= -6.24523E-3 |
54 |
oB1= -7.37614E-3 |
55 |
oB2= -1.03410E-2 |
56 |
oB3= -8.17083E-3 |
57 |
oC0= -4.88682E-7 |
58 |
|
59 |
|
60 |
C set carbon mol/m3 <---> mol/kg conversion factor |
61 |
permil = 1.0 / 1024.5 |
62 |
|
63 |
cph this is to please TAF |
64 |
gsm_s = 0. |
65 |
gsm_dic = 0. |
66 |
gsm_alk = 0. |
67 |
|
68 |
c |
69 |
DO bj=myByLo(myThid),myByHi(myThid) |
70 |
DO bi=myBxLo(myThid),myBxHi(myThid) |
71 |
DO j=1-OLy,sNy+OLy |
72 |
DO i=1-OLx,sNx+OLx |
73 |
ak0(i,j,bi,bj)=0.d0 |
74 |
ak1(i,j,bi,bj)=0.d0 |
75 |
ak2(i,j,bi,bj)=0.d0 |
76 |
akw(i,j,bi,bj)=0.d0 |
77 |
akb(i,j,bi,bj)=0.d0 |
78 |
akf(i,j,bi,bj)=0.d0 |
79 |
ak1p(i,j,bi,bj)=0.d0 |
80 |
ak2p(i,j,bi,bj)=0.d0 |
81 |
ak3p(i,j,bi,bj)=0.d0 |
82 |
aksi(i,j,bi,bj)=0.d0 |
83 |
ff(i,j,bi,bj)=0.d0 |
84 |
ft(i,j,bi,bj)=0.d0 |
85 |
st(i,j,bi,bj)=0.d0 |
86 |
bt(i,j,bi,bj)=0.d0 |
87 |
ENDDO |
88 |
ENDDO |
89 |
ENDDO |
90 |
ENDDO |
91 |
|
92 |
|
93 |
RETURN |
94 |
END |