F_cep Function

public function F_cep(model, X, ns, S, z0, zi, u)

Arguments

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

Equation of state model

real(kind=pr), intent(in) :: X(size(z0)+4)

Vector of variables

integer, intent(in) :: ns

Position of the specification variable

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

Specification variable value

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

Molar fractions of the first fluid

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

Molar fractions of the second fluid

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

Eigen-vector

Return Value real(kind=pr), (size(z0)+4)


Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: P
real(kind=pr), public :: Pc
real(kind=pr), public :: Py
real(kind=pr), public :: T
real(kind=pr), public :: V
real(kind=pr), public :: Vc
real(kind=pr), public :: Vy
real(kind=pr), public :: Xcp(4)
real(kind=pr), public, parameter :: eps = 1e-5_pr
real(kind=pr), public :: lnf_y(size(z0))
real(kind=pr), public :: lnf_z(size(z0))
integer, public :: nc
real(kind=pr), public :: y(size(z0))
real(kind=pr), public :: z(size(u))