Sponge layer for regional model #354
Replies: 3 comments 11 replies
-
On Question 1, the restoring can be applied to a portion of the domain using the Since you may not want just to mask at the north and south (so a "polar" mask won't work), you may need to use a field. |
Beta Was this translation helpful? Give feedback.
-
Question 2: you can implement multiple forcings on a tracer using a tuple. There is some recent discussion about that here: Although, I do not think you will need to do this. |
Beta Was this translation helpful? Give feedback.
-
Looking at questions 3 and 4 I think I have answered them but let me know if there is more to say. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! We are participating in the NCAR Open hackathon as team SNL, and have been working on simulating a passive tracer in the Salish Sea using ClimaOcean. I have a few questions about the best way to handle temperature and salinity at the boundaries of our model to insure that they are realistic. So far, we have been initializing our model using ECCO data, roughly following the Mediterranean simulation with ECCO restoring example from ClimaOcean.
Question 1 Looking at the ECCO restoring forcing, since it applies to the whole model space, would it make sense to add an additional sponge layer at the boundary? There does not seem to be any sponge layer in the Mediterranean example.
My understanding of the ECCO restoring function is that it nudges the S and T values back to the interpolated ECCO values on our grid. Implementing a sponge layer would work in a similar way, where the S and T values close to the model border are nudged closer to a known value (in our case the ECCO data). I have attempted to implement this following the sponge layer example here: https://clima.github.io/OceananigansDocumentation/latest/model_setup/forcing_functions/#Relaxation
and the boundary condition documentation here:
https://clima.github.io/OceananigansDocumentation/v0.26.0/model_setup/boundary_conditions/
My implementation is copied below (with a sponge layer implemented on the temperature and ECCO restoring implemented on the salinity). I have also added a figure of the temperature after a 10day spin-up (with ECCO restoring and without a sponge layer). This leads me to Question 2 can there be two forcings applied to the same tracer (ECCOrestoring as well as a sponge layer on the boundaries (which would also be restoring back to ECCO...))? If so, how do I add them together?
Question 3 If it is not possible to have 2 forcings applied to the same tracer, is my implementation of a sponge layer correct?
Question 4 Would changing the mask only apply to the boundaries on ECCOrestoring achieve the same result?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions