Ideal gas properties¶
Classical DFT can be used to rapidly determine the ideal gas limit of fluids in porous media. In an ideal gas, there are no interactions between the fluid molecules and therefore the residual Helmholtz energy \(F^\mathrm{res}\) and its derivatives vanish. Note that this is only the case for spherical or heterosegmented molecules (\(m_\alpha=1\)), as the chain contribution in the homosegmented model contains intramolecular interactions. The ideal gas density profile can then be obtained directly from the Euler-Lagrange equation:
Either from the derivatives presented previously, or from directly calculating derivatives of eq. (1), the Henry coefficient \(H_\alpha\) can be calculated, as
By construction the Henry coefficients for all segments \(\alpha\) of a molecule \(i\) are identical. Therefore, the number of adsorbed molecules in an ideal gas state (the Henry regime) can be calculated from
The expression can be used in the general equation for the enthalpy of adsorption (see here)
to simplify to
and finally
For a spherical molecule without bond integrals, the derivative can be evaluated straightforwardly to yield
Analytical derivatives of the bond integrals can be determined, however, in \(\text{FeO}_\text{s}\) automatic differentiation with dual numbers is used to obtain correct derivatives with barely any implementation overhead.