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

Diff of /MITgcm/pkg/dic/dic_surfforcing.F

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

revision 1.14 by dfer, Mon Aug 13 02:29:40 2007 UTC revision 1.15 by dfer, Tue Aug 14 19:32:40 2007 UTC
# Line 69  c Co2 value passed from the coupler Line 69  c Co2 value passed from the coupler
69  C PRE-INDUSTRIAL STEADY STATE pCO2 = 278.0 ppmv  C PRE-INDUSTRIAL STEADY STATE pCO2 = 278.0 ppmv
70         DO j=1-OLy,sNy+OLy         DO j=1-OLy,sNy+OLy
71          DO i=1-OLx,sNx+OLx          DO i=1-OLx,sNx+OLx
72             AtmospCO2(i,j,bi,bj)=278.0d-6             AtmospCO2(i,j,bi,bj)=278.0 _d -6
73          ENDDO          ENDDO
74         ENDDO         ENDDO
75  #endif  #endif
# Line 87  cQQQQ check ptracer numbers Line 87  cQQQQ check ptracer numbers
87               surfphos(i,j)  = PTR_PO4(i,j,klev)               surfphos(i,j)  = PTR_PO4(i,j,klev)
88       &                          * maskC(i,j,kLev,bi,bj)       &                          * maskC(i,j,kLev,bi,bj)
89  #else  #else
90               surfalk(i,j) = 2.366595 * salt(i,j,kLev,bi,bj)/gsm_s               surfalk(i,j) = 2.366595 _d 0 * salt(i,j,kLev,bi,bj)/gsm_s
91       &                          * maskC(i,j,kLev,bi,bj)       &                          * maskC(i,j,kLev,bi,bj)
92               surfphos(i,j)  = 5.1225e-4 * maskC(i,j,kLev,bi,bj)               surfphos(i,j)  = 5.1225 _d -4 * maskC(i,j,kLev,bi,bj)
93  #endif  #endif
94  C FOR NON-INTERACTIVE Si  C FOR NON-INTERACTIVE Si
95               surfsi(i,j)   = SILICA(i,j,bi,bj) * maskC(i,j,kLev,bi,bj)               surfsi(i,j)   = SILICA(i,j,bi,bj) * maskC(i,j,kLev,bi,bj)
# Line 143  C to total pressure (in Atm) Line 143  C to total pressure (in Atm)
143  C Note: it is assumed the reference atmospheric pressure is 1Atm=1013mb  C Note: it is assumed the reference atmospheric pressure is 1Atm=1013mb
144  C       rather than the actual ref. pressure from Atm. model so that on  C       rather than the actual ref. pressure from Atm. model so that on
145  C       average AtmosP is about 1 Atm.  C       average AtmosP is about 1 Atm.
146                 AtmosP(i,j,bi,bj)= 1. _d 0 + pLoad(i,j,bi,bj)/Pa2Atm                  AtmosP(i,j,bi,bj)= 1. _d 0 + pLoad(i,j,bi,bj)/Pa2Atm
147  #endif  #endif
148    
149  C Determine surface flux (FDIC)  C Determine surface flux (FDIC)
# Line 152  C first correct pCO2at for surface atmos Line 152  C first correct pCO2at for surface atmos
152       &          AtmosP(i,j,bi,bj)*AtmospCO2(i,j,bi,bj)       &          AtmosP(i,j,bi,bj)*AtmospCO2(i,j,bi,bj)
153  c find exchange coefficient  c find exchange coefficient
154  c  account for schmidt number and and varible piston velocity  c  account for schmidt number and and varible piston velocity
155                pisvel(i,j,bi,bj)  =0.337*wind(i,j,bi,bj)**2/3.6d5                pisvel(i,j,bi,bj)=0.337 _d 0 *wind(i,j,bi,bj)**2/3.6 _d 5
156                Kwexch(i,j) =                Kwexch(i,j) =
157       &             pisvel(i,j,bi,bj)       &             pisvel(i,j,bi,bj)
158       &             / sqrt(SchmidtNoDIC(i,j)/660.0)       &             / sqrt(SchmidtNoDIC(i,j)/660.0 _d 0)
159  c OR use a constant  coeff  c OR use a constant  coeff
160  c             Kwexch(i,j) = 5e-5  c             Kwexch(i,j) = 5e-5
161  c ice influence  c ice influence
162                Kwexch(i,j)  =(1.d0-Fice(i,j,bi,bj))*Kwexch(i,j)                Kwexch(i,j)  =(1. _d 0 - FIce(i,j,bi,bj))*Kwexch(i,j)
163    
164    
165  C Calculate flux in terms of DIC units using K0, solubility  C Calculate flux in terms of DIC units using K0, solubility
# Line 172  C Converting pCO2 to [CO2] using ff, as Line 172  C Converting pCO2 to [CO2] using ff, as
172       &         ff(i,j,bi,bj)*pCO2(i,j,bi,bj)       &         ff(i,j,bi,bj)*pCO2(i,j,bi,bj)
173       &         )       &         )
174              ELSE              ELSE
175                 FluxCO2(i,j,bi,bj) = 0.                 FluxCO2(i,j,bi,bj) = 0. _d 0
176              ENDIF              ENDIF
177  C convert flux (mol kg-1 m s-1) to (mol m-2 s-1)  C convert flux (mol kg-1 m s-1) to (mol m-2 s-1)
178              FluxCO2(i,j,bi,bj) = FluxCO2(i,j,bi,bj)/permil              FluxCO2(i,j,bi,bj) = FluxCO2(i,j,bi,bj)/permil

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.22