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.
sedorg.F90 in NEMO/branches/2021/dev_r14318_RK3_stage1/src/TOP/PISCES/SED – NEMO

source: NEMO/branches/2021/dev_r14318_RK3_stage1/src/TOP/PISCES/SED/sedorg.F90 @ 15574

Last change on this file since 15574 was 15574, checked in by techene, 3 years ago

#2605 #2715 trunk merged into dev_r14318_RK3_stage1

File size: 2.8 KB
Line 
1MODULE sedorg
2   !!======================================================================
3   !!              ***  MODULE  sedinorg  ***
4   !!    Sediment : dissolution and reaction in pore water of
5   !!               inorganic species
6   !!=====================================================================
7   !! * Modules used
8   USE sed     ! sediment global variable
9   USE sed_oce
10   USE sedini
11   USE sedmat
12   USE lib_mpp         ! distribued memory computing library
13   USE lib_fortran
14
15   IMPLICIT NONE
16   PRIVATE
17
18   PUBLIC sed_org
19
20   !! $Id: seddsr.F90 5215 2015-04-15 16:11:56Z nicolasmartin $
21CONTAINS
22   
23   SUBROUTINE sed_org( kt )
24      !!----------------------------------------------------------------------
25      !!                   ***  ROUTINE sed_org  ***
26      !!
27      !!  ** Purpose :  computes pore water dissolution and reaction
28      !!
29      !!  ** Methode :  implicit simultaneous computation of undersaturation
30      !!               resulting from diffusive pore water transport and chemical
31      !!               pore water reactions. Solid material is consumed according
32      !!               to redissolution and remineralisation
33      !!
34      !!  ** Remarks :
35      !!              - undersaturation : deviation from saturation concentration
36      !!              - reaction rate   : sink of undersaturation from dissolution
37      !!                                 of solid material
38      !!
39      !!   History :
40      !!        !  98-08 (E. Maier-Reimer, Christoph Heinze )  Original code
41      !!        !  04-10 (N. Emprin, M. Gehlen ) f90
42      !!        !  06-04 (C. Ethe)  Re-organization
43      !!        !  19-08 (O. Aumont) Debugging and improvement of the model
44      !!----------------------------------------------------------------------
45      !! Arguments
46      INTEGER, INTENT(in)  :: kt   ! time step
47      ! --- local variables
48      REAL(wp), DIMENSION(jpoce, jpksed) :: psms, preac
49      !!
50      !!----------------------------------------------------------------------
51
52      IF( ln_timing )  CALL timing_start('sed_org')
53
54      IF( kt == nitsed000 ) THEN
55         IF (lwp) WRITE(numsed,*) ' sed_org : solute species which do not experience redox reactions '
56         IF (lwp) WRITE(numsed,*) ' '
57      ENDIF
58!
59      ! DIC in pore water
60      preac(:,:) = 0.0_wp
61      psms (:,:) = rearatpom(:,:)
62      CALL sed_mat_dsri( jpksed, jwdic, preac, psms, dtsed, pwcp(:,:,jwdic) )
63     
64      ! Silicate in pore water
65      psms (:,:) = 0.0_wp
66      CALL sed_mat_dsri( jpksed, jwsil, preac, psms, dtsed, pwcp(:,:,jwsil) )
67
68      ! Iron ligands in pore water
69      psms (:,:) = ratligc * rearatpom(:,:)
70      preac(:,:) = -reac_ligc
71      CALL sed_mat_dsri( jpksed, jwlgw, preac, psms, dtsed, pwcp(:,:,jwlgw) )
72
73      IF( ln_timing )  CALL timing_stop('sed_org')
74!     
75   END SUBROUTINE sed_org
76
77END MODULE sedorg
Note: See TracBrowser for help on using the repository browser.