- Timestamp:
- 2020-07-02T20:34:16+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11708_aumont_PISCES_QUOTA/src/TOP/PISCES/P4Z/p4zsed.F90
r13200 r13233 35 35 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,: ) :: sdenit !: Nitrate reduction in the sediments 36 36 REAL(wp) :: r1_rday !: inverse of rday 37 LOGICAL, SAVE :: lk_sed 37 LOGICAL, SAVE :: lk_sed !: Explicit sediment module 38 38 39 39 !!---------------------------------------------------------------------- … … 48 48 !! *** ROUTINE p4z_sed *** 49 49 !! 50 !! ** Purpose : Compute loss of biogenic matter in the sediments. This50 !! ** Purpose : Compute the loss of biogenic matter in the sediments. This 51 51 !! is by no way a real sediment model. The loss is simply 52 52 !! computed from metamodels. … … 55 55 !! N2 fixation is modeled using an implicit approach 56 56 !! 57 !! ** Method : - ??? 57 !! ** Method : - Fluxes with the sediments are mainly modeled using 58 !! statiscal metamodels. 58 59 !!--------------------------------------------------------------------- 59 60 ! … … 81 82 IF( kt == nittrc000 .AND. knt == 1 ) THEN 82 83 r1_rday = 1. / rday 84 ! Configuration with an active two-way sediment module 83 85 IF (ln_sediment .AND. ln_sed_2way) THEN 84 86 lk_sed = .TRUE. … … 109 111 ! 110 112 ALLOCATE( zironice(jpi,jpj) ) 111 ! 113 112 114 ! Compute the iron flux between sea ice and sea water 115 ! Simple parameterization assuming a fixed constant concentration in 116 ! sea-ice (icefeinput) 117 ! ------------------------------------------------------------------ 113 118 DO jj = 1, jpj 114 119 DO ji = 1, jpi … … 133 138 ! 134 139 ALLOCATE( zsidep(jpi,jpj), zpdep(jpi,jpj,jpk), zirondep(jpi,jpj,jpk) ) 140 135 141 ! Iron, P and Si deposition at the surface 136 142 ! Iron flux at the surface due to dust deposition. Solubility can be 137 143 ! be variable if ln_solub is set to true. In that case, solubility 138 144 ! has to be provided in the specific input file (read in p4zsbc) 145 ! mfrac is the mean iron relative weight content of dust 139 146 ! ------------------------------------------------------------------ 140 147 IF( ln_solub ) THEN … … 143 150 zirondep(:,:,1) = dustsolub * dust(:,:) * mfrac * rfact2 / e3t_n(:,:,1) / 55.85 + 3.e-10 * r1_ryyss 144 151 ENDIF 152 145 153 ! Si and P flux at the surface due to dust deposition. The content 146 154 ! and the solubility are hard coded … … 148 156 zsidep(:,:) = 8.8 * 0.075 * dust(:,:) * mfrac * rfact2 / e3t_n(:,:,1) / 28.1 149 157 zpdep (:,:,1) = 0.1 * 0.021 * dust(:,:) * mfrac * rfact2 / e3t_n(:,:,1) / 31. / po4r 158 150 159 ! Iron solubilization of particles in the water column 151 160 ! dust in kg/m2/s ---> 1/55.85 to put in mol/Fe ; wdust in m/d … … 159 168 DO jk = 2, jpkm1 160 169 zirondep(:,:,jk) = dust(:,:) * mfrac * zwdust * rfact2 * EXP( -gdept_n(:,:,jk) / (250. * wdust) ) 161 ! zpdep (:,:,jk) = zirondep(:,:,jk) * 0.023162 170 zpdep (:,:,jk) = zirondep(:,:,jk) * 0.38 / po4r 163 171 END DO 172 164 173 ! Solubilization of particles in the water column (Si, P, Fe) 165 174 tra(:,:,1,jpsil) = tra(:,:,1,jpsil) + zsidep (:,:) … … 197 206 ENDDO 198 207 ENDDO 208 199 209 ! When prognostic ligands are activated, ligands are supplied 200 210 ! to the ocean by rivers. We assume that the amount of ligands … … 262 272 ! ------------------------------------------------------ 263 273 IF( ln_ironsed ) THEN 264 274 tra(:,:,:,jpfer) = tra(:,:,:,jpfer) + ironsed(:,:,:) * rfact2 265 275 ! 266 276 IF( lk_iomput .AND. knt == nrdttrc .AND. iom_use( "Ironsed" ) ) & … … 434 444 xdiano3 = trb(ji,jj,jk,jpno3) / ( concnno3 + trb(ji,jj,jk,jpno3) ) * (1. - xdianh4) 435 445 zlim = ( 1.- xdiano3 - xdianh4 ) 446 ! Nitrogen fixation is almost fully halted when the N 447 ! limitation term (xdiano3+xdianh4) is > 0.9 436 448 IF( zlim <= 0.1 ) zlim = 0.01 437 449 zfact = zlim * rfact2 … … 454 466 xdiano3 = trb(ji,jj,jk,jpno3) / ( concnno3 + trb(ji,jj,jk,jpno3) ) * (1. - xdianh4) 455 467 zlim = ( 1.- xdiano3 - xdianh4 ) 468 469 ! Nitrogen fixation is almost fully halted when the N 470 ! limitation term (xdiano3+xdianh4) is > 0.9 456 471 IF( zlim <= 0.1 ) zlim = 0.01 457 472 zfact = zlim * rfact2 … … 474 489 DO ji = 1, jpi 475 490 zfact = nitrpot(ji,jj,jk) * nitrfix 491 ! 1/3 of the diazotrophs growth is supposed to be excreted 492 ! as NH4. 1/3 as DOC and the rest is routed POC and GOC as 493 ! a result of mortality by predation. Completely adhoc param 476 494 tra(ji,jj,jk,jpnh4) = tra(ji,jj,jk,jpnh4) + zfact / 3.0 477 495 tra(ji,jj,jk,jptal) = tra(ji,jj,jk,jptal) + rno3 * zfact / 3.0 … … 481 499 tra(ji,jj,jk,jpgoc) = tra(ji,jj,jk,jpgoc) + zfact * 1.0 / 3.0 * 1.0 / 3.0 482 500 tra(ji,jj,jk,jpoxy) = tra(ji,jj,jk,jpoxy) + ( o2ut + o2nit ) * zfact * 2.0 / 3.0 + o2nit * zfact / 3.0 501 ! Fe/c of diazotrophs is assumed to be 30umol Fe/mol C 483 502 tra(ji,jj,jk,jpfer) = tra(ji,jj,jk,jpfer) - 30E-6 * zfact * 1.0 / 3.0 484 503 tra(ji,jj,jk,jpsfe) = tra(ji,jj,jk,jpsfe) + 30E-6 * zfact * 1.0 / 3.0 * 2.0 / 3.0 … … 494 513 DO ji = 1, jpi 495 514 zfact = nitrpot(ji,jj,jk) * nitrfix 515 ! 1/3 of the diazotrophs growth is supposed to be excreted 516 ! as NH4. 1/3 as DOC and the rest is routed POC and GOC as 517 ! a result of mortality by predation. Completely adhoc param 496 518 tra(ji,jj,jk,jpnh4) = tra(ji,jj,jk,jpnh4) + zfact / 3.0 497 519 tra(ji,jj,jk,jptal) = tra(ji,jj,jk,jptal) + rno3 * zfact / 3.0 520 ! N/P ratio of diazotrophs is supposed to be 46 498 521 tra(ji,jj,jk,jppo4) = tra(ji,jj,jk,jppo4) - 16.0 / 46.0 * zfact * ( 1.0 - 1.0 / 3.0 ) & 499 522 & * ztrpo4(ji,jj,jk) / (ztrpo4(ji,jj,jk) + ztrdop(ji,jj,jk) + rtrn) … … 510 533 tra(ji,jj,jk,jpgop) = tra(ji,jj,jk,jpgop) + 16.0 / 46.0 * zfact * 1.0 / 3.0 * 1.0 /3.0 511 534 tra(ji,jj,jk,jpoxy) = tra(ji,jj,jk,jpoxy) + ( o2ut + o2nit ) * zfact * 2.0 / 3.0 + o2nit * zfact / 3.0 535 ! Fe/c of diazotrophs is assumed to be 30umol Fe/mol C 512 536 tra(ji,jj,jk,jpfer) = tra(ji,jj,jk,jpfer) - 30E-6 * zfact * 1.0 / 3.0 513 537 tra(ji,jj,jk,jpsfe) = tra(ji,jj,jk,jpsfe) + 30E-6 * zfact * 1.0 / 3.0 * 2.0 / 3.0
Note: See TracChangeset
for help on using the changeset viewer.