Calc_GCC_Seg_m_Derivative Module Function

module function Calc_GCC_Seg_m_Derivative(self, T, Pw, rhoW, rhoI) result(Suction_Derivative)

Arguments

Type IntentOptional Attributes Name
class(type_gcc_segregation_m), intent(in) :: self
real(kind=real64), intent(in) :: T
real(kind=real64), intent(in), optional :: Pw
real(kind=real64), intent(in), optional :: rhoW
real(kind=real64), intent(in), optional :: rhoI

Return Value real(kind=real64)


Called by

proc~~calc_gcc_seg_m_derivative~~CalledByGraph proc~calc_gcc_seg_m_derivative Calc_GCC_Seg_m_Derivative interface~calc_gcc_seg_m_derivative type_gcc_segregation_m%calc_GCC_Seg_m_derivative interface~calc_gcc_seg_m_derivative->proc~calc_gcc_seg_m_derivative

Source Code

    module function Calc_GCC_Seg_m_Derivative(self, T, Pw, rhoW, rhoI) result(Suction_Derivative)
        implicit none
        class(type_gcc_segregation_m), intent(in) :: self
        real(real64), intent(in) :: T
        real(real64), intent(in), optional :: Pw
        real(real64), intent(in), optional :: rhoW
        real(real64), intent(in), optional :: rhoI
        real(real64) :: Suction_Derivative

        if (T <= self%Tf) then
            Suction_Derivative = -self%Lf * rhoI / ((T + self%TtoK) * rhoW * self%g)
        else
            Suction_Derivative = 0.0d0
        end if

    end function Calc_GCC_Seg_m_Derivative