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

*Revise BFB_set_coord and BFB_buoyancy_forcing #454

Merged
merged 2 commits into from
Aug 25, 2023

Conversation

Hallberg-NOAA
Copy link
Member

Revised BFB_set_coord and BFB_buoyancy_forcing to be consistent with other instances of a linear equation of state, and to set g_prime in non-Boussinesq mode similarly to how it is set in other places. Also use RESTORE_FLUX_RHO in place of RHO_0 when to specify the densities that are used to convert the piston velocities into restoring heat or salt fluxes with BFB_buoyancy_forcing, like in other places in the MOM6 code. This change will change answers by default when BFB_set_coord is used, but the old Boussinesq answers can be recovered by setting the reference salinity S_REF to 38.75 ppt or by setting RHO_T0_S0 to 1003.0 kg m-3.

  Revised BFB_set_coord and BFB_buoyancy_forcing to be consistent with other
instances of a linear equation of state, and to set g_prime in non-Boussinesq
mode similarly to how it is set in other places.   Also use RESTORE_FLUX_RHO in
place of RHO_0 when to specify the densities that are used to convert the piston
velocities into restoring heat or salt fluxes with BFB_buoyancy_forcing, like in
other places in the MOM6 code.  This change will change answers by default when
BFB_set_coord is used, but the old Boussinesq answers can be recovered by
setting the reference salinity S_REF to 38.75 ppt or by setting RHO_T0_S0 to
1003.0 kg m-3.
@codecov
Copy link

codecov bot commented Aug 14, 2023

Codecov Report

Merging #454 (624a7e0) into dev/gfdl (24160d5) will decrease coverage by 9.10%.
The diff coverage is 0.00%.

❗ Current head 624a7e0 differs from pull request most recent head 5a5d6fa. Consider uploading reports for the commit 5a5d6fa to get more accurate results

@@             Coverage Diff              @@
##           dev/gfdl     #454      +/-   ##
============================================
- Coverage     47.10%   38.01%   -9.10%     
============================================
  Files            41      270     +229     
  Lines          4583    77761   +73178     
  Branches        806    14371   +13565     
============================================
+ Hits           2159    29560   +27401     
- Misses         2244    42835   +40591     
- Partials        180     5366    +5186     
Files Changed Coverage Δ
src/user/BFB_initialization.F90 0.00% <0.00%> (ø)
src/user/BFB_surface_forcing.F90 0.00% <0.00%> (ø)

... and 254 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@marshallward
Copy link
Member

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/20426 ✔️

@marshallward marshallward merged commit 1872d3b into NOAA-GFDL:dev/gfdl Aug 25, 2023
@Hallberg-NOAA Hallberg-NOAA deleted the nonBous_BFB_test_case branch September 27, 2023 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants