new expression to compute air and surface potential temperatures in bulk formulae (old ticket #2632)

Guillaume Samson requested to merge dev_theta_sbcblk into main
  • Context & Analysis

The actual "gamma_moist" function used to convert air absolute temperature to potential temperature can be replaced by the "Exner" function, which takes into account air pressure variations and is commonly employed in atmospheric models, as well as the ABL model. This potential temperature is used in the turbulent sensible heat flux calculation, as well as the atmospheric bulk Richardson number.

  • Fix

Replace "gamma_moist" function by a "Exner" function in sbc_phy.F90 and introduce a new function to compute air pressure from other available atmospheric variables.

Merge request reports