Skip to content

Commit 9b8ebcc

Browse files
committed
Set seaIceTemperatureFlux to 0 because it is already accounted for in seaIceHeatFlux deriving from Icepack
1 parent dcbc1ae commit 9b8ebcc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/mpas-ocean/src/Registry.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3895,7 +3895,7 @@
38953895
description="Heat flux associated with Evaporation at cell centers sent to coupler. Positive into the ocean."
38963896
/>
38973897
<var name="seaIceTemperatureFlux" type="real" dimensions="nCells Time" units="C m s^-1"
3898-
description="Heat flux associated with sea ice melt water at cell centers sent to coupler. Positive into the ocean."
3898+
description="Heat flux associated with sea ice melt water at cell centers sent to coupler. Positive into the ocean. Currently always assigned a value of 0 because it is included in seaIceHeatFlux as assigned by Icepack"
38993899
/>
39003900
<var name="icebergTemperatureFlux" type="real" dimensions="nCells Time" units="C m s^-1"
39013901
description="Heat flux associated with iceberg melt at cell centers sent to coupler. Positive into the ocean."

components/mpas-ocean/src/shared/mpas_ocn_surface_bulk_forcing.F

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -763,9 +763,9 @@ subroutine ocn_surface_bulk_forcing_active_tracers(meshPool, forcingPool, tracer
763763

764764
! Accumulate fluxes that use the freezing point
765765
! mrp performance note: should call ocn_freezing_temperature just once here
766-
seaIceTemperatureFlux(iCell) = seaIceFreshWaterFlux(iCell) * &
767-
ocn_freezing_temperature( tracerGroup(index_salinity_flux, minLevelCell(iCell), iCell), pressure=0.0_RKIND, &
768-
inLandIceCavity=.false.) / rho_sw
766+
767+
! Already included in seaIceHeatFlux deriving from Icepack
768+
seaIceTemperatureFlux(iCell) = 0.0_RKIND
769769

770770
surfaceTemperatureFluxWithoutRunoff = rainTemperatureFlux(iCell) + evapTemperatureFlux(iCell) + &
771771
seaIceTemperatureFlux(iCell)

0 commit comments

Comments
 (0)