-
Notifications
You must be signed in to change notification settings - Fork 120
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
Introduce new category of seafloor interaction #1418
Comments
See sections 2.4, 3.2.1, and 4.2 in this paper, for further discussion of this type of boundary treatment: https://gmd.copernicus.org/articles/16/5339/2023/ |
On further searching, it looks to me like
Then I think a reasonable solution could be to add an argument to the Edit 1: Digging a bit deeper, I see that actually, opendrift/opendrift/models/oceandrift.py Lines 191 to 196 in 5bea84b
I don't understand this, isn't it common to use both buoyancy and diffusion? Edit 2: Ok, I see now that Edit 3: and now I see that actually, oceandrift handles the sea floor exactly as I would like, dealing with diffusion by reflection, and sinking by deactivation. |
And on an even closer look, I see that A behaviour matching the boundary condition I'm trying to implement would be to lift to the floor any particles that end up under the floor for any reason other than sinking. However, Some more fine grained control would be convenient. Maybe defining a few different seafloor functions, such as |
For modelling things like mineral particles or microplastics that sink, I would want to use a new type of seafloor interaction, where we reflect for diffusion, and deactivate when particles sink to the floor. One way to implement this is to use the following sequence of steps in the vertical transport:
Just as a test, I tried implementing this by purely changing the
interact_with_seafloor
method as shown below (it's only the part belowelif i == 'deactivate'
that is changed), but I don't think this is the optimal way, since this effectively reverses some of the steps that have already been taken in order to tell apart the diffusion and the buoyancy.The text was updated successfully, but these errors were encountered: