Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix for frazil ice temperature tendency #6976

Merged
merged 1 commit into from
Feb 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions components/mpas-ocean/src/shared/mpas_ocn_frazil_forcing.F
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,10 @@ subroutine ocn_frazil_forcing_build_arrays(domain, meshPool, forcingPool, stateP
* config_frazil_ice_density ) / (config_specific_heat_sea_water * rho_sw) &
/ dt

! ocean fluid temperature is modified due to mixing of existing water with meltwater at the freezing point
frazilTemperatureTendency(k,iCell) = frazilTemperatureTendency(k,iCell) + &
meltedFrazilIceThickness * oceanFreezingTemperature / dt

! keep track of new frazil ice
sumNewThicknessWeightedSaltContent = sumNewThicknessWeightedSaltContent - meltedThicknessWeightedSaltContent
sumNewFrazilIceThickness = sumNewFrazilIceThickness - meltedFrazilIceThickness
Expand Down