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

Remove reference state and move ref variables to grid mean #1004

Merged
merged 1 commit into from
May 20, 2022

Conversation

yairchn
Copy link
Member

@yairchn yairchn commented May 17, 2022

This RP removes the reference state from the model and moves the references variables to the grid mean.

  • p is added to aux_gm and aux_gm_f
  • ρ is added to prog_gm and aux_gm_f
  • α is removed completely from the model (use 1/ρ when instead).
    The grid mean p, ρ are initialized as the references state by assuming an hydrostatic balance and their tendencies are zero.
    This prepares the ground to having both Anelastic (constant ρ) and compressible (time dependent ρ) options when coupling to a global model.

@yairchn yairchn force-pushed the yc/remove_ref_state branch 8 times, most recently from b2a3cf4 to 35cc8cc Compare May 18, 2022 10:24
bors bot added a commit that referenced this pull request May 18, 2022
1008: Provide two interfaces to compute ref state r=charleskawczynski a=charleskawczynski

This PR will allow us to compute the reference state given several individual fields, or the TC state.

This will help make #1004 easier.

Co-authored-by: Charles Kawczynski <kawczynski.charles@gmail.com>
@yairchn yairchn force-pushed the yc/remove_ref_state branch 9 times, most recently from 4a4caf2 to ba29a2b Compare May 19, 2022 21:31
@charleskawczynski
Copy link
Member

Let's squash before merging

@yairchn yairchn force-pushed the yc/remove_ref_state branch 6 times, most recently from 8248fcb to 086f628 Compare May 20, 2022 00:01
@yairchn
Copy link
Member Author

yairchn commented May 20, 2022

Bors r+

@bors
Copy link
Contributor

bors bot commented May 20, 2022

Build succeeded:

@bors bors bot merged commit a4e6e80 into main May 20, 2022
@bors bors bot deleted the yc/remove_ref_state branch May 20, 2022 00:32
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.

2 participants