tm_of_t_qv Function

public pure elemental function tm_of_t_qv(constant_rd, constant_rv, t, qv) result(tm)

Uses

  • proc~~tm_of_t_qv~~UsesGraph proc~tm_of_t_qv tm_of_t_qv iso_fortran_env iso_fortran_env proc~tm_of_t_qv->iso_fortran_env

Compute the modified moist temperature tm as a function of the temperature t 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-10)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: constant_rd
real(kind=real64), intent(in) :: constant_rv
real(kind=real64), intent(in) :: t
real(kind=real64), intent(in) :: qv

Return Value real(kind=real64)


Called by

proc~~tm_of_t_qv~~CalledByGraph proc~tm_of_t_qv tm_of_t_qv none~set_mpas_physics_tendency_rtheta set_mpas_physics_tendency_rtheta none~set_mpas_physics_tendency_rtheta->proc~tm_of_t_qv none~set_mpas_state_rho_theta set_mpas_state_rho_theta none~set_mpas_state_rho_theta->proc~tm_of_t_qv proc~physics_to_dynamics_coupling physics_to_dynamics_coupling proc~physics_to_dynamics_coupling->none~set_mpas_physics_tendency_rtheta proc~set_analytic_initial_condition set_analytic_initial_condition proc~set_analytic_initial_condition->none~set_mpas_state_rho_theta interface~physics_to_dynamics_coupling physics_to_dynamics_coupling interface~physics_to_dynamics_coupling->proc~physics_to_dynamics_coupling proc~dyn_init dyn_init proc~dyn_init->proc~set_analytic_initial_condition interface~dyn_init dyn_init interface~dyn_init->proc~dyn_init proc~stepon_run2 stepon_run2 proc~stepon_run2->interface~physics_to_dynamics_coupling

Source Code

    pure elemental function tm_of_t_qv(constant_rd, constant_rv, t, qv) result(tm)
        use, intrinsic :: iso_fortran_env, only: real64

        real(real64), intent(in) :: constant_rd, constant_rv, t, qv
        real(real64) :: tm

        tm = t * (1.0_real64 + constant_rv / constant_rd * qv)
    end function tm_of_t_qv