How to set up an infinite ocean? #3483
Replies: 2 comments 3 replies
-
Probably you want to add sponge layer forcing on the velocity fields (possibly also the tracer fields) to damp perturbations that come close to the boundary. You can use https://clima.github.io/OceananigansDocumentation/stable/model_setup/forcing_functions/#Relaxation There's also some information on Note that There is some work now to add features so that |
Beta Was this translation helpful? Give feedback.
-
Just for reference, I've created this function to mask the damping at the edge of the domain using a smoothed square wave:
with |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm new using oceananigans. I'm interested of creating a configuration with an open boundary to avoid the reflection of waves back into the domain (see issue in fig below of vorticity).
In other words, I would like to create an infinite ocean. My understanding reading the documentation is that I need to prescribe the open boundary condition (
OpenBoundaryCondition
) as shown below to make the velocities zero in the normal direction of the model edge.I've used the conditions above, and I still have reflection of waves, so I'm certainly doing something wrong.
Is there something that I'm missing?
Beta Was this translation helpful? Give feedback.
All reactions