1 | |
---|
2 | CCC $Header$ |
---|
3 | CCC TOP 1.0 , LOCEAN-IPSL (2005) |
---|
4 | C This software is governed by CeCILL licence see modipsl/doc/NEMO_CeCILL.txt |
---|
5 | C --------------------------------------------------------------------------- |
---|
6 | CDIR$ LIST |
---|
7 | SUBROUTINE p4zrem |
---|
8 | #if defined key_passivetrc && defined key_trc_pisces |
---|
9 | CCC--------------------------------------------------------------------- |
---|
10 | CCC |
---|
11 | CCC ROUTINE p4zrem : PISCES MODEL |
---|
12 | CCC ***************************** |
---|
13 | CCC |
---|
14 | CCC PURPOSE : |
---|
15 | CCC --------- |
---|
16 | CCC Compute remineralization/scavenging of organic compounds |
---|
17 | CCC |
---|
18 | CC INPUT : |
---|
19 | CC ----- |
---|
20 | CC common |
---|
21 | CC all the common defined in opa |
---|
22 | CC |
---|
23 | CC |
---|
24 | CC OUTPUT : : no |
---|
25 | CC ------ |
---|
26 | CC |
---|
27 | CC EXTERNAL : |
---|
28 | CC -------- |
---|
29 | CC None |
---|
30 | CC |
---|
31 | CC MODIFICATIONS: |
---|
32 | CC -------------- |
---|
33 | CC original : 2004 - O. Aumont |
---|
34 | CC---------------------------------------------------------------------- |
---|
35 | CC parameters and commons |
---|
36 | CC ====================== |
---|
37 | CDIR$ NOLIST |
---|
38 | USE oce_trc |
---|
39 | USE trp_trc |
---|
40 | USE sms |
---|
41 | IMPLICIT NONE |
---|
42 | #include "domzgr_substitute.h90" |
---|
43 | CDIR$ LIST |
---|
44 | CC---------------------------------------------------------------------- |
---|
45 | CC local declarations |
---|
46 | CC ================== |
---|
47 | INTEGER ji, jj, jk |
---|
48 | REAL remip,remik,xlam1b |
---|
49 | REAL xkeq,xfeequi,siremin |
---|
50 | REAL zsatur,zsatur2,znusil,zdepbac(jpi,jpj,jpk) |
---|
51 | REAL zlamfac,zstep,fesatur(jpi,jpj,jpk) |
---|
52 | C |
---|
53 | C Time step duration for the biology |
---|
54 | C |
---|
55 | zstep=rfact2/rjjss |
---|
56 | C |
---|
57 | C Computation of the mean phytoplankton concentration as |
---|
58 | C a crude estimate of the bacterial biomass |
---|
59 | C -------------------------------------------------- |
---|
60 | C |
---|
61 | DO jk=1,12 |
---|
62 | zdepbac(:,:,jk)=min(0.7*(trn(:,:,jk,jpzoo)+2*trn(:,:,jk,jpmes)) |
---|
63 | & ,4E-6) |
---|
64 | END DO |
---|
65 | C |
---|
66 | C Vertical decay of the bacterial activity |
---|
67 | C ---------------------------------------- |
---|
68 | C |
---|
69 | do jk=13,jpk |
---|
70 | do jj=1,jpj |
---|
71 | do ji=1,jpi |
---|
72 | zdepbac(ji,jj,jk)=min(1.,fsdept(ji,jj,12)/fsdept(ji,jj,jk)) |
---|
73 | & *zdepbac(ji,jj,12) |
---|
74 | end do |
---|
75 | end do |
---|
76 | end do |
---|
77 | |
---|
78 | DO jk = 1,jpkm1 |
---|
79 | DO jj = 1,jpj |
---|
80 | DO ji = 1,jpi |
---|
81 | C |
---|
82 | C DENITRIFICATION FACTOR COMPUTED FROM O2 LEVELS |
---|
83 | C ---------------------------------------------- |
---|
84 | C |
---|
85 | nitrfac(ji,jj,jk)= |
---|
86 | & max(0.,0.4*(6.E-6-trn(ji,jj,jk,jpoxy))/(oxymin+ |
---|
87 | & trn(ji,jj,jk,jpoxy))) |
---|
88 | END DO |
---|
89 | END DO |
---|
90 | END DO |
---|
91 | |
---|
92 | nitrfac(:,:,:)=min(1.,nitrfac(:,:,:)) |
---|
93 | |
---|
94 | DO jk = 1,jpkm1 |
---|
95 | DO jj = 1,jpj |
---|
96 | DO ji = 1,jpi |
---|
97 | C |
---|
98 | C DOC ammonification. Depends on depth, phytoplankton biomass |
---|
99 | C and a limitation term which is supposed to be a parameterization |
---|
100 | C of the bacterial activity. |
---|
101 | C ---------------------------------------------------------------- |
---|
102 | C |
---|
103 | remik = xremik*zstep/1E-6*xlimbac(ji,jj,jk) |
---|
104 | & *zdepbac(ji,jj,jk) |
---|
105 | # if defined key_off_degrad |
---|
106 | & *facvol(ji,jj,jk) |
---|
107 | # endif |
---|
108 | remik=max(remik,5.5E-4*zstep) |
---|
109 | C |
---|
110 | C Ammonification in oxic waters with oxygen consumption |
---|
111 | C ----------------------------------------------------- |
---|
112 | C |
---|
113 | olimi(ji,jj,jk)=min((trn(ji,jj,jk,jpoxy)-rtrn)/o2ut, |
---|
114 | & remik*(1.-nitrfac(ji,jj,jk))*trn(ji,jj,jk,jpdoc)) |
---|
115 | C |
---|
116 | C Ammonification in suboxic waters with denitrification |
---|
117 | C ------------------------------------------------------- |
---|
118 | C |
---|
119 | denitr(ji,jj,jk)=min((trn(ji,jj,jk,jpno3)-rtrn)/rdenit, |
---|
120 | & remik*nitrfac(ji,jj,jk)*trn(ji,jj,jk,jpdoc)) |
---|
121 | END DO |
---|
122 | END DO |
---|
123 | END DO |
---|
124 | C |
---|
125 | olimi(:,:,:)=max(0.,olimi(:,:,:)) |
---|
126 | denitr(:,:,:)=max(0.,denitr(:,:,:)) |
---|
127 | C |
---|
128 | DO jk = 1,jpkm1 |
---|
129 | DO jj = 1,jpj |
---|
130 | DO ji = 1,jpi |
---|
131 | C |
---|
132 | C NH4 nitrification to NO3. Ceased for oxygen concentrations |
---|
133 | C below 2 umol/L. Inhibited at strong light |
---|
134 | C ---------------------------------------------------------- |
---|
135 | C |
---|
136 | onitr(ji,jj,jk)=nitrif*zstep*trn(ji,jj,jk,jpnh4)/(1. |
---|
137 | & +emoy(ji,jj,jk))*(1.-nitrfac(ji,jj,jk)) |
---|
138 | # if defined key_off_degrad |
---|
139 | & *facvol(ji,jj,jk) |
---|
140 | # endif |
---|
141 | END DO |
---|
142 | END DO |
---|
143 | END DO |
---|
144 | |
---|
145 | DO jk = 1,jpkm1 |
---|
146 | DO jj = 1,jpj |
---|
147 | DO ji = 1,jpi |
---|
148 | C |
---|
149 | C Bacterial uptake of iron. No iron is available in DOC. So |
---|
150 | C Bacteries are obliged to take up iron from the water. Some |
---|
151 | C studies (especially at Papa) have shown this uptake to be |
---|
152 | C significant |
---|
153 | C ---------------------------------------------------------- |
---|
154 | C |
---|
155 | xbactfer(ji,jj,jk)=15E-6*rfact2*4.*0.4*prmax(ji,jj,jk) |
---|
156 | & *(xlimphy(ji,jj,jk)*zdepbac(ji,jj,jk))**2 |
---|
157 | & /(xkgraz2+zdepbac(ji,jj,jk)) |
---|
158 | & *(0.5+sign(0.5,trn(ji,jj,jk,jpfer)-2E-11)) |
---|
159 | C |
---|
160 | END DO |
---|
161 | END DO |
---|
162 | END DO |
---|
163 | C |
---|
164 | DO jk = 1,jpkm1 |
---|
165 | DO jj = 1,jpj |
---|
166 | DO ji = 1,jpi |
---|
167 | C |
---|
168 | C POC disaggregation by turbulence and bacterial activity. |
---|
169 | C ------------------------------------------------------------- |
---|
170 | C |
---|
171 | remip=xremip*zstep*tgfunc(ji,jj,jk)*(1.-0.5*nitrfac(ji,jj,jk)) |
---|
172 | # if defined key_off_degrad |
---|
173 | & *facvol(ji,jj,jk) |
---|
174 | # endif |
---|
175 | C |
---|
176 | C POC disaggregation rate is reduced in anoxic zone as shown by |
---|
177 | C sediment traps data. In oxic area, the exponent of the martin's |
---|
178 | C law is around -0.87. In anoxic zone, it is around -0.35. This |
---|
179 | C means a disaggregation constant about 0.5 the value in oxic zones |
---|
180 | C ----------------------------------------------------------------- |
---|
181 | C |
---|
182 | orem(ji,jj,jk)=remip*trn(ji,jj,jk,jppoc) |
---|
183 | ofer(ji,jj,jk)=remip*trn(ji,jj,jk,jpsfe) |
---|
184 | #if ! defined key_trc_kriest |
---|
185 | orem2(ji,jj,jk)=remip*trn(ji,jj,jk,jpgoc) |
---|
186 | ofer2(ji,jj,jk)=remip*trn(ji,jj,jk,jpbfe) |
---|
187 | #else |
---|
188 | orem2(ji,jj,jk)=remip*trn(ji,jj,jk,jpnum) |
---|
189 | #endif |
---|
190 | C |
---|
191 | END DO |
---|
192 | END DO |
---|
193 | END DO |
---|
194 | |
---|
195 | DO jk = 1,jpkm1 |
---|
196 | DO jj = 1,jpj |
---|
197 | DO ji = 1,jpi |
---|
198 | C |
---|
199 | C Remineralization rate of BSi depedant on T and saturation |
---|
200 | C --------------------------------------------------------- |
---|
201 | C |
---|
202 | zsatur=(sio3eq(ji,jj,jk)-trn(ji,jj,jk,jpsil))/ |
---|
203 | & (sio3eq(ji,jj,jk)+rtrn) |
---|
204 | zsatur=max(rtrn,zsatur) |
---|
205 | zsatur2=zsatur*(1.+tn(ji,jj,jk)/400.)**4 |
---|
206 | znusil=0.225*(1.+tn(ji,jj,jk)/15.)*zsatur+0.775*zsatur2**9 |
---|
207 | |
---|
208 | siremin=xsirem*zstep*znusil |
---|
209 | # if defined key_off_degrad |
---|
210 | & *facvol(ji,jj,jk) |
---|
211 | # endif |
---|
212 | C |
---|
213 | osil(ji,jj,jk)=siremin*trn(ji,jj,jk,jpdsi) |
---|
214 | END DO |
---|
215 | END DO |
---|
216 | END DO |
---|
217 | C |
---|
218 | fesatur(:,:,:)=0.6E-9 |
---|
219 | C |
---|
220 | DO jk = 1,jpkm1 |
---|
221 | DO jj = 1,jpj |
---|
222 | DO ji = 1,jpi |
---|
223 | C |
---|
224 | C scavenging rate of iron. this scavenging rate depends on the |
---|
225 | C load in particles on which they are adsorbed. The |
---|
226 | C parameterization has been taken from studies on Th |
---|
227 | C ------------------------------------------------------------ |
---|
228 | C |
---|
229 | xkeq=fekeq(ji,jj,jk) |
---|
230 | xfeequi=(-(1.+fesatur(ji,jj,jk)*xkeq-xkeq*trn(ji,jj,jk,jpfer))+ |
---|
231 | & sqrt((1.+fesatur(ji,jj,jk)*xkeq-xkeq*trn(ji,jj,jk,jpfer))**2 |
---|
232 | & +4.*trn(ji,jj,jk,jpfer)*xkeq))/(2.*xkeq) |
---|
233 | |
---|
234 | #if ! defined key_trc_kriest |
---|
235 | xlam1b=3E-5+xlam1*(trn(ji,jj,jk,jppoc) |
---|
236 | & +trn(ji,jj,jk,jpgoc)+trn(ji,jj,jk,jpcal)+ |
---|
237 | & trn(ji,jj,jk,jpdsi))*1E6 |
---|
238 | #else |
---|
239 | xlam1b=3E-5+xlam1*(trn(ji,jj,jk,jppoc) |
---|
240 | & +trn(ji,jj,jk,jpcal)+trn(ji,jj,jk,jpdsi))*1E6 |
---|
241 | #endif |
---|
242 | xscave(ji,jj,jk)=xfeequi*xlam1b*zstep |
---|
243 | # if defined key_off_degrad |
---|
244 | & *facvol(ji,jj,jk) |
---|
245 | # endif |
---|
246 | C |
---|
247 | C Increased scavenging for very high iron concentrations |
---|
248 | C found near the coasts due to increased lithogenic particles |
---|
249 | C and let's say it unknown processes (precipitation, ...) |
---|
250 | C ----------------------------------------------------------- |
---|
251 | C |
---|
252 | zlamfac=max(0.,(gphit(ji,jj)+55.)/30.) |
---|
253 | zlamfac=min(1.,zlamfac) |
---|
254 | #if ! defined key_trc_kriest |
---|
255 | xlam1b=(80.*(trn(ji,jj,jk,jpdoc)+40E-6)+698. |
---|
256 | & *trn(ji,jj,jk,jppoc)+1.05E4*trn(ji,jj,jk,jpgoc)) |
---|
257 | & *zdiss(ji,jj,jk)+1E-5*(1.-zlamfac)+xlam1*max(0., |
---|
258 | & (trn(ji,jj,jk,jpfer)*1E9-1.)) |
---|
259 | #else |
---|
260 | xlam1b=(80.*(trn(ji,jj,jk,jpdoc)+40E-6)+698. |
---|
261 | & *trn(ji,jj,jk,jppoc)) |
---|
262 | & *zdiss(ji,jj,jk)+1E-5*(1.-zlamfac)+xlam1*max(0., |
---|
263 | & (trn(ji,jj,jk,jpfer)*1E9-1.)) |
---|
264 | #endif |
---|
265 | |
---|
266 | |
---|
267 | xaggdfe(ji,jj,jk)=xlam1b*zstep*0.76*(trn(ji,jj,jk,jpfer) |
---|
268 | & -xfeequi) |
---|
269 | # if defined key_off_degrad |
---|
270 | & *facvol(ji,jj,jk) |
---|
271 | # endif |
---|
272 | |
---|
273 | C |
---|
274 | END DO |
---|
275 | END DO |
---|
276 | END DO |
---|
277 | C |
---|
278 | #endif |
---|
279 | RETURN |
---|
280 | END |
---|