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

Added N conserving option for sinking tracers, timestep utility, and modified examples #39

Merged
merged 9 commits into from
Aug 22, 2022

Conversation

jagoosw
Copy link
Collaborator

@jagoosw jagoosw commented Aug 20, 2022

Time step utility is (unsupprisingly) a lot slower than Oceananigans' ones for nonfunctional diffusivity so probably shouldn't use this during the simulation like they do for TimestepWizard, alternatively could by much less regularly. May do that as a test that this is actually the limiting factor.

@jagoosw
Copy link
Collaborator Author

jagoosw commented Aug 20, 2022

Also realized where I was iterating over kappa before it was incorrect and only going 1 to 365s not the whole year (hence the change in c since I've essentially trial and error worked out that 2.6min time step is about as low as it can go with the sediment model and the grid as configured in the example).

@jagoosw jagoosw changed the title Added (1-e^-(z-d)) optional factor to make sinking speed go to zero and timestep utility Added N conserving option for sinking tracers, timestep utility, and modified examples Aug 21, 2022
@jagoosw
Copy link
Collaborator Author

jagoosw commented Aug 21, 2022

@syou83syou83 I've changed the examples a bit and cleaned up the directory, hope thats okay with you? I'll add some plots to the readme at some point then merge.

@jagoosw
Copy link
Collaborator Author

jagoosw commented Aug 21, 2022

Sorry just got off a plane but when I was flying I realised the timestep difference between some of the models is because of the diffusivity. When I'm using ~2.6mim the max diffusivity is 2e-2 so I would expect about 30 seconds for the normal 8e-2

FYI @syou83syou83

@jagoosw jagoosw merged commit 599fcec into main Aug 22, 2022
@jagoosw jagoosw deleted the no-flux-velocity branch August 22, 2022 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants