-
Notifications
You must be signed in to change notification settings - Fork 250
Materialize buoyancy gradients for use in parameterizations #4837
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
base: main
Are you sure you want to change the base?
Changes from 6 commits
0f554e2
4badab3
92bd953
64fc800
64e9a62
ebaf0d6
89d78a0
0b7d98e
ebe8e04
3a7cf53
5df86ca
fe1d831
915c72b
39482bd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,7 @@ using Oceananigans.BoundaryConditions | |
| using Oceananigans: UpdateStateCallsite | ||
| using Oceananigans.Biogeochemistry: update_biogeochemical_state! | ||
| using Oceananigans.BoundaryConditions: update_boundary_conditions! | ||
| using Oceananigans.BuoyancyFormulations: compute_buoyancy_gradients! | ||
| using Oceananigans.TurbulenceClosures: compute_diffusivities! | ||
| using Oceananigans.ImmersedBoundaries: mask_immersed_field!, mask_immersed_field_xy!, inactive_node | ||
| using Oceananigans.Models: update_model_field_time_series! | ||
|
|
@@ -83,6 +84,9 @@ function compute_auxiliaries!(model::HydrostaticFreeSurfaceModel; w_parameters = | |
| P = model.pressure.pHY′ | ||
| arch = architecture(grid) | ||
|
|
||
| # Maybe compute buoyancy gradients | ||
| compute_buoyancy_gradients!(buoyancy, grid, tracers; parameters = κ_parameters) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why does it take "κ_parameters"? These are the parameters for the turbulence closure? It's not clear why we would use that. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. right, I think we need some |
||
|
|
||
| # Update the vertical velocity to comply with the barotropic correction step | ||
| update_grid_vertical_velocity!(model, grid, model.vertical_coordinate) | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.