Background

The compressibility is one of the most important properties in thermodynamic of materials, and we can get it from experimental methods or from some theoretical methods. In this work we find analytical formula of the compressibility from the Ornstein–Zernike equation which is one of the basic equations used to study the physical properties of fluids because this equation enables us to find the physical properties of materials by theoretical ways. For one component system, the Ornstein–Zernike equation in the homogeneous formalism is given as follows [1,2,3,4,5,6,7]:

$$ h(r) = c(r) + \rho \int {d\vec{r}^{\prime}c(\left| {\vec{r} - \vec{r}^{\prime}} \right|)} h(r^{\prime}) $$
(1)

where c(r) is the direct correlation function, h(r) is the total correlation function, ρ is particle’s density and r is the position and the integral is over the volume of position of the particles. The Ornstein–Zernike equation is considered a very important equation in the statistical mechanics and materials sciences, especially, in the static formalism because by solving this equation we find the radial distribution function (RDF) of a specific system which enables us to find a lot of properties of the material by applying the integration of a certain property on this function. We can find a solution for the Ornstein–Zernike equation using a suitable interaction potential of the system, however, we need another equation between pair potential and the total correlation function or the direct correlation function which we get it from a number of possible approximations of the direct correlation function which are used in the theory of simple liquids or simple fluids such as Born Green Yvon approximation (BGYA), Hyper Netted Chain approximation (HNCA), Percus Yevick approximation (PYA) and mean spherical approximation (MSA). All of these approximations give closed relations between the direct correlation function and the interaction potential of the system either in a linear form or in a nonlinear form [8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]. In this work, we use the mean spherical approximation to find the solutions of the Ornstein–Zernike equation where this approximation relates the direct correlation function and the interaction potential via a linear formula. The direct correlation function based on the mean spherical approximation is given as follows [2, 4,5,6,7]:

$$ c(r) \approx - U(r)/(k_{B} T)\begin{array}{*{20}c} {} & ; & {} & {r > d} \\ \end{array} $$
(2)

where \(k_{B}\) is Boltzmann constant, T is absolute temperature and d is the diameter of particles while U(r) is the interaction potential between the particles of the system. The interaction potential which we used in this work is Lenard–Jones potential, which is very important as a fitting potential and a structure potential in a lot of studies such as soft materials and simple fluids [3, 8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24] and this potential is given by the following formula:

$$ U_{LJ} (r) = 4\varepsilon \left[ {(\frac{\sigma }{r})^{12} - (\frac{\sigma }{r})^{6} } \right] = \varepsilon \left[ {(\frac{{r_{m} }}{r})^{12} - 2(\frac{{r_{m} }}{r})^{6} } \right] $$
(3)

where ε represents the depth of Lenard–Jones potential or its minimum value and rm is the distance at which Lenard–Jones potential equals its minimum value which is called the minimum distance of Lenard–Jones potential while σ is the distance at which Lenard–Jones potential equals zero.

Methods

We find a formula for the compressibility of one component fluid from the solutions of the Ornstein–Zernike equation for Lenard–Jones potential using mean spherical approximation for the direct correlation function. We obtain the radial distribution function of the system and from this function we get the compressibility of the system which is related to the radial distribution function via the following formula [1, 7, 11]:

$$ \frac{{\chi_{T} }}{{\chi_{T}^{id} }} = 1 + \rho \int {g(r)d\vec{r} - } \rho \int {d\vec{r}} $$
(4)

where β = 1/(kBT), \(\chi_{T}^{id}\) is the compressibility of ideal gas and g(r) is the radial distribution function of the system. So, If we use the solutions of the Ornstein–Zernike equation of Lenard-Johns potential from mean spherical approximation in the previous equation and if we use the integral of the position instead of the integral of the volume in the homogeneous and isotropic case, we find that the compressibility of the system is given by the following integral equation:

$$ \chi_{T} = \chi_{T}^{id} - C_{1} \int\limits_{0}^{d} {r^{2} dr - C_{2} \int\limits_{d}^{\infty } {[\alpha^{2} \frac{d}{{r^{10} }}^{12} - \alpha \frac{d}{{r^{4} }}^{6} ]dr} } $$
(5)

where C1, C2 are coefficients and α is defined as follows:

$$ \alpha = (1 + \sqrt {1 + 1/\beta \varepsilon } )/2 $$
(6)

By integrating the equation of the compressibility over the position, we find the following formula of the compressibility:

$$ \chi_{T} = \left[ {1 - \frac{4}{3}\pi \rho \left( {1 - \alpha \beta U_{0} + \frac{{\alpha^{2} }}{3}\beta U_{0} } \right)d^{3} } \right]\chi_{T}^{id} ;\quad U_{0} = 4\varepsilon $$
(7)

Results and discussion

The previous equation represents the basic thing of this study which is the formula of the compressibility. We see that the formula of the compressibility that we found (Eq. 7) contains the Lennard–Jones potential parameters, the diameter of particles in the system, the temperature and the density of the system’s particles. We can use the formula in a wide variety of materials interacting with each other via Lennard–Jones potential such as light polymers and some simple fluids systems such as atomic Argon. In this work, we use this formula to calculate the compressibility and the bulk modulus for some hydrocarbons and air. Besides and based on the formula, we calculate the speed of sound in some atomic fluids such as Argon, some hydrocarbons, diatomic fluid such as Oxygen and some other gases such as dichlorodifluoromethane. We calculated the compressibility and the bulk modulus of air from this study, i.e. Eq. 7, at 298.16 K° and we inserted the results in Table 1 with the value of bulk modulus of air found in some literatures in addition to the Lenard–Jones potential’s parameters of air.

Table 1 The compressibility and the bulk modulus of air Β from Eq. 7 and the bulk modulus of air from the literatures Β* at 25 °C

As we see from Table 1, the result resulted from this work and the result found in the literatures for the bulk modulus of air are close to each other at the previous temperature.

In addition to that, we calculated the compressibility of air from the formula we derived in this work at different temperatures and we inserted the results of this calculation in Table 2. With the bulk modulus of air at the same temperatures. As we see from Table 2, the bulk modulus of air increases when temperature increases which agree well with literatures.

Table 2 The compressibility of air and the bulk modulus of air based on Eq. 7 at different temperatures in the gaseous phase

Also, We calculated the speeds of sound in some inert gases (Helium, Neon, Argon, Krypton and Xenon) based on the formula which we found and the results were illustrated in Table 3 with the densities, the molar masses and Lenard–Jones potential parameters of the noble gases.

Table 3 The speeds of sound in noble gases at t = 25 °C from this work based on Eq. 7

As we see from Table 3, the values of the speed of sound of the noble atomic gases which we calculated from this study based on the simple formula that we found have the same order with other references [26,27,28,29,30] for the gaseous Helium, references [26, 30] for the gaseous Neon, references [26,27,28, 30] for the gaseous Argon and references [28, 30] for the gaseous Krypton and the gaseous Xenon. We see that the smallest value of the speed of sound is for Xenon and the biggest value is for Helium which also agrees with literatures.

Also, We calculated the speeds of sound in some hydrocarbons (Methane, Ethylene, Propylene and Propane) from this work, based on Eq. 7, because these hydrocarbons interact through Lenard–Jones potential like in [31], the results were inserted in Table 4 with the densities, the molar masses and Lenard–Jones potential’s parameters of the used hydrocarbon materials. We used the previous hydrocarbons in the calculations of the compressibility and the bulk modulus as an example of other hydrocarbons and because the parameters of the interaction potential are known for these hydrocarbons and we can compare the bulk modules values of these hydrocarbons with other studies.

Table 4 The speeds of sound in Methane, Ethylene, Propylene and Propane at t = 25 °C from this work based on Eq. 7

We see from Table 4 that the speed of sound agrees well with other references, references [26,27,28, 30] for the gaseous Methane and the gaseous Ethylene, reference [30] for the gaseous Propylene, references [28, 30] for the gaseous Propane at 25 °C. In addition, we calculated the compressibility of the same hydrocarbons at temperatures equal to 0.9 of the critical temperature TC and pressures about 0.5 of critical pressure PC of each hydrocarbon from this study, i.e. Equation 7, and we inserted the results in the Table 5 which also, contains Lenard–Jones potential’s parameters of these hydrocarbon materials in addition to the molar mass of the hydrocarbons. For comparison our results with other results, we calculated the bulk modulus at the previous temperatures for these hydrocarbons and we inserted the results with the results for the bulk modulus of these hydrocarbons at the previous conditions from reference [32] in Table 6 which also contains the compressibility from our calculations.

Table 5 The compressibility of some hydrocarbons from Eq. 7 at 0.9 TC of each hydrocarbon
Table 6 The bulk modulus of the some hydrocarbons from our work and from reference [32] at 0.9 TC of each hydrocarbon

We calculated the speeds of sound in the same hydrocarbons at the same conditions from this study and the results were inserted in Table 7 with comparisons from reference [30] for the speeds of sound in the same hydrocarbons.

Table 7 The speeds of sound in the last hydrocarbons from our work and from reference [30] at the same previous conditions

As we note from the comparisons between the values of the bulk modulus of Methane and the bulk modulus of Propane which we calculated from this study with the values of the bulk modulus of Methane and the bulk modulus of Propane resulted from reference [32] at the same conditions in Table 6, the values are of the same order and close to each other.

Also, we see the same thing from the comparisons between the values of the speed of sound in the four hydrocarbons calculated from this study and within reference [30] in Table 7 at the same conditions. After that, we calculated the values of the speed of sound in some simple diatoms gases, namely, Hydrogen, Nitrogen, Fluorine, Chlorine and Oxygen from this study, i.e. Eq. 7, and we inserted the results in Table 8. The densities, the molar masses and Lenard–Jones potential parameters of the considered diatomic simple gaseous materials were inserted in the same table.

Table 8 The speeds of sound in Hydrogen, Nitrogen, Fluorine, Chlorine and Oxygen at t = 25 °C from this study based on Eq. 7 and from references [26,27,28, 30]

As we see from Table 8, the values of speed of sound in the previous diatomic simple gases which calculated from this study and the values in other studies, references [26,27,28, 30] for the gaseous Hydrogen and the gaseous Oxygen, references [26, 27, 30] for the gaseous Nitrogen, reference [30] for the gaseous Fluorine and references [26, 27] for the gaseous Chlorine, have the same order. Besides, we see that the biggest value of the speed of sound is for the Hydrogen and the smallest value is for the Chlorine. Finally, we calculated the values of the speed of sound in some gaseous oxides (Nitrous oxide, Carbon dioxide, Nitric oxide, Carbon monoxide and Sulphur dioxide) in addition to the speed of sound in dichlorodifluoromethane. We inserted the results for the previous gases in Table 9. The densities, the molar masses and Lenard–Jones potential parameters of these gaseous materials were inserted in the same table.

Table 9 The speeds of sound in Nitrous oxide, Carbon dioxide, Nitric oxide, Carbon monoxide, Sulphur dioxide and Dichlorodifluoromethane at t = 25 °C from this work based on Eq. 7

We see that the values of the speed of sound in the previous gases (Table 9) agree with the results from references [26, 28] for the gaseous Nitrous oxide and the gaseous Carbon monoxide, references [26, 28, 30] for the gaseous Carbon dioxide and the gaseous Sulphur dioxide, reference [26] for the gaseous Nitric oxide and reference [30] for the gaseous dichlorodifluoromethane.

Conclusion

In this work, we derived analytical formula for the compressibility for homogenous and isotropic system composed of one component at low density assuming that the particles in the system interact each other via Lenard-Jones potential which contains two parts, the first part is repulsive and the other is attractive. The compressibility can be found from some experimental methods such as [33] and some theoretical methods such as virial expansion [34, 35]. In this work, we found a formula of the compressibility as a function of particle’s density, Lenard–Jones potential parameters and the temperature based on solutions of the Ornstein–Zernike equation for mean spherical approximation.

The formula we derived was employed to find the compressibility and the bulk modulus values of air at 25 °C (Tables 1 and 2) and of some hydrocarbons at defined temperatures of each hydrocarbon (Tables 5 and 6), the results of the bulk modulus and the compressibility found from this study agree qualitatively with the literature for air and other reference [32] for hydrocarbons. Besides, the speeds of sound in some hydrocarbons at defined temperatures of each hydrocarbon (Tables 4 and 7) and the speeds of sound in Helium, Neon, Argon, Krypton, Xenon, Hydrogen, Nitrogen, Oxygen, Chlorine, Fluorine, Methane, Ethylene, Propylene, Propane, Carbon monoxide, Carbon dioxide, Sulfur dioxide, Laughing gas, Nitric oxide and dichlorodifluoromethane (Tables 3, 8 and 9). We found that our results agree qualitatively with other studies.

The formula that we derived for the compressibility (Eq. 7) is simple and it can be applied for many fluids that interact via Lenard–Jones potential, only, we need the Lenard-Jones potential parameters and the density of particles in the system at a certain temperature.