tm_of_tv_qv Function

public pure elemental function tm_of_tv_qv(tv, qv) result(tm)

Uses

  • proc~~tm_of_tv_qv~~UsesGraph proc~tm_of_tv_qv tm_of_tv_qv iso_fortran_env iso_fortran_env proc~tm_of_tv_qv->iso_fortran_env

Compute the modified moist temperature tm as a function of the virtual temperature tv and the water vapor mixing ratio qv. Essentially, . This modified "moist" temperature is described herein: The paragraph below equation 2.7 in doi:10.5065/1DFH-6P97. The paragraph below equation 2 in doi:10.1175/MWR-D-11-00215.1. Similarly, it can be shown that the relation, , also holds. (KCW, 2025-07-11)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: tv
real(kind=real64), intent(in) :: qv

Return Value real(kind=real64)


Source Code

    pure elemental function tm_of_tv_qv(tv, qv) result(tm)
        use, intrinsic :: iso_fortran_env, only: real64

        real(real64), intent(in) :: tv, qv
        real(real64) :: tm

        tm = tv * (1.0_real64 + qv)
    end function tm_of_tv_qv