init_hvnrtl Function

public function init_hvnrtl(b, del1, alpha, gji, use_kij, kij) result(mixrule)

Huron-Vidal NRTL mixing rule

This is the Huron-Vidal mixing rule that includes the NRTL model modified by Huron and Vidal.

Description

This is the Huron-Vidal mixing rule that includes the NRTL model modified by Huron and Vidal. It is a mixing rule that allows to use the NRTL model as an excess Gibbs energy model and can. be simplified to the classic Quatratic mixing rules when the parameters are set to:

Examples

Arguments

Type IntentOptional Attributes Name
real(kind=pr), intent(in) :: b(:)
real(kind=pr), intent(in) :: del1(:)
real(kind=pr), intent(in) :: alpha(:,:)
real(kind=pr), intent(in) :: gji(:,:)
logical, intent(in) :: use_kij(:,:)
real(kind=pr), intent(in) :: kij(:,:)

Return Value type(HV_NRTL)


Variables

Type Visibility Attributes Name Initial
integer, private :: i
integer, private :: nc