enthalpy_residual_vt Subroutine

public subroutine enthalpy_residual_vt(eos, n, v, t, Hr, HrT, HrV, Hrn)

Calculate residual enthalpy given volume and temperature.

Type Bound

ArModel

Arguments

Type IntentOptional Attributes Name
class(ArModel), intent(in) :: eos

Model

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

Moles number vector

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

Volume [L]

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

Temperature [K]

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

Residual enthalpy [bar L]

real(kind=pr), intent(out), optional :: HrT

real(kind=pr), intent(out), optional :: HrV

real(kind=pr), intent(out), optional :: Hrn(size(n))


Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: Ar
real(kind=pr), public :: ArT
real(kind=pr), public :: ArT2
real(kind=pr), public :: ArTV
real(kind=pr), public :: ArTn(size(n))
real(kind=pr), public :: ArV
real(kind=pr), public :: ArV2
real(kind=pr), public :: ArVn(size(n))
real(kind=pr), public :: Arn(size(n))