-
Notifications
You must be signed in to change notification settings - Fork 237
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
Coriolis selector and new schemes #212
Conversation
- add new (run-time) coriolis-scheme selector "selectCoriScheme" to replace (in src code) "useJamartWetPoints" and "useEnergyConservingCoriolis"; keep these 2 params in namelist to set "selectCoriScheme" accordingly. - add 2 new Coriolis schemes for Vector-Invariant formulation; each satisfies: Vertical integral of Coriolis equal Coriolis applied to Vert.Integrated flow (while no current other scheme does).
@jrscott : I trie to update the parameter table. Please check when you have time. Also, I choose a different |
@jm-c I'll take a look and we can discuss this week |
@jm-c, I think we need to make some changes here. Between the ch 2 and ch 3 edits, was confused. Had the following questions:
|
Perhaps the better plan is to make a table for the relevant section in ch 2 (similar idea as done for table 2.1) that explains these choices in greater detail, and refer to the table in the ch 3 parameter list table. |
@jrscott to work with @jm-c on adding issue for the need for further tests beyond flat bottom atmos. Will also update PR to reference test experiment in |
Plan is to switch new experiment (in verification_other, atm_strato) to use one of the 2 new Coriolis scheme (selectCoriScheme=2). One of the advantage of this new scheme is to conserve Angular Momentum |
@jrscott to finish docs @christophernhill looked at code. LGTM |
…_and_scheme fixed conflict removed useJamartWetPoints and useEnergyConservingCoriolis from parm table doc as they have been replaced in fn by selectCoriScheme (although remain in code)
@jm-c I think (?) I brought this PR up to date and properly fixed the merge conflict in the parameter table (I did delete the two deprecated parms from the table too). Ball in @edoddridge's court now to point out what I did wrong :) But don't push the green button just yet, let me look at the ch 2 doc section. |
Sure thing. I'll look at it this week, but won't merge it. |
@jrscott took a quick look at changes in section 3 tables. Looks good. |
I can't see any problems with your merge. 👍 |
removed mention of deprecated parm, and more explicit what eq used in energy-cons form
@jm-c please check this last change for accuracy. I removed the mention of the deprecrated parm. I basically did as we discussed, I believe, despite this section needing further attention. When this is checked in -- I will create an issue that this section (and the VI:Coriolis section) need pretty serious overhaul, mention of Jamart etc. |
"option 2" is used when run-time integer parameter selectCoriScheme is set to two
Would like to merge this soon (may be tomorrow). No major changes to the code for quite a long time
|
What changes does this PR introduce?
to replace (in src code) "useJamartWetPoints" and "useEnergyConservingCoriolis";
What is the current behaviour?
What is the new behaviour
backward compatibility ; And add 2 new scheme for V.I.
Does this PR introduce a breaking change?
no.
Other information:
new scheme: selectCoriScheme=2 seems to conserve Angular-Momentum better
than other scheme.
Suggested addition to
tag-index
o pkg/mom_vecinv:
(with U,V = vertically integrated flow).
"useJamartWetPoints" and "useEnergyConservingCoriolis"; but keep these 2
in namelist (backward compatible) to set "selectCoriScheme" accordingly.