{'fraction_non_alphanumeric': 0.023622047244094488, 'fraction_numerical': 0.0021474588403722263, 'mean_word_length': 5.59433962264151, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A density functional theory with a mean-field weight function: applications to surface tension, adsorption, and phase transition of a Lennard-Jones fluid in a slit-like pore.

A new density functional theory (DFT) for an inhomogeneous 12-6 Lennard-Jones fluid is proposed based on the modified fundamental measure theory for repulsive interaction and a weighted density functional for attractive interaction. The Helmholtz free energy functional for the attractive part is constructed using the modified Benedict-Webb-Rubin equation of state with a mean-field weight function. Comparisons of the theoretical results with molecular simulation data suggest that the new DFT yields accurate bulk surface tension, density distributions, adsorption-desorption isotherms, pore pressures, and capillary phase transitions for the Lennard-Jones fluid confined in slitlike pores with different widths and solid-fluid interactions. The new DFT reproduces well the vapor-liquid critical temperatures of the confined Lennard-Jones fluid, whereas the mean-field theory always overestimates the critical temperatures. Because the new DFT is computationally as simple and efficient as the mean-field theory, it will provide a good reference for further development of a statistical-thermodynamic theory of complex fluid under both homogeneous and inhomogeneous conditions when disperse force has to be considered.