D1mix_constant Subroutine

public subroutine D1mix_constant(self, n, d1i, D1, dD1i, dD1ij)

Constant parameter.

Most Cubic EoS keep a constant value for their parameter. This procedure assumes that all the components have the same and takes the first value as the one of the mixture.

Type Bound

QMR

Arguments

Type IntentOptional Attributes Name
class(QMR), intent(in) :: self

Mixing rule

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

Moles vector

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

parameter

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

Mixture’s

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

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