subroutine GETKTVdll(icomp, jcomp, hmodij, fij, hFmix, hfij, hbinp, hmxrul, hmodij_length, hFmix_length, hfij_length, hbinp_length, hmxrul_length)

Retrieve mixture model and parameters for a specified binary mixture. This subroutine should not be called until after SETUP has been called. The order of icomp and jcomp do not matter, the routine returns the parameters as stored in the HMX.BNC file. To determine if the compositions are backwards, call HMXORDER. If calling SETMIX with the same parameters, an error will be returned if the components are backwards.

Kunz-Wagner model (KW0)Lemmon-Jacobsen model (LJ6)
fij(1) = betaTfij(1) = zeta
fij(2) = gammaTfij(2) = xi
fij(3) = betaVfij(3) = Fij
fij(4) = gammaVfij(4) = beta
fij(5) = Fijfij(5) = gamma
fij(6) = ‘not used’fij(6) = ‘not used’
Parameters:
  • icomp [int,in] :: Component i
  • jcomp [int,in] :: Component j
  • hmodij [char,out] :: Mixing rule for the binary pair i,j (e.g., KW0, LJ6, XR0, or LIN) (character*3)
  • fij (6) [double,out] :: Binary mixture parameters (array of dimension nmxpar; currently nmxpar is set to 6); the parameters will vary depending on hmodij;
  • hFmix [char,out] :: File name (character*255) containing parameters for the binary mixture model
  • hfij [char,out] :: Description of the binary mixture parameters (character*8 array of dimension nmxpar) The parameters will vary depending on hmodij.
  • hbinp [char,out] :: Documentation for the binary parameters (character*255)
  • hmxrul [char,out] :: Description of the mixing rule (character*255)
  • hmodij_length [int] :: length of variable hmodij (default: 3)
  • hFmix_length [int] :: length of variable hFmix (default: 255)
  • hfij_length [int] :: length of variable hfij (default: 255)
  • hbinp_length [int] :: length of variable hbinp (default: 255)
  • hmxrul_length [int] :: length of variable hmxrul (default: 255)