/[MITgcm]/MITgcm/pkg/dic/dic_abiotic_param.F
ViewVC logotype

Contents of /MITgcm/pkg/dic/dic_abiotic_param.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Thu Feb 12 16:11:46 2004 UTC (20 years, 3 months ago) by stephd
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint58l_post, checkpoint53f_post, checkpoint54a_pre, checkpoint55c_post, checkpoint53b_pre, checkpoint57m_post, checkpoint52l_pre, hrcube4, checkpoint58e_post, checkpoint57v_post, checkpoint52n_post, checkpoint52j_post, checkpoint57f_post, checkpoint57s_post, checkpoint57j_post, checkpoint58b_post, checkpoint58m_post, checkpoint57b_post, checkpoint53c_post, checkpoint53d_post, checkpoint57f_pre, checkpoint57k_post, checkpoint55d_pre, checkpoint57d_post, checkpoint57g_post, checkpoint57a_post, checkpoint58r_post, checkpoint55j_post, checkpoint56b_post, checkpoint57h_pre, checkpoint57y_post, checkpoint58g_post, checkpoint57x_post, checkpoint52j_pre, checkpoint54a_post, checkpoint52l_post, checkpoint55h_post, checkpoint58n_post, checkpoint58x_post, checkpoint52k_post, checkpoint57g_pre, checkpoint54b_post, checkpoint58h_post, checkpoint57e_post, checkpoint58w_post, checkpoint54d_post, checkpoint56c_post, checkpoint54e_post, checkpoint58j_post, checkpoint55b_post, checkpoint57h_post, checkpoint52m_post, checkpoint57y_pre, checkpoint55, checkpoint53a_post, checkpoint55a_post, checkpoint57c_pre, hrcube5, checkpoint53b_post, checkpoint57o_post, checkpoint55g_post, checkpoint57r_post, checkpoint59e, checkpoint59d, checkpoint59a, checkpoint55f_post, checkpoint57i_post, checkpoint59b, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint54, checkpoint57, checkpoint56, checkpoint53, checkpoint57h_done, checkpoint58f_post, checkpoint59c, checkpoint53g_post, checkpoint57n_post, checkpoint58d_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58o_post, checkpoint57z_post, checkpoint54f_post, eckpoint57e_pre, checkpoint58c_post, checkpoint58k_post, checkpoint57c_post, checkpoint58u_post, checkpoint58y_post, checkpoint58v_post, checkpoint53d_pre, checkpoint58s_post, checkpoint55e_post, checkpoint54c_post, checkpoint58p_post, checkpoint58t_post, checkpoint58q_post, checkpoint55i_post, checkpoint57l_post, checkpoint56a_post, checkpoint55d_post
Changes since 1.4: +14 -15 lines
o clean up and add extra documentation

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

  ViewVC Help
Powered by ViewVC 1.1.22