Skip to content
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

Multiple buoyancy tracers #3925

Open
raphael-ouillon opened this issue Nov 14, 2024 · 1 comment
Open

Multiple buoyancy tracers #3925

raphael-ouillon opened this issue Nov 14, 2024 · 1 comment
Labels
feature 🌟 Something new and shiny

Comments

@raphael-ouillon
Copy link

Hi all, I am trying to set up simulations where multiple tracers contribute to the buoyancy. This is fairly common in particle-driven flows where multiple tracers that all contribute to buoyancy are used to represent sediment suspensions of different particle sizes (and thus settling velocities).

I am curious to hear people's thoughts on adding a MultipleBuoyancyTracer model to Oceananigans. An approach would be to have the buoyancy term be calculated as the sum of the contributions from other tracers, but this limits the number of applications. I am thinking in particular of particle-driven double diffusive convection, which can involves T, S and multiple sediment concentration tracers. A more general approach would be to have a MultipleBuoyancyTracer model with a custom equation of state, something along the lines of b = α(T-T₀)+ β(S-S₀) + ∑γᵢcᵢ. Curious to hear if people think this should exist in Oceananigans or in a separate package!

@glwagner
Copy link
Member

I think this is a great idea!

I wonder if it makes sense to first generalize LinearEquationOfState to any list of tracers + coefficients γᵢ. We can rename the existing equation of state LinearSeawaterEquationOfState if we want to keep it.

Then it would be fun to have a MultipleBuoyancies analogous to MultipleForcings. Or, just a tuple (like we have closure tuples) might work too.

@glwagner glwagner added the feature 🌟 Something new and shiny label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🌟 Something new and shiny
Projects
None yet
Development

No branches or pull requests

2 participants