Skip to content
Discussion options

You must be logged in to vote

Hi @LijoDXL! Glad you're finding Oceananigans easy to use.

Since double diffusion needs those coefficients to be different, could you please point me to where I can set those values

You can set different diffusivities for different tracers, but I just realized that this feature might still be undocumented. You can pass a named tuple for when specifying some closures. For example:

julia> using Oceananigans

julia> grid = RegularCartesianGrid(topology=(Periodic, Periodic, Bounded), size=(16, 16, 16), extent=(1, 1, 1));

julia> model = IncompressibleModel(grid=grid, closure=IsotropicDiffusivity=5, κ=(T=5, S=12)));

julia> model.closure.κ
(T = 5, S = 12)

how can I feed the observed tempe…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@glwagner
Comment options

Answer selected by LijoDXL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants