Abstract
Bulk properties of two-phase systems comprising methane and liquid p-xylene were derived experimentally using neutron imaging and theoretically predicted using molecular dynamics (MD). The measured and predicted methane diffusivity in the liquid, Henry’s law constant, apparent molar volume, and surface tension compared well within the experimentally studied conditions (273.15 to 303.15 K, ≤ 100 bar). Since MD is a physical model, extrapolations of the two-phase systems properties were performed for a broader temperature range (260 to 400 K, ≤ 100 bar). Moreover, the species diffusivities in single phases formed by infinitely diluted p-xylene in methane were predicted under conditions relevant to the methane liquefaction (90 to 290 K, 50 bar). The predicted p-xylene diffusivity in the supercritical methane was one order of magnitude higher than that calculated using Wilke–Chang and He–Yu correlations. This study provides novel experimental and MD-simulated characteristics for this industrially relevant system, for which intensive freeze-out formation from the supercritical methane is predicted.
Similar content being viewed by others
Introduction
Benzene, toluene, ethylbenzene, xylenes (BTEX) and water are impurities of natural gas relevant to the formation of solids deposits (freeze-out) which can block devices in the processing and transportation1,2,3,4,5. Water and p-xylene are the most severe volatile contaminants due to the high temperature of normal melting and hydrate formation. Solid deposits are formed, for instance, at 172 bar and 276 K (methane hydrate6), or at 163 bar and 278 K (solid p-xylene)4. In this work, the focus is on the p-xylene – methane system. In recent studies, equilibrium conditions for the solid p-xylene formation have been determined experimentally and modelled using equations of states1,4. The intensity of the p-xylene freeze-out formation on the cold spots is presumably controlled by its diffusivity in the fluid. Understanding of not only the equilibrium condition but also freeze-out formation intensity can clearly contribute to the engineering of the natural gas purification and liquefaction devices5.
As we have previously demonstrated, multiple system characteristics can be derived based on the recent one-pot neutron imaging method7,8of observing pressurized gas absorption into liquids, namely methane diffusivity, solubility, apparent volume, and interfacial energy. Molecular dynamics (MD) simulation is a physical model that enables the prediction of related system characteristics, such as diffusivity9,10,11, surface excess and interfacial energy12, partial molar volume13, and viscosity11,14,15. Clearly, the two independent methods (one experimental and one simulation-based), each of which necessitates single-component data only in this work, can be critically compared and complement each other. Besides that, MD can be used to study systems at wider ranges of conditions, and to provide experimentally hardly accessible quantities, such as partial molar volume or diffusivity of the major component.
In this work, we provide new experimental data for the two-phase system of p-xylene with methane using neutron imaging with focus on the region of supercooled liquid4. Based on the high difference of neutron cross-section between protium and deuterium16, neutron imaging enabled us to derive methane diffusivity in the liquid, apparent molar volume in the liquid, apparent Henry’s law constant, and surface tension from each experiment – multiple parameters are determined in one pot. This method represents an alternative to known chiefly single-purpose methods, such as the pendant drop method17, capillarity measurements18, methods based on sensing capillary waves19,20, and methods for the measurement of solubility, diffusivity, and density21,22,23,24. Thanks to low opacity of several engineering materials to neutrons, the neutron imaging is suited for investigations of pressurized systems. As a complement, the MD simulation model can be extrapolated to temperatures below and above the equilibrium condition of the solid p-xylene formation4, and was used for the prediction of p-xylene and methane diffusivity in supercritical and liquid methane at 50 bar and infinite p-xylene dilution. Thus, molecular-level models are used to predict the properties of highly supercooled liquids and fluids at industrially relevant conditions. Common predictive models for the diffusivity in diluted liquids25,26and supercritical fluids26,27 are used for comparison.
Methods
One pot neutron imaging
The neutron imaging experiments were conducted using a previously reported setup7,8 at the NEUTRA beamline28 at Paul Scherrer Institut at the measuring position No. 2 (L/D = 365). The setup contained a pair of equivalent axially symmetric titanium measuring cells placed in a duralumin block maintained at a constant temperature to within ± 0.1 °C using a Julabo F12-MA water circulator and sensed to within ± 0.1 K using a thermometer (Pt100, Greissinger GMH 3710), pressure was sensed using a transducer (Omega PXM409-100BAV). The cells were rinsed with acetone, vacuumed (< 0.01 Pa, Leybold D4B), and twice washed with fresh sample liquid prior to the filling. The cells were filled with the same liquid (p-C8D10, Table 1) thus providing two repeats for the measurement at each conditions. MIDI-box detector system using a 30 µm-thick Gd2O2S:Tb scintillator screen (RC-Tritec AG, Teufen, Switzerland) and a sCMOS camera (Andor Neo) fitted with a 100-mm objective (Zeiss Makro-Planar) were used, images of 2560 (W) × 2160 (H) pixels in size were collected with an isotropic pixel pitch of 21.59 µm, the spatial resolution is therefore estimated to be better than 80 µm. The acquisition scheme of the neutron radiographies consisted of several (usually seven) series of 50 images each of the 10 s acquisition time for each investigated system. For the evaluation of the data from the first two respective series, 10 data points were provided as an average of 10 images having the respective time stamp of the average time of the respective 10 images; for the latter series, the entire 50 images were averaged into a single data point having the time stamp of the average of the 50 images.
Neutron radiographies of two perpendicular axially-symmetric test tubes (inner radius R = 4.5 mm) were acquired, each containing p-xylene equilibrated with methane at 1 bar. These tubes were subject to the methane pressure step, the diffusion of methane into the liquid was imaged. After applying filters and corrections29,30, the radiographs were reconstructed at the central plane of the sample via the onion-peeling algorithm31. The resulting tomographic reconstructions at the central plane of the sample (Fig. 1) are matrices of the overall linear attenuation coefficient (Σ) for the individual pixels.
Central-plane tomographic reconstruction for cell with supercooled liquid p-C8D10 at 0.0 °C, methane pressure was increased at zero time. Gray value corresponds to the linear attenuation coefficient, inner diameter of the cell was 9.0 mm. Regression with solution of Eq. (10) is shown as purple curve, green curve is a reference line for the interface position.
Theory
The overall attenuation by the binary mixture is contributed by the constituents, A (CH4) and B (p-C8D10). The contribution of B is negligible for the gaseous (supercritical) phase at the studied conditions21,24. For the liquid, concentration can thus be derived using the Beer-Lambert law
The diffusion of A into the initially pure B causes liquid swelling. In turn, both molar concentrations cA = nA/V and cB depend on time and the spatial coordinates (level coordinate z, distance from axis r), while the path length (d), Avogadro number (N0), and cross-sectional areas (σ) are constants; the latter were adjusted based on the observation of the pure components at the conditions of the experiment, yielding \({\Sigma }_{\text{A}}^{0}\) and \({\Sigma }_{\text{B}}^{0}\). The phase interface was detected by searching extrema of Σ, thus providing the interface shape and volume of the (liquid) body of revolution. Clearly, the linear attenuation coefficient of the dissolved methane can be estimated by the use of Eq. (1) assuming constant concentration of B in the liquid body corresponding to \({\Sigma }_{\text{B}}^{0}\). Its integral mean with respect to the liquid height \(z \in \langle 0, Z \rangle\) was used as an accessible variable determining the liquid swelling.
The interface shape changed rapidly upon the pressure step and then remained constant to within the experimental sensitivity, while the interface position changed over time (see below). The convenient measure of swelling is:
in which k is radius-independent adjustable parameter and \({Z}^{0}\) is the liquid level short after the pressurization. The estimate of the distributed linear attenuation coefficient of B is then:
The true linear attenuation coefficient of methane (ΣA) was then calculated from the overall according to Eq. (1). The use of Eq. (1) to Eq. (4) allowed for the calculation of the concentrations cA and cB in the liquid phase for the tomographic reconstructions, and the transformation of the physical depth coordinate (z) to the B-fixed coordinate \(\xi \in \left\langle {0,Z^{0} } \right\rangle\), for which the diffusivity of B holds \({D}_{\text{B}}^{\text{B}}=0\). In the B-fixed reference frame, the height of the physical pixel, Δz, scales to:
This choice of reference frame is useful for modeling diffusion in swelling bodies32. The Fick’s second law for axially-symmetric body in the cylindrical B-fixed coordinates then has the form33,34:
The above equation is a model of the concentration distribution at the central plane of the probe liquid body in the B-fixed reference frame, \({D}_{\text{A}}^{\text{B}}\) is methane (A) diffusivity in the B-fixed reference frame, and C = \({c}_{\text{A}}\)/\({c}_{\text{B}}\) = \({x}_{\text{A}}\)/\({x}_{\text{B}}\). We remind that \({D}_{\text{A}}^{\text{B}}\) simplifies, for instance, to the diffusivity of A in the cell reference frame (DA) if swelling and the diffusivity of B are negligible, such as for diffusion of diluted A in solid B. In this work, concentration independence of \({D}_{\text{A}}^{\text{B}}\) was assumed, and Eq. (6) was solved at the Dirichlet boundary condition (concentration at the interface set to CIFthat was determined by extrapolation of concentration profiles to the phase interface) and Neumann boundary conditions (impermeable walls of the cell) using an explicit differentiation scheme33,35. The optimum value and uncertainty due to random errors (ur, cover factor 2) of \({D}_{\text{A}}^{\text{B}}\) and CIFwere calculated using Gauss–Newton and Bonferroni methods35,36. The so calculated \({D}_{\text{A}}^{\text{B}}\)is then the integral mean for the concentration-dependent diffusivity32. Importantly, molecular simulations enable the prediction of volume fraction of the species (ϕi) and diffusivity in the cell reference frame (\({D}_{i}\)). The relation among the integral mean \({D}_{\text{A}}^{\text{B}}\) and \({D}_{i}\)32,37 allowing for the comparison of experimental and simulated data is:
Concentration at the phase interface was expressed using the apparent Henry’s law constant (H) relating methane pressure (pA) in the gas (or supercritical fluid) and its molar fraction (xA) in the liquid:
We remind that true Henry’s law constant is defined for the infinite dilution of A, and denoted below as \(H^{\infty }\). Besides that, methane fugacity rather than pressure and the Poynting correction are generally to be used at high pressures26. The above simplified form of Henry’s law, Eq. (8), is practical, as it contains quantities accessible both experimentally and using molecular simulation (see below) without further conversions.
Density of the liquid at the phase interface was calculated based on the methane concentration at the interface and its partial molar volume. The latter was calculated as follows. The total amount of B in the liquid body of revolution (nB,t) was set equal to that of the initial pure B due to its small volatility21,24. The total amount of A in the liquid body of revolution (nA,t) was calculated based on the central-plane reconstruction using Eq. (1), while the total liquid volume takes the form according to the Euler’s first theorem for homogenous functions:
Apparent molar volume of methane in the liquid (\({V}_{\text{A}}^{\text{app}}\)) was calculated by setting \({\overline{V}}_{\text{B}}\)equal to the molar volume of the pure B at the system pressure38. This quantity equals partial molar volume of A at infinite dilution of A, see Eq. (16).
The shape of the phase interface in the test tube in gravity possesses axial symmetry and its shape at the central plane is described by the solution of the Young–Laplace equation39,40:
Equation (10) can be numerically solved for z'(r = 0) = 0 and z'(r = R) = cot(θ), the distance form axis ranges from zero to the tube inner radius, r \(\in\) (0, R). Parameters have the usual meaning: density difference at the interface (Δρ), interfacial energy (γ), contact angle (θ). Density of the gas phase (methane) was calculated using the Setzmann–Wagner equation of state41. Density of the liquid at the interface was calculated from the respective concentrations and molar volumes at the interface as described above.
Molecular dynamics
MD simulations were used to model the macroscopic behavior of experimentally investigated 2-phase systems from methane (A) + p-xylene (B), exceed the range of experimentally achieved conditions in this work, and gain microscopic insight into the structure of bulk phases and of the interface. MD simulations were performed with united-atom Trappe force-field42, which is an efficient simulation model due to its simplicity (united atom, no partial charges), transferability, and very good accuracy owing to benchmarking to gas–liquid equilibrium experimental data. Lennard–Jones (LJ) cut-off was set to 2.99 nm, which was shown to quantitatively reproduce the phase behavior and also surface tension (Fig. S1 in Supplementary Information, SI) of neat p-xylene. All MD simulations were performed in the GROMACS simulation package43 with a timestep of 2 fs. The simulated systems were divided into two main groups by the number of phases in the system.
First, we have simulated systems containing 2 coexisting phases with an explicit presence of the interface, i.e. the slab simulation setup (Fig. 2a). This setup enabled the evaluation of surface tensions, equilibrium density profiles across the interface (Fig. S2 and Fig. S3 in SI), and the direct measurement of the apparent Henry’s law constants. The system for the slab simulations was a rectangular cuboid with side lengths of 6.0 nm, 6.0 nm and 50 nm. System consisted of 1000 p-xylene molecules and 400–5000 methane molecules, which were distributed in the p-xylene-rich liquid phase (xAliq= 0 to 0.25) and in the methane gas phase (according to experiment and Henry’s law) utilizing the PACKMOL package44. The slab was equilibrated for 10 ns in semi-isobaric NpT ensemble (compressible in z-direction only) in order to obtain targeted pressure. The production was carried out in NVT ensemble with the total simulation time 40 ns from which the first 20 ns were used as equilibration to ensure that equilibrium of methane between gas and p-xylene liquid phase is reached (via convergence of density profiles). All 2-phase simulations were performed with two separate V-rescale thermostats45 (τT = 0.1 ps) used for temperature coupling of methane and p-xylene.
Simulation setups used in this work to determine target macroscopic properties, and to get insight in the structure of the solution and of the interface. a slab simulation setup, b homogeneous phase of p-xylene with dissolved methane, c pure p-xylene phase. Methane is in green spheres, p-xylene in red licorice.
Second, we have carried out bulk simulations (Fig. 2b, c), which present an efficient and reliable route for the determination of bulk properties, such as molar volume, diffusion, viscosity, density, true Henry’s law constant, chemical potentials or local solution structure (Fig. S4 in SI). These simulations were performed in isobaric-isothermal (NpT) ensemble with C-rescale barostat (τp = 2 ps) and V-rescale thermostat (τT = 0.1 ps). Simulation time was 40 ns with the first 20 ns used for equilibration and not used for analysis. The system consisted of 1000 particles, the numbers of methane and p-xylene particles were varied.
Theory
Surface tension was calculated from the pressure tensor, which was measured during the slab simulations (Fig. 2a) using the following equation:
where Lz is the length of the simulation box along the z-axis, Pzz is the perpendicular component (and the macroscopic pressure in the system), while Pxx, Pyy are the lateral components.
The diffusion coefficient of methane in the p-xylene solution was calculated from the mean square displacement according to Einstein’s formula (DPBC, Eq. (12), literature46). In order to account for long range hydrodynamic effects due to PBC in finite systems, finite size correction was applied and system size independent (true) D0 evaluated via Eq. (13) as recommended in the literature11. In Eq. (13), kB and T are the Boltzmann constant and thermodynamic temperature, constant ξ= 2.83729746, ηMD is p-xylene viscosity, and L is the side of the cubic simulation box.
As diffusivity is inversely proportional to the viscosity of the solvent medium, another correction [ηMD/ηexp in Eq. (14)] is routinely applied in the literature, accounting for the difference between pure solvent (p-xylene) viscosity in the simulation (ηMD) and in the experiment (ηexp). This factor was determined based on experimental and MD viscosity data at 293 K47. This uniform scaling proved quantitative for solutions, the viscosity of which does not significantly vary with composition (e.g. pure liquids, diluted solutions). However, in the case of complex solutions mixtures of significantly varying density (10–20 mol.% of supercritical methane in liquid p-xylene) for which experimental viscosity data are not available, the scaling based on pure liquid viscosities cannot be expected to be quantitative. To practically overcome these various limitations and uncertainties, we have introduced a universal effective scaling parameter [kη in Eq. (14)] by calibrating diffusion coefficients from MD simulations to our experimental data. We note that scaling performed in Eq. (14) does not bias temperature or composition dependences of diffusion coefficients (A, B). Moreover, kη is not expected to significantly deviate from unity, and kη = 1 in pure liquids (and at infinite dilution of solute).
Solution viscosity is another important property, which steps in the continuous modeling and interpretation of time-resolved data of neutron imaging. In this theoretical study, we have calculated viscosity via Einstein’s approach (-evisco option in gmx energy routine of GROMACS package). To improve convergence, the averaging was performed over 100 independent simulations, each of a length of 2 ns, following the recommendation from the literature48.
The volumetric properties, namely partial molar volumes (\({\overline{V}}_{i}\)) and volume fractions (\({\phi }_{\text{i}}\)), present an important input to continuous modeling. Their evaluation from MD simulations starts by a direct calculation of apparent molar volume of methane (\({V}_{\text{A}}^{\text{app}}\)) according to Eq. (15), which requires only system volumes for a series of compositions, i.e., numbers of molecules [\(V\left({N}_{\text{A}},{N}_{\text{B}}\right)\)] and that of pure p-xylene liquid (\(V_{{\text{B}}}^{ \bullet }\))13.
Following the formula from the literature49, partial molar volume of methane (\({\overline{V}}_{\text{A}}\)) is determined according to Eq. (16)
In case that \({V}_{\text{A}}^{\text{app}}\) is linear in \({x}_{\text{A}}\), i.e. \({V}_{\text{A}}^{\text{app}}= {V}_{\text{A}}^{\infty }+b{x}_{\text{A}}\), the partial molar volume of methane takes a simple form \({\overline{V}}_{\text{A}}= {V}_{\text{A}}^{\text{app}}+b{x}_{\text{A}}{x}_{\text{B}}={V}_{\text{A}}^{\infty }+b{x}_{\text{A}}(1+{x}_{\text{B}})\). The calculation of \({\overline{V}}_{\text{B}}\) is straightforward. The molar fractions and partial molar volume of p-xylene are determined from known composition (molar concentrations, ci) according to:
Insight into the p-xylene-methane interactions is captured in the excess (residual) chemical potential50. That of methane in the p-xylene phase was efficiently calculated via the Widom insertion method, where ψ is the interaction energy of an inserted methane particle and the ensemble average \(\langle .\rangle\) is performed over configurations (20 000 frames) of p-xylene phase. 20 000 methane insertions per frame were attempted.
This opens a path for a calculation of the true Henry’s law constant (low methane pressure) for methane into pure p-xylene liquid of particle density (molar concentration) ρB
thus independently confirming the equilibrium methane concentration in p-xylene, which was determined directly in the slab simulation. The apparent Henry’s law constant, determined at finite methane pressures, was calculated from slab simulations according to Eq. (8).
Results and discussion
Experimental data derived from the neutron imaging of the supercritical methane (CH4, component A) absorption in liquid perdeuterated p-xylene (p-C8D10, component B), and the results of the MD simulation are compared in this section, followed by predictive simulations. Figure 3a shows the simulated mean diffusivity of A in the liquid B in the experimentally accessible B-fixed reference frame (\({D}_{\text{A}}^{\text{B}}\)), see Eq. (7), together with the selection of experimental results. Complete sets of experimental and simulated results are available in the Supplementary Dataset (SD). The supercooling boundary, that is the equilibrium condition at which solid p-C8D10 occurs4,7, is shown. No influence of the supercooling on the master trends was discerned either for the experimental or simulated diffusivity. As a calibration effort, the experimentally derived \({D}_{\text{A}}^{\text{B}}\) was predicted quantitatively using MD (Fig. 3a), which well captures trends in temperature and pressure after adjusting the viscosity scaling parameter. It is noteworthy that diffusion flux of methane through the phase interface causes accumulation at the interface10, which is a possible reason for the inertia of the boundary condition upon the step pressurization reported in our previous works on the one-pot imaging7,8. In contrast to the experimental setup, diffusion in MD was determined from fluctuations in an equilibrium system with no macroscopic flux. The respective diffusivities of methane (A) and p-xylene (B) in the binary liquid solutions in cell coordinates (Di) calculated using MD (Fig. 3b) are presented as regressions (models fit to data) with shown average absolute deviation (AAD).
Integral mean diffusivity of methane in p-xylene (\({D}_{\text{A}}^{\text{B}}\)) for the B-fixed reference frame is shown in (a). Points were observed using neutron imaging, curves are regressions derived from MD simulation processed using Eq. (7), * indicates data from our previous study7. Regressions of the MD simulated diffusivity for A and B in the cell reference frame derived for ranges of temperature (260 to 400 K), concentration (0.01 to 0.33 mol(A)/mol(B)), absolute pressure (10 to 100 bar) are shown in (b). Simulated data for the conditions at which solidification occurs4 are shown (dashed curve, supercooling boundary). Average uncertainty of the experimental \({D}_{\text{A}}^{\text{B}}\) equals 0.2 × 10–9 m2s-1. Average uncertainty of simulated DA and DB is 0.3 × 10–9 m2s-1 and 0.1 × 10–9 m2s-1, respectively. kη = 1.284 was used in processing of MD simulation data [see Eq. (14)] to effectively account for unknown experimental viscosity of complex p-xylene solutions saturated by methane at elevated pressures.
Measured and simulated apparent molar volume of methane in p-xylene (\({V}_{\text{A}}^{\text{app}}\)) compared well within the uncertainties (selection is in Fig. 4a, measured and simulated results for all studied conditions are in SD). Thus, partial molar volumes of both components (\({\overline{V} }_{i}\)) were predicted using MD (Fig. 4b), see Eq. (16). Importantly, MD provided partial molar volume of the major component, B, that is not accessible using the used experimental setup. The species volume fractions (ϕi) were calculated using Eq. (17).
Apparent volume of methane in p-xylene, average experimental uncertainty is 5 cm3mol-1, upper estimate of uncertainty for simulation is 0.5 cm3mol-1 (at xA = 0.05, decreases with increasing concentration), AAD for the MD simulated data regression is 0.5 cm3mol-1 (a). Simulated partial molar volumes of methane and p-xylene at the indicated conditions, AAD for partial molar volume regression is 0.6 cm3mol-1 and 0.2 cm3mol-1 for methane and p-xylene, respectively. Upper estimates of uncertainty for partial molar volume simulation is 0.5 cm3mol-1 and 0.03 cm3mol-1 for methane and p‑xylene, respectively (b). * indicates data from7, # indicates datum for methane and n-hexane from54.
Simulated (true) Henry’s law constant (\(H^{\infty }\)) for infinitely diluted methane in p-xylene rose slightly with the increasing absolute pressure and with increasing temperature (simulation results are in SD). The following regression, in which \(H^{\infty }\) and p are in bar, T in K, and R = 8.31451 JK-1 mol-141, approximated the results at AAD = 2 bar for T and p ranging 260 to 400 K and 10 to 100 bar, respectively.
The measured and simulated apparent Henry’s law constant [Eq. (8)] are compared in Fig. 5. Simulation systematically underestimated experimental apparent Henry’s law constants by 100 ± 25 bar. This originates in the exponential dependence of the Henry’s law constant on the excess chemical potential \({\mu }_{\text{A}}^{\text{ex}}\) [see Eq. (19)]. Although the force field approximated the system adequately, the error of 1 kJ mol-1 in \({\mu }_{\text{A}}^{\text{ex}}\) propagates as \({\text{e}}^{-\frac{\text{err}({\mu }_{\text{A}}^{\text{ex}}) }{RT}}\) and results in the error of 30% in \({H}^{\infty }\).
Apparent Henry’s law constant (H) for methane in p-xylene, see Eq. (8). Points were observed using neutron imaging, curves represent regression of simulated data (AAD = 5 bar), average relative deviation of simulation from the experiment was approximately 30%, which corresponds to the uncertainty of 1 kJ mol-1 in \({\mu }_{\text{A}}^{\text{ex}}\). * indicates data from7, # indicates datum from4.
Since the macroscopic observables were quantitatively captured by MD simulations, the molecular insight into the solution structure of investigated solutions may follow. The structure of a bulk solution of p-xylene with methane is described by series of radial distribution functions (RDF) for increasing molar fraction of dissolved methane. For illustration, Fig. S4 (SI) presents mutual distributions of methane and p-xylene molecules and associated running coordination numbers. Only minor changes in RDFs with methane concentration are found, suggesting that methane dissolves well in p-xylene and together form nearly regular solution.
The quantitative insight into composition of the interfacial region is captured in z-resolved density profiles of p-xylene and methane. Fig. S2 (SI) illustrates the composition for a series of methane pressures (at 298 K). It is confirmed that methane density in the p-xylene phase is lower than in the gas phase, methane is surface active, and its surface excess relatively decreases with increasing methane pressure. A random simulation snapshot at 298 K, 45 bar (Fig. S3, SI) presents the side and top view to the structure and arrangement of the intrinsic interface. Qualitatively, the surface excess of methane and lowering of methane concentration in the p-xylene phase is visually observed. Importantly, these snapshots confirmed that the methane distribution within any of the interfacial layers is random, i.e., no methane-rich associates or domains are formed.
Measured surface energy at 1 bar (methane, liquid p-xylene) is shown for selected conditions in Fig. 6a (all data are in SD). While simulation effectively resembled the literature data for the pure p-xylene7,51, systematic error of approx. 2 mN m-1 was observed for the experimental data at 1 bar, for which the average (random) uncertainty of the interfacial energy measurement was 2 mN m-1. The influences of the cell alignment with respect to gravity and the presence of methane at 1 bar were checked by measuring with tilted apparatus (± 1°) and upon removal of methane (vacuuming) without observing systematic changes of surface energy and its uncertainty. Simulated and measured surface energy for the interface of methane and p-xylene showed similar trends, while the systematic experimental error (2 mN m-1) vanished with increasing pressure (Fig. 6b). The average uncertainty of the interfacial energy measurement at elevated pressures is 1 mN m-1, attributed to the higher sensitivity of the method at lower surface energies52. MD simulation resembled experimental interfacial energies within the achieved uncertainties. This fully justifies the use of MD for predictions within the experimentally provided temperature and pressure domain, and supports its use for the parameter domains outside those calibrated by the provided experiments.
Surface energy observed experimentally using neutron imaging and simulated, regression equations are shown in (b), their plots for 1 bar and 293.2 K are in (a) and (b), respectively. Regression of the MD simulated interfacial energy was derived for broad ranges of T (260 to 400 K) and xA (0 to 0.3). Regression of the experimental interfacial energy was derived for ranges of T (273.2 to 303.2 K) and xA(0 to 0.26). Comparison to the literature data7,51 (* and #) is shown in (a).
Simulated diffusivities of p-xylene and methane at the infinite dilution of p-xylene at 50 bar followed expectable trends (Fig. 7) within the studied conditions that correspond to liquid and supercritical methane41. Diffusivity of infinitely diluted p-xylene was also predicted using the engineering equations according to Wilke and Chang25,26, and He and Yu26,27 with parameters from the databases51,53. These predictions differed, on average, by just 28% (Wilke and Chang), 17% (He and Yu), and 11% (Wilke and Chang with association factor adjusted to 1.963, curve not shown in Fig. 7) from the simulated p-xylene diffusivity in its infinitely diluted solution in liquid methane. On the contrary, substantial differences (average 65% of the simulated value for both equations) were observed for the supercritical methane at reduced density down to 0.2. It is noteworthy that the more recent He and Yu26,27 model was developed mainly based on data for systems of higher reduced densities. As a result, a high diffusion flux, and consequently intensive solid p-xylene deposition at cold spots during the supercritical methane cooling, is predicted. Moreover, MD enabled the prediction of the self-diffusivity of the major component (methane) at the infinite dilution of p-xylene, at the same conditions.
Simulated diffusivity of p-xylene (component B) and methane (component A) at the infinite dilution of B at 50 bar, curves are engineering predictions according to Wilke and Chang (W–C)25, and He and Yu (H–Y)27. Fluid properties of pure methane were taken from database53, constants from database51. kη = 1 was used in processing of MD simulation data [see Eq. (14)] as p-xylene is present at infinite dilution.
Conclusion
This study provides novel experimental and molecular dynamics insights into the properties of the two-phase methane and liquid p-xylene systems, which is an industrially relevant pair for natural gas processing. Through the combination of neutron imaging and MD simulations, key properties such as methane diffusivity, Henry’s law constant, apparent molar volume, and surface tension were determined and compared. The results demonstrate that MD simulations align with experimental data with differences within acceptable limits, thereby validating the MD model under the studied conditions. While the experimental study was conducted at temperature and pressure ranging 0.0 to 20.0 °C and 1 to 100 bar, respectively, MD enabled the prediction of the system properties for a broad range of temperatures (260–400 K) at pressures up to 100 bar.
MD simulations allowed for predictions of system properties at experimentally inaccessible conditions. The prominent example is the prediction of p-xylene diffusivity in liquid and subsequently in supercritical methane (both done using infinitely diluted p-xylene), with the latter found significantly higher than that predicted using common engineering correlations (Wilke–Chang and He–Yu). These MD simulations thus predict intensive freeze-out formation, and shed light on the understanding of the behavior of volatile impurities in natural gas, which is related to operational challenges in natural gas liquefaction.
In conclusion, the integrated experimental and computational approach adopted here enables a deeper understanding of the methane-p-xylene system, providing valuable data for natural gas industries and establishing a foundation for further exploration of complex fluid systems. Building on these findings, we will apply similar experimental and simulation protocols to other industrially relevant systems.
Data availability
Experimental data will be made available upon request, additional data are provided in Supplementary Dataset. Inputs for molecular dynamics simulations and raw simulation data for selected systems are available via Zenodo: https://doi.org/https://doi.org/10.5281/zenodo.14266923.
References
Stringari, P. et al. Toward an optimized design of the LNG production process: Measurement and modeling of the solubility limits of p-xylene in methane and methane + ethane mixtures at low temperature. Fluid Phase Equilib. 556, 113406. https://doi.org/10.1016/j.fluid.2022.113406 (2022).
Campestrini, M., Hoceini, S. & Stringari, P. Crystallization risk of aromatic compounds in LNG production. Part II: The solubility of p-xylene in methane-rich mixtures down to cryogenic temperatures. Fluid Phase Equilibria 578, 114015. https://doi.org/10.1016/j.fluid.2023.114015 (2024).
Dong, K., Rong, Q., Xiao, R., Gao, Y. & Wang, F. The removal of benzene and toluene in natural gas with cryogenic liquid propane: Effects and a cyclic purification process. Korean J. Chem. Eng. 41, 1029–1043. https://doi.org/10.1007/s11814-024-00032-5 (2024).
Siahvashi, A. et al. Solubility of p-xylene in methane and ethane and implications for freeze-out at LNG conditions. Exp. Thermal Fluid Sci. 105, 47–57. https://doi.org/10.1016/j.expthermflusci.2019.03.010 (2019).
Netusil, M. & Ditl, P. Comparison of three methods for natural gas dehydration. J. Nat. Gas Chem. 20, 471–476. https://doi.org/10.1016/S1003-9953(10)60218-6 (2011).
Moudrakovski, I. L., McLaurin, G. E., Ratcliffe, C. I. & Ripmeester, J. A. Methane and carbon dioxide hydrate formation in water droplets: Spatially resolved measurements from magnetic resonance microimaging. J. Phys. Chem. B 108, 17591–17595. https://doi.org/10.1021/jp0473220 (2004).
Vopička, O., Durďáková, T.-M., Číhal, P., Boillat, P. & Trtik, P. Absorption of pressurized methane in normal and supercooled p-xylene revealed via high-resolution neutron imaging. Sci. Rep. 13, 136. https://doi.org/10.1038/s41598-022-27142-6 (2023).
Vopička, O. et al. One-pot neutron imaging of surface phenomena, swelling and diffusion during methane absorption in ethanol and n-decane under high pressure. PLoS ONE 15, e0238470. https://doi.org/10.1371/journal.pone.0238470 (2020).
Bellaire, D., Großmann, O., Münnemann, K. & Hasse, H. Diffusion coefficients at infinite dilution of carbon dioxide and methane in water, ethanol, cyclohexane, toluene, methanol, and acetone: A PFG-NMR and MD simulation study. J. Chem. Thermodyn. 166, 106691. https://doi.org/10.1016/j.jct.2021.106691 (2022).
Schaefer, D., Stephan, S., Langenbach, K., Horsch, M. T. & Hasse, H. Mass transfer through vapor-liquid interfaces studied by non-stationary molecular dynamics simulations. J. Phys. Chem. B 127, 2521–2533. https://doi.org/10.1021/acs.jpcb.2c08752 (2023).
Yeh, I.-C. & Hummer, G. System-size dependence of diffusion coefficients and viscosities from molecular dynamics simulations with periodic boundary conditions. J. Phys. Chem. B 108, 15873–15879. https://doi.org/10.1021/jp0477147 (2004).
Heier, M. et al. Molecular dynamics study of wetting and adsorption of binary mixtures of the lennard-jones truncated and shifted fluid on a planar wall. Langmuir 37, 7405–7419. https://doi.org/10.1021/acs.langmuir.1c00780 (2021).
Bendová, M. et al. Aqueous solutions of chiral ionic liquids based on (–)-menthol: An experimental and computational study of volumetric and transport properties. J. Mol. Liq. 378, 121591. https://doi.org/10.1016/j.molliq.2023.121591 (2023).
Morineau, D., Dosseh, G., Pellenq, R. J. M., Bellissent-Funel, M. C. & Alba-Simionesco, C. Thermodynamic and structural properties of fragile glass-forming toluene and meta-xylene: Experiments and Monte-Carlo simulations. Mol. Simul. 20, 95–113. https://doi.org/10.1080/08927029708024170 (1997).
Pablo, G. D. Supercooled and glassy water. J. Phys.: Condens. Matter 15, R1669. https://doi.org/10.1088/0953-8984/15/45/R01 (2003).
Dunning, J. R., Pegram, G. B., Fink, G. A. & Mitchell, D. P. Interaction of neutrons with matter. Phys. Rev. 48, 265–280. https://doi.org/10.1103/PhysRev.48.265 (1935).
Sachs, W. & Meyn, V. Pressure and temperature dependence of the surface tension in the system natural gas/water principles of investigation and the first precise experimental data for pure methane/water at 25°C up to 46.8 MPa. Colloids Surf. A: Physicochem. Eng. Aspects 94, 291–301. https://doi.org/10.1016/0927-7757(94)03008-1 (1995).
Vinš, V. et al. Possible anomaly in the surface tension of supercooled water: New experiments at extreme supercooling down to −31.4 °C. J. Phys. Chem. Lett. 11, 4443–4447. https://doi.org/10.1021/acs.jpclett.0c01163 (2020).
Fröba, A. P. & Leipertz, A. Accurate determination of liquid viscosity and surface tension using surface light scattering (SLS): Toluene under saturation conditions between 260 and 380 K. Int. J. Thermophys. 24, 895–921. https://doi.org/10.1023/A:1025097311041 (2003).
Dechoz, J. & Rozé, C. Surface tension measurement of fuels and alkanes at high pressure under different atmospheres. Appl. Surf. Sci. 229, 175–182. https://doi.org/10.1016/j.apsusc.2004.01.057 (2004).
Ng, H. J., Huang, S. S. S. & Robinson, D. B. Equilibrium phase properties of selected m-xylene binary systems. m-Xylene-methane and m-xylene carbon dioxide. J. Chem. Eng. Data 27, 119–122. https://doi.org/10.1021/je00028a004 (1982).
Cadogan, S. P., Mistry, B., Wong, Y., Maitland, G. C. & Trusler, J. P. M. Diffusion coefficients of carbon dioxide in eight hydrocarbon liquids at temperatures between (298.15 and 423.15) K at pressures up to 69 MPa. J. Chem. Eng. Data 61, 3922–3932. https://doi.org/10.1021/acs.jced.6b00691 (2016).
Ukai, T., Kodama, D., Miyazaki, J. & Kato, M. Solubility of methane in alcohols and saturated density at 280.15 K. J. Chem. Eng. Data 47, 1320–1323. https://doi.org/10.1021/je020108p (2002).
Legret, D., Richon, D. & Renon, H. Vapor-liquid equilibrium of methane-benzene, methane-methylbenzene (toluene), methane-1,3-dimethylbenzene (m-xylene), and methane-1,3,5-trimethylbenzene (mesitylene) at 313.2 K up to the critical point. J. Chem. Eng. Data 27, 165–169. https://doi.org/10.1021/je00028a020 (1982).
Wilke, C. R. & Chang, P. Correlation of diffusion coefficients in dilute solutions. AIChE J. 1, 264–270. https://doi.org/10.1002/aic.690010222 (1955).
Poling, B. E., Prausnitz, J. M. & O’Connell, J. P. The Properties of Gases and Liquids 5th edn. (McGraw-Hill Professional, 2000).
He, C.-H. & Yu, Y.-S. New equation for infinite-dilution diffusion coefficients in supercritical and high-temperature liquid solvents. Ind. Eng. Chem. Res. 37, 3793–3798. https://doi.org/10.1021/ie970898+ (1998).
Lehmann, E. H., Vontobel, P. & Wiezel, L. Properties of the radiography facility NEUTRA at SINQ and its potential for use as European reference facility. Nondestruct. Test. Eval. 16, 191–202. https://doi.org/10.1080/10589750108953075 (2001).
Boillat, P. et al. Chasing quantitative biases in neutron imaging with scintillator-camera detectors: a practical method with black body grids. Opt. Express 26, 15769–15784. https://doi.org/10.1364/OE.26.015769 (2018).
Carminati, C. et al. Implementation and assessment of the black body bias correction in quantitative neutron imaging. PLOS ONE 14, e0210300. https://doi.org/10.1371/journal.pone.0210300 (2019).
Dasch, C.J. One-dimensional tomography: a comparison of Abel onion-peeling and filtered backprojection. methods. Applied Optics 31(8). https://doi.org/10.1364/AO.31.001146 (1992)
Crank, J. The Mathematics Of Diffusion (Clarendon Press, 1975).
Gebhart, B. Heat Conduction and Mass Diffusion 2nd edn. (McGraw-Hill, 1993).
Watson, E. B., Wanser, K. H. & Farley, K. A. Anisotropic diffusion in a finite cylinder, with geochemical applications. Geochimica et Cosmochimica Acta 74, 614–633. https://doi.org/10.1016/j.gca.2009.10.013 (2010).
Kubíček, M. Numerické Algoritmy řešení Chemicko-inženýrských úloh (SNTL, 1983).
Seber, G. A. F. & Wild, C. J. Nonlinear Regression (John Wiley and Sons Inc, 2003).
Hartley, G. S. & Crank, J. Some fundamental definitions and concepts in diffusion processes. Trans. Faraday Soc. 45, 801–818. https://doi.org/10.1039/TF9494500801 (1949).
Cibulka, I. & Takagi, T. P−ρ−T data of liquids: Summarization and evaluation. 5. Aromatic hydrocarbons. J. Chem. Eng. Data 44, 411–429. https://doi.org/10.1021/je980278v (1999).
Adamson, A. W. & Gast, A. P. Physical Chemistry of Surfaces (Wiley, 1997).
Henriksson, U. & Eriksson, J. C. Thermodynamics of capillary rise: Why is the meniscus curved?. J. Chem. Educ. 81, 150. https://doi.org/10.1021/ed081p150 (2004).
Setzmann, U. & Wagner, W. A new equation of state and tables of thermodynamic properties for methane covering the range from the melting line to 625 K at pressures up to 1000 MPa. J. Phys. Chem. Ref. Data 20, 1061–1155. https://doi.org/10.1063/1.555898 (1991).
Wick, C. D., Martin, M. G. & Siepmann, J. I. transferable potentials for phase equilibria. 4. United-atom description of linear and branched alkenes and alkylbenzenes. J. Phys. Chem. B 104, 8008–8016. https://doi.org/10.1021/jp001044x (2000).
Abraham, M. J. et al. GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers. SoftwareX 1–2, 19–25. https://doi.org/10.1016/j.softx.2015.06.001 (2015).
Martínez, L., Andrade, R., Birgin, E. G. & Martínez, J. M. PACKMOL: a package for building initial configurations for molecular dynamics simulations. J. Comput. Chem. 30, 2157–2164. https://doi.org/10.1002/jcc.21224 (2009).
Bussi, G., Donadio, D. & Parrinello, M. Canonical sampling through velocity rescaling. J. Chem. Phys. https://doi.org/10.1063/1.2408420 (2007).
Einstein, A. Über die von der molekularkinetischen Theorie der Wärme geforderte Bewegung von in ruhenden Flüssigkeiten suspendierten Teilchen. Annalen der Physik 322, 549–560. https://doi.org/10.1002/andp.19053220806 (1905).
Meng, X., Gu, X., Wu, J. & Vesovic, V. Viscosity measurements of ortho-xylene, meta-xylene, para-xylene and ethylbenzene. J. Chem. Thermodyn. 95, 116–123. https://doi.org/10.1016/j.jct.2015.11.027 (2016).
Zhang, Y., Otani, A. & Maginn, E. J. Reliable viscosity calculation from equilibrium molecular dynamics simulations: A time decomposition method. J. Chem. Theory Comput. 11, 3537–3546. https://doi.org/10.1021/acs.jctc.5b00351 (2015).
Cibulka, I. & Majer, V. in Volume Properties: Liquids, Solutions and Vapours (eds. Wilhelm, E. & Letcher, T.), The Royal Society of Chemistry, 2014.
Schnabel, T., Vrabec, J. & Hasse, H. Henry’s law constants of methane, nitrogen, oxygen and carbon dioxide in ethanol from 273 to 498 K: Prediction from molecular simulation. Fluid Phase Equilibria 233, 134–143. https://doi.org/10.1016/j.fluid.2005.04.016 (2005).
DIPPR Project 801 - Full Version (accessed 16 August 2024); https://app.knovel.com/hotlink/toc/id:kpDIPPRPF7/dippr-project-801-full/dippr-project-801-full
Vopička, O. et al. Shapes of mobile interfaces in tubes revealed by neutron imaging: Sensitivity analysis for three-phase high-pressure systems from methane, p-xylene, and water. Springer Nature Proceedings, accepted for publication. (2024).
NIST Chemistry WebBook, Fluid Properties (accessed 16 August 2024); https://webbook.nist.gov/chemistry/form-ser/
Böttger, A., Pérez-Salado Kamps, Á. & Maurer, G. Solubility of methane in n-hexane and a petroleum benzine at ambient temperatures. J. Chem. Thermodyn. 99, 97–104. https://doi.org/10.1016/j.jct.2016.03.038 (2016).
MACSIMUS molecular modeling package (accessed 4 July 2024); https://github.com/kolafaj/MACSIMUS
Blau, B. et al. The swiss spallation neutron source SINQ at Paul Scherrer Institut. Neutron News 20, 5–8. https://doi.org/10.1080/10448630903120387 (2009).
Acknowledgements
M.M., T-M.D., J.Š., J.L., J.H., P.T., and O.V. acknowledge the financial support obtained from Czech Science Foundation (GACR) and Swiss National Science Foundation (SNSF) within the research project 23-04741K. M.M. and J.Š. acknowledge support from the grant of Specific university research – grant No A1_FCHI_2024_001. J.H. and M.M. acknowledges the support by the project "The Energy Conversion and Storage", funded as project No. CZ.02.01.01/00/22_008/0004617 by Programme Johannes Amos Commenius, call Excellent Research. This work was supported by the Ministry of Education, Youth and Sports of the Czech Republic through the e-INFRA CZ (ID:90254). J.H. acknowledges the computational resources (project OPEN-30-6). J.H. and M.M. thank prof. Jiří Kolafa for discussions on dispersion corrections to pressure and running test simulations in his MACSIMUS software55. This work is based on experiments performed at the NEUTRA thermal neutron imaging beamline, Swiss spallation neutron source SINQ, Paul Scherrer Institut, Villigen, Switzerland56.
Author information
Authors and Affiliations
Contributions
O.V., J.H., and P.T. conceived and designed this study, T-M.D., Š.T., J.Š., O.V., P.T. realized the experiments, M.M., T-M.D., J.Š., J.L., P.B., J.H., P.T., O.V. analyzed data. All the authors discussed the results and commented on the manuscript.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing financial or non-financial interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Melčák, M., Durďáková, TM., Tvrdý, Š. et al. Neutron imaging and molecular simulation of systems from methane and p-xylene. Sci Rep 15, 1284 (2025). https://doi.org/10.1038/s41598-024-85093-6
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-024-85093-6









