Skip to content

Conversation

@simone-silvestri
Copy link
Collaborator

This is an exploratory PR to use ClimaOcean to force a veros setup.

This exercise is also usefull to make sure that ClimaOcean does not necessarily assume that the ocean model comes from Oceananigans but it is flexible enough to handle different ocean configurations.

@simone-silvestri
Copy link
Collaborator Author

I think this is ready to merge. We probably have to tweak the extension again after https://github.com/nutrik/veros/tree/atm_coupling is merged into main, and we have space where to fill in salt and temperature flux.

@simone-silvestri simone-silvestri added the build docs Add this label to built the docs in a PR label Nov 11, 2025
@glwagner
Copy link
Member

glwagner commented Dec 4, 2025

@simone-silvestri looks like this is a bit stale, is there a possibility of refreshing it?

The interesting exercise here is to couple veros and SpeedyWeather I think now that we have the SpeedyWeather extension.

v :: CF
T :: CC
S :: CC
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it not possible to use a general exchanger? Do we need special exchangers for each component?


s = []
tx = []
ty = []
Copy link
Member

@glwagner glwagner Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why can't you use a regular JLD2Writer? I think that would be preferred, to illustrate the user interface which is important.

taux = view(parent(net_ocean_fluxes.u), 1:nx, 1:ny, 1) .* ρₒ
tauy = view(parent(net_ocean_fluxes.v), 1:nx, 1:ny, 1) .* ρₒ

# TODO: Do not do this 12 thingy when we can make sure
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the "12 thingy"?

setup = @eval $setups.$setup_name()

# instantiate the setup
setup.setup()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is setup the best name for this object, given that it has a method called setup()? Perhaps the function setup() should be something like instantiate() so it's out of our control...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build docs Add this label to built the docs in a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants