Changeset 12537 for NEMO/branches/2019/dev_r11708_aumont_PISCES_QUOTA/src/TOP/PISCES/P4Z/p4zmort.F90
- Timestamp:
- 2020-03-11T16:02:54+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11708_aumont_PISCES_QUOTA/src/TOP/PISCES/P4Z/p4zmort.F90
r12496 r12537 20 20 PRIVATE 21 21 22 PUBLIC p4z_mort 23 PUBLIC p4z_mort_init 24 25 REAL(wp), PUBLIC :: wchln !: 26 REAL(wp), PUBLIC :: wchld !: 27 REAL(wp), PUBLIC :: wchldm !: 28 REAL(wp), PUBLIC :: mpratn !: 29 REAL(wp), PUBLIC :: mpratd !: 22 PUBLIC p4z_mort ! Called from p4zbio.F90 23 PUBLIC p4z_mort_init ! Called from trcini_pisces.F90 24 25 REAL(wp), PUBLIC :: wchln !: Quadratic mortality rate of nanophytoplankton 26 REAL(wp), PUBLIC :: wchld !: Quadratic mortality rate of diatoms 27 REAL(wp), PUBLIC :: wchldm !: Maximum quadratic mortality rate of diatoms 28 REAL(wp), PUBLIC :: mpratn !: Linear mortality rate of nanophytoplankton 29 REAL(wp), PUBLIC :: mpratd !: Linear mortality rate of diatoms 30 30 31 31 !!---------------------------------------------------------------------- … … 40 40 !! *** ROUTINE p4z_mort *** 41 41 !! 42 !! ** Purpose : Calls the different subroutine to initialize andcompute42 !! ** Purpose : Calls the different subroutine to compute 43 43 !! the different phytoplankton mortality terms 44 44 !! … … 49 49 ! 50 50 CALL p4z_nano ! nanophytoplankton 51 !52 51 CALL p4z_diat ! diatoms 53 52 ! … … 82 81 ! to 0 83 82 zsizerat = MIN(1., MAX( 0., (quotan(ji,jj,jk) - 0.2) / 0.3) ) * trb(ji,jj,jk,jpphy) 84 ! Squared mortality of Phyto similar to a sedimentation term during 85 ! blooms (Doney et al. 1996) 83 84 ! Quadratic mortality of nano due to aggregation during 85 ! blooms (Doney et al. 1996) 86 ! ----------------------------------------------------- 86 87 zrespp = wchln * 1.e6 * xstep * xdiss(ji,jj,jk) * zcompaph * zsizerat 87 88 88 ! Phytoplankton mortality. This mortality loss is slightly 89 ! increased when nutrients are limiting phytoplankton growth 90 ! as observed for instance in case of iron limitation. 89 ! Phytoplankton linear mortality 90 ! A michaelis-menten like term is introduced to avoid 91 ! extinction of nanophyto in highly limited areas 92 ! ---------------------------------------------------- 91 93 ztortp = mpratn * xstep * zcompaph / ( xkmort + trb(ji,jj,jk,jpphy) ) * zsizerat 92 94 93 95 zmortp = zrespp + ztortp 94 96 95 ! Update the arrays TRA which contains the biological sources and sinks 96 97 ! Update the arrays TRA which contains the biological sources and sinks 97 98 zfactfe = trb(ji,jj,jk,jpnfe)/(trb(ji,jj,jk,jpphy)+rtrn) 98 99 zfactch = trb(ji,jj,jk,jpnch)/(trb(ji,jj,jk,jpphy)+rtrn) … … 100 101 tra(ji,jj,jk,jpnch) = tra(ji,jj,jk,jpnch) - zmortp * zfactch 101 102 tra(ji,jj,jk,jpnfe) = tra(ji,jj,jk,jpnfe) - zmortp * zfactfe 103 ! Production PIC particles due to mortality 102 104 zprcaca = xfracal(ji,jj,jk) * zmortp 103 !104 105 prodcal(ji,jj,jk) = prodcal(ji,jj,jk) + zprcaca ! prodcal=prodcal(nanophy)+prodcal(microzoo)+prodcal(mesozoo) 105 !106 106 zfracal = 0.5 * xfracal(ji,jj,jk) 107 107 tra(ji,jj,jk,jpdic) = tra(ji,jj,jk,jpdic) - zprcaca … … 146 146 IF( ln_timing ) CALL timing_start('p4z_diat') 147 147 ! 148 ! 149 ! 150 ! 151 ! 148 ! Aggregation term for diatoms is increased in case of nutrient 149 ! stress as observed in reality. The stressed cells become more 150 ! sticky and coagulate to sink quickly out of the euphotic zone 151 ! ------------------------------------------------------------- 152 152 153 153 DO jk = 1, jpkm1 … … 157 157 zcompadi = MAX( ( trb(ji,jj,jk,jpdia) - 1e-9), 0. ) 158 158 159 ! Aggregation term for diatoms is increased in case of nutrient 160 ! stress as observed in reality. The stressed cells become more 161 ! sticky and coagulate to sink quickly out of the euphotic zone 162 ! ------------------------------------------------------------ 163 ! Phytoplankton respiration 164 ! ------------------------ 159 ! Aggregation term for diatoms is increased in case of nutrient 160 ! stress as observed in reality. The stressed cells become more 161 ! sticky and coagulate to sink quickly out of the euphotic zone 162 ! ------------------------------------------------------------ 165 163 zlim2 = xlimdia(ji,jj,jk) * xlimdia(ji,jj,jk) 166 164 zlim1 = 0.25 * ( 1. - zlim2 ) / ( 0.25 + zlim2 ) 167 165 zrespp2 = 1.e6 * xstep * ( wchld + wchldm * zlim1 ) * xdiss(ji,jj,jk) * zcompadi * trb(ji,jj,jk,jpdia) 168 166 169 ! Phytoplankton mortality. 170 ! ------------------------ 167 ! Phytoplankton linear mortality 168 ! A michaelis-menten like term is introduced to avoid 169 ! extinction of diatoms in highly limited areas 170 ! --------------------------------------------------- 171 171 ztortp2 = mpratd * xstep * trb(ji,jj,jk,jpdia) / ( xkmort + trb(ji,jj,jk,jpdia) ) * zcompadi 172 172 173 173 zmortp2 = zrespp2 + ztortp2 174 174 175 ! 175 ! Update the arrays tra which contains the biological sources and sinks 176 176 ! --------------------------------------------------------------------- 177 177 zfactch = trb(ji,jj,jk,jpdch) / ( trb(ji,jj,jk,jpdia) + rtrn ) … … 210 210 !! ** Purpose : Initialization of phytoplankton parameters 211 211 !! 212 !! ** Method : Read the namp ismort namelist and check the parameters212 !! ** Method : Read the namp4zmort namelist and check the parameters 213 213 !! called at the first timestep 214 214 !! 215 !! ** input : Namelist namp ismort215 !! ** input : Namelist namp4zmort 216 216 !! 217 217 !!---------------------------------------------------------------------- … … 227 227 ENDIF 228 228 ! 229 REWIND( numnatp_ref ) ! Namelist namp ismort in reference namelist : Pisces phytoplankton229 REWIND( numnatp_ref ) ! Namelist namp4zmort in reference namelist : Pisces phytoplankton 230 230 READ ( numnatp_ref, namp4zmort, IOSTAT = ios, ERR = 901) 231 231 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp4zmort in reference namelist' ) 232 REWIND( numnatp_cfg ) ! Namelist namp ismort in configuration namelist : Pisces phytoplankton232 REWIND( numnatp_cfg ) ! Namelist namp4zmort in configuration namelist : Pisces phytoplankton 233 233 READ ( numnatp_cfg, namp4zmort, IOSTAT = ios, ERR = 902 ) 234 234 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp4zmort in configuration namelist' )
Note: See TracChangeset
for help on using the changeset viewer.