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.
trcini_pisces.F90 in branches/DEV_r1784_mid_year_merge_2010/NEMO/TOP_SRC/PISCES – NEMO

source: branches/DEV_r1784_mid_year_merge_2010/NEMO/TOP_SRC/PISCES/trcini_pisces.F90 @ 1953

Last change on this file since 1953 was 1953, checked in by acc, 14 years ago

ticket #684 step 3: Add in changes from the trunk between revisions 1784 and 1821. No conflicts so far

  • Property svn:keywords set to Id
File size: 5.1 KB
Line 
1MODULE trcini_pisces
2   !!======================================================================
3   !!                         ***  MODULE trcini_pisces  ***
4   !! TOP :   initialisation of the PISCES biochemical model
5   !!======================================================================
6   !! History :    -   !  1988-07  (E. Maier-Reiner) Original code
7   !!              -   !  1999-10  (O. Aumont, C. Le Quere)
8   !!              -   !  2002     (O. Aumont)  PISCES
9   !!             1.0  !  2005-03  (O. Aumont, A. El Moussaoui) F90
10   !!             2.0  !  2007-12  (C. Ethe, G. Madec) from trcini.pisces.h90
11   !!----------------------------------------------------------------------
12#if defined key_pisces
13   !!----------------------------------------------------------------------
14   !!   'key_pisces'                                       PISCES bio-model
15   !!----------------------------------------------------------------------
16   !! trc_ini_pisces   : PISCES biochemical model initialisation
17   !!----------------------------------------------------------------------
18   USE par_trc         ! TOP parameters
19   USE sms_pisces      ! Source Minus Sink variables
20   USE trc
21   USE oce_trc         ! ocean variables
22   USE p4zche 
23   USE lib_mpp
24
25   IMPLICIT NONE
26   PRIVATE
27
28   PUBLIC   trc_ini_pisces   ! called by trcini.F90 module
29
30   !! * Module variables
31   REAL(wp) :: &
32      sco2   =  2.312e-3         , &
33      alka0  =  2.423e-3         , &
34      oxyg0  =  177.6e-6         , &
35      po4    =  2.174e-6         , &
36      bioma0 =  1.000e-8         , &
37      silic1 =  91.65e-6         , &
38      no3    =  31.04e-6 * 7.6
39
40#  include "top_substitute.h90"
41   !!----------------------------------------------------------------------
42   !! NEMO/TOP 2.0 , LOCEAN-IPSL (2007)
43   !! $Id$
44   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)
45   !!----------------------------------------------------------------------
46
47CONTAINS
48
49   SUBROUTINE trc_ini_pisces
50      !!----------------------------------------------------------------------
51      !!                   ***  ROUTINE trc_ini_pisces ***
52      !!
53      !! ** Purpose :   Initialisation of the PISCES biochemical model
54      !!----------------------------------------------------------------------
55
56
57      IF(lwp) WRITE(numout,*)
58      IF(lwp) WRITE(numout,*) ' trc_ini_pisces :   PISCES biochemical model initialisation'
59      IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~'
60
61
62      !                                            ! Time-step
63      rfact   = rdttra(1) * float(ndttrc)          ! ---------
64      rfactr  = 1. / rfact
65      rfact2  = rfact / float(nrdttrc)
66      rfact2r = 1. / rfact2
67
68      IF(lwp) WRITE(numout,*) '    Tracer  time step    rfact  = ', rfact, ' rdt = ', rdt
69      IF(lwp) write(numout,*) '    Biology time step    rfact2 = ', rfact2
70
71
72
73      ! Set biological ratios
74      ! ---------------------
75      rno3   = (16.+2.) / 122.
76      po4r   =   1.e0   / 122.
77      o2nit  =  32.     / 122.
78      rdenit =  97.6    /  16.
79      o2ut   = 140.     / 122.
80
81      CALL p4z_che        ! initialize the chemical constants
82
83      ndayflxtr = 0      !  Initialize a counter for the computation of chemistry
84
85      ! Initialization of tracer concentration in case of  no restart
86      !--------------------------------------------------------------
87      IF( .NOT. ln_rsttr ) THEN 
88         
89         trn(:,:,:,jpdic) = sco2
90         trn(:,:,:,jpdoc) = bioma0
91         trn(:,:,:,jptal) = alka0
92         trn(:,:,:,jpoxy) = oxyg0
93         trn(:,:,:,jpcal) = bioma0
94         trn(:,:,:,jppo4) = po4 / po4r
95         trn(:,:,:,jppoc) = bioma0
96#  if ! defined key_kriest
97         trn(:,:,:,jpgoc) = bioma0
98         trn(:,:,:,jpbfe) = bioma0 * 5.e-6
99#  else
100         trn(:,:,:,jpnum) = bioma0 / ( 6. * xkr_massp )
101#  endif
102         trn(:,:,:,jpsil) = silic1
103         trn(:,:,:,jpbsi) = bioma0 * 0.15
104         trn(:,:,:,jpdsi) = bioma0 * 5.e-6
105         trn(:,:,:,jpphy) = bioma0
106         trn(:,:,:,jpdia) = bioma0
107         trn(:,:,:,jpzoo) = bioma0
108         trn(:,:,:,jpmes) = bioma0
109         trn(:,:,:,jpfer) = 0.6E-9
110         trn(:,:,:,jpsfe) = bioma0 * 5.e-6
111         trn(:,:,:,jpdfe) = bioma0 * 5.e-6
112         trn(:,:,:,jpnfe) = bioma0 * 5.e-6
113         trn(:,:,:,jpnch) = bioma0 * 12. / 55.
114         trn(:,:,:,jpdch) = bioma0 * 12. / 55.
115         trn(:,:,:,jpno3) = no3
116         trn(:,:,:,jpnh4) = bioma0
117
118         ! initialize the half saturation constant for silicate
119         ! ----------------------------------------------------
120         xksi(:,:)    = 2.e-6
121         xksimax(:,:) = xksi(:,:)
122
123      ENDIF
124
125      IF(lwp) WRITE(numout,*) 'Initialization of PISCES tracers done'
126      IF(lwp) WRITE(numout,*) ' '
127
128      !
129   END SUBROUTINE trc_ini_pisces
130   
131#else
132   !!----------------------------------------------------------------------
133   !!   Dummy module                            No PISCES biochemical model
134   !!----------------------------------------------------------------------
135CONTAINS
136   SUBROUTINE trc_ini_pisces             ! Empty routine
137   END SUBROUTINE trc_ini_pisces
138#endif
139
140   !!======================================================================
141END MODULE trcini_pisces
Note: See TracBrowser for help on using the repository browser.