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

Add thermocline with variable N²(z) #34

Merged
merged 4 commits into from
Nov 27, 2020
Merged

Conversation

ali-ramadhan
Copy link
Member

This PR just changes the thermocline in three_layer_constant_fluxes.jl to have a variable N²(z) structure parameterized by a fitted cubic function.

The idea is to enrich the training data as convection is no longer entraining into a fluid layer of constant stratification, although might need to play around with the model parameters to get a temperature profile where the N²(z) structure is significant (and it still finishes in a reasonable amount of time).

To give some idea of what it looks like:

image

image

Copy link
Member

@glwagner glwagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is nice! It's nice to have a continuous function for convergence studies, too. It's annoying that the Manifest is conflicting. @ali-ramadhan should I try to fix that?

@ali-ramadhan
Copy link
Member Author

ali-ramadhan commented Nov 27, 2020

Ah thankfully it was just a minor conflict.

@ali-ramadhan ali-ramadhan merged commit 6cfe60c into master Nov 27, 2020
@ali-ramadhan ali-ramadhan deleted the ali/variable-thermocline branch November 27, 2020 14: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