aiRthermo (version 1.1)

moistCv: Moist cv value

Description

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).

Usage

moistCv(w, consts = export_constants())

Arguments

w

A vector with mixing ratio values (kg/kg)

consts

The constants defined in aiRthermoConstants data are necessary.

Value

This function returns the value of \(c_v\) corrected due to the existence of water vapour

References

Tsonis, A. A. (2002). An Introduction to Atmospheric Thermodynamics, Cam- 563 bridge University Press, Cambridge. Eq. 7.12.

See Also

w2q and moistCp

Examples

Run this code
# NOT RUN {
data(RadiosondeD)
dws<-RadiosondeD[,6]/1000
moistCv(dws)
# }

Run the code above in your browser using DataCamp Workspace