# Should hfx\_sub be substracted to compute qt\_oce\_ai?

**URL:** <https://nemo-ocean.discourse.group/t/should-hfx-sub-be-substracted-to-compute-qt-oce-ai/772>\
**Category:** v4.2.x\
**Tags:** SI3\
**Created:** [22 October 2024 21:31 UTC](https://nemo-ocean.discourse.group/t/should-hfx-sub-be-substracted-to-compute-qt-oce-ai/772 "2024-10-22T21:31:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dringeisen](https://yyz2.discourse-cdn.com/free1/user_avatar/nemo-ocean.discourse.group/dringeisen/32/255_2.png) [@dringeisen](https://nemo-ocean.discourse.group/u/dringeisen)\
**Post date:** [22 October 2024 21:31 UTC](https://nemo-ocean.discourse.group/t/should-hfx-sub-be-substracted-to-compute-qt-oce-ai/772/1 "2024-10-22T21:31:13Z")

</div>

Hi!

We, at CCCma, are having a heat conservation issue in our coupling with out atmospheric model CanAM, and looking at the NEMO-SI3 side, we have a question:

In `ice_thd_dh`, where `hfx_sub` is computed, a comment says

```fortran
! comment: not counted in mass/heat exchange in iceupdate.F90 since this is an exchange with atm. (not ocean)
hfx_sub_1d (ji) = hfx_sub_1d (ji) + ze_s(ji,jk) * zdum * a_i_1d(ji) * r1_Dt_ice ! Heat flux of snw that sublimates [W.m-2], < 0

```

but in `ice_update_flx` the heat transfered to the ocean is computed using this `hfx_sub`

```fortran
         IF( ln_icethd ) THEN
            qt_oce_ai(ji,jj) = qt_atm_oi(ji,jj) - hfx_sum(ji,jj) - hfx_bom(ji,jj) - hfx_bog(ji,jj) &
               & - hfx_dif(ji,jj) - hfx_opw(ji,jj) - hfx_snw(ji,jj) &
               & + hfx_thd(ji,jj) + hfx_dyn(ji,jj) + hfx_res(ji,jj) &
               & + hfx_sub(ji,jj) - SUM( qevap_ice(ji,jj,:) * a_i_b(ji,jj,:) ) + hfx_spr(ji,jj)
         ENDIF

```

Also, I was wondering if the latent heat of fusion of ice and snow is not already removed from Qns in the atmospheric side of the coupler as Qns includes the latent heat fluxes (evaporation over the ocean and sublimation over sea ice) as it is done in IPSL-CM6 ([https://forge.ipsl.jussieu.fr/igcmg/wiki/IPSLCM6/Coupling](https://forge.ipsl.jussieu.fr/igcmg/wiki/IPSLCM6/Coupling))

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![clem](https://avatars.discourse-cdn.com/v4/letter/c/6a8cbe/32.png) [@clem](https://nemo-ocean.discourse.group/u/clem)\
**Post date:** [29 October 2024 15:53 UTC](https://nemo-ocean.discourse.group/t/should-hfx-sub-be-substracted-to-compute-qt-oce-ai/772/2 "2024-10-29T15:53:12Z")

</div>

Well, there may be a confusion here.

The latent heat of ice/snow fusion is included in the downward non solar flux **qns\_ice** (and **qns\_tot** ). And if not, it should be. I think this part is well taken into account by the atmospheric models. So, SI3 takes this heat to sublimate. So far so good. But sublimation comes with an ice-atmo mass exchange as well. And the sublimated ice has a non zero temperature. Hence, there is a sensible heat associated with this sublimation that should be retrieved by the atmosphere but it is not the case. This flux is called **qevap\_ice**. In practice, **qevap\_ice** is always set to 0, which means assuming a sublimation at 0°C and no sensible flux related to sublimation.

In SI3 the sensible flux associated with sublimation cannot be 0 since the sublimated ice has a non zero temperature. This flux is diagnosed and called **hfx\_sub**. We cannot send it into the atmosphere. Therefore, for conservation purpose, it is included in the non solar flux reaching the ocean **qt\_oce\_ai** whose expression is given below:

```auto
qt_oce_ai(ji,jj) = qt_atm_oi(ji,jj) - blabla
   & + hfx_sub(ji,jj) - SUM( qevap_ice(ji,jj,:) * a_i_b(ji,jj,:) ) + hfx_spr(ji,jj)

```

You see that, in a “perfect world”, `hfx_sub = qevap_ice`, and no sensible heat related to sublimation is sent to the ocean.

---

<div class="post-metadata">

**Author:** ![dringeisen](https://yyz2.discourse-cdn.com/free1/user_avatar/nemo-ocean.discourse.group/dringeisen/32/255_2.png) [@dringeisen](https://nemo-ocean.discourse.group/u/dringeisen)\
**Post date:** [29 October 2024 21:37 UTC](https://nemo-ocean.discourse.group/t/should-hfx-sub-be-substracted-to-compute-qt-oce-ai/772/3 "2024-10-29T21:37:14Z")

</div>

Hi Clement,

thanks a lot for your answer,

I completely agree, we do include the latent heat fluxes of evaporation and sublimation in Qns\_x.

We were more confused with the sensible and mass heat fluxes, and what is included in our coupling interface vs what is expected. Thanks for your explanation, it makes total sense, but I will check how sensible fluxes are taken into account in our model so we are consistent with NEMO (we do not use OASIS).
