Skip to content

Commit eb6b564

Browse files
pearsebdougiesquire
authored andcommitted
WOMBAT: Made the minimum of sediment dissolution configurable at run time with new parameter "omegamax_sed"
1 parent dace922 commit eb6b564

File tree

2 files changed

+22
-9
lines changed

2 files changed

+22
-9
lines changed

generic_tracers/generic_WOMBATlite.F90

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ module generic_WOMBATlite
185185
wcaco3, &
186186
caco3lrem, &
187187
caco3lrem_sed, &
188+
omegamax_sed, &
188189
f_inorg, &
189190
disscal, &
190191
dissara, &
@@ -1472,6 +1473,12 @@ subroutine user_add_params
14721473
!-----------------------------------------------------------------------
14731474
call g_tracer_add_param('caco3lrem_sed', wombat%caco3lrem_sed, 0.01/86400.0)
14741475

1476+
! Ceiling of omega in the sediments (controls rate of CaCO3 dissolution) [0-1]
1477+
! - if == 1.0, then there may be at minimum no dissolution of CaCO3
1478+
! - if < 1.0, then there is always some dissolution of CaCO3 when when supersaturated
1479+
!-----------------------------------------------------------------------
1480+
call g_tracer_add_param('omegamax_sed', wombat%omegamax_sed, 0.7)
1481+
14751482
! CaCO3 inorganic fraction [1]
14761483
!-----------------------------------------------------------------------
14771484
call g_tracer_add_param('f_inorg', wombat%f_inorg, 0.04)
@@ -3300,11 +3307,11 @@ subroutine generic_WOMBATlite_update_from_source(tracer_list, Temp, Salt, &
33003307
wombat%det_sed_remin(i,j) = wombat%detlrem_sed * fbc * wombat%p_det_sediment(i,j,1) ! [mol/m2/s]
33013308
wombat%detfe_sed_remin(i,j) = wombat%detlrem_sed * fbc * wombat%p_detfe_sediment(i,j,1) ! [mol/m2/s]
33023309
if (do_caco3_dynamics) then
3303-
wombat%caco3_sed_remin(i,j) = wombat%caco3lrem_sed * fbc * wombat%p_caco3_sediment(i,j,1) * &
3304-
max(0.1, (1.0 - wombat%sedomega_cal(i,j)))**(4.5)
3310+
wombat%caco3_sed_remin(i,j) = wombat%caco3lrem_sed * fbc * wombat%p_caco3_sediment(i,j,1) &
3311+
* max((1.0-wombat%omegamax_sed), (1.0-wombat%sedomega_cal(i,j)))**(4.5)
33053312
else
3306-
wombat%caco3_sed_remin(i,j) = wombat%caco3lrem_sed * fbc * wombat%p_caco3_sediment(i,j,1) * &
3307-
max(0.1, (1.0 - 0.2081))**(4.5)
3313+
wombat%caco3_sed_remin(i,j) = wombat%caco3lrem_sed * fbc * wombat%p_caco3_sediment(i,j,1) &
3314+
* (1.0 - 0.2081)**(4.5)
33083315
endif
33093316

33103317
! Remineralisation of sediments to supply nutrient fields.

generic_tracers/generic_WOMBATmid.F90

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ module generic_WOMBATmid
222222
wcaco3, &
223223
caco3lrem, &
224224
caco3lrem_sed, &
225+
omegamax_sed, &
225226
f_inorg, &
226227
disscal, &
227228
dissara, &
@@ -2085,6 +2086,12 @@ subroutine user_add_params
20852086
!-----------------------------------------------------------------------
20862087
call g_tracer_add_param('caco3lrem_sed', wombat%caco3lrem_sed, 0.01/86400.0)
20872088

2089+
! Ceiling of omega in the sediments (controls rate of CaCO3 dissolution) [0-1]
2090+
! - if == 1.0, then there may be at minimum no dissolution of CaCO3
2091+
! - if < 1.0, then there is always some dissolution of CaCO3 when when supersaturated
2092+
!-----------------------------------------------------------------------
2093+
call g_tracer_add_param('omegamax_sed', wombat%omegamax_sed, 0.7)
2094+
20882095
! CaCO3 inorganic fraction [1]
20892096
!-----------------------------------------------------------------------
20902097
call g_tracer_add_param('f_inorg', wombat%f_inorg, 0.04)
@@ -3453,7 +3460,6 @@ subroutine generic_WOMBATmid_update_from_source(tracer_list, Temp, Salt, &
34533460
! 1. Light limitation of chlorophyll production
34543461
! 2. minimum and optimal rates of chlorophyll growth
34553462
! 3. Calculate mg Chl m-3 s-1
3456-
34573463
!!!~~~ Phytoplankton ~~~!!!
34583464
pchl_pisl = phy_pisl / ( wombat%phy_mumax(i,j,k) * 86400.0 * &
34593465
(1. - min(wombat%phy_lnit(i,j,k), wombat%phy_lfer(i,j,k))) + epsi )
@@ -4524,11 +4530,11 @@ subroutine generic_WOMBATmid_update_from_source(tracer_list, Temp, Salt, &
45244530
wombat%det_sed_remin(i,j) = wombat%detlrem_sed * fbc * wombat%p_det_sediment(i,j,1) ! [mol/m2/s]
45254531
wombat%detfe_sed_remin(i,j) = wombat%detlrem_sed * fbc * wombat%p_detfe_sediment(i,j,1) ! [mol/m2/s]
45264532
if (do_caco3_dynamics) then
4527-
wombat%caco3_sed_remin(i,j) = wombat%caco3lrem_sed * fbc * wombat%p_caco3_sediment(i,j,1) * &
4528-
max(0.1, (1.0 - wombat%sedomega_cal(i,j)))**(4.5)
4533+
wombat%caco3_sed_remin(i,j) = wombat%caco3lrem_sed * fbc * wombat%p_caco3_sediment(i,j,1) &
4534+
* max((1.0 - wombat%omegamax_sed), (1.0 - wombat%sedomega_cal(i,j)))**(4.5)
45294535
else
4530-
wombat%caco3_sed_remin(i,j) = wombat%caco3lrem_sed * fbc * wombat%p_caco3_sediment(i,j,1) * &
4531-
max(0.1, (1.0 - 0.2081))**(4.5)
4536+
wombat%caco3_sed_remin(i,j) = wombat%caco3lrem_sed * fbc * wombat%p_caco3_sediment(i,j,1) &
4537+
* (1.0 - 0.2081)**(4.5)
45324538
endif
45334539
if (do_open_n_cycle) then
45344540
! sedimentary denitrification (Bohlen et al., 2012 Global Biogeochemical Cycles)

0 commit comments

Comments
 (0)