aTder Subroutine

public subroutine aTder(ac, Tc, k, T, a, dadT, dadT2)

aTder

Evaluate the configured cubic alpha correction and its temperature derivatives.

Description

Uses the global EOS selector to choose the Soave-family or RKPR alpha correlation, then returns the attractive parameter at T and its first two temperature derivatives.

Arguments

Type IntentOptional Attributes Name
real(kind=pr), intent(in) :: ac

Pure-component critical attractive parameter.

real(kind=pr), intent(in) :: Tc

Pure-component critical temperature [K].

real(kind=pr), intent(in) :: k

Alpha-function parameter.

real(kind=pr), intent(in) :: T

Temperature [K].

real(kind=pr), intent(out) :: a

Attractive parameter at the state.

real(kind=pr), intent(out) :: dadT

First temperature derivative of the attractive parameter.

real(kind=pr), intent(out) :: dadT2

Second temperature derivative of the attractive parameter.


Called by

proc~~atder~~CalledByGraph proc~atder aTder proc~aijtder aijTder proc~aijtder->proc~atder proc~dandtnder DandTnder proc~dandtnder->proc~aijtder proc~helmrkpr HelmRKPR proc~helmrkpr->proc~dandtnder proc~helmsrkpr HelmSRKPR proc~helmsrkpr->proc~dandtnder proc~ar_rkpr ar_rkpr proc~ar_rkpr->proc~helmrkpr proc~ar_srkpr ar_srkpr proc~ar_srkpr->proc~helmsrkpr

Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: Tr