-
Notifications
You must be signed in to change notification settings - Fork 190
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
Interface to build and output boundary conditions #3774
Comments
Field
s
I'm not sure where to start to implement this, so if you have ideas, it will be really helpful. |
Let's start with syntax which will determine where the code will live. I think it does have to be τx = boundary_condition(model, :u, :top) (assuming / implying that the top bc is a flux). We could also call this As for implementation, we should use dispatch to handle the various cases: we only need a But let's agree on syntax first then we can move on to those details! |
Another name could be If I understand properly, the |
I think it will be extremely helpful to be able to output boundary conditions and other fields (like fluxes, evaporation, and others) at the ocean interface. Following the discussion from #3081, something on those lines could be implemented, but it ideally it will be nice to have something like
model.boundary_conditions
.However it will be great to have something more general to simplify diagnosing simulations, that outputs the relevant boundary condition, in the example will be the
bottom
boundary.The text was updated successfully, but these errors were encountered: