moistCv {aiRthermo} | R Documentation |
This function is similar to moistCp
but for c_v. In this case, it is the value of c_v corrected due to the existence of water vapour (equation 7.12) from Tsonis (2002).
moistCv(w, consts = export_constants())
w |
A vector with mixing ratio values (kg/kg). |
consts |
The constants defined in aiRthermoConstants data are necessary. |
This function returns the value of c_v corrected due to the existence of water vapour.
Tsonis, A. A. (2002). An Introduction to Atmospheric Thermodynamics, Cambridge University Press, Cambridge. Eq. 7.12.
data(RadiosondeD) dws<-RadiosondeD[,6]/1000 moistCv(dws)