Skip to content

Commit

Permalink
Remove capability to have non-zero land ice frazil salinity
Browse files Browse the repository at this point in the history
  • Loading branch information
cbegeman committed Apr 2, 2024
1 parent edf89d1 commit 76365bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions components/mpas-ocean/src/Registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -954,13 +954,9 @@
possible_values="Any positive real number."
/>
<nml_option name="config_frazil_sea_ice_reference_salinity" type="real" default_value="4.0" units="1.e-3"
description="assumed salinity of frazil ice in the open ocean."
description="assumed salinity of frazil ice in the open ocean. Land ice frazil salinity is always 0."
possible_values="Any positive real number."
/>
<nml_option name="config_frazil_land_ice_reference_salinity" type="real" default_value="0.0" units="1.e-3"
description="assumed salinity of frazil ice under land ice."
possible_values="Any non-negative real number."
/>
<nml_option name="config_frazil_maximum_freezing_temperature" type="real" default_value="0.0" units="C"
description="Maximum freezing temperature for the creation of frazil"
possible_values="Any real number."
Expand Down
3 changes: 2 additions & 1 deletion components/mpas-ocean/src/shared/mpas_ocn_frazil_forcing.F
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ subroutine ocn_frazil_forcing_build_arrays(domain, meshPool, forcingPool, stateP
! get frazil salinity
if (underLandIce) then
frazilSalinity = config_frazil_land_ice_reference_salinity
frazilSalinity = 0.0_RKIND
else
frazilSalinity = config_frazil_sea_ice_reference_salinity
end if
Expand Down Expand Up @@ -618,6 +618,7 @@ subroutine ocn_frazil_forcing_build_arrays(domain, meshPool, forcingPool, stateP
! for freshwater budgets
accumulatedLandIceFrazilMassNew(iCell) = accumulatedLandIceFrazilMassOld(iCell) &
+ sumNewFrazilIceThickness * config_frazil_ice_density
! There is no accumulatedLandIceFrazilSalinity because it is always 0
end if

enddo ! do iCell = 1, nCells
Expand Down

0 comments on commit 76365bd

Please sign in to comment.