init_hvnrtl Function

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

Uses

  • proc~~init_hvnrtl~~UsesGraph proc~init_hvnrtl init_hvnrtl module~yaeos__models_ge_nrtlhv yaeos__models_ge_nrtlhv proc~init_hvnrtl->module~yaeos__models_ge_nrtlhv module~yaeos__autodiff yaeos__autodiff module~yaeos__models_ge_nrtlhv->module~yaeos__autodiff module~yaeos__constants yaeos__constants module~yaeos__models_ge_nrtlhv->module~yaeos__constants module~yaeos__models_ge yaeos__models_ge module~yaeos__models_ge_nrtlhv->module~yaeos__models_ge module~hyperdual_mod hyperdual_mod module~yaeos__autodiff->module~hyperdual_mod module~yaeos__adiff_hyperdual_ar_api yaeos__adiff_hyperdual_ar_api module~yaeos__autodiff->module~yaeos__adiff_hyperdual_ar_api iso_fortran_env iso_fortran_env module~yaeos__constants->iso_fortran_env module~yaeos__models_ge->module~yaeos__constants module~yaeos__models_base yaeos__models_base module~yaeos__models_ge->module~yaeos__models_base module~hyperdual_mod->module~yaeos__constants module~yaeos__adiff_hyperdual_ar_api->module~yaeos__constants module~yaeos__adiff_hyperdual_ar_api->module~hyperdual_mod module~yaeos__models_ar yaeos__models_ar module~yaeos__adiff_hyperdual_ar_api->module~yaeos__models_ar module~yaeos__substance yaeos__substance module~yaeos__models_base->module~yaeos__substance module~yaeos__models_ar->module~yaeos__constants module~yaeos__models_ar->module~yaeos__models_base module~yaeos__substance->module~yaeos__constants

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 quadratic mixing rules when the parameters are set to:

Examples

mixrule = HV_NRTL(b, del1, alpha, gji0, gjiT, use_kij, kij)

Arguments

Type IntentOptional Attributes Name
real(kind=pr), intent(in) :: b(:)

Pure-component covolumes [L/mol]

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

Pure-component values

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

NRTL non-randomness parameters

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

Temperature-independent NRTL-HV energy parameters

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

Temperature coefficients of the NRTL-HV energy parameters

logical, intent(in) :: use_kij(:,:)

Pairs where the quadratic-limit parameters with kij are used

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

Binary attractive interaction parameters

Return Value type(HV_NRTL)


Called by

proc~~init_hvnrtl~~CalledByGraph proc~init_hvnrtl init_hvnrtl interface~hv_nrtl HV_NRTL interface~hv_nrtl->proc~init_hvnrtl

Variables

Type Visibility Attributes Name Initial
integer, private :: i

Loop/index variable.

integer, private :: nc

Number of components.