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 @ 247

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

CL : Add CVS Header and CeCILL licence information

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