I am trying to understand the implementation of dp / dzeta on line 4763 in atm_compute_dyn_tend_work() and its use in the horizontal momentum equation on line 4784.
It is formed beginning with:
dpdz(k,iCell) = -gravity*(rb(k,iCell)*(qtot(k,iCell)) + rr_save(k,iCell)*(1.+qtot(k,iCell)))
Is the intent to represent gravity * moist-density? If so, does this lead to an exact representation of dp / dzeta or an approximation (hydrostatic approx?)? My background isn’t in atmospheric science so I am probably missing something. Also, if this represents gravity * moist-density, shouldn’t rb be multiplied by 1.+qtot(k,iCell) instead of just qtot(k,iCell) to form the moist-density?
No need for a lengthy explanation, just point me to an appropriate reference.
Thanks!
-Henry
It is formed beginning with:
dpdz(k,iCell) = -gravity*(rb(k,iCell)*(qtot(k,iCell)) + rr_save(k,iCell)*(1.+qtot(k,iCell)))
Is the intent to represent gravity * moist-density? If so, does this lead to an exact representation of dp / dzeta or an approximation (hydrostatic approx?)? My background isn’t in atmospheric science so I am probably missing something. Also, if this represents gravity * moist-density, shouldn’t rb be multiplied by 1.+qtot(k,iCell) instead of just qtot(k,iCell) to form the moist-density?
No need for a lengthy explanation, just point me to an appropriate reference.
Thanks!
-Henry