1 Introduction

Adsorption layers are always formed at the interface when fluids come into contact with solids under real conditions. Especially in high precision measurements of densities, adsorption can lead to significant errors, which have to be accounted for. However, the complex nature of the interfaces present in these measurements is almost only accessible by theoretical means, specifically if mixtures are concerned. To understand their behavior, adsorption calculations are of particular interest in measurement applications, e.g., in fluid density measurement [1, 2]. Tietz et al. [1] calculated the adsorption behavior on planar surfaces with molecular dynamics (MD) simulations to describe the adsorption isotherm within the gravimetric experiments.

Adsorption as a unit operation also plays an increasing role in chemical engineering and its measurement and calculation or prediction are becoming increasingly important, e.g. [3,4,5,6,7,8,9,10,11,12,13,14,15,16]. Most theoretical methods, however, require a huge computational effort. Therefore, it is interesting to calculate interfacial phenomena such as surface excess and surface tension using simpler methods such as density gradient theory (DGT) [17,18,19,20] in order to derive other observable quantities to describe the behavior of fluids for technical applications and product design.

There are several approaches to modeling surface tension \(\gamma^{*}\)Footnote 1 and surface excess \(\Gamma^{*}\) from empirical equations [21] to MD simulations [13, 22,23,24,25,26]. They differ primarily in the amount of computational resources required. Currently, MD simulations take the largest computational effort. One way to calculate adsorption isotherms is the ideal adsorbed solution theory (IAST) [27]. It assumes that the adsorbed phase behaves like an ideal solution with no interactions between the adsorbed molecules in the adsorbed phase mixture. The real adsorbed solution theory (RAST) [28] gains accuracy but loses predictive character. It incorporates experimental data to estimate the interaction parameter to determine adsorption isotherms. Both models, IAST and RAST, are calculated with low computational demands. To increase the precision of the calculation, classical density functional theory (DFT) [29] is able to calculate interfacial properties, like surface tension and adsorption isotherms [14, 30,31,32] with an increase in computational effort. In DFT, Helmholtz’ energy is expressed as a non-local—and thereby computationally expensive—functional of the density profiles of the constituent molecules. A simplified and considerably faster method compared to DFT is DGT. DGT in engineering has been in use for many years for surface tension calculations of pure substances and mixtures, e.g. [17, 24, 33,34,35,36,37,38,39,40]. In vapor-liquid-equilibrium (VLE), DGT models surface tension in a promising way and with low computational effort for pure substances and mixtures [34, 37, 38, 41,42,43,44].

Currently, there is no sufficient model to describe both, surface tension and adsorption with the DGT with one set of parameters. This contribution aims to calculate the adsorption behavior also with DGT.

In DGT, mostly a constant influence parameter \(\kappa^{*}\), adjusted to the investigated substances, is used for surface tension calculations so far, e.g. [17, 36,37,38,39, 45]. For solid–fluid interactions there is the concept of fitting the influence parameter to adsorption isotherms [46]. Rehner et al. [40] proposed a local density and temperature-dependent influence parameter for predictive DGT. Their approach is based on DFT and weighted densities and is limited to fluid-liquid interfaces. To describe adsorption with DGT, Butz [16, 47] stated that a fitted influence parameter improves the prediction of adsorption isotherms. Depending on the number of carbon atoms and surface energies, the influence parameter for surface tension calculations is lowered by a factor of ten to describe gas adsorption. We propose a different approach with a density dependent influence parameter, where the same influence parameter is used to describe surface tension and adsorption.

In this contribution, the adsorption between fluids and solids, as well as the surface tension between vapor and liquid phases are studied using DGT. For this purpose, a density dependent influence parameter is used to improve the calculation results. A second order polynomial approach is chosen, whose individual parameters are varied. The differently optimized parameter combinations are obtained by selecting the non-dominated points in the objective function space. The results are further compared to already known MD data from Vrabec et al. [48] and Liu et al. [12]. To do so, DGT must use a good equation of state. There are different EOS that describe a LJTS potential, e.g. [49, 50]. This work is based on the perturbated truncated and shifted equation of state (PeTS-EOS) from Heier et al. [50], because it can describe all desired properties with high accuracy and is valid in the interface. Other EOS, e.g., PC-SAFT [51] could be used instead for real fluids.

Results are shown for surface tension at different temperatures and adsorption at different wall potentials at multiple surface energies.

2 Methods and Models

2.1 Equation of State

The PeTS-EOS [50] is used as equation of state (EOS) because it accurately represents the Lennard–Jones truncated and shifted (LJTS) fluid. It shows physical behavior in unstable regions within the spinodal and—as most modern EOS—is also suitable for supercritical states that are also investigated in this work [50]. The modeled interactions are based on a Lennard–Jones potential (LJ). In MD, the potential is often modified to a LJTS potential to reduce the number of interactions between the molecules. The critical temperature of the LJTS fluid with a cut-off radius of \(r_{cut - off}^{*} = 2.5\), modeled with PeTS-EOS as it is used in this work, is \(T_{c}^{*} = 1.0779\), the critical density is \(c_{c}^{*} = 0.3190\). All thermodynamic properties of the fluid, such as the free energy density \(\Phi^{*}\), the chemical potential \(\mu^{*}\) and the pressure \(p^{*}\) are derived from the free energy per particle. For further information, the interested reader is referred to [50].

The density of the fluid adsorbed to a wall can largely increase in comparison to the bulk density. The PeTS-EOS is based on a hard sphere reference. If the density increases, also the packing fraction \(\eta\) increases, until a singularity in the EOS is reached, where the equation of state cannot be solved anymore. Therefore, the model is limited by a maximum density, where the packing fractions is still \(\eta < 1\). Also, the expected density increase in the adsorbate layer is limited by the packing fraction.

2.2 Density Gradient Theory

Density gradient theory (DGT) is the simplest, qualitatively correct molecular model for describing interfaces [52]. The theory is mostly based on the early work of van der Waals [53] and the work of Cahn and Hilliard [54], who reformulated the theory [17,18,19,20].

The phase transition along a one-dimensional interface, characterized by the coordinate normal to the interface \(z^{*}\), exhibits a density gradient. The free energy functional \(F^{*} \left[ {c^{*} \left( {z^{*} } \right)} \right]\left( {T^{*} } \right)\) of the phase transition is developed around the homogenous state of the energy density \(\Phi_{0}^{*}\) from a Taylor series truncated after the second term. When the temperature dependence of the free energy and of the density is neglected, the following functional dependence is obtained [17, 54]:

$$F^{*} \left[ {\left( {c^{*} \left( {z^{*} } \right)} \right)} \right] = \int\limits_{V} {\Phi_{0}^{*} \left( {c^{*} \left( {z^{*} } \right)} \right) + \frac{1}{2}\kappa^{*} \left| {\nabla c^{*} } \right|^{2} dV}$$
(1)

The free energy density of the homogenous state \(\Phi_{0}^{*}\) is calculated using the selected equation of state. The second term of Eq. 1 represents the resistance to changes in density which is scaled by \(\kappa^{*}\). Usually, the so-called influence parameter \(\kappa^{*}\) is taken as constant. However, it is known [17, 18, 33] that it represents the second moment of the direct correlation function, which depends on both, the local density and the density profile. Following the general idea of a Taylor series expansion, \(\kappa^{*}\) should not depend on \(\nabla c^{*}\) or \(\left| {\nabla c^{*} } \right|^{2}\), however, it may depend on temperature \(T^{*}\) and density \(c^{*}\). Here, it is assumed that it is only dependent on \(c^{*}\) to allow a better representation of gas phase adsorption. This assumption is somewhat arbitrary and can be seen as a starting point for further investigations.

In a µVT system, both phases at the VLE phase boundary have the same pressure, temperature, and chemical potential. The chemical potential is obtained by functional minimization of the free energy with respect to \(c^{*} \left( {z^{*} } \right)\):

$$\mu^{*} = \frac{{\delta F^{*} \left[ {c^{*} \left( {z^{*} } \right)} \right]}}{{\delta c^{*} }} = \mu_{0}^{*} \left( {c^{*} \left( {z^{*} } \right)} \right) + \frac{1}{2}\frac{{\partial \kappa \left( {c^{*} } \right)}}{{\partial c^{*} }}\left| {\nabla c^{*} } \right|^{2} - \nabla \kappa^{*} \left( {c^{*} } \right)\nabla c^{*} - \kappa^{*} \left( {c^{*} } \right)\nabla^{2} c^{*}$$
(2)

To meet the constraints of the VLE, the chemical potential is set as boundary condition, therefore it needs to be constant and have the according bulk value of either phase. For adsorption calculation, a solid phase is introduced to the system by adding an external potential \(U_{ext}^{*}\), Eq. 3.Footnote 2 The solution of Eq. 3 is the density profile \(c^{*} \left( {z^{*} } \right)\) along the phase boundary, which is further used to determine the surface tension \(\gamma^{*}\) in case of VLE and the surface excess \(\Gamma^{*}\) in case of adsorption. Further information on the numerical methods is shown in Appendix A. After some algebra, the resulting set of equations is

$$\mu^{*} \left( {c^{*} \left( {z^{*} } \right)} \right) - \frac{1}{2}\frac{{\partial \kappa \left( {c^{*} } \right)}}{{\partial c^{*} }}\left| {\nabla c^{*} } \right|^{2} - \kappa^{*} \nabla^{2} c^{*} \left( {z^{*} } \right) - \mu_{bulk}^{*} + U_{ext}^{*} = 0$$
(3)
$$\gamma^{*} = \mathop \smallint \nolimits_{{c^{*v} }}^{{c^{*l} }} \sqrt {2\kappa^{*} \Delta \omega } dc^{*}$$
(4)
$$\Delta \omega = \Phi_{0} - c^{*} \mu^{*eq} + p^{*eq}$$
(5)
$$\Gamma^{*} = \mathop \smallint \nolimits_{{z_{0}^{*} }}^{{z_{1}^{*} }} \left[ {c_{f}^{*} \left( {z^{*} } \right) - c_{f}^{*b} } \right]dz^{*}$$
(6)

For the surface tension calculation, Eq. 4, the integral limits are the bulk densities, \(c^{*v}\) of the vapor and \(c^{*l}\) the liquid phase. The surface excess, Eq. 6, is the integral of the density between \(z_{0}^{*}\), which is the first intersection of the density profile with the bulk density and ends at \(z_{1}^{*}\), when the final bulk density is reached.

To investigate various solid phases, the following parameters for the external potential \(U_{ext}^{*}\) are used [12, 55]:

$$U_{LJ - 10 - 4 - 3}^{*} \left( {z^{*} } \right) = 2\pi \varepsilon_{sf}^{*} \rho_{s}^{*} \sigma_{sf}^{*2} \Delta \left( {\frac{2}{5}\frac{{\sigma_{sf}^{*10} }}{{z^{*10} }} - \frac{{\sigma_{sf}^{*4} }}{{z^{*4} }} - \frac{{\sigma_{sf}^{*4} }}{{3\Delta (z^{*} + 0.61\Delta )^{3} }}} \right)$$
(7)
$$U_{LJ - 9 - 3}^{*} \left( {z^{*} } \right) = \frac{4}{3}\pi \varepsilon_{sf}^{*} \rho_{s}^{*} \sigma_{sf}^{*3} \left( {\frac{{\sigma_{sf}^{*9} }}{{z^{*9} }} - \frac{{\sigma_{sf}^{*3} }}{{2z^{*3} }}} \right)$$
(8)

The different types are the 10–4–3, Eq. 7, and the 9–3, Eq. 8, potential. The solid, represented by a wall potential is located at \(z^{*} = 4.75\). For details on the potentials, the reader is referred to Liu et al. [12]. The LJTS potential used is given by the following Eq. 9, with a cut-off radius of \(z_{c}^{*} = 2.5\).

$$U_{LJTS}^{*} \left( {z^{*} } \right) = U_{LJ}^{*} \left( {z^{*} } \right) - U_{LJ}^{*} \left( {z_{c}^{*} } \right)$$
(9)

The fluid, solid, and solid–fluid size parameters of the external potential equal \(\sigma_{f}^{*} = 1\), \(\sigma_{s}^{*} = 1\), and \(\sigma_{sf}^{*} = 1\), as well as the energy parameter of the fluid, \(\varepsilon_{f}^{*} = 1\). The solid density is \(\rho_{s}^{*} = 1.07\) and the spacing between planes in the solid lattice is \(\Delta = 0.775\). The solid–fluid energy parameter \(\varepsilon_{sf}^{*}\) is varied between 0.3 and 2.0 and the different parameters for the external potential are listed in Table 1. These correspond to the parameters from Liu et al. [12].

Table 1 Investigated cases for the adsorption calculation, with different types of the potential, two different temperatures and up to four different surface energies

2.3 Influence Parameter

The influence parameter \(\kappa^{*}\) contains the information about the structure of the phase transition and essentially determines the response of the DGT to the local derivative of density [17]. Physically, the influence parameter is associated with the second moment of the direct correlation function [17, 18, 33].

So far, the influence parameter \(\kappa^{*}\) is mostly described as a constant. Although the dependence of the influence parameter on the density is not denied, it is described as very small and neglectable [17], based on [56, 57], where it is stated, that for low densities, the influence parameter is independent of the density. During adsorption of the fluid on the solid, an increase in fluid density is found at the wall, the so-called surface excess. Since one can no longer assume very low densities, the density dependence of the influence parameter must be considered. Heier et al. [50] were able to show that the temperature dependence of the influence parameter is neglectable for the LJTS fluid, if the density dependence is neglected, too. We assume here that the temperature dependence can also be neglected for a density dependent influence parameter, but this is somewhat arbitrary. Heier et al. [50] derived the constant influence parameter from surface tension data up to the critical temperature, obtaining

$$\kappa^{*} = 2.7334$$
(10)

In this contribution, a density dependent expression for the influence parameter is used. For simplicity, a second order polynomial is chosen. This is a compromise between keeping the density dependency on a low mathematical level, but improving the adsorption model significantly.

$$\kappa^{*} \left( {c^{*} } \right) = A + Bc^{*} + Cc^{*2}$$
(11)

The parameter \(A\) is chosen to be zero here, while \(B\) and \(C\) are fitted in this contribution. This choice is not rigorous, since the influence parameter is formally linked to the direct correlation function [17, 18, 33], but leads to a lower numerical effort needed to fit the remaining parameters.

3 Results

The results section is divided into three parts, namely, the optimization of the parameters set for the density dependent influence parameter, the surface tension, and the adsorption. The results of the DGT data using a density dependent approach for the influence parameter are compared to the MD data. All adsorbed fluid data corresponds to gas phase adsorption.

3.1 Estimation of Pareto Optimal Parameter Sets

The second order polynomial of the density dependent influence parameter is optimized to find a set of parameters that can describe adsorption behavior and surface tension phenomena. Therefore, the concept of a pareto front is used, following Stöbener et al. [58], to find the non-dominated points. These are parameter sets that cannot be improved in one property, without decreasing in the other property, i.e., the best compromises.

The parameters \(A,B,C\) of Eq. 11 are constrained as follows: At zero density, the influence parameter is also set to zero, therefore the parameter \(A\) vanishes. For reasons of physical correctness, a further condition is imposed, namely that the influence parameter itself is always positive in the range from zero to a maximum density of a closed packed structure of \(c_{\max }^{*}\). The temperature dependence of the diameter is neglected. These constrains restrict the range of the parameters \(B\) and \(C\) to the blue (dark, color online) area in Fig. 1.

Fig. 1
figure 1

Possible parameter sets for C and B for the density dependent influence parameter are shown as blue (dark) area. According to the selected constrains, the influence parameter has to be positive across the density range and zero at zero density (Color figure online)

A coarse grid is placed over the remaining parameter space containing natural numbers and one number at 0.5 in between as possible parameters. This results in a maximum range of \(\left[ { - 14,20} \right]\) for the \(C\) parameter and \(\left[ {0,20} \right]\) for the \(B\) parameter. For all parameter sets, the surface tension \(\gamma^{*}\) and the surface excess \(\Gamma^{*}\) are calculated and the deviations \(f_{{\gamma^{*} ,\Gamma^{*} }}\) to the MD data are determined according to Eqs. 12 and 13, respectively.

$$f_{{\gamma^{*} }} = \sqrt {\frac{1}{{N_{{\gamma^{*} }} }}\sum\limits_{i = 1}^{{N_{\gamma^{*}} }} {\left( {x_{i,DGT} - x_{i,MD} } \right)^{2} } }$$
(12)
$$f_{{\Gamma_{i}^{*} }} = \sqrt {\frac{1}{{N_{{\Gamma_{i}^{*} }} }}\sum\limits_{i = 1}^{{N_{\Gamma_{i}^{*}} }} {\left( {x_{i,DGT} - x_{i,MD} } \right)^{2} } }$$
(13)

\(x_{i,DGT}\) is the result of the surface tension \(\gamma^{*}\) or surface excess \(\Gamma^{*}\), respectively, calculated with DGT, at the investigated temperature or adsorption setting \(i\), \(x_{i,MD}\) is the corresponding result of the MD data from the literature [12, 48]. Here, \(N_{{\gamma^{*} ,\Gamma_{i}^{*} }}\) is the size of the data set being compared, e.g., for the surface tension, there are nine different temperatures, \(N_{{\gamma^{*} }} = 9\). For the adsorption calculation, \(N_{{\Gamma_{i}^{*} }}\) varies due to the number of investigated bulk densities at different temperatures, surface energies and wall potentials (the details of the adsorption settings are shown in Appendix C). To obtain only one value for one parameter set, Eq. 14 is used to combine the eight different adsorption settings, therefore, \(N_{{\Gamma^{*} }} = 8\) in Eq. 14.

$$f_{{\Gamma^{*} ,total}} = \sqrt {\frac{1}{{N_{\Gamma^{*}} }}\sum\limits_{i = 1}^{{N_{\Gamma^{*}} }} {f_{{\Gamma^{*}_{i} }}^{2} } }$$
(14)

All parameter combinations of \(B\) and \(C\) are investigated to find the non-dominated points with the smallest possible deviation between DGT and MD. The results are depicted as contour plots in the parameter space in Figs. 2 and 3. The two parameter combinations of the non-dominated points studied in more detail are marked with gray circles.

Fig. 2
figure 2

Surface tension deviation in the parameter space. The darker area corresponds to smaller deviation. The non-dominated points are plotted as white filled circles. The two further investigated non-dominated points are additionally marked with gray circles (Color figure online)

Fig. 3
figure 3

Surface excess deviation in the parameter space. The darker area corresponds to smaller deviation. The non-dominated points are plotted as white filled circles. The two further investigated non-dominated points are additionally marked with gray circles (Color figure online)

The blue (dark) color stands for a small deviation or the best parameter combinations, the most unfavorable ones are in the orange (light-colored) area.

Figure 2 represents the results for the surface tension. The color reflects the root mean square deviation calculated with Eqs. 1214 to corresponding MD data from Liu et al. [12]. It shows an optimum in form of a valley across the parameter space (blue, dark color), starting from the lowest region in the center at negative \(C\) values up to the top left corner.

The adsorption deviation is plotted in Fig. 3, where the minimum deviation (dark blue) is near \(B = 4.0,C = - 2.0\). Compared to the surface tension data, the region of low \(f\)-values of the parameter combinations is very small.

While the deviation defined by Eqs. 1113 is suitable for optimization, we define the absolute relative deviation (ARD) by

$$f_{{\gamma^{*} ,ARD}} = \sqrt {\frac{1}{{N_{{\gamma^{*} }} }}\sum\limits_{i = 1}^{{N_{{\gamma^{*} }} }} {\frac{{|x_{{\gamma^{*} ,DGT}} - x_{{\gamma^{*} ,MD}} |^{2} }}{{x_{{\gamma^{*} ,MD}}^{2} }}} }$$
(15)
$$f_{{\Gamma_{i}^{*} ,ARD}} = \sqrt {\frac{1}{{N_{{\Gamma_{i}^{*} }} }}\sum\limits_{i = 1}^{{N_{{\Gamma_{i}^{*} }} }} {\frac{{|x_{{\Gamma_{i}^{*} ,DGT}} - x_{{\Gamma_{i}^{*} ,MD}} |^{2} }}{{x_{{\Gamma_{i}^{*} ,MD}}^{2} }}} }$$
(16)
$$f_{{\Gamma_{total}^{*} ,ARD}} = \sqrt {\frac{1}{{N_{{\Gamma^{*} }} }}\sum\limits_{i = 1}^{{N_{\Gamma^{*} } }} {f_{{\Gamma^{*} ,ARD}}^{2} } }$$
(17)

in order to compare both results. The overall level of absolute relative deviation is much higher for the adsorption results, with a minimum of \(f_{{\Gamma^{*} ,ARD}} \sim {0}{\text{.38}}\), while the surface tension results are \(f_{{\gamma^{*} ,ARD}} \sim 0.03\).

The very well-defined optimum surface tension valley has an intersection at an acceptably low level of adsorption deviation at \(B = 1.0,C = 15.5\). To approach the best combinations, the deviations are plotted in the objective function space, Fig. 4. The surface tension results are on the x-axis and the adsorption results on the y-axis. The ideal parameter combination should lead to a point close to the origin of the coordinates that has the lowest deviation in both, surface tension and adsorption.

Fig. 4
figure 4

For each investigated parameter set for the density dependent influence parameter the deviation of the adsorption calculations is plotted over the deviation of the surface tension in the objective function space as gray filled circle. The orange circles represent deviation within the limit of \(f_{{\gamma^{*} }} < 0.1\). The non-dominated points are marked with thicker, blue circles (Color figure online)

In order to maintain a high level of accuracy in the surface tension calculations, an arbitrary limit is set at a deviation of \(f_{{\gamma^{*} }} = 0.1\). This is shown in Fig. 4, where only the orange (light-colored) parameter sets are further considered. The non-dominated points are selected manually, and highlighted by rings around the circles in Fig. 4. They are additionally depicted in Fig. 5, when the approximation to the pareto front is shown.

Fig. 5
figure 5

The non-dominated points in the objective function space. The two further investigated parameter sets, C = − 7.5, B = 11.0 and C = 15.5, B = 1.0 are dark circled. The constant influence parameter is shown as gray diamond (Color figure online)

The deviation from the MD data [12, 48] calculated with the constant influence parameter is depicted as a diamond in Fig. 5. It has a larger deviation for adsorption but at the same time the lowest for surface tension. The constant influence parameter is also an optimized parameter combination since it is part of the non-dominated points in the objective function space.

Two parameter combinations of the obtained non-dominated points are further studied. They are marked with the blue circles in Fig. 5. The combination that shows the highest accuracy in surface tension and an increase of accuracy in adsorption is Eq. 18. This is further referred to as parameter set \(\alpha\).

$$\kappa^{*} = - 7.5c^{*2} + 11c^{*}$$
(18)

In terms of surface tension, this set of parameters represents the optimal area in Fig. 2. It is perfectly situated in the middle of the valley, moreover in the deepest spot. In contrast, these parameters do not ideally reflect the adsorption. It is far outside the ideal area in Fig. 3.

The parameters of Eq. 19 are chosen, as they show low deviation in both, surface tension and adsorption and correspond to the intersection of the optimal areas in Figs. 2 and 3. This is also the inflection point of the non-dominated points in the objective function space (Fig. 5). It is further referred to as parameter set \(\beta\).

$$\kappa^{*} = 15.5c^{*2} + c^{*}$$
(19)

This parameter set shows better results for adsorption. Parameter set \(\beta\) is the last one on the pareto front with an average deviation of \(\gamma^{*}\) below 2.5 %. Although there are many further possible optimized parameter sets, with better results in adsorption, the ability to calculate surface tension should not be lost, therefore no other parameter sets are further investigated in this contribution. The cut-off at the deviation of 2.5 % is chosen somewhat arbitrarily, as all solutions on the Pareto front are optimal. It roughly corresponds to an uncertainty of 1 mJ∙m−2 for real substances in a medium surface tension range.

3.2 Surface Tension

In Fig. 6, the surface tension results are plotted in the upper part, with the MD data as black markers, the constant influence parameter as gray dash-dotted line, the parameter set \(\alpha\) as orange line and \(\beta\) as dashed blue line. Additionally, the relative deviation from the MD data are shown in the lower part, with the parameter set \(\alpha\) as orange dots, the parameter set \(\beta\) as blue squares. Also, the deviation in surface tension of the constant influence parameter is depicted as diamonds to compare the achieved level of accuracy. The deviation of DGT data originates from the MD data, otherwise the DGT data would not show any error bars. The detailed surface tension results are shown in Appendix B.

Fig. 6
figure 6

In the upper half, the surface tension calculated with MD (black markers) and DGT (lines) is shown. The constant influence parameter is plotted as a gray dash-dotted line, parameter set \(\alpha\) as orange, line and \(\beta\) as blue, dashed line. In the lower half, the deviation of the DGT in comparison to the MD data from [48] (dotted zero line) is shown at different temperatures of the two further investigated density dependent influence parameter (\(\alpha\) as orange circles, \(\beta\) as blue squares and the constant influence parameter as gray diamonds) (Color figure online)

The constant influence parameter originates from surface tension data only [50], therefore these results are difficult to surpass with another approach for the influence parameter. However, the parameter set \(\alpha\) (orange, light color, circles) shows, as to be expected from Fig. 5, the same behavior as the constant influence parameter with only small deviations from the MD data in Fig. 6. The zero line in the lower part is mostly within the error bars at all temperatures. The deviation is very small \(\left( { < 5\,\% } \right)\), except at \(T^{*} = 1.0\). The parameter set \(\beta\) is shown in blue (dark color, squares). Overall, it shows a higher deviation from the MD data. At low temperatures, the surface tension is similar to the MD data, but already at \(T^{*} = 0.75\) the parameter set \(\beta\) shows significantly lower surface tension results. The deviation of the parameter set \(\beta\) increases significantly up to \(10\,\%\). At the highest temperature, \(T^{*} = 1.05\), the surface tension result of parameter set \(\beta\) even deviates up to \(20\,\%\), however, the absolute error at this temperature is only \(\Delta \gamma_{{T^{*} = 1.05}}^{*} = 0.006\). The density profiles are shown in Appendix D.

3.3 Adsorption

Figure 7 exemplarily shows the normalized density profiles. They are normalized by dividing the density by the maximum density of the MD data of each potential and shifted for better display. The profiles calculated with MD (circles), with DGT with the constant influence parameterFootnote 3 (dash-dotted line) and DGT with a density dependent influence parameter, \(A\) (line) and \(B\) (dashed) for the LJTS 10–4–3 wall potential at \(T^{*} /T_{c}^{*} = 0.8\) with \(\varepsilon_{sf}^{*} = 0.3\) (yellow), \(\varepsilon_{sf}^{*} = 0.514\) (orange), \(\varepsilon_{sf}^{*} = 0.75\) (blue) and \(\varepsilon_{sf}^{*} = 2.0\) (dark blue). The bulk densities are all around \(c_{bulk}^{*} \sim 0.02\).

Fig. 7
figure 7

Normalized density profiles of the adsorption at \(T^{*} /T_{c}^{*} = 0.8\). The solid is described by a LJTS potential. The MD data are plotted as circles, with dotted lines as a guide to the eye, the constant influence parameter as dash-dotted line and the density dependent influence parameter sets \(\alpha\) as line and \(\beta\) as dashed line. The lowest surface energy \(\varepsilon_{sf}^{*} = 0.514\) represented by the yellow plots at \(c_{bulk}^{*} = 0.0226\), which are multiplied by 2.5. The surface energy of \(\varepsilon_{sf}^{*} = 0.514\) at \(c_{bulk}^{*} = 0.02157\) are the orange ones, the blue plots correspond to \(\varepsilon_{sf}^{*} = 0.75\) at a bulk density of \(c_{bulk}^{*} = 0.01887\), and the dark blue one are multiplied with 0.25 at a surface energy of \(\varepsilon_{sf}^{*} = 2.0\) with a bulk density of \(c_{bulk}^{*} = 0.0239\). The data are shifted by 0.0, 1.5, 3.0, 4.5, respectively (Color figure online)

In general, DGT with a constant influence parameter underestimates adsorption. Close to the solid, there is first neither a sharp nor a rapid increase of the fluid density but a slow rise with a very slow decay afterwards. For all conditions studied, the DGT with a constant influence parameter calculates much lower values for the surface excess than with a density dependent influence parameter. The adsorption profiles obtained from the density dependent influence parameter show larger and broader increases in surface excess, but always only one peak, as is to be expected. The peak height is limited by the hard sphere reference of the EOS, i.e., the packing fraction \(\eta\) cannot be greater than one. This is illustrated by the dotted line in Fig. 7 for \(\varepsilon_{sf}^{*} = 2.0\)., where the MD data show packing fractions larger than 1.

In the MD data, only one peak is generally found in the adsorption profiles at low fluid bulk densities, which increases at higher densities. This describes the presence of a monolayer, while a further increase in density results in multilayer formation. Moreover, at larger fluid densities a second or even third peak occurs in the MD data. This reflects the different behaviors of gas phases interacting with a surface, where further aggregation might take place at the adsorbate layer itself.

All the DGT data in Fig. 7 exhibit an increase of density near the wall, the extent of which depends on the bulk density. Despite the difference of the overall shape between the DGT and MD, the total surface excess looks similar as the best DGT curves appear to represent the sum of all peaks.

The more informative representation of the adsorption results are the adsorption isotherms. The isotherms result from the other investigated bulk densities, temperatures, and wall potentials. The solid lines correspond to the density dependent parameter set \(\alpha\), the dashed lines represent the parameter set \(\beta\) and the dash-dotted line the constant influence parameter, the square markers the MD data. Different comparisons of the isotherms are shown Figs. 8, 9, and 10.

Fig. 8
figure 8

Adsorption isotherms of the LJTS 10–4–3 potential with \(\varepsilon_{sf}^{*} = 0.514\) at \(T^{*} /T_{c}^{*} = 0.8\) (orange) in comparison to \(T^{*} /T_{c}^{*} = 1.1\) (blue). The MD data are plotted as squares, the constant influence parameter as dash-dotted line, the parameter set \(\alpha\) as line and \(\beta\) as dashed line (Color figure online)

Fig. 9
figure 9

Adsorption isotherms of the LJTS 10–4–3 potential (orange) in comparison to the LJ-10–4–3 potential (blue) at \(T^{*} /T_{c}^{*} = 0.8\) with \(\varepsilon_{sf}^{*} = 0.514\). The MD data are plotted as squares, the constant influence parameter as dash-dotted line, parameter set \(\alpha\) as line, and \(\beta\) as dashed line (Color figure online)

Fig. 10
figure 10

Adsorption isotherms of the LJTS 9–3 potential (orange) in comparison to the LJ-9–3 potential (blue) at \(T^{*} /T_{c}^{*} = 0.8\) with \(\varepsilon_{sf}^{*} = 0.514\). The MD data are plotted as squares, the constant influence parameter as dash-dotted line, the parameter set \(\alpha\) as line and \(\beta\) as dashed line (Color figure online)

Figure 8 depicts the adsorption isotherms of the LJTS potential with \(\varepsilon_{sf}^{*} = 0.514\) at different temperatures, one smaller than the critical temperature, one higher.

Using the density dependent influence parameter results in a huge increase in precision compared to the constant one (dash-dotted lines). At \(T^{*} /T_{c}^{*} = 0.8\), all isotherms, the MD data, the constant influence parameter and the density dependent influence parameter show the same curvature. The curvature of the MD data for \(T^{*} /T_{c}^{*} = 1.1\) is unclear due to large error bars. While it may look more likely than not that there is a wetting transition in between the two temperatures, which would result in a change of curvature, the data are not fully conclusive. If there is indeed a wetting transition and taken together with the good result for surface tension over the whole temperature range, the temperature independence of \(\kappa^{*}\) seems likely to be a good approximation. However, since the data are not conclusive, no definite answer can be given with regard to this. Over the entire pressure range, the parameter set \(\beta\) is a better representation of the MD data, but at low pressures, the parameter set \(\alpha\) is a more accurate calculation of the surface excess.

In Figs. 9 and 10 the adsorption isotherms for different potential types are shown, LJ/LJTS 10–4–3 and LJ/LJTS 9–3, respectively.

While in Fig. 9, the adsorption isotherms are both best described by the parameter set \(\beta\) of the density dependent influence parameter, in Fig. 10 the MD data are best described by the parameter set \(\alpha\). Common to both is that the constant influence parameter again reflects the adsorption poorly. Fig. 11 compares the adsorption isotherms of the LJTS 10–4–3 potential at different surface energies at \(T^{*} /T_{c}^{*} = 0.8\). The surface excess is plotted on a logarithmic scale.

Fig. 11
figure 11

Adsorption isotherms of the LJTS 10–4–3 potential at \(T^{*} /T_{c}^{*} = 0.8\) and different surface energies, \(\varepsilon_{sf}^{*} = 0.3\) (yellow), \(\varepsilon_{sf}^{*} = 0.514\) (orange), \(\varepsilon_{sf}^{*} = 0.75\) (blue) and \(\varepsilon_{sf}^{*} = 2.0\) (dark blue). The MD data are plotted as squares, the constant influence parameter as dash-dotted line, the parameter set \(\alpha\) as line and \(\beta\) as dashed line (Color figure online)

The parameter set \(\alpha\) (line) can calculate the lowest surface energy of \(\varepsilon_{sf}^{*} = 0.3\) with acceptable accuracy, also the lower two pressures for \(\varepsilon_{sf}^{*} = 0.514\). At greater surface energies, it underestimates the surface excess. With the parameter set \(\beta\), the adsorption isotherms at low surface energies are slightly overestimated, but can be computed up to \(\varepsilon_{sf}^{*} = 0.75\) at low pressures. None of the investigated density dependent influence parameter sets can correctly calculate the adsorption isotherms at \(\varepsilon_{sf}^{*} = 2.0\). Although the qualitative shape of the isotherm is similar, the surface excess is always underestimated with DGT. Again, the constant influence parameter reflects the adsorption very poorly, as all dash-dotted curves are at far lower surface excess values.

4 Conclusions

The aim of this contribution is to modify the influence parameter of the DGT, to calculate both, surface tension between fluids and adsorption between gases and solids with the same model. To optimize \(\kappa^{*} \left( {c^{*} } \right)\) the parameters of the second order polynomial density relation of the influence parameter are systematically varied, obtaining non-dominated points. The constant influence parameter is also part of them, with the lowest deviation in surface tension and the highest in adsorption. Two sets of optimized parameters are examined in more detail in comparison to the constant influence parameter and the MD data from Liu et al. [12] and Vrabec et al. [48] in terms of adsorption and surface tension.

Calculation of surface tension data with the same degree of accuracy as the constant influence parameter is possible, especially with the parameter set \(\alpha\). Increased accuracies in adsorption are reached with the density dependent influence parameter. It is shown that DGT with PeTS-EOS [50] cannot calculate the adsorption data for higher surface energies, because it is limited by the largest hard sphere packing fraction in the local hard sphere term. Therefore, the application of the DGT is also limited to small surface energies, \(\varepsilon_{sf}^{*} = 0.3\) and \(\varepsilon_{sf}^{*} = 0.514\).

The parameter set \(\alpha\), \(\kappa^{*} = - 7.5c^{*2} + 11.0c^{*}\), reaches nearly the same precision in surface tension as the constant influence parameter. The accuracy of adsorption calculations is increased, therefore, especially at low pressures and for the low surface energies, this density dependent influence parameter set should be used.

The obtained density dependent relation of the influence parameter has advantages over previously known constant values, as it is possible now, to calculate both, surface tension and adsorption, with the same expression for the influence parameter. DGT with a density dependent influence parameter is a competitive method to compute adsorption isotherms and surface tension, since the computational effort is low and the calculations are very fast. The accuracy of the calculation is highly increased, especially for the adsorption.