Cp_residual_vt Subroutine

public subroutine Cp_residual_vt(eos, n, V, T, Cp)

Calculate residual heat capacity pressure constant given v and t.

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) :: Cp

heat capacity p constant [bar L / K]


Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: Ar
real(kind=pr), public :: ArT2
real(kind=pr), public :: Cv
real(kind=pr), public :: dPdT
real(kind=pr), public :: dPdV
real(kind=pr), public :: p
real(kind=pr), public :: totn