moistCp: Moist Cp

Description Usage Arguments Value References See Also Examples

Description

This function corrects the value of dry c_p due to the existence of water vapour acording to equation 7.11 from Tsonis (2002).

Usage

1
moistCp(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 dry c_p corrected by the mixing ratio.

References

Tsonis, A. A. (2002). An Introduction to Atmospheric Thermodynamics, Cambridge University Press, Cambridge. Eq. 7.11.

See Also

w2q and moistCv

Examples

1
2
3
data(RadiosondeD)
dws<-RadiosondeD[,6]/1000
moistCp(dws)

aiRthermo documentation built on May 1, 2019, 9:24 p.m.