Skip to content
New issue

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

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

Already on GitHub? # to your account

Salinity flux does not go to zero when SSS = 0. #480

Open
dabail10 opened this issue Dec 18, 2023 · 0 comments
Open

Salinity flux does not go to zero when SSS = 0. #480

dabail10 opened this issue Dec 18, 2023 · 0 comments

Comments

@dabail10
Copy link
Contributor

The code here needs a fix for coupled models when sea surface salinity goes to 0. In fact, this should probably stop taking salt from the ocean when SSS = S_min, currently 0.1.

k = nilyr
zSin(k) = zSin(k) + max(S_min - zSin(k), &
((q(k) * (sss - Sbr(k))) / hilyr + &
dSdt(k) + &
(w * (Sbr(k-1) - Sbr(k))) / hilyr) * dt)

@dabail10 dabail10 self-assigned this Dec 18, 2023
@eclare108213 eclare108213 added the 2024 tutorial potential topics for the 2024 workshop/tutorial label Jan 5, 2024
@eclare108213 eclare108213 added Thermodynamics Physics and removed 2024 tutorial potential topics for the 2024 workshop/tutorial labels Jul 11, 2024
@eclare108213 eclare108213 self-assigned this Aug 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants