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.
trclsm.npzd.h in trunk/NEMO/TOP_SRC/SMS – NEMO

source: trunk/NEMO/TOP_SRC/SMS/trclsm.npzd.h @ 186

Last change on this file since 186 was 186, checked in by opalod, 19 years ago

CL + CE : NEMO TRC_SRC start

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 8.3 KB
Line 
1C $Id$
2CCC
3CCC                       trclsm.npzd.h
4CCC                       *************
5CCC
6CCC  PURPOSE :
7CCC  ---------
8CCC     READs and PRINT options for NPZD namelist
9CCC
10CC   METHOD :                   : no
11CC   -------
12CC
13CC   INPUT :
14CC   -----
15CC            &natbio           : biological parameters
16CC            &natopt           : optical parameters
17CC
18CC   OUTPUT :
19CC   ------
20CC      COMMON                  : (#ifdef "key_passivetrc")
21
22CC            /cotbio/          : biological parameters
23CC            /cotopt/          : optical parameters
24
25CC   WORKSPACE :                : no
26CC   ---------
27CC
28CC   MODIFICATIONS:
29CC   --------------
30CC      original  : 99-10 (M.A. Foujols, M. Levy) passive tracer
31CC      additions : 01-01 (E. Kestenare) add sediments
32CC----------------------------------------------------------------------
33CDIR$ LIST
34CC----------------------------------------------------------------------
35CC local declarations
36CC ==================
37
38#if defined key_passivetrc && defined key_trc_npzd
39      INTEGER ji
40      CHARACTER*32 clname
41
42CC
43CCC---------------------------------------------------------------------
44CCC  OPA8, LODYC (15/11/96)
45CCC---------------------------------------------------------------------
46C
47C 0. initializations
48C ------------------
49C
50      namelist/natbio/apmin,azmin,anmin,admin,
51     $    redf,slopet,toptp,aknut,rcchl,
52     $    rgamma,toptgz,tmaxgz,rgz,
53     $    rppz,taus,aks,filmax,rpnaz,rdnaz,eggzoo,tauzn,
54     $    tmmaxp,tmminp,tmmaxz,tmminz,anumin,afdmin,taudn,
55     $    vsed,tmumax,aki,tmaxr,tminr,sedlam,sedlostpoc
56      namelist/natopt/xkg0,xkr0,xkgp,xkrp,xlg,xlr,rpig
57#if defined key_trc_diabio
58      namelist/natdbi/ctrbio,ctrbil,ctrbiu,nwritebio
59#endif
60
61
62      IF(lwp) THEN
63          WRITE(numout,*) ' '
64          WRITE(numout,*) ' ROUTINE trclec'
65          WRITE(numout,*) ' **************'
66          WRITE(numout,*) ' '
67          WRITE(numout,*) ' namelist for NPZD model'
68          WRITE(numout,*) ' ***********************'
69          WRITE(numout,*) ' '
70      ENDIF
71C
72      numnat=80
73      clname ='namelist.trc.sms'
74      OPEN( numnat, FILE= clname, FORM='formatted', STATUS = 'old')
75
76C
77C
78C
79C 1.4 namelist natbio : biological parameters
80C
81      apmin = 0
82      azmin = 0
83      anmin = 0
84      admin = 0
85      redf  = 0
86      slopet= 0
87      toptp = 0
88      aknut = 0
89      rcchl = 0
90      rgamma= 0
91      toptgz= 0
92      tmaxgz= 0
93      rgz   = 0
94      rppz  = 0
95      taus  = 0
96      aks   = 0
97      filmax= 0
98      rpnaz = 0
99      rdnaz = 0
100      eggzoo= 0
101      tauzn = 0
102      tmmaxp= 0
103      tmminp= 0
104      tmmaxz= 0
105      tmminz= 0
106      anumin= 0
107      afdmin= 0
108      taudn = 0
109      vsed  = 0
110      tmumax= 0
111      aki   = 0
112      tmaxr   = 1./(     4.*rday)*0.
113      tminr   = 1./(24.*30.*rday)*0.
114      sedlam=0
115      sedlostpoc=0
116
117C
118C
119      READ(numnat,natbio)
120C
121      IF(lwp) THEN
122          WRITE(numout,*) 'natbio'
123          WRITE(numout,*) ' '
124          WRITE(numout,*)
125     $        ' minimum phytoplancton concentration  apmin =', apmin
126          WRITE(numout,*)
127     $        ' minimum zooplancton   concentration  azmin =', azmin
128          WRITE(numout,*)
129     $        ' minimum nutrients     concentration  anmin =', anmin
130          WRITE(numout,*)
131     $        ' minimum detritus      concentration  admin =', admin
132          WRITE(numout,*)
133     $        ' redfield ratio  c:n                   redf =', redf
134          WRITE(numout,*)
135     $        ' van t hoff coefficient              slopet =', slopet
136          WRITE(numout,*)
137     $        ' optimal photosynthesis temperature   toptp =', toptp
138          WRITE(numout,*)
139     $        ' half-saturation nutrient             aknut =', aknut
140          WRITE(numout,*)
141     $        ' carbone/chlorophyl ratio             rcchl =', rcchl
142          WRITE(numout,*)
143     $        ' phytoplankton exudation fraction    rgamma =', rgamma
144          WRITE(numout,*)
145     $        ' optimal temperature for zoo growth  toptgz =', toptgz
146          WRITE(numout,*)
147     $        ' maximal temperature for zoo growth  tmaxgz =', tmaxgz
148          WRITE(numout,*)
149     $        ' widtht of zoo temperature FUNCTION     rgz =', rgz
150          WRITE(numout,*)
151     $        ' zoo preference for phyto              rppz =', rppz
152          WRITE(numout,*)
153     $        ' maximal zoo grazing rate              taus =',86400*taus
154          WRITE(numout,*)
155     $        ' half saturation constant for zoo food  aks =', aks
156          WRITE(numout,*)
157     $        ' maximal mass clearance rate for zoo filmax =', filmax
158          WRITE(numout,*)
159     $        ' non-assimilated phyto by zoo         rpnaz =', rpnaz
160          WRITE(numout,*)
161     $        ' non-assimilated detritus by zoo      rdnaz =', rdnaz
162          WRITE(numout,*)
163     $        ' minimum  for zoo concentration      eggzoo =', eggzoo
164          WRITE(numout,*)
165     $        ' zoo specific excretion rate          tauzn =',86400
166     $        *tauzn
167          WRITE(numout,*)
168     $        ' maximal phyto mortality rate        tmmaxp =',86400
169     $        *tmmaxp
170          WRITE(numout,*)
171     $        ' minimal phyto mortality rate        tmminp =',86400
172     $        *tmminp
173          WRITE(numout,*)
174     $        ' maximal zoo mortality rate          tmmaxz =',86400
175     $        *tmmaxz
176          WRITE(numout,*)
177     $        ' minimal zoo mortality rate          tmminz =',86400
178     $        *tmminz
179          WRITE(numout,*)
180     $        ' nutrient threshold for phyto mort   anumin =', anumin
181          WRITE(numout,*)
182     $        ' food threshold for zoo mort         afdmin =', afdmin
183          WRITE(numout,*)
184     $        ' detrital breakdown rate              taudn =',86400
185     $        *taudn
186          WRITE(numout,*)
187     $        ' detritus sedimentation speed          vsed =',86400*vsed
188          WRITE(numout,*)
189     $        ' phyto max growth rate               tmumax =',86400
190     $        *tmumax
191          WRITE(numout,*)
192     $        ' light hlaf saturation constant         aki =', aki
193          WRITE(numout,*)
194     $        ' maximum damping for d z or p         tmaxr =', tmaxr
195          WRITE(numout,*)
196     $        ' minimum damping for d z or p         tminr =', tminr
197          WRITE(numout,*)
198     $        ' time coeff of POC in sediments      sedlam =', sedlam
199          WRITE(numout,*)
200     $        ' Sediment geol loss for POC  sedlostpoc =', sedlostpoc
201      ENDIF
202C
203C 1.5 namelist natopt : parameters for optic
204C
205      xkg0  = 0.
206      xkr0  = 0.
207      xkgp  = 0.
208      xkrp  = 0.
209      xlg   = 0.
210      xlr   = 0.
211      rpig  = 0.
212C
213      READ(numnat,natopt)
214C
215      IF(lwp) THEN
216          WRITE(numout,*) 'natopt'
217          WRITE(numout,*) ' '
218          WRITE(numout,*) ' green   water absorption coeff  xkg0  = '
219     $        ,xkg0
220          WRITE(numout,*) ' red water absorption coeff      xkr0  = '
221     $        ,xkr0
222          WRITE(numout,*) ' pigment red absorption coeff    xkrp  = '
223     $        ,xkrp
224          WRITE(numout,*) ' pigment green absorption coeff  xkgp  = '
225     $        ,xkgp
226          WRITE(numout,*) ' green chl exposant              xlg   = '
227     $        ,xlg
228          WRITE(numout,*) ' red   chl exposant              xlr   = '
229     $        ,xlr
230          WRITE(numout,*) ' chla/chla+phea ratio            rpig  = '
231     $        ,rpig
232          WRITE(numout,*) ' '
233
234      ENDIF
235C
236#if defined key_trc_diabio
237C
238C NAMELIST : natdbi
239C
240C default name for biological trends : short and long name, units
241C
242      DO ji=1,jpdiabio
243        IF (ji.lt.10) THEN
244            WRITE (ctrbio(ji),'("BIO_",I1)') ji
245        ELSE IF (ji.lt.100) THEN
246            WRITE (ctrbio(ji),'("BIO_",I2)') ji
247        ELSE
248            WRITE (ctrbio(ji),'("BIO_",I3)') ji
249        ENDIF
250        WRITE (ctrbil(ji),'("BIOLOGICAL TREND NUMBER ",I2)') ji
251        ctrbiu(ji)='mmoleN/m3/s'
252      END DO
253C
254      nwritebio = 10
255C
256      READ(numnat,natdbi)
257C
258      IF(lwp) THEN
259          WRITE(numout,*) 'natdbi'
260          WRITE(numout,*) ' '
261          WRITE(numout,*)
262     $        ' frequency of outputs for biological outputs = '
263     $        ,nwritebio
264          WRITE(numout,*) ' '
265          DO ji=1,jpdiabio
266            WRITE(numout,*)
267     $          'name of biological trend number :',ji,' : ',ctrbio(ji) 
268            WRITE(numout,*) ctrbil(ji) 
269            WRITE(numout,*) ' in unit = ',ctrbiu(ji)
270          END DO
271      END IF
272C
273#endif
274
275#else
276C
277C no passive tracers
278C
279#endif
Note: See TracBrowser for help on using the repository browser.