2026 Volume 39 Issue 4
Article Contents

Qian Zhang, Hang Su, Zhangzhong Yuan, Zhen Li, Hui Zeng, Wenyue Guo, Hao Ren. Statistical and Molecular Perspectives on Foam Stability: Structure-Property Relationships of Trimethylammonium Bromide at Interfaces[J]. Chinese Journal of Chemical Physics, 2026, 39(4): 557-569. doi: 10.1063/1674-0068/cjcp2508108
Citation: Qian Zhang, Hang Su, Zhangzhong Yuan, Zhen Li, Hui Zeng, Wenyue Guo, Hao Ren. Statistical and Molecular Perspectives on Foam Stability: Structure-Property Relationships of Trimethylammonium Bromide at Interfaces[J]. Chinese Journal of Chemical Physics, 2026, 39(4): 557-569. doi: 10.1063/1674-0068/cjcp2508108

Statistical and Molecular Perspectives on Foam Stability: Structure-Property Relationships of Trimethylammonium Bromide at Interfaces

  • Corresponding author: E-mail: renh@upc.edu.cn
  • Received Date: 06/08/2025
    Available Online: 27/08/2026
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Figures(6)  /  Tables(4)

Article Metrics

Article views(176) PDF downloads(0) Cited by(0)

Access History

Statistical and Molecular Perspectives on Foam Stability: Structure-Property Relationships of Trimethylammonium Bromide at Interfaces

Abstract: Foams stabilized by surfactants play a pivotal role in industry, daily life, and fundamental research. However, the molecular mechanisms governing foam stability, particularly the interplay between surfactant structure and interfacial behavior, remain incompletely understood. Using molecular dynamics combined with advanced statistical analyses, we systematically explored the effects of alkyl trimethyl ammonium bromide (CnTAB) surfactants on the stability of foam film across a range of chain lengths and coverages. Our approach incorporated parallel simulations to ensure robust evaluation of fluctuating properties and employed methods such as sigmoid fitting and kernel density estimation to extract detailed insights into interfacial characteristics. The results reveal that increasing surfactant coverage significantly reduces interfacial tension via enhanced molecular packing, while chain length primarily influences structural properties, such as Gibbs dividing surface thickness and molecular orientation. Longer chains, particularly at high coverage, promote denser packing and resist penetration into the aqueous phase due to steric hindrance and hydrophobic interactions. These findings provide a molecular-level understanding of surfactant-stabilized interfaces and establish a robust framework for analyzing interfacial systems, offering insights for optimizing foam formulations in industrial applications.

    • Foams are extensively utilized in diverse industries, including firefighting [1], flotation [2], enhanced oil recovery [3, 4], construction [5], and food processing [6], due to their low density and large specific surface area. Although foams are intrinsically metastable and eventually separate into gas and liquid phases, this metastability can be either advantageous or disadvantageous depending on the application. For certain uses, long-lasting foams are desirable, while in others, rapid and controllable foam collapse is preferred. Such aging processes, involving liquid drainage, bubble coarsening and coalescence, ultimately govern foam behavior [7−9]. To influence these characteristics, surfactants are commonly introduced into aqueous solutions: they lower interfacial tension and enhance interfacial viscoelasticity, thereby improving foam stability when needed [10]. Owing to their amphiphilic nature, with hydrophilic heads and hydrophobic tails, surfactants arrange in ordered structures at interfaces [11]. The employment of microscopic interferometry to investigate foam film formation, stability, and thickness [12, 13], has led to the advancement of micro-foam film techniques, significantly improving our understanding of foam film behavior [14, 15].

      The mechanisms governing foam collapse, both in the presence and absence of surfactants, have been extensively examined. Surfactants are known to reduce interfacial tension, regulate interfacial tension gradients, and enhance foam stability [16]. Various experimental and computational approaches have been employed to investigate surfactant-containing foam systems. With advancements in computational theory and computing power, molecular simulations are increasingly used to elucidate these interfacial phenomena [17, 18]. Studies have shown that the molecular structure of surfactants influences foam stability. For example, rigid linking groups favor static stability by enhancing film viscoelasticity [19]. Additionally, an increase in surfactant concentration or modifications to environmental conditions—such as lower temperatures or higher pressures—can further decrease interfacial tension and improve foam stability, a factor critical for applications like firefighting and $ {\mathrm{C}\mathrm{O}}_{2} $ storage [20]. Lengthening the alkyl chains of surfactants strengthens intermolecular interactions, leading to tighter molecular packing and reduced gas diffusion, thereby stabilizing liquid films [21]. Overall, these findings demonstrate that surfactants, through their molecular topologies and self-assembled interfacial structures, can significantly enhance both the thermodynamic and dynamic stability of foam systems.

      A deep understanding of the molecular mechanisms by which surfactants stabilized foams is crucial, particularly the impact of surfactant structure and adsorption behavior on foam stability. Alkyltrimethylammonium bromide (CnTAB), a cationic surfactant, has been shown to exhibit superior foam stability compared to nonionic surfactants in experiments [22]. By reducing interfacial tension and forming more stable foams near its critical micelle concentration, CnTAB demonstrates significant potential in applications such as enhanced oil recovery. However, CnTAB-stabilized foams are not immune to coarsening processes [23]. Over times, bubbles evolve from their initial spherical shapes to polygonal forms with considerable growth in bubble size, ultimately compromising foam stability. In blended systems, CnTAB primarily establishes the initial foam structure. While increasing concentration, it initially enhances foam stability and foamability, further increasing beyond a certain threshold yield, diminishing returns [24].

      While the relationship between surfactants and foam stability is well-documented experimentally, several key phenomena remain insufficiently understood at the molecular level. Elucidating the microscopic mechanisms and interaction patterns within surfactant-stabilized foams poses significant challenges. Molecular dynamics (MD) simulations are able to provide valuable insights into the thermodynamic and structural behavior of surfactants [11, 25−28]. In this study, we employed all-atom MD simulations to investigate the structure-property relationships of CnTAB-stabilized foam films under controlled conditions. This approach allowed us to assess the interfacial characteristics in both critical [15, 29] and metastable [30, 31] states, as well as to identify key factors governing film stability and self-assembly at interfaces [32]. Through this systematic analysis, we elucidate the interplay of alkyl chain length, surfactant concentration and coverage, and foam stability, providing molecular-scale insights into the mechanisms underlying surfactant-stabilized interfaces.

    II.   COMPUTATIONAL DETAILS
    • An aqueous film was constructed at the center of a simulation box with dimensions of 10 nm × 10 nm × 16 nm, as shown in FIG. 1(a). The number of water molecules (${n}_\text{W}$) in the film with cross-section area $ A $ and height $ h $ is given by ${n}_\text{W} = \dfrac{\rho Ah{N}_\text{A}}{{M}_\text{W}}$, where $ \rho $ is the density of the aqueous phase, and ${M}_\text{W}$ is the molecular weight of water. A total of $ m $ CnTAB molecules (m=10, 40, 70, 100, 150, 200; n=8, 10, 12, 14, 16 as shown in FIG. 1(b)) were then randomly placed on each side of the water film with an area per molecule (APM) of 1000, 250, 142.9, 100, 66.7, 50 Å2·$ {\mathrm{m}\mathrm{o}\mathrm{l}\mathrm{e}\mathrm{c}\mathrm{u}\mathrm{l}\mathrm{e}}^{-1} $, respectively. The simulation systems were then neutralized by adding an appropriate number of $ \mathrm{B}{\mathrm{r}}^{-} $ anions.

      The CnTAB molecules were described by the optimized potentials for liquid simulations-all atom (OPLS-AA) force field [33−35], generated by the LigParGen tool [36]. The atomic charges were evaluated with Restrained ElectroStatic Potential (RESP) method [37] implemented in the Multiwfn package based on ab initio electrostatic potentials at the B3LYP/6-31G(d) [38, 39] level of theory. The simple extended point-charge (SPC/E) model [40−42] was employed for water molecules. This combination of computational methodologies has exhibited good performance in previous studies [43].

      All MD simulations were performed using the GROMACS 2022.5 package [44]. The long-range electrostatic and van der Waals interactions were accounted using the Particle Mesh Ewald (PME) method [45] and the Lennard-Jones potential, both with a cut-off radius of 1.0 nm. The simulation temperature was controlled at 300 K using the Berendsen thermostat. All simulation trajectories were visualized using the Visual Molecular Dynamics (VMD) package [46].

      Due to computational constraints, all-atom MD can not capture full drainage dynamics (which typically span micro- to milli-second timescales). Instead, we constructed a series of quasi-static film systems with varying thickness (0.5−1.5 nm), providing representative snapshots of the molecular response during drainage.

      The critical thickness (${h}_\text{ct}$) of a liquid film is a fundamental parameter for evaluating foam stability, initially introduced by Scheludko as the minimal thickness at which a liquid film remains intact [12, 13]. To determine ${h}_\text{ct}$ using molecular dynamics simulations, Yang et al. prepared films with a range of initial thicknesses, and measured the likelihood of rupturing a fixed equilibration period by running multiple parallel simulations. Under the assumption of a linear relationship between thickness and rupture probability, they identified the critical thickness as the point at which the rupture probability is 50% [47]. However, our previous work showed that this correlation is inherently nonlinear. To account for this, we used a nonlinear sigmoidal regression [43] (FIG. 2(a)).

      where ${N}_\text{tot}$ is the number of parallel simulations at a given initial thickness $ h $, and $ a $ and $ b $ are fitting parameters. By using this model, we defined $ h_{\text{ct}} $ as the thickness at which $ S\left(h_{\text{ct}}\right)=N_{\text{tot}}/2 $, corresponding to a 50% rupture probability. In practice, we varied the initial thickness in increments of 0.01 nm, and for each thickness, we conducted 10 parallel simulations, each including a 200 ps NVT pre-equilibration followed by an 8 ns NVT equilibration.

      For metastable films, defined as films significantly thicker than those in the critical state, 5 nm-thick aqueous phase was constructed within the foam system. The simulation began with energy minimization with a tolerance of total energy change of 1000 kJ/mol to eliminate problematic conformations. This was followed by a 1 ns NVT pre-equilibration to stabilize the structure, and subsequently, a 16 ns NVT production simulation was conducted. Convergence tests (FIG. S1 in Supplementary materials, SM) confirmed that 17 ns of equilibration was sufficient to ensure statistical stability in interfacial properties assessed in this work. The time step for the simulations was set to 2 fs, with trajectory data recorded at 2 ps intervals. The Verlet algorithm [48] was used for trajectory integration. Among them, the term “metastable state” explicitly refers to quasi-equilibrium snapshots of foam films at intermediate, fixed thickness rather than dynamic metastability or rare-event transitions. Standard equilibrium MD is sufficient and appropriate for assessing these equilibrium molecular structures and interactions.

    III.   RESULTS AND DISCUSSION
    • It is widely recognized that surfactants stabilize liquid films by reducing interfacial tension, which counteracts the cohesive interactions among water molecules. In this study, the effects of alkyl chain length in CnTAB on foam stability were systematically evaluated under both critical and metastable conditions.

    • The critical state refers to the set of conditions under which a liquid film exhibits a non-zero probability of rupture during the simulation. This state is characterized by an interval of film thicknesses where rupture becomes statistically probable. Thinner films within this range exhibit higher rupture probabilities, with the critical thickness— previously defined as the initial film thickness corresponding to a 50% rupture probability—lying within this interval (FIG. 2(a) and FIG. S6 in SM). The critical state reflects the transition between stable (or metastable) films and configurations prone to collapse, providing insights into the film’s stability dynamics under the given simulation constraints.

      A liquid film naturally tends to adopt a spherical shape to minimize surface energy due to the strong cohesive interactions among water molecules. However, this collapse into spherical or cylindrical shapes can be counteracted by effects such as geometric constraints and disjoining pressure. In this work, periodic boundary conditions were applied to maintain the film over a $ 10\times 10 $ nm2 area, simulating the geometric constraints experienced by a small patch of a macroscopic foam film. In the presence of surfactants, apart from their influence on interfacial tension, their adsorption at the interfaces results in the accumulation of net charges on the film surfaces. These charges generate repulsive forces that prevent further thinning, thereby stabilizing the film.

      FIG. 2(a) illustrates the details of the sigmoid fitting of critical thickness (${h}_\text{ct}$). For each initial film thickness, we recorded the number of survived films (black squares) from the MD equilibration out of 10 parallel simulations. A sigmoid fitting (red line) was then applied to the correlation between rupture probability and initial thickness. The ${h}_\text{ct}$ was then identified as the initial thickness at which the film has a 50% probability of rupture. Due to the statistical nature of the determination of ${h}_\text{ct}$, we also calculated the 95% confidence interval (light red shading) to ensure the following comparisons are statistically meaningful. FIG. 2(b) and Table I depict the ${h}_\text{ct}$ of films stabilized by CnTAB with varying alkyl chain lengths, n=8, 10, 12, 14, and 16, at different interface coverages, i.e., the number of surfactant molecules at each side of the film, m=10, 40, 70, and 100. The 95% confidence intervals were denoted by the error bars at each ${h}_\text{ct}$. The ${h}_\text{ct}$ of neat water at the same condition was also plotted as the black dashed line (${h}_\text{ct} = 1.38$ nm) for comparison.

      A smaller ${h}_\text{ct}$ indicates that the film can maintain its 2D morphology with fewer water molecules, suggesting a stronger film-stabilizing ability of the surfactant. As shown in FIG. 2(b), the alkyl chain length of the surfactants has a negligible effect on ${h}_\text{ct}$, while increasing surfactant concentration significantly reduces it. Specifically, the critical thickness decreases to approximately 1.30, 1.09, 0.88, and 0.72 nm for systems with 10, 40, 70, and 100 CnTAB molecules per surface, respectively, all of which are thinner than that of neat water.

      The weak dependence of critical thickness on alkyl chain length can be attributed to the limited film dimension in the normal direction. As shown in FIG. S6 (SM), film thicknesses assessed in the presence of CnTAB ranged from 0.5 nm to 1.5 nm. Given that the length of the alkyl chains varies between 1.0 and 2.0 nm, it is not likely for the hydrophobic chains to extend into the aqueous phase. As a result, the water film remains largely unperturbed by the hydrophobic portions of the surfactant molecules.

      In contrast, the positively charged hydrophilic heads of CnTAB molecules adsorb at the two interfaces, leading to the accumulation of net positive charges on the film surfaces. This charge accumulation generates a strong electrostatic repulsion that counteracts film collapse and enhances stability. Approximating the system as a pair of parallel charged slabs, the repulsive force is proportional to the square of the surface charge density and independent of the slab separation. Therefore, the improvement of film stability, i.e. the lowering of the critical thickness, as observed in higher concentration systems, can be attributed to the accumulation of net surface charges, which maintains the film in critical states.

      Based on the surface-charge-repulsion mechanism of film stabilization, film collapse is more likely to initiate in regions with low surfactant coverage, where surface repulsion would be insufficient to counterbalance water cohesion. As shown in FIGs. S2−S5 (SM), the collapse process often initiates in regions where hydrophilic headgroups (blue dots) are sparsely distributed. In these areas, the weaker hydration interactions allow water to deplete more easily, while the aggregation of hydrophobic tails further promotes local thinning of the aqueous layer. This cooperative effect leads to cavity formation and ultimately results in film rupture.

    • Metastable states represent films that persist in a relatively stable but non-equilibrium configuration over a finite period. These films are significantly thicker than those in the critical state and exhibit slower rupture dynamics. Understanding the behavior of metastable films is crucial for evaluating the long-term stability of foam systems. Assessing the surface and interface characteristics of films during their early evolution stages, i.e. metastable states, provides valuable insights into their stability mechanisms.

    • For model metastable states, we constructed film systems with a central water phase of 5 nm initial thickness, ensuring the films remained stable throughout the simulations. CnTAB molecules were used to stabilize the films, with varying alkyl chain lengths (as in the previous section) and surface coverages of m=10, 40, 70, 100, 150, and 200. Each system underwent a 1 ns pre-equilibration followed by a 16 ns NVT production simulation. This simulation duration ensured convergence of physical quantities, even for those with significant fluctuations.

      FIG. 3 depicts the interfacial tension ($ \gamma $) of the CnTAB stabilized films in metastable states. The interfacial tension is evaluated as

      where $ {L}_{z} $ is the z direction size of the box, and $ {\langle P}_{\mu \mu }\rangle $ is the time average of the $ \mu \mu $-component of the pressure tensor, where μ=x, y, z, given as the difference between kinetic and virial terms,

      which corresponds to the thermal fluctuations and interactions between particles, respectively. The bold and error bars in FIG. 3 represent the mean and standard deviation of interfacial tensions calculated from 10 parallel simulations. These data are also listed in Table II.

      This expression yields the total mechanical tension across the surfactant-water and surfactant-gas interfaces in the foam film model. Film thickness analysis (Table S1 in SM) confirmed that these interfaces remain flat and aligned normal to the z-axis, validating the applicability of the equation. We hence refer to the calculated value as “foam film tension” to distinguish it from the classical interfacial tension for a single interface.

      In the presence of surfactants, all film systems exhibited lower interfacial tensions compared to neat water (56.29$ \pm $1.70 $ \mathrm{mN\cdot m}^{-1} $, dashed line in FIG. 3), which agrees with previous reports [49]. The interfacial tension of surfactant-stabilized films decreases monotonically with increasing surfactant concentration ($ m $) for all chain lengths, as shown in FIG. 3. This trend indicates that higher coverage of surfactants more effectively stabilizes the liquid−gas interface. To further validate our results, we compared the simulated interfacial tensions with available experimental data. As shown in FIG. S7 (SM), both datasets exhibit the same decreasing trend with increasing surfactant concentration, underscoring the reliability of our simulation approach. More detailed comparison and discussion are provided in SM.

      Underlying this macroscopic behavior is the interplay of pressure tensor components (FIG. S8 (SM) and Table S2 (SM)). The normal component ($ {P}_{zz} $) decreases (becomes more negative) monotonically with $ m $, reflecting stronger cohesive interactions in the $ z $-direction. For instance, for n=8, $ {P}_{zz} $ changes from −20.07 bar at m=10 to −39.17 bar at m=200. In contrast, the tangential components ($ {P}_{xx} $ and $ {P}_{yy} $) exhibit a more complex pattern: for shorter chains (n=8, 10), they increase (becomes less negative) monotonically; for example, $ {P}_{xx} $ changes from −89.66 bar at m=10 to −81.23 bar at m=200, for C8TAB stabilized films. But for longer chains (n=12, 14, 16), $ {P}_{xx} $ and $ {P}_{yy} $ first decrease as $ m $ increases from 10 to 100, for example, $ {P}_{xx} $ drops from −90.36 bar to −97.74 bar, and then increase from m=100 to m=200, reaching −91.41 bar.

      At the molecular level, the behavior of $ \gamma $ is governed by the balance of thermal fluctuations (kinetic terms) and interparticle interactions (virial terms), which together determine the pressure tensor components. As $ m $ increases, the kinetic terms ($ {E}_{xx}^{k} $, $ {E}_{yy}^{k} $, $ {E}_{zz}^{k} $) increase almost linearly across all chain lengths (FIG. S8 in SM). For example, $ {E}_{zz}^{k} $ increases from 42735(43149) kJ/mol at m=10 to 56312(66253) kJ/mol at m=200 for n=8(16), reflecting enhanced particle density at constant temperature. In contrast, the virial terms ($ {V}_{xx} $, $ {V}_{yy} $, $ {V}_{zz} $) —which reflect cohesive interactions— also increase monotonically, but depend on the chain length at different rates. The sharp increase in $ {V}_{zz} $ with $ m $, for example, reflects stronger head-group interactions and confinement effects in the z-direction, dominating the behavior of $ {P}_{zz} $. For $ {V}_{xx} $ and $ {V}_{yy} $, the monotonic increase is more gradual, particularly at high $ m $ for longer chains ($n \ge 12$), where steric hindrance limits efficient packing.

      These molecular-level changes lead to distinct behaviors in the pressure components. The monotonic decrease in $ {P}_{zz} $ is driven by the faster increase in $ {V}_{zz} $ compared to the kinetic contribution, reflecting the dominance of head-group cohesion and aqueous phase compression in the normal direction. In the tangential directions, $ {P}_{xx} $ and $ {P}_{yy} $ increase for short chains as $ m $ rises, due to enhanced chain−chain interactions. For longer chains, $ {P}_{xx} $ and $ {P}_{yy} $ show non-monotonic behavior: they initially decrease at low to moderate $ m $ as chain packing strengthens van der Waals attractions, then increase at high $ m $ due to steric effects limiting efficient packing. These variations in pressure components collectively lead to the monotonic decrease in $ \gamma $ with $ m $ across all chain lengths, as shown in FIG. 3, where the reduction in $ {P}_{zz} $ outweighs the tangential effects.

      The interfacial tension of surfactant-stabilized films exhibits a distinct dependence on the alkyl chain length ($ n $) of the surfactants, also shown in FIG. 3. For low surfactant coverage (m=10), $ \gamma $ shows negligible dependence on chain length and remains close to the neat water reference. At moderate coverage (m=40, 70, 100), $ \gamma $ increases monotonically with chain length, while for high coverage (m=150, 200), a non-monotonic trend is observed: $ \gamma $ is the highest for the shortest (n=8) and longest (n=16) chains, and lower for intermediate chain lengths (n=10, 12, 14), forming a distinct minimum. This complex behavior also arises from the interplay between interparticle interactions and thermal fluctuations, which are reflected in the virial and kinetic contributions to the pressure tensor components (FIG. S8 (SM) and Table S2 (SM)).

      The kinetic terms, representing the contributions of thermal fluctuations, display relatively simple patterns compared to the virial terms (FIG. S8 in SM). Across all surfactant coverages, the kinetic terms increase linearly with chain length, consistent with the increased number of degrees of freedom and particle density as the chain grows longer. The normal kinetic term is consistently higher than the tangential components, reflecting the anisotropy of the system: stronger thermal fluctuations occur in the direction perpendicular to the film surface due to the confined nature of aqueous phase.

      At low to moderate coverage ($m \le 100$), the tangential kinetic terms show a marginally steeper slope than the normal components. This suggests the increase of thermal motion is slightly stronger parallel to the interface, because of sufficient freedom of movement in the tangential directions. At m=150, the growth of the normal and tangential kinetic terms become nearly identical; while at m=200, the tangential contributions increases slower than the normal components. The slower increase in kinetic terms parallel to the interface can be attributed to the insufficient space allowing the free movement of longer chains at high coverage.

      On the other hand, the virial terms, which capture the cohesive interactions between particles, exhibit more complex behavior, particularly at high surfactant coverage. Across all coverages, the normal virial term increases linearly with chain length, reflecting stronger cohesive interactions along the z-direction as the chain grows longer. Similarly, the tangential virial term increases monotonically with chain length, although its rate of increase shows subtle variations depending on coverage, reflecting the evolving balance between chain−chain interactions and steric effects.

      At low to moderate coverage ($m \le 100$), the tangential terms increase at a comparable rate to the normal term, with the difference decreasing as coverage increases. At high coverage (m=200), the tangential terms also increase monotonically but exhibit nonlinear features as chain length grows: for short chains (n=8), they significantly exceed the normal term, reflecting enhanced chain−chain cohesion parallel to the interface; as chain length increases (n=10, 12), this difference diminishes due to improved packing; for long chains (n=14, 16) at m=100, cohesion becomes nearly isotropic at the interface, leading to same virial terms in the tangential and normal directions.

      The dependence of interfacial tension ($ \gamma $) on surfactant coverage and chain length arises from the interplay of cohesive forces (virial terms) and thermal fluctuations (kinetic terms). Increasing surfactant coverage enhances head-group and chain−chain interactions, driving a monotonic decrease in $ \gamma $ through strengthened cohesion in the normal direction and balanced tangential interactions. In contrast, the chain length dependence of $ \gamma $ is more nuanced. While kinetic terms contribute predictably and play a secondary role, virial terms dominate, with $ {V}_{zz} $ increasing linearly across all coverages and $ {V}_{xx} $/$ {V}_{yy} $ strengthening tangential cohesion. At high coverage, enhanced tangential cohesion for shorter chains and near-isotropic cohesion for longer chains lead to non-monotonic trends in $ \gamma $, forming a minimum at intermediate chain lengths. These findings reveal how molecular interactions and thermal fluctuations together dictate the interfacial tension behavior of surfactant-stabilized films.

    • Building on the analysis of interfacial tension, we further assessed the structural and dynamic properties of the surfactant-stabilized films to elucidate the molecular mechanisms underlying the interfacial behavior. This includes examining the density profiles of water and surfactants along the normal direction of the film (as shown in FIG. S9 (SM)), which provide insights into the Gibbs dividing surface (GDS) thickness (${h}_\text{GDS}$) and the effective film thickness (${h}_\text{eff}$). Additionally, we performed a statistical analysis of the tilting angles of the alkyl chains, offering a quantitative measure of chain orientation and alignment at the interface. Finally, we evaluated the probability of surfactant molecules penetrating the film and moving to the opposite interface, revealing how this dynamic behavior depends on the chain length and coverage. These analyses collectively deepen our understanding of the interfacial structure and dynamics of surfactant-stabilized films.

      In FIG. 4 (a) and (b), the water density exhibits a symmetric distribution about the center of film (z=0), with a maximum density close to 1000 g/L in the aqueous phase. The water density decreases gradually as it approaches the water−gas interface and drops sharply to zero upon crossing the interface. The surfactant molecules and $ \mathrm{B}{\mathrm{r}}^{-} $ anions are localized near the interface, where the density transition is fitted with a sigmoid function. The thickness of the GDS is defined as the z-range corresponding to water densities between 10% and 90% of the maximum density.

      The variation of ${h}_\text{GDS}$ and ${h}_\text{eff}$ with surfactant chain length ($ n $) and coverage ($ m $) are shown in FIG. 4(c, d) and Table III, respectively. The GDS thickness increases monotonically with $ n $ for all $ m $, with higher coverage amplifying this chain-length dependence. Conversely, the effective thickness decreases monotonically with $ n $ for all $ m $, with the steepest reduction observed at the highest coverage (m=200). These trends suggest a synergistic relationship between chain length and coverage in determining the structural characteristics of the interfacial region.

      The observed increase in ${h}_\text{GDS}$ with chain length and its amplification at higher coverage can be attributed to molecular interactions and structural organization at the interface. Longer alkyl chains increase van der Waals interactions among surfactant molecules, promoting a more compact and ordered interfacial layer. This ordered arrangement more effectively displaces water molecules from the interfacial region, broadening ${h}_\text{GDS}$. Additionally, the longer chains extend further into the hydrophobic region of the interface, increasing the spatial separation between water molecules in the bulk and the interfacial layer.

      At higher surfactant coverage, the increased head-group density amplifies these effects. Tightly packed head groups strengthen electrostatic interactions, which further structure the adjacent water layer. Additionally, closely packed alkyl chains experience steric interactions that restrict lateral mobility, promoting a more ordered and cohesive interfacial structure. These combined effects result in a sharper density gradient and an extended ${h}_\text{GDS}$ at high $ m $.

      The negative correlation between ${h}_\text{GDS}$ and ${h}_\text{eff}$ further reveals the structural reorganization within the film. As $ h\mathrm{_{GDS}} $ increases with $ n $ and m, water molecules are redistributed from the bulk region to the interfacial region. This is consistent with the constraint $2{h}_\text{GDS}+{h}_\text{eff} \approx {h}_{0}$, where $ {h}_{0} $ is the total film thickness. At high $ m $ and long chains (n=14, 16), ${h}_\text{eff}$ becomes significantly compressed, reflecting the dominance of the interfacial region in defining the film’s structural properties.

      These structural changes in ${h}_\text{GDS}$ and ${h}_\text{eff}$ directly relate to interfacial properties. The broader interfacial region observed at high $ n $ and $ m $ corresponds to enhanced cohesion and reduced interfacial tension, as shown in FIG. 3. This suggests that ${h}_\text{GDS}$ serves as a key metric for understanding and optimizing interfacial stability in surfactant-stabilized films.

    • Building on the analysis of interfacial distribution and density profiles, we now turn to the orientation and distribution of surfactant chains, characterized by the angle $ \theta $ between the chain and the tangential direction, as shown in FIG. 5. Smaller $ \theta $ values indicate chains lying flatter on the surface, while larger values represent more upright configurations. The distribution of $ \theta $ was fitted by the kernel distribution estimation (KDE) algorithm with a Gaussian kernel, where the peak position (${\theta }_\text{p}$, the most probable chain orientation) and the full width at half maximum (θFWHM, the variability in the angular distribution) can be directly evaluated (Table IV and FIG. S10 in SM).

      The peak positions and FWHM exhibit distinct trends with chain length and surfactant coverage. For all chain lengths, ${\theta }_\text{p}$ increases with m, indicating that chains become more upright as surfactant coverage rises. At low $ m $ (m=10, 40), ${\theta }_\text{p}$ decreases with n, reflecting a tendency for longer chains to lie closer to the surface. For example, at m=10, ${\theta }_\text{p}$ is 44.3193° for n=8 but only 22.5970° for n=16. At high $ m $ (m=150, 200), ${\theta }_\text{p}$ converges to a narrower range (54°−56°) across all chain lengths, suggesting a uniformly upright configuration under dense packing. On the other hand, FWHM increases with $ m $ for all chain lengths, but the rate of increase differs. For short chains (n=8), θFWHM grows modestly from 46.4569° to 49.7644°, while for long chains (n=16), it increases significantly from 27.2447° to 62.3567°. At low $ m $, shorter chains exhibit broader angular distributions compared to longer chains, while at high $ m $, longer chains show greater variability in $ \theta $.

      The increasing ${\theta }_\text{p}$ with $ m $ reflects the steric constraints imposed by higher surfactant packing densities. At low coverage, surfactant chains have ample space and tend to lie flatter on the surface. As $ m $ increases, the limited space forces chains to adopt more upright configurations, driven primarily by steric effects. The chain length dependence of ${\theta }_\text{p}$ at low coverage arises from differences in flexibility. Longer chains are more adaptable and can lie closer to the surface to maximize van der Waals interactions, resulting in smaller ${\theta }_\text{p}$. In contrast, shorter chains, being less flexible, tend to adopt more upright configurations. At high coverage, the dense packing suppresses chain-length-dependent flexibility, leading to uniformly upright orientations.

      θFWHM trends provide additional insights into orientation variability. At low $ m $, shorter chains exhibit broader angular distributions due to their limited flexibility, allowing some chains to stand upright and others to lie flat. Longer chains, being more flexible, predominantly lie flat, resulting in narrower distributions. At high $ m $, the close packing and potential chain entanglement induce greater variability for longer chains, significantly broadening their θFWHM.

      These findings highlight the interplay between chain length and surfactant coverage in determining interfacial structuring. The steric effects at high $ m $ enforce upright orientations, while chain flexibility governs the variability at low $ m $. The increased variability observed for longer chains at high $ m $ underscores the role of molecular packing in shaping interfacial stability.

    • The interfacial dynamics and penetration of surfactants provide valuable insights into the stability and structure of liquid films. Here, we analyze the penetration probability ($ P $) of surfactants into the aqueous phase and how it is affected by interfacial molecular packing, characterized by the average distance between carbon atoms (${d}_\text{C}$). These analyses shed light on the influence of surfactant chain length and coverage on interfacial behavior.

      FIG. 6 (a) and (b) illustrate a penetrating process randomly selected from our parallel simulations. While most surfactants remain localized at the interface, a small fraction penetrates into the aqueous phase, as highlighted in FIG. 6(a). For surfactants that penetrate (green line in FIG. 6(b) and FIG. S11 (SM)), the vertical displacement increases sharply once penetration occurs. In contrast, the displacement of interfacial surfactants remains minimal throughout the simulation (yellow lines in FIG. 6(b)). Quantitatively, FIG. 6(c) shows that $ P $ decreases with chain length for all coverages. At low coverage (m=10, 40, 70), $ P $ approaches zero for n=14, 16; while at high coverage (m=150, 200), $ P $ decreases more steeply, from 0.40 (n=8) to 0.14 (n=16). Meanwhile, ${d}_\text{C}$ (FIG. 6(d) and Table S3 in SM) decreases with chain length for all coverages, with the reduction being more pronounced at low coverage.

      The reduction of $ P $ with chain length reflects the increasing hydrophobic interactions and steric hindrance of longer alkyl chains, which prevent them from detaching from the interface. At high coverage, crowding reduces the available free area, increasing the likelihood of penetration for short chains, while longer chains resist penetration due to stronger hydrophobic interactions and steric effects. ${d}_\text{C}$ is closely tied to the GDS thickness. At low coverage, the GDS thickness remains nearly constant (Table III, ${h}_\text{GDS}\approx0.50$ nm), meaning the volume accommodating the alkyl chains do not change significantly. Consequently, as chain length increases, the number of carbon atoms increases in a fixed volume, leading to shorter ${d}_\text{C}$. At high coverage, chains are forced into more upright configurations, significantly increasing the GDS thickness. For instance, at m=200, ${h}_\text{GDS}$ increases from 1.17 nm (n=8) to 2.05 nm (n=16). This extended volume compensates for the additional carbon atoms, resulting in a lower decrease in ${d}_\text{C}$.

      These findings illustrate how chain length and coverage regulate interfacial dynamics and molecular packing. Longer chains and higher coverage enhance interfacial stability by reducing penetration and achieving denser packing, while shorter chains and lower coverage allow for increased dynamics and penetration into the bulk aqueous phase. Together, these insights provide a comprehensive molecular understanding of surfactant-stabilized interfaces.

      To further elucidate how interfacial properties in the metastable state relate to film rupture behavior, we conducted a Pearson correlation analysis across the entire simulation dataset, which includes 200 samples (5 chain lengths $ \text{×} $ 4 coverages $ \text{×} $ 10 parallel simulations). The resulting correlation matrix (see FIG. S12 in SM) reveals several strong linear associations among thermodynamic and structural descriptors. Notably, rupture-related metrics such as critical thickness $h_{\mathrm{c}\mathrm{t}}$ and interfacial tension $ \gamma $ show strong positive correlations with the average chain distance $ {d}_{\mathrm{C}} $ and pressure tensor component ${P}_{zz}$, while being strongly negatively correlated with GDS thickness and effective film thickness. These observations suggest that denser interfacial structuring and more compact chain arrangements, as reflected by these metastable-state properties, are closely associated with enhanced film stability. This statistical analysis offers a descriptive yet quantitative link bridging metastable interfacial configurations and critical-state rupture behavior.

    IV.   CONCLUSION
    • In summary, we investigated the molecular origins of foam film stability using all-atom molecular dynamics simulations of trimethylammonium bromide surfactants with systematically varied chain lengths and interfacial coverages. To ensure robust and statistically meaningful insights, we employed parallel simulations alongside advanced data analysis techniques, including sigmoid fitting for density profiles and kernel density estimation for chain orientations. This approach allowed us to consistently evaluate fluctuating interfacial properties and reveal underlying structure-property relationships. We found that increasing surface coverage markedly reduces interfacial tension by enhancing surfactant packing, while chain length primarily influences interfacial architecture and molecular mobility. At high coverage, steric crowding enforces upright chain configurations and increases the thickness of the Gibbs dividing surface, effectively suppressing penetration into the aqueous phase. Orientation statistics and penetration analyses further demonstrate how structural parameters govern interfacial dynamics and stability. Taken together, our findings provide a detailed molecular perspective on surfactant behavior at interfaces and offer a computational framework broadly applicable to foam systems and other soft interfaces.

      Supplementary materials: Analysis of surfactant distribution at gas-liquid interface, interfacial properties of surfactant liquid films with different structures.

    Figure (6)  Table (4) Reference (49)

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return