The surface boundary condition for tracers is implemented in a separate module (trasbc.F90) instead of entering as a boundary condition on the vertical diffusion operator (as in the case of momentum). This has been found to enhance readability of the code. The two formulations are completely equivalent; the forcing terms in trasbc are the surface fluxes divided by the thickness of the top model layer.
Due to interactions and mass exchange of water () with other Earth system components ( atmosphere, sea-ice, land), the change in the heat and salt content of the surface layer of the ocean is due both to the heat and salt fluxes crossing the sea surface (not linked with ) and to the heat and salt content of the mass exchange. They are both included directly in , the surface heat flux, and , the surface salt flux (see §7 for further details). By doing this, the forcing formulation is the same for any tracer (including temperature and salinity).
The surface module (sbcmod.F90, see §7) provides the following forcing fields (used on tracers):
, the non-solar part of the net surface heat flux that crosses the sea surface (i.e. the difference between the total surface heat flux and the fraction of the short wave flux that penetrates into the water column, see §5.4.2) plus the heat content associated with of the mass exchange with the atmosphere and lands.
, the salt flux resulting from ice-ocean mass exchange (freezing, melting, ridging...)
emp, the mass flux exchanged with the atmosphere (evaporation minus precipitation) and possibly with the sea-ice and ice-shelves.
rnf, the mass flux associated with runoff (see §7.9 for further detail of how it acts on temperature and salinity tendencies)
fwfisf, the mass flux associated with ice shelf melt, (see §7.10 for further details
on how the ice shelf melt is computed and applied).
In the non-linear free surface case (key_ vvl is defined), the surface boundary condition on temperature and salinity is applied as follows:
In the linear free surface case (key_ vvl is not defined), an additional term has to be added on both temperature and salinity. On temperature, this term remove the heat content associated with mass exchange that has been added to . On salinity, this term mimics the concentration/dilution effect that would have resulted from a change in the volume of the first level. The resulting surface boundary condition is applied as follows:
!----------------------------------------------------------------------- &namtra_qsr ! penetrative solar radiation !----------------------------------------------------------------------- ! ! file name ! frequency (hours) ! variable ! time interp. ! clim ! 'yearly'/ ! weights ! rotation ! land/sea mask ! ! ! ! (if <0 months) ! name ! (logical) ! (T/F) ! 'monthly' ! filename ! pairing ! filename ! sn_chl ='chlorophyll', -1 , 'CHLA' , .true. , .true. , 'yearly' , '' , '' , '' cn_dir = './' ! root directory for the location of the runoff files ln_traqsr = .true. ! Light penetration (T) or not (F) ln_qsr_rgb = .true. ! RGB (Red-Green-Blue) light penetration ln_qsr_2bd = .false. ! 2 bands light penetration ln_qsr_bio = .false. ! bio-model light penetration nn_chldta = 1 ! RGB : 2D Chl data (=1), 3D Chl data (=2) or cst value (=0) rn_abs = 0.58 ! RGB & 2 bands: fraction of light (rn_si1) rn_si0 = 0.35 ! RGB & 2 bands: shortess depth of extinction rn_si1 = 23.0 ! 2 bands: longest depth of extinction ln_qsr_ice = .true. ! light penetration for ice-model LIM3 /
Options are defined through the namtra_qsr namelist variables. When the penetrative solar radiation option is used (ln_flxqsr=true), the solar radiation penetrates the top few tens of meters of the ocean. If it is not used (ln_flxqsr=false) all the heat flux is absorbed in the first ocean level. Thus, in the former case a term is added to the time evolution equation of temperature (2.1d) and the surface boundary condition is modified to take into account only the non-penetrative part of the surface heat flux:
The shortwave radiation, , consists of energy distributed across a wide spectral range. The ocean is strongly absorbing for wavelengths longer than 700 nm and these wavelengths contribute to heating the upper few tens of centimetres. The fraction of that resides in these almost non-penetrative wavebands, , is (specified through namelist parameter rn_abs). It is assumed to penetrate the ocean with a decreasing exponential profile, with an e-folding depth scale, , of a few tens of centimetres (typically set as rn_si0 in the namtra_qsr namelist). For shorter wavelengths (400-700 nm), the ocean is more transparent, and solar energy propagates to larger depths where it contributes to local heating. The way this second part of the solar energy penetrates into the ocean depends on which formulation is chosen. In the simple 2-waveband light penetration scheme (ln_qsr_2bd=true) a chlorophyll-independent monochromatic formulation is chosen for the shorter wavelengths, leading to the following expression [Paulson and Simpson, 1977]:
Such assumptions have been shown to provide a very crude and simplistic representation of observed light penetration profiles (Morel , see also Fig.5.2). Light absorption in the ocean depends on particle concentration and is spectrally selective. Morel  has shown that an accurate representation of light penetration can be provided by a 61 waveband formulation. Unfortunately, such a model is very computationally expensive. Thus, Lengaigne et al.  have constructed a simplified version of this formulation in which visible light is split into three wavebands: blue (400-500 nm), green (500-600 nm) and red (600-700nm). For each wave-band, the chlorophyll-dependent attenuation coefficient is fitted to the coefficients computed from the full spectral model of Morel  (as modified by Morel and Maritorena ), assuming the same power-law relationship. As shown in Fig.5.2, this formulation, called RGB (Red-Green-Blue), reproduces quite closely the light penetration profiles predicted by the full spectal model, but with much greater computational efficiency. The 2-bands formulation does not reproduce the full model very well.
The RGB formulation is used when ln_qsr_rgb=true. The RGB attenuation coefficients ( the inverses of the extinction length scales) are tabulated over 61 nonuniform chlorophyll classes ranging from 0.01 to 10 g.Chl/L (see the routine trc_oce_rgb in trc_oce.F90 module). Four types of chlorophyll can be chosen in the RGB formulation:
When the -coordinate is preferred to the -coordinate, the depth of levels does not significantly vary with location. The level at which the light has been totally absorbed ( it is less than the computer precision) is computed once, and the trend associated with the penetration of the solar radiation is only added down to that level. Finally, note that when the ocean is shallow ( 200 m), part of the solar radiation can reach the ocean floor. In this case, we have chosen that all remaining radiation is absorbed in the last ocean level ( is masked).
!----------------------------------------------------------------------- &nambbc ! bottom temperature boundary condition !----------------------------------------------------------------------- ! ! ! (if <0 months) ! ! ! file name ! frequency (hours) ! variable ! time interp. ! clim ! 'yearly'/ ! weights ! rotation ! land/sea mask ! ! ! ! (if <0 months) ! name ! (logical) ! (T/F ) ! 'monthly' ! filename ! pairing ! filename ! sn_qgh ='geothermal_heating.nc', -12. , 'heatflow' , .false. , .true. , 'yearly' , '' , '' , '' ! cn_dir = './' ! root directory for the location of the runoff files ln_trabbc = .true. ! Apply a geothermal heating at the ocean bottom nn_geoflx = 2 ! geothermal heat flux: = 0 no flux ! = 1 constant flux ! = 2 variable flux (read in geothermal_heating.nc in mW/m2) rn_geoflx_cst = 86.4e-3 ! Constant value of geothermal heat flux [W/m2] /
Usually it is assumed that there is no exchange of heat or salt through the ocean bottom, a no flux boundary condition is applied on active tracers at the bottom. This is the default option in NEMO, and it is implemented using the masking technique. However, there is a non-zero heat flux across the seafloor that is associated with solid earth cooling. This flux is weak compared to surface fluxes (a mean global value of [Stein and Stein, 1992]), but it warms systematically the ocean and acts on the densest water masses. Taking this flux into account in a global ocean model increases the deepest overturning cell ( the one associated with the Antarctic Bottom Water) by a few Sverdrups [Emile-Geay and Madec, 2009].
Options are defined through the namtra_bbc namelist variables. The presence of geothermal heating is controlled by setting the namelist parameter ln_trabbc to true. Then, when nn_geoflx is set to 1, a constant geothermal heating is introduced whose value is given by the nn_geoflx_cst, which is also a namelist parameter. When nn_geoflx is set to 2, a spatially varying geothermal heat flux is introduced which is provided in the geothermal_heating.nc NetCDF file (Fig.5.3) [Emile-Geay and Madec, 2009].
Gurvan Madec and the NEMO Team
NEMO European Consortium2017-02-17