Plan March 2023
Current plan for Deep Atmosphere HOMME:
-
By next week:
- Verify derivation in MT overleaf document myself (Use python notebook with toy coefficients/profiles to ensure that there aren't typos)
- Verify lines in
prim_advance_mod.F90
which correspond to each of these. - Optional: Identify lines in
EOS.f90
which need to be modified, and list of variables that might accidentally assume EOS elsewhere in code - No actual modifications
-
Probably can be done by next month?
-
Staniforth/white:
- Need to separate out centrifugal force term in both HPE and 3d Euler.
- But: I'm already modifying the equations of state. Can just add a correction term to
prim_advance_mod.F90
Breadcrumb: How is hydrostatic pseudodensity calculated?
There's something funky in the calculation of . Do the definitions in MT's document account for spatial variation in
?
I'm gonna have to look really foolish because theres a simplified form for that you can derive.
How does that work? Newton's law of gravitation (assuming a sufficiently nice earth) gives us
Therefore the acceleration for
is
and so defining
we find
Hydrostatic pressure in shallow atmosphere
We define
where (1) holds only under the shallow atmosphere assumption. Done this a hundred times.
Hydrostatic pressure in deep atmosphere
So it turns out that this hydrostatic integral (and the definition of arbitrary vertical quantities) incorporate gravitational variation. But
in the MT document is
here.