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

source: trunk/NEMO/TOP_SRC/SMS/trclsm.hamocc3.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: 6.6 KB
Line 
1CCC $Header$
2CCC
3CCC                       trclsm.hamocc3.h
4CCC                       ****************
5CCC
6CCC  PURPOSE :
7CCC  ---------
8CCC     READs and PRINT options for HAMOCC3 or P3ZD namelist
9CCC
10CC   METHOD :                   : no
11CC   -------
12CC
13CC   INPUT :
14CC   -----
15CC            &natgas
16CC            &natext
17CC            &natbio           : biological parameters (#ifdef key_npzd_aumont)
18CC
19CC   OUTPUT :
20CC   ------
21CC      COMMON                  : (#ifdef "key_passivetrc")
22CC           /cotgas/
23CC           /cotcon/
24CC           /cotbio/           :(#ifdef "key_npzd_aumont")
25CC
26CC   WORKSPACE :                : no
27CC   ---------
28CC
29CC   MODIFICATIONS:
30CC   --------------
31CC      original  : 99-10 (M.A. Foujols, M. Levy) passive tracer
32CC      addition  : 00-01 (L. Bopp) hamocc3,p3zd
33CC     
34CC----------------------------------------------------------------------
35CDIR$ LIST
36CC----------------------------------------------------------------------
37CC local declarations
38CC ==================
39
40#if defined key_passivetrc && defined key_trc_hamocc3
41      INTEGER ji
42      CHARACTER*32 clname
43
44CC
45CCC---------------------------------------------------------------------
46CCC  OPA8, LODYC (15/11/96)
47CCC---------------------------------------------------------------------
48C
49C 0. initializations
50C ------------------
51C
52       namelist/natgas/ gasfac, igaswind, icice
53       namelist/natext/ ilecvit,atcco2
54       namelist/natbio/silic0,pendec,pendes,fluexp,caco3r,
55     .   dispo0,conc0,oxymin,grosip,jpkb,sedlam,
56     .   sedlostpoc,sedlostsil,sedlostcal
57#    if defined key_trc_p3zd
58     .   ,pislope,betslope,ekc,ekw1,ekw2,
59     .   excret,epsbio,wsbio,wchl,resrat,mprat,mzrat,grazrat,
60     .   xprefc,xprefp,unass,xkgraz,xkmort,xksi1,xksi2,
61     .   sicmax,xremip,xremik,smax,xkdoc1,xkdoc2
62#    endif
63
64
65#    if defined key_trc_p3zd
66      IF(lwp) THEN
67          WRITE(0,*) ' '
68          WRITE(0,*) ' ROUTINE trclec'
69          WRITE(0,*) ' **************'
70          WRITE(0,*) ' '
71          WRITE(0,*) ' namelist for P3ZD model'
72          WRITE(0,*) ' ***********************'
73          WRITE(0,*) ' '
74      ENDIF
75#    else
76      IF(lwp) THEN
77          WRITE(0,*) ' '
78          WRITE(0,*) ' ROUTINE trclec'
79          WRITE(0,*) ' **************'
80          WRITE(0,*) ' '
81          WRITE(0,*) ' namelist for HAMOCC3 model'
82          WRITE(0,*) ' ***********************'
83          WRITE(0,*) ' '
84      ENDIF
85#    endif
86C
87      numnat=80
88      clname ='namelist.trc.sms'
89      OPEN( numnat, FILE= clname, FORM='formatted', STATUS = 'old')
90
91C
92C 1 Namelist natgas :
93C
94      READ(numnat,natgas)
95C
96      IF(lwp) THEN
97          WRITE(0,*) ' '
98          WRITE(0,*) 'natgas'
99          write(0,*) 'gasfac = ',gasfac
100          WRITE(0,*) ' '
101          write(0,*) 'igaswind = ',igaswind
102          WRITE(0,*) ' '
103          write(0,*) 'icice = ',icice
104          WRITE(0,*) ' '
105
106      ENDIF
107C
108C 2 Namelist natext :
109C
110      READ(numnat,natext)
111C
112      IF(lwp) THEN
113          WRITE(0,*) ' '
114          WRITE(0,*) 'natext'
115          write(0,*)'ilecvit = ',ilecvit
116          WRITE(0,*) ' '
117          WRITE(0,*) 'atmospheric pCO2= ',atcco2
118          WRITE(0,*) ' '
119      ENDIF
120
121C
122      READ(numnat,natbio)
123      IF(lwp) THEN
124          WRITE(0,*) 'natbio'
125          WRITE(0,*) ' '
126          WRITE(0,*)
127     $        ' Silicon half saturation constant           =', silic0
128          WRITE(0,*)
129     $        ' export length for calcite                  =', pendec
130          WRITE(0,*)
131     $        ' export length for biogenic silicon         =', pendes
132          WRITE(0,*)
133     $        ' power constant for POC export              =', fluexp
134          WRITE(0,*)
135     $        ' mean rainratio                             =', caco3r
136          WRITE(0,*)
137     $        ' Calcite dissolution half saturation        =', dispo0
138          WRITE(0,*)
139     $        ' Phosphate half saturation                  =', conc0
140          WRITE(0,*)
141     $        ' Productive zone vertical indice            =', jpkb
142          WRITE(0,*)
143     $        ' Sediment bioturbation constant             =', sedlam
144          WRITE(0,*)
145     $        ' Sediment geol loss for POC            =', sedlostpoc
146          WRITE(0,*)
147     $        ' Sediment geol loss for SIL             =', sedlostsil
148          WRITE(0,*)
149     $        ' Sediment geol loss for CAL             =', sedlostcal
150#    if defined key_trc_p3zd
151          WRITE(0,*)
152     $        ' P-I slope                                  =', pislope
153          WRITE(0,*)
154     $        ' Light inhibition factor                    =', betslope
155          WRITE(0,*)
156     $        ' pigment light absorption coeff.            =', ekc
157          WRITE(0,*)
158     $        ' green light absorption coeff. of water     =', ekw1
159          WRITE(0,*)
160     $        ' red light absorption coeff. of water       =', ekw2
161          WRITE(0,*)
162     $        ' excretion ratio of phytoplankton           =', excret
163          WRITE(0,*)
164     $        ' fraction of dead zooplankton --> POC       =', epsbio
165          WRITE(0,*)
166     $        ' POC sinking speed                          =', wsbio
167          WRITE(0,*)
168     $        ' exsudation rate of zooplankton             =', resrat
169          WRITE(0,*)
170     $        ' phytoplankton mortality rate               =', mprat
171          WRITE(0,*)
172     $        ' zooplankton mortality rate                 =', mzrat
173          WRITE(0,*)
174     $        ' zoo preference for phyto                   =', xprefc
175          WRITE(0,*)
176     $        ' zoo preference for POC                     =', xprefp
177          WRITE(0,*)
178     $        ' maximal zoo grazing rate                   =', grazrat
179          WRITE(0,*)
180     $        ' non assimilated fraction of phyto by zoo   =', unass
181          WRITE(0,*)
182     $        ' half saturation constant for grazing        =', xkgraz
183          WRITE(0,*)
184     $        ' half saturation constant for mortality     =', xkmort
185          WRITE(0,*)
186     $        ' half saturation constant for Si uptake     =', xksi1
187          WRITE(0,*)
188     $        ' half saturation constant for Si/C          =', xksi2
189          WRITE(0,*)
190     $        ' maximum Si/C                               =', sicmax
191          WRITE(0,*)
192     $        ' remineralisation rate of POC               =', xremip
193          WRITE(0,*)
194     $        ' remineralization rate of DOC               =', xremik
195          WRITE(0,*)
196     $        ' maximum sinking rate of phyto              =', smax
197          WRITE(0,*)
198     $        ' 1st half-sat. of DOC remineralization      =', xkdoc1
199          WRITE(0,*)
200     $        ' 2nd half-sat. of DOC remineralization      =', xkdoc2
201          WRITE(0,*) ' '
202#    endif
203      ENDIF
204
205C
206
207#else
208C
209C no passive tracers
210C
211#endif
Note: See TracBrowser for help on using the repository browser.