g2

despasito.equations_of_state.saft.gamma_mie.SaftType.g2

SaftType.g2(rho, T, xi, zetax=None)[source]

Calculate the second order expansion term in calculating the radial distribution function of a Mie fluid

Parameters:
  • rho (numpy.ndarray) – Number density of system [\(mol/m^3\)]

  • T (float) – Temperature of the system [K]

  • xi (numpy.ndarray) – Mole fraction of each component, sum(xi) should equal 1.0

  • zetax (numpy.ndarray, Optional, default=None) – Matrix of hypothetical packing fraction based on hard sphere diameter for groups (k,l)

Returns:

g2 – Second order expansion term in calculating the radial distribution function of a Mie fluid

Return type:

numpy.ndarray