New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 617 for trunk/NEMO/TOP_SRC/SMS/trclsm.pisces.h90 – NEMO

Ignore:
Timestamp:
2007-02-21T14:03:10+01:00 (17 years ago)
Author:
opalod
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/SMS/trclsm.pisces.h90

    r341 r617  
    3434      ! ------------------ 
    3535      ! 
    36       NAMELIST/natgas/ gasfac, igaswind, icice 
    3736      NAMELIST/natext/ atcco2 
    38       NAMELIST/natbio/caco3r,                                          & 
     37      NAMELIST/natbio/caco3r, kdca, nca, part,                       & 
    3938         &          dispo0,conc0,oxymin,grosip, sedlam,              & 
    4039         &          sedlostpoc,sedlostcal,sedlostsil,nrdttrc,        & 
     
    4948         &          chlcnm,chlcdm, sedfeinput 
    5049      NAMELIST/natsms/bdustfer, briver, bndepo, bsedinput 
     50#if defined key_trc_kriest 
     51      NAMELIST/natkriest/xkr_eta,xkr_zeta,xkr_sfact,xkr_mass_min,xkr_mass_max,& 
     52         &               xkr_dnano,xkr_ddiat,xkr_dmeso,xkr_daggr,xkr_stick 
     53#endif 
    5154 
    5255      ! initialize the number of LOGICAL UNIT used 
     
    6871 
    6972 
    70       ! 1 Namelist natgas : 
    71       ! ------------------- 
    72  
    73       READ(numnat,natgas) 
    74  
    75       IF(lwp) THEN 
    76          WRITE(numout,*) ' ' 
    77          WRITE(numout,*) 'natgas' 
    78          write(numout,*) 'gasfac = ',gasfac 
    79          WRITE(numout,*) ' ' 
    80          write(numout,*) 'igaswind = ',igaswind 
    81          WRITE(numout,*) ' ' 
    82          write(numout,*) 'icice = ',icice 
    83          WRITE(numout,*) ' ' 
    84       ENDIF 
    85  
    86       ! 2 Namelist natext : 
     73      ! 1 Namelist natext : 
    8774      ! ------------------- 
    8875      READ(numnat,natext) 
     
    10491            &   ' mean rainratio                             =', caco3r 
    10592         WRITE(numout,*)      & 
     93            &   ' diss. rate constant calcite (per month)    =', kdca 
     94         WRITE(numout,*)      & 
     95            &   ' order of reaction for calcite dissolution  =', nca 
     96         WRITE(numout,*)      & 
     97            &   ' part of calcite not dissolved in guts      =', part 
     98         WRITE(numout,*)      & 
    10699            &   ' mean Si/C ratio                            =', grosip 
    107100         WRITE(numout,*)      & 
     
    112105            &   ' Sediment bioturbation factor               =', sedlam 
    113106         WRITE(numout,*)      & 
    114             &   ' Sediment burying ratio for POC         =', sedlostpoc 
    115          WRITE(numout,*)      & 
    116             &   ' Sediment burying ratio for CACO3       =', sedlostcal 
    117          WRITE(numout,*)      & 
    118             &   ' Sediment burying ratio for SI          =', sedlostsil 
     107            &   ' Sediment burying ratio for POC             =', sedlostpoc 
     108         WRITE(numout,*)      & 
     109            &   ' Sediment burying ratio for CACO3           =', sedlostcal 
     110         WRITE(numout,*)      & 
     111            &   ' Sediment burying ratio for SI              =', sedlostsil 
    119112         WRITE(numout,*)      & 
    120113            &   ' frequence pour la biologie                 =', nrdttrc 
     
    125118         WRITE(numout,*)      & 
    126119            &   ' POC sinking speed                          =', wsbio 
     120         WRITE(numout,*)      & 
     121            &   ' quadratic mortality of phytoplankton       =', wchl 
     122         WRITE(numout,*)      & 
     123            &   ' maximum quadratic mortality of diatoms     =', wchld 
    127124         WRITE(numout,*)      & 
    128125            &   ' exsudation rate of zooplankton             =', resrat 
     
    240237      ENDIF 
    241238 
     239#if defined key_trc_kriest 
     240 
     241      READ(numnat,natkriest) 
     242      IF(lwp) THEN 
     243         WRITE(numout,*) ' ' 
     244         WRITE(numout,*) 'natkriest' 
     245         WRITE(numout,*) ' ' 
     246         WRITE(numout,*) 'Sinking  exponent                    xkr_eta       = ', xkr_eta  
     247         WRITE(numout,*) 'N content exponent                   xkr_zeta      = ', xkr_zeta 
     248         WRITE(numout,*) 'Sinking factor                       xkr_sfact     = ', xkr_sfact 
     249         WRITE(numout,*) 'Stickiness                           xkr_stick     = ', xkr_stick 
     250         WRITE(numout,*) 'Minimum mass for Aggregates          xkr_mass_min  = ', xkr_mass_min 
     251         WRITE(numout,*) 'Maximum mass for Aggregates          xkr_mass_max  = ', xkr_mass_max 
     252         WRITE(numout,*) 'Size of particles in nano pool       xkr_dnano     = ', xkr_dnano 
     253         WRITE(numout,*) 'Size of particles in diatoms pool    xkr_ddiat     = ', xkr_ddiat 
     254         WRITE(numout,*) 'Size of particles in mesozoo pool    xkr_dmeso     = ', xkr_dmeso 
     255         WRITE(numout,*) 'Size of particles in aggregates pool xkr_daggr     = ', xkr_daggr 
     256     ENDIF 
     257 
     258 
     259     ! Computation of some variables 
     260     xkr_massp     = 5.7E-6 * 7.6 * xkr_mass_min**xkr_zeta 
     261     ! max and min vertical particle speed 
     262     xkr_wsbio_min = xkr_sfact * xkr_mass_min**xkr_eta 
     263     xkr_wsbio_max = xkr_sfact * xkr_mass_max**xkr_eta 
     264     WRITE(numout,*) ' max and min vertical particle speed ',xkr_wsbio_min,xkr_wsbio_max 
     265     ! 
     266     !    effect of the sizes of the different living pools on particle numbers 
     267     !    nano = 2um-20um -> mean size=6.32 um -> ws=2.596 -> xnum=xnnano=2.337 
     268     !    diat and microzoo = 10um-200um -> 44.7 -> 8.732 -> xnum=xndiat=3.718 
     269     !    mesozoo = 200um-2mm -> 632.45 -> 45.14 -> xnum=xnmeso=7.147 
     270     !    aggregates = 200um-10mm -> 1414 -> 74.34 -> xnum=xnaggr=9.877 
     271     !    doc aggregates = 1um 
     272     ! ---------------------------------------------------------- 
     273 
     274     xkr_nnano = 1. / ( xkr_massp * xkr_dnano ) 
     275     xkr_ndiat = 1. / ( xkr_massp * xkr_ddiat ) 
     276     xkr_nmeso = 1. / ( xkr_massp * xkr_dmeso ) 
     277     xkr_naggr = 1. / ( xkr_massp * xkr_daggr ) 
     278     
     279 
     280#endif 
     281 
    242282   END SUBROUTINE trc_lsm 
Note: See TracChangeset for help on using the changeset viewer.