1. Introduction
Bubble nucleation triggered by reducing the pressure below the saturation pressure constitutes a fundamental pathway for liquid–vapour first-order phase change (Brennen Reference Brennen2014; Lohse & Prosperetti Reference Lohse and Prosperetti2016; Gallo et al. Reference Gallo, Magaletti and Casciola2021, Reference Gallo, Occhioni, Magaletti and Casciola2025; Gutiérrez-Hernández et al. Reference Gutiérrez-Hernández, Reese, Ohl and Quinto-Su2023; Sun et al. Reference Sun, Yao, Wang, Zhong, Xiao, Ohl and Wang2025). However, exceeding this threshold does not guarantee immediate bubble formation, as liquids can sustain significant tensile stress and remain in a metastable equilibrium state (Debenedetti Reference Debenedetti1996). Consequently, the extent to which the pressure must be reduced to induce bubble nucleation remains heavily debated. For instance, a significant discrepancy exists in the reported cavitation pressure of water owing to the diversity of experimental techniques and computational approaches (Caupin & Herbert Reference Caupin and Herbert2006), with values ranging from
$-30$
MPa to
$-120$
MPa at room temperature. The prevailing explanation is that impurities present in real systems, such as pre-existing gas nuclei (Li et al. Reference Li, Li, Zhang and Wang2024), soluble ions (Li et al. Reference Li, Li, Zhang and Wang2025; Cai et al. Reference Cai, Li, Liu, Wang and Li2025) and nanoscale surface defects (Chen et al. Reference Chen, Gao, Wang and Sun2025; Li et al. Reference Li, Cai, Liu, Li and Wang2026), promote heterogeneous nucleation (Pfeiffer et al. Reference Pfeiffer, Eisener, Reese, Li, Ma, Sun and Ohl2022a
, Reference Pfeiffer, Shahrooz, Tortora, Casciola, Holman, Salomir, Meloni and Ohl2022b
) by introducing interfacial sites (liquid–gas, liquid–liquid and liquid–solid) that lower the energy barrier for bubble nucleation.
By contrast, in many advanced technologies, liquids are confined within nanotubes or thin films with characteristic dimensions below hundreds of nanometres, where impurities may be effectively reduced or even eliminated. Under such confinement, the structural and thermodynamic properties of liquids can deviate markedly from their bulk counterparts owing to modified intermolecular interactions, restricted density fluctuations and enhanced interfacial effects (Carlson & Netz Reference Carlson and Netz2025; Zheng et al. Reference Zheng2026). Even small perturbations arising from confinement can have profound consequences for subsequent bubble nucleation. Nevertheless, the specific role of nano-confinement remains poorly understood.
To date, numerous anomalous properties of nanoconfined water have been reported, including altered hydrogen-bond networks (Chava & Das Reference Chava and Das2024; Wang et al. Reference Wang, Tang, Yu, Chiang, Yu, Ohto, Chen, Nagata and Bonn2025b
), ultralow dielectric constants (Fumagalli et al. Reference Fumagalli2018), ultrafast transport (Radha et al. Reference Radha2016; Chu et al. Reference Chu, Liu, Jian, Hou and Huo2025) and distinct phase changes (Han et al. Reference Han, Choi, Kumar and Stanley2010; Liu et al. Reference Li, Li, Zhang and Wang2025), providing a strong benchmark for the present study. Experimentally, Zheng et al. (Reference Zheng2026) employed scanning probe microscopy and nitrogen-vacancy-centre-based quantum sensing to observe liquid–solid phase changes of confined water at ambient temperature with a geometry of
$\sim\!1.6$
nm, revealing suppressed diffusion and a structurally ordered hydrogen-bond network. Similarly, Wang et al. (Reference Wang, Tang, Yu, Chiang, Yu, Ohto, Chen, Nagata and Bonn2025b
) employed heterodyne-detection sum-frequency generation spectroscopy to probe interfacial water orientation and hydrogen-bond configurations, demonstrating the dominant role of interfaces in governing the structure of nanoconfined water. Comprehensive reviews can also be found from Giovambattista et al. (Reference Giovambattista, Rossky and Debenedetti2012), Ferguson et al. (Reference Ferguson, Giovambattista, Rossky, Panagiotopoulos and Debenedetti2012) and Wang et al. (Reference Wang2025a
). Overall, these recently revealed features render nucleation in nanoconfined water mysteriously complex. Yet, despite these experimental advances, the dynamical picture of bubble nucleation remains largely unexplored.
However, theoretical calculations and molecular dynamics (MD) simulations have provided molecular-level insights into nucleation and the onset of phase changes across nano- to microscale regimes. Two representative theoretical frameworks are classical nucleation theory (CNT) (Blander & Katz Reference Blander and Katz1975) and density functional theory (DFT) (Oxtoby & Evans Reference Oxtoby and Evans1988; Yatsyshin & Kalliadasis Reference Yatsyshin and Kalliadasis2021), both of which provide physically grounded estimates of energy barriers and nucleation rates. However, predictions of nucleation rates often differ by several orders of magnitude from each other (Caupin & Herbert Reference Caupin and Herbert2006; Menzl et al. Reference Menzl, Gonzalez, Geiger, Caupin, Abascal, Valeriani and Dellago2016; Protsenko & Baidakov Reference Protsenko and Baidakov2023). Importantly, when cavitation nuclei are neglected, classical theoretical predictions yield cavitation pressures for ultrapure water significantly more negative than experimental measurements at ambient temperature, thereby prompting increasing interest in the intrinsic effects of nanoscale confinement. In this context, Caupin et al. (Reference Caupin, Zaragoza, Gonzalez and Valeriani2026) highlighted the role of confinement in phase fluctuations and revealed a phenomenon termed phase flipping, in which the system stochastically transitions between a homogeneous liquid state and a bubble-nucleated state due to thermal fluctuations.
To further tackle these problems, MD simulations have also been used to explore the structure and properties of nanoconfined water (Kayal & Chandra Reference Kayal and Chandra2015; Wu et al. Reference Wu, Wei, Liu, Liu and Li2019; Leoni et al. Reference Leoni, Calero and Franzese2021) or to investigate bubble nucleation and growth at surface defects (Liu & Zhang Reference Liu and Zhang2017; Chen et al. Reference Chen, Gao, Wang and Sun2025; Li et al. Reference Li, Cai, Liu, Li and Wang2026). The former is largely limited to studies at sub-nanometre or angstrom scales, whereas the latter overemphasises interfacial nucleation governed by wettability and geometrical effects at nano- to sub-microscale dimensions, leaving bulk nucleation within confined liquids unexplored. Understanding nucleation in confined liquids is therefore of particular importance, as confinement can fundamentally modify both the thermodynamic stability of the liquid phase and the kinetic pathways of bubble formation (Gallo et al. Reference Gallo, Occhioni, Magaletti and Casciola2025; Caupin et al. Reference Caupin, Zaragoza, Gonzalez and Valeriani2026).
In addition, such confinement is expected to exhibit strong size-dependent effects across characteristic dimensions ranging from
${\sim}10^1$
to
${\sim}10^2$
nm, naturally raising a key question: at what length scale does confinement exert a negligible influence on bubble nucleation? At the sub-nanoscale (
${\lt } 2$
nm), structural phenomena such as molecular layering, hydrogen-bond network reconstruction and enhanced density fluctuations have been extensively investigated; however, their implications for bubble nucleation remain less intriguing. At the nanoscale (
${\sim}10^1$
nm), research has primarily been shifted to interfacial physics, including surface nanobubbles, interfacial nucleation and wetting transitions such as the Cassie–Baxter state. Lastly, at the mesoscale (
$\sim\!10^2$
nm), the system lies between the molecular confinement limit and the bulk-liquid limit, where finite-size effects may compete with bulk-like behaviour. Under these conditions, confinement can modify the free-energy landscape associated with bubble nucleation, alter nucleation barriers and metastability limits, and influence transition pathways. These considerations highlight the critical role of size-dependent effects in governing nucleation across confined-to-bulk regimes. Nevertheless, systematic studies of bulk nucleation in nano- to meso-confined liquids remain insufficient.
To elucidate the extent to which confinement promotes bubble nucleation, we develop a nano- to sub-microscale confined nucleation model based on MD simulations and diffuse-interface theory. Within this framework, bulk-like nucleation scenarios are constructed in confined liquids, enabling a systematic investigation of free-energy barriers and nucleation pressures, and thereby helping to reconcile the long-standing discrepancy between theory and experiment. Furthermore, atomistic insights into the underlying mechanisms are provided. It is shown that confinement modulates nucleation through alternations in the density-field distribution between confining walls, rather than via interfacial effects. By varying the confinement size, a clear transition from confinement-dominated to bulk-like nucleation is identified. Overall, these results establish a quantitative relationship between confinement size and nucleation characteristics, with significant implications for understanding and regulating nucleation in confined liquids across nano- to microscale systems.
2. Methods
2.1. Coarse-grained molecular dynamics model
Based on the Martini 3 force field (Souza et al. Reference Souza2021), coarse-grained (CG) water beads (W) are constructed by mapping four real water molecules onto one single interaction site, alleviating the spatial limitations of atomistic modelling and enabling simulations at sub-microscale dimensions (
${\sim}10^2$
nm). A quasi-two-dimensional (quasi-2-D) simulation domain of size 120 nm (
$x_{\textit{max}}$
)
$\times$
10 nm (
$y_{\textit{max}}$
)
$\times$
120 nm (
$z_{\textit{max}}$
) is initialised with more than 900 000 water beads. Hereafter,
$z_{\textit{max}}$
in the confined system denotes the physical distance between the two confining walls. To avoid unintended freezing of water associated with the Martini force field, 10 % of the water beads are replaced with antifreeze (AF) particles (Marrink et al. Reference Marrink, Risselada, Yefimov, Tieleman, de and Alex2007), which have identical mass and are randomly distributed throughout the water chunk. These AF particles share the same interaction parameters as the water beads and are analogous to a kinetic stabiliser rather than a thermodynamic parameter that changes bubble nucleation. Since the AF-particle concentration is always unchanged for all CG-simulation cases, the comparative confinement effects remain attributable to the confinement size.
Depressurisation is applied exclusively along the
$z$
-direction with fixed boundary conditions, whereas periodic boundary conditions are imposed in the
$x$
- and
$y$
-directions. To prevent atoms from escaping across the fixed boundary, we place rigid and dense layers of thickness 10 nm at the upper and lower surfaces of the water chunk along the
$z$
-axis, where the lower layer remains stationary throughout the entire simulation; the upper one acts as a moving piston to regulate the liquid pressure, as illustrated in figure 1(a). Here, ‘rigid’ indicates that particles within the layer maintain fixed relative positions to avoid geometric deformation, while ‘dense’ inhibits atomic miscibility or penetration across the liquid–solid interface. The Lennard–Jones (LJ) parameters for all bead types are reported in Appendix A.
(
$a$
) Quasi-2-D confined water system based on CG dynamics: a water slab filled with CG beads (W) is confined between two parallel rigid walls, with the upper one serving as a moving piston to regulate pressure and the lower one remaining stationary as a fixed wall. (
$b$
) Time-varying height of the water slab (
$z_{\textit{max}}$
) and liquid pressure (
$p_L$
) during the equilibrium relaxation under the canonical ensemble.

For the dynamics, a time step of 10 fs is adopted, consistent with standard Martini constraints. Preliminarily, a constant external force,
$f_{\textit{ext}}$
, is persistently exerted on each particle in the piston, forming an equivalent external pressure
$p_{\textit{ext}}=p_{\textit{sat}}$
that transmits into the water system, where
$p_{\textit{sat}}$
is the liquid–vapour saturation pressure at a given temperature. The relationship between
$f_{\textit{ext}}$
and
$p_{\textit{ext}}$
is given by
$p_{\textit{ext}}=f_{\textit{ext}}\boldsymbol{\cdot }N_{p}/(x_{\textit{max}} \boldsymbol{\cdot }y_{\textit{max}})$
, where
$N_{p}$
is the particle number in the piston. Meanwhile, the system gradually reaches the thermodynamic equilibrium under the canonical ensemble (NVT, constant-number, volume and temperature) for 20 ns, during which the piston oscillations decay to an amplitude below 1.0 nm, and the liquid pressure stabilises at approximately 1.0 bar, as presented in figure 1(b).
Subsequently, a linearly time-varying external pressure,
$p_{\textit{ext}}=p_{\textit{sat}}+ \dot {p} t$
, is applied to the moving layer to initiate non-equilibrium phase-change dynamics still with a time step of 10 fs, where
$\dot {p}\lt 0$
denotes the pressure ramp rate and
$t$
is the elapsed time of this non-equilibrium process. Concurrently, the canonical ensemble (NVT) still holds at the prescribed temperature. The moving layer, subjected to linear depressurisation, transmits the pressure perturbation to the confined water. Owing to the strong liquid–solid adhesion imposed in this study, direct vapour-bubble nucleation at the liquid–solid interface is energetically unfavourable, despite its prevalence in realistic systems that are influenced by surface roughness, wettability and chemistry. In this study, the nucleation mode is identified as confinement-modified bulk nucleation only when density depletion develops within the interior liquid region, where the critical fluctuation remains spatially separated from the confinement walls (an explicit criterion is elaborated in figure 11 in Appendix B); otherwise, the nucleation event features a wall-assisted mode. Therefore, under the idealised homogeneous wall of strong hydrophilicity, confinement affects nucleation by modifying the intrinsic thermodynamic states of liquid rather than by providing heterogeneous nucleation sites. Based on this, the present protocol is designed to isolate the nature of confinement-modified nucleation from that of wall-assisted nucleation. Finally, the critical negative pressure at which the liquid starts to rupture is defined as the bubble nucleation pressure,
$p_{\textit{ncl}}$
.
To further substantiate the current findings from the CG simulations, an atomistic quasi-2-D simulation at the nanoscale (
$x_{\textit{max}}=12$
nm,
$y_{\textit{max}}=2$
nm and
$z_{\textit{max}}=12$
nm) is performed using the classical TIP4P/2005 model (Abascal & Vega Reference Abascal and Vega2005) for water modelling. An identical simulation procedure is adopted, including the numerical set-up, ensemble selection and depressurisation method, with a shorter time step of 1.0 fs, to obtain the pressure–volume results. More details of the atomistic simulations are provided in Appendix A.
2.2. Theoretical model
We describe bubble nucleation in cavitation as a rare fluctuation of the density field within the framework of diffuse-interface (DI) theory (Anderson et al. Reference Anderson, McFadden and Wheeler1998; Lutsko Reference Lutsko2011) that gives the Helmholtz free-energy functional of the system as
where
$f_b$
is the bulk free energy density and
$\kappa (z,T)\left | \boldsymbol{\nabla }\boldsymbol{\rho } \right |^2/2$
is the interfacial gradient energy term. Here,
$\kappa (z,T)$
is the location- and temperature-dependent square-gradient coefficient. Herein, the bulk free-energy density can be approximately expressed based on the van der Waals (vdW) theory (Binder et al. Reference Binder, Block, Virnau and Tröster2012) as
where
$k_B$
is the Boltzmann constant, and
$\rho _c$
and
$T_c$
are the critical density and temperature, respectively; hereafter, they are independently prescribed from the experimental critical properties of water, with
$T_c=647$
K and
$\rho _c=322$
kg m
$^{-3}$
. Additionally,
$\lambda$
is the thermal de Broglie wavelength of the fluid particles and is expressed as
\begin{align} \lambda =\sqrt {\frac {\hbar ^2}{2\pi m_{\kern-1pt f} k_B T}}, \end{align}
where
$\hbar$
is the Planck constant and
$m_{\kern-1pt f}$
is the mass of a single fluid particle.
The pressure
$p$
is formulated as
and it represents the environment or liquid pressure under a given metastable state.
We rewrite (2.1) into the Landau free-energy (grand-potential) functional as
where
$\mu _0$
is the equilibrium chemical potential of the metastable liquid at temperature
$T$
. Letting its first derivative equal zero yields the Euler–Lagrange (EL) equation,
where
$\mu _b$
can be written as the first-order derivative of
$f_b$
as
Expanding (2.6) in the cylindrical coordinate system with
$\boldsymbol{\rho }(r,z)=\rho _c \boldsymbol{\cdot }\boldsymbol{\rho }^*(r,z)$
yields
where
$r$
is the radial direction and
$z$
is the vertical direction that is parallel to the confinement direction. Confinement works by altering
$\kappa (z)$
along the confinement direction.
Preliminarily, the reliability of the MD and the vdW-based DI models in reproducing real water requires verification. Six representative relations described by the atomistic TIP4P/2005 model, the present CG model, the vdW equation of state (EOS) and the standard reference or experimentally measured data are demonstrated in figure 12 in Appendix C. We find that real water possesses specific molecular features arising from hydrogen bonding, which cannot be fully characterised by the vdW EOS; however, it performs well in describing saturated vapour and liquid spinodal pressures that govern liquid–vapour phase change. Given this limitation, the present DI model is employed as a semi-quantitative framework to evaluate the relative variation of nucleation free-energy barriers, rather than to reproduce all quantitative properties of real water. Importantly, the present CG model has been verified as feasible in estimating the nucleation pressure thresholds, referring to the work of Li et al. (Reference Li, Li, Zhang and Wang2024).
Furthermore, the proposed
$\kappa$
is introduced as a phenomenological interpolation function based on physical observation rather than derived from a microscopic theory or MD-fitted data. According to the DI theory,
$\kappa$
determines the energetic penalty associated with density variation and is closely related to the interfacial free-energy characteristics. Since confinement alters density fluctuations and local cohesive interactions, the effective gradient energy is expected to decrease far away from the confining wall. Herein, a hyperbolic-cosine-form
$\kappa (z)$
is adopted as
\begin{align} \kappa (z)=\kappa _0 \boldsymbol{\cdot }\left \{1-\frac {1}{\cosh (z_{\textit{max}}/2z_c)}\left [1-\frac {\cosh \left (\frac {2z-z_{\textit{max}}}{2z_c}\right )-1}{\cosh \left (\frac {z_{\textit{max}}}{2z_c}\right )-1}\right ]\right \}\! , \quad z \in [0,z_{\textit{max}}], \end{align}
where
$\kappa _0$
is the capillary pre-factor, representing the square-gradient coefficient in the bulk system. Its magnitude can be estimated via the interfacial-tension calibration from the MD simulations,
Referring to the density profile shown in figure 11(b), and letting
$\gamma =0.04{\sim}0.07$
J m
$^{-2}$
based on the calculations and standard data in figure 12(a),
$\kappa _0$
is carefully evaluated at a stable magnitude of
$10^{-68}$
J m
$^5$
. Here,
$z_c$
represents the effective penetration depth of wall-induced structural perturbations into the confined liquid and it is chosen to be of the order of
${\sim}10$
nm. Importantly, the sensitivity analysis of the specific functional form of
$\kappa (z)$
and the selection of
$z_c$
are thoroughly discussed in Appendix D.
Before the numerical scheme, it should be emphasised that
$z_{max }$
has different physical meanings in confined and bulk systems. For confined systems,
$z_{\textit{max}}$
denotes the physical distance between two confining walls, while for bulk systems,
$z_{\textit{max}}$
merely represents the vertical size of the computational domain and does not correspond to a confinement dimension. Accordingly, the bulk system is described by a homogeneous square-gradient coefficient
$\kappa =\kappa _0$
, whereas the confinement is introduced through the spatial variation of
$\kappa =\kappa (z)$
. This allows us to decouple the geometric confinement effect from the intrinsic thermodynamic effect of confinement-induced structural weakening.
In this work, the string method (Weinan et al. Reference Weinan, Ren and Vanden-Eijnden2002; E, Ren & Vanden-Eijnden Reference E, Ren and Vanden-Eijnden2007) is employed to solve the density-field contour and thereby seek the saddle point of the free-energy landscape, i.e. the transition state. A discrete sequence of density-field images,
$ \{\rho ^{*(s)}(r,z)\} |_{s=1}^{N_s}\ (N_s \gg 1)$
, is artificially constructed along the string (where
$N_s$
is the number of images), connecting the initial equilibrium liquid state (
$s=1$
) at
$\mu _0$
to the final low-density bubble-nucleated state (
$s=N_s$
). Each image evolves over the pseudo-time (
$\tilde {t}$
) and obeys
where
$\tilde {t}$
is a pseudo-time variable,
$\boldsymbol{v}_s$
is the Cahn–Hilliard velocity (
$\boldsymbol{v}_s={\nabla} ^2[\partial \varOmega /\partial \rho ^{*(s)}]$
) and
$\boldsymbol{v}^{\bot }_s$
denotes the component perpendicular to the local tangent of the string, namely
where
$\boldsymbol{n}_s=[{\rho ^{*(s+1)}-\rho ^{*(s-1)}}]/[{\left \Vert \rho ^{*(s+1)}-\rho ^{*(s-1)}\right \Vert }]$
. This projection eliminates the slide along the string, but drives the convergence towards the minimum free energy path (MFEP) that satisfies
For every image
$s$
, the boundary conditions ensure regularity at the symmetry axis and no-flux boundary, satisfying
\begin{align} \begin{cases} \partial _{z} \rho ^{*(s)}\Big |_{z=0,z_{\textit{max}}} = 0, \\[9pt] \partial _r \rho ^{*(s)}\Big |_{r=0} = 0, \\[9pt] \rho ^{*(s)}\Big |_{r \to \infty } = \rho _L/\rho _c, \end{cases} \end{align}
where
$\rho _L$
is the corresponding liquid density from the vdW isotherm at the given
$\mu _0$
.
Once convergence is achieved, we obtain the critical density field
$\boldsymbol{\rho }^*$
along the MFEP; thus, the equivalent radius (
$R_{eq}$
) and the average density (
$\rho _{av}$
) at each image are defined respectively as
\begin{align} R_{eq}^{(s)}=\frac {\int _{0}^{R_{\textit{max}}}r\left (\frac {\partial \rho ^{*(s)}}{\partial r}\right )^2 \mathrm{d}r} {\int _{0}^{R_{\textit{max}}}\left (\frac {\partial \rho ^{*(s)}}{\partial r}\right )^2 \mathrm{d}r} \end{align}
and
where
$R_{\textit{max}}$
is the radial size of the computational domain in the DI model.
Finally, the nucleation free-energy barrier is identified as the maximum of the Landau free-energy difference along the MFEP,
where
\begin{align} \begin{aligned} &\Delta \varOmega (s)=\varOmega \big[\rho _c \rho ^{*(s)} \big]-\varOmega [\rho _L]= 2 \pi \int _0^{R_{\textit{max}}}\int _0^{z_{\textit{max}}}\\&\left \{ f_b(\rho _c\rho ^{*(s)})-f_b(\rho _L) -\mu _0(\rho _c\rho ^{*(s)}-\rho _L) +\frac {\kappa \rho _c^2}{2}\left [ \! \left ( \! \frac {\partial \rho ^{*(s)}}{\partial r} \! \right )^2+ \left ( \! \frac {\partial \rho ^{*(s)}}{\partial z} \! \right )^2 \!\right ] \!\right \}r\,\mathrm{d}r\,\mathrm{d}z. \end{aligned} \end{align}
To establish a correspondence between the MD simulations and the DI models, the vertical confinement size
$z_{max }$
in the MD system is mapped onto the corresponding parameter
$z_{max }$
in the axisymmetric DI model. However, the MD models employ a quasi-2-D slab geometry, where the lateral thickness along the
$y$
-direction is substantially smaller than along the other two dimensions. Such a slab-like simulation domain may induce a cylindrical-like rather than spherical morphology of the vapour embryo. In contrast, the axisymmetric DI model describes a three-dimensional (3-D) spherical bubble nucleation process. Therefore, the finite lateral thickness in the quasi-2-D MD geometry may introduce a deviation in the critical radius and nucleation free-energy barrier compared with the ideal 3-D spherical case. To quantify this geometric effect and clarify the validity of the cylindrical-bubble approximation adopted in the MD simulations, Appendix E discusses the influence of finite lateral size (
$y$
-direction thickness) on the critical radius and nucleation free-energy barrier of quasi-cylindrical bubbles, in comparison with the corresponding spherical bubble nucleation scenario.
3. Results and discussion
3.1. Phase-transition pathway and free-energy barrier
In this work, an artificial string connecting the initial metastable liquid state (
$\rho (r,z)=\rho _L$
) to the final vapour-bubble state is required for initialisation. Thus, the sequence of the density images satisfies
\begin{align} \left \{ \begin{aligned} \rho ^{*(1)}(r,z)&=\rho _L/\rho _c, \\ \rho ^{*(s)}(r,z)&=\frac {\rho _L}{\rho _c}-\frac {\rho _L-\rho _v}{\rho _c}\boldsymbol{\cdot }\exp \left [-\left (\frac {r}{\mathcal{R}(s) }\right )^2-\left (\frac {z-0.5z_{\textit{max}}}{\mathcal{R}(s) }\right )^2 \right ] \!,\quad s \in [2,N_s], \end{aligned} \right . \end{align}
where
$\rho _v$
is the vapour density inside the bubble and approaches 0 in this study. Here,
$\mathcal{R}(s)$
is an arbitrary and monotonically increasing characteristic radius sequence that satisfies
\begin{align} \left \{ \begin{aligned} &\mathcal{R}(s)=\mathcal{R}(N_s)\boldsymbol{\cdot }\left (\frac {s-1}{N_s-1}\right )^{\beta },\quad s \in [1,N_s],\ \beta \gt 0,\\&\mathcal{R}(N_s):2\pi (\rho _L-\rho _v) \! \int _0^{R_{\textit{max}}} \! \int _0^{z_{\textit{max}}} \! r \boldsymbol{\cdot }\exp \!\left [\! - \!\left ( \! \frac {r}{\mathcal{R}(N_s) }\right )^2 \!- \!\left ( \! \frac {z-0.5z_{\textit{max}}}{\mathcal{R}(N_s) } \! \right )^2 \!\right ]\!\,\mathrm{d}r\,\mathrm{d}z=Q_d, \end{aligned} \right . \end{align}
where
$Q_d$
is the non-dimensional density depletion at the final bubble-cavitated state and
$\beta$
is a random string-shape factor that regulates the string path.
Preliminarily, the numerical convergence of the calculated free-energy barrier against
$Q_d$
,
$\beta$
and
$N_s$
requires discussion, and is elaborated in figure 15 in Appendix F.
Figure 2 shows the numerical solutions of the nonlinear EL equation at
$\rho _L/\rho _c=2.3$
,
$T=298$
K and
$\mathrm{d}z=\mathrm{d}r=0.05$
nm. For bulk nucleation,
$z_{\textit{max}}$
and
$R_{\textit{max}}$
only represent the vertical and radial computational domain sizes, respectively; therefore, the sensitivity to the domain size and grid resolution is necessary to discuss in advance; see figure 16 in Appendix G. The density contours of three string images along the MFEP are shown in panel (
$a$
), where the pre-transition, transition and post-transition states are listed in sequence to illustrate vapour bubble nucleation and the spatial evolution of density. For a clearer demonstration, figure 2(b) exhibits the corresponding density profiles at
$z=0.5z_{\textit{max}}$
, where the transition state is depicted in red. Based on these,
$R_{eq}$
and
$\rho _{av}$
can be estimated at each image
$(s)$
along the MFEP, forming the free energy landscape plotted on the
$\{\rho _{av}, R_{eq}\}$
plane, see figure 2(c). We find that an increase followed by a decrease holds the key feature of the transition path, i.e. MFEP, along which the free energy barrier is prescribed as the maximum of
$\Delta \varOmega$
, and the critical radius and density (
$R_{eq,c}$
and
$\rho _{av,c}$
) are defined at this transition point. Along the entire free-energy landscape, the gradient perpendicular to the path tangent is always 0, indicating that the energy barrier corresponds to a maximum of the free energy along the path, but a local minimum in the transverse direction. Here, the bulk and confined nucleation scenarios are also shown in solid and dotted lines, respectively, with the former encountering a higher energy barrier than the latter; however, this gap appears insignificant under the current thermodynamic conditions due to its proximity to the liquid–vapour coexistence line.
(
$a$
) Density-field contours along the MFEP for the bulk nucleation before (left), at (mid) and after (right) the transition state (far-field liquid density
$\rho _L=2.3\rho _c$
,
$T=298$
K, grid coarseness
$\mathrm{d}z=\mathrm{d}r=0.05$
nm), where the corresponding radial profiles at
$z=0.5z_{\textit{max}}$
along the transition pathway are shown in panel (
$b$
). The transition state (red line) is the critical state at which the free-energy difference reaches its maximum. (
$c$
) Landau free-energy landscape plotted on the
$\{\rho _{av}, R_{eq}\}$
plane, where the solid and dotted lines denote the MFEPs of the bulk and confined nucleation behaviours, respectively, with the maximum value representing the free-energy barrier (
$\Delta \varOmega ^*$
), and the arrows delineate the transition direction. The red and navy lines represent the projections onto the
$\Delta \varOmega {-}\rho _{av}$
and the
$\Delta \varOmega {-}R_{eq}$
planes, respectively.

To be specific, the degree of metastability that quantifies the extent of liquid-phase chemical potential below the liquid–vapour coexistence line affects the energy barrier by changing
$\mu _0$
and
$\rho _L$
, and it can be defined as
where
$\mu _{\textit{sat}}$
and
$\mu _{s}^l$
are the chemical potentials at the saturation (liquid–vapour coexistence) and the liquid spinodal point, respectively, as presented in figure 3. The inset is depicted from (2.7) at
$T=298$
K, where
$\mu _{s}^l$
satisfy
$\mathrm{d}\mu /\mathrm{d}\rho =0$
and
$\mathrm{d}^2\mu /\mathrm{d}\rho ^2\gt 0$
. Here,
$\mu _{\textit{sat}}$
under the Maxwell construction (Méasson et al. Reference Méasson, Montanari and Urbanke2008) obeys that
\begin{align} \int _{\rho ^v_{\textit{sat}}}^{\rho ^l_{\textit{sat}}} (\mu -\mu _{\textit{sat}} )\,\mathrm{d}\rho =0. \end{align}
Temperature-dependent chemical potentials at the saturation and the liquid spinodal point. The inset shows the vdW isotherm at
$T=298$
K derived from (2.7), where the determination of
$\mu _{\textit{sat}}$
obeys the rule of Maxwell construction (Méasson et al. Reference Méasson, Montanari and Urbanke2008).
$\mu _{s}^v$
is the chemical potential at the vapour spinodal.
$\rho _{\textit{sat}}^v$
and
$\rho _{\textit{sat}}^l$
are the vapour and the liquid saturation densities, respectively.

Accordingly, figure 4(a) shows the free energy difference along the MFEP versus the equivalent radius for both bulk and confined systems under a sequence of
$\mu ^*$
at
$T=298$
K and
$z_{\textit{max}}=R_{\textit{max}}=10$
nm, with the turning point representing the barrier value. The energy barrier is enhanced with a decreasing
$\mu ^*$
since a lower
$\mu ^*$
implies a farther deviation away from the liquid spinodal and a weaker metastability to activate the transition. When
$\mu ^*\gt 0.9$
, i.e. the system approaches the liquid spinodal,
$\Delta \varOmega ^*\lt 10^0\ k_BT$
, and a more remarkable gap between the bulk and the confined nucleation energy barrier is shown; in contrast, their gap remains insignificant when
$\mu ^*$
is smaller than 0.9 and the energy barrier surges up to
$10^2\ k_BT$
.
(
$a$
) Landau free energy difference,
$\Delta \varOmega$
, as a function of the equivalent radius
$R_{eq}$
for a sequence of
$\mu ^*$
at
$T=298$
K with
$z_{\textit{max}}=R_{\textit{max}}=10$
nm. Solid and dashed lines denote the bulk and confined scenarios, respectively, illustrating the systematic reduction of the free-energy barrier under confinement. (
$b$
) Density contours at the transition state of the bulk (left) and confined (right) nucleation scenarios at
$\mu ^*=0.971$
; the far-field liquid density is indicated as
$\rho _L=2.15 \rho _c$
. (
$c$
) Nucleation free-energy barrier (upper panel) and the ratio of the confined scenario to the bulk one (lower panel) plotted against
$\mu ^*$
at three temperatures, where the black solid line in the upper panel is extracted from Gallo et al. (Reference Gallo, Occhioni, Magaletti and Casciola2025) for comparison. The red and blue dashed lines in the lower panel indicate the two scaling laws with
$\mu ^*$
smaller and larger than 0.9, respectively.

Figure 4. Long description
Panel A: A line graph shows the Landau free energy difference as a function of the equivalent radius for a sequence of temperatures with a specific parameter. Solid lines represent bulk scenarios, while dashed lines represent confined scenarios, illustrating the reduction of the free-energy barrier under confinement. Panel B: Two density contour plots compare the transition state of bulk (left) and confined (right) nucleation scenarios at a specific temperature. Panel C: The upper panel is a line graph plotting the nucleation free-energy barrier against a parameter at three temperatures, with a black solid line for comparison. The lower panel is a line graph showing the ratio of the confined scenario to the bulk one against the same parameter, with red and blue dashed lines indicating two scaling laws.
This physical trend can be understood from the competitive contributions of the bulk and interfacial terms in the free energy functional. As
$\mu ^*$
increases, the bulk driving force for phase separation grows rapidly, leading to a substantial reduction in the bulk free energy cost associated with forming a low-density cavity. On this occasion, the interfacial contribution is progressively highlighted. Confinement, by itself, rectifies these interfacial energy costs through geometric restriction and a changed density-field gradient, thereby lowering the free-energy penalty for forming a critical cavity relative to bulk nucleation. Moreover, the phase transition occurs earlier, with a smaller
$R_{eq}$
, in the confined nucleation than its bulk counterpart. In the bulk, the formation of a critical vapour bubble requires the creation of a closed liquid–vapour interface, with the associated free energy cost containing an isotropic interfacial term. However, the confinement reduces the dimensionality and configurational space of density fluctuations, favouring the formation of anisotropic low-density nuclei.
The critical density fields at
$\mu ^*=0.971$
and
$\rho _L=2.15\rho _c$
are exhibited in figure 4(b), where the nucleation site was fixed at
$z=0.5 z_{\textit{max}}$
. The contours clearly indicate that a smaller vapour bubble is generated within the confined water than in the bulk at the transition state, which reflects the reduction in the interfacial energy caused by the attenuated square gradient coefficient associated with the solid(wall)–liquid(water) attraction.
Figure 4(c) gives the free energy barrier and the ratio of the confined value to the bulk one against the degree of metastability under three temperature conditions. In the upper panel, a comparison of the free energy barrier is presented, in great alignment with the reference results from Gallo et al. (Reference Gallo, Occhioni, Magaletti and Casciola2025). The nucleation barrier decreases monotonically with increasing
$\mu ^*$
, consistent with the physical intuition for cavitation in metastable liquids. At lower
$\mu ^*$
, the energy barrier gap remains narrow between the confined and the bulk scenarios; yet, the barrier value is relatively high (
$\sim\!10^2\ k_BT$
), indicating rare nucleation events under weak thermal fluctuations. As
$\mu ^*$
approaches proximity to the liquid spinodal, the barrier drops drastically and collapses to a much lower value at
$10^{-4}{-}10^{-3}\ k_BT$
; simultaneously, the energy barrier gap is gradually enlarged. In other words, the confined water enables lower nucleation barriers across the entire metastable regime, especially for
$\mu ^*\gtrsim 0.9$
, where the confined energy barrier is reduced by more than two orders of magnitude relative to the bulk counterpart. Moreover, temperature also reduces the absolute magnitude of the energy barrier. Still, it does not alter the current trends, which can be attributed to the increased nucleation probability resulting from violent thermal fluctuations.
In the lower panel, the energy barrier ratio is plotted as a function of
$\mu ^*$
. A highly unified scaling-law trend is extracted across the three temperatures, showing that the energy barrier ratio is negatively correlated with the degree of metastability. Specifically, an approximate power scaling law,
$\Delta \varOmega ^*_{\textit{Conf}}/\Delta \varOmega ^*_{\textit{Bulk}} \propto (\mu ^*)^\alpha$
, is revealed with an equivalent exponent
$\alpha =-3/10$
at lower
$\mu ^*\lt 0.9$
and
$\alpha =-26$
at higher
$\mu ^*\gt 0.9$
, irrespective of temperature. This difference mirrors the impact of confinement on the attenuation of the free-energy barrier. From the nucleation process, an increase in
$\mu ^*$
signifies a lower liquid density state that is farther away from saturation, leading to a progressive softening of the liquid phase for the subsequent bulk fracture. In addition, confinement suppresses long-wavelength density fluctuations while enhancing localised non-homogeneity, and this effect is reinforced when the interfacial term contribution is enhanced relative to the bulk term near the spinodal point.
Furthermore, the confinement size (
$z_{\textit{max}}$
) is also worth discussing in the present study. Preliminarily, the impact of the domain size (
$z_{\textit{max}}$
and
$R_{\textit{max}}$
) has proven trivial in the bulk nucleation scenarios, as shown in figure 16. In contrast, figure 5 elucidates the dependence of nucleation barrier and density profile on the confinement size, where panel (
$a$
) reports the energy barrier ratio against
$z_{\textit{max}}$
at several degrees of metastability. For all values of
$\mu ^*$
, the energy barrier ratio still monotonically increases and approaches the bulk nucleation as the confinement size is exponentially enlarged, implying the confinement effect has a theoretical ‘failure’ boundary when
$z_{\textit{max}}\gt 10^2$
nm. In the weak-confinement regime (
$z_{\textit{max}}\gtrsim 50$
nm), the energy barrier ratios at different
$\mu ^*$
approach consistency around 0.8; in sharp contrast, in the strong-confinement regime below a few tens of nanometres, the confinement facilitates the nucleation to a great extent. More precisely, the energy barrier of the confined water is merely 20 % of its bulk counterpart when
$\mu ^*=0.971$
and
$z_{\textit{max}}=5$
nm. Anyway, the magnitude of the confined nucleation energy barrier still depends strongly on the degree of metastability, which is physically self-consistent. The normalised free-energy-barrier contour is further presented in figure 17 in Appendix H.
(
$a$
) Nucleation energy-barrier ratio of the confined water to the bulk counterpart,
$\Delta \varOmega ^*_{\textit{Conf}}/\Delta \varOmega ^*_{\textit{Bulk}}$
, as a function of the confinement size
$z_{\textit{max}}$
. (
$b$
) Density profiles of the bulk and the confined water along the confinement direction obtained from MD simulations for two representative system sizes.

Figure 5. Long description
Panel A: A line graph shows the nucleation energy-barrier ratio of confined water to bulk water as a function of confinement size. The x-axis represents the confinement size in nanometers on a logarithmic scale, and the y-axis represents the nucleation energy-barrier ratio. The graph includes multiple data series with different markers and colors, indicating different values of a parameter. An inset diagram illustrates the confinement setup. Panel B: A line graph displays the density profiles of bulk and confined water along the confinement direction. The x-axis represents the normalized position, and the y-axis represents the density in grams per cubic centimeter. The graph includes multiple data series with different colors and line styles, representing different confinement sizes and conditions.
Figure 5(b) exhibits the MD results of the equilibrium liquid density profile across the confinement direction before nucleation, where two representative sizes (
$z_{\textit{max}}=10^1$
and
$10^2$
nm) under the confined and the bulk scenarios are adopted for striking contrast. In the weak-confinement regime with
$z_{\textit{max}}=10^2$
nm (navy lines), the density profile remains less oscillating along the confinement direction, with the average value approaching 0.98 g cm
$^{-3}$
for the bulk case and only 0.85 g cm
$^{-3}$
for the confined counterpart. In contrast, in the strong-confinement regime with
$z_{\textit{max}}=10^1$
nm (red lines), the liquid density exhibits pronounced oscillations for both cases, reflecting considerable molecular layering and localised thermal fluctuation effects at this nanoscale. Furthermore, the average density shows an insignificant gap between the scenarios of
$z_{\textit{max}}=10^1$
nm and
$z_{\textit{max}}=10^2$
nm for the bulk nucleation (dashed lines), confirming that the computational domain size does not influence the physical mechanisms. Conversely, this density gap reaches nearly 0.10 g cm
$^{-3}$
between the two confined nucleation cases (solid lines), where the narrower confinement size renders a lower average density than the wider counterpart, which reveals the role of confinement-induced density inhomogeneities in explaining the nucleation barrier reduction shown in figure 5(a). The decrease in confinement size reduces density and thereby increases compressibility, thereby lowering the free-energy penalty required to form a vapour cavity. Consequently, it is concluded that confinement facilitates cavitation nucleation primarily by reshaping the free-energy landscape through restructuring the liquid density fields, rather than by altering the morphology of critical nuclei.
3.2. Nucleation pressure
The bubble nucleation pressure provides a direct macroscopic measure of the confinement effect. Here, two complementary approaches are employed: the MD simulations capture the dynamic nucleation process under finite pressure-ramp rates, whereas the DI model provides a thermodynamic description of the confinement-modified nucleation landscape. Therefore, the comparison between them is intended to examine the robustness of the confinement effect rather than to reproduce identical kinetic nucleation pressures.
Figure 6 summarises the nucleation pressure obtained from the MD simulations for the sub-microscale and nanoscale confined systems. Figure 6(a) presents the evolution of liquid pressure as a function of normalised volume under different pressure-ramp rates. Initially, the pressure decreases continuously with increasing volume, corresponding to the stretching of the metastable liquid. As the tensile stress increases, the pressure reaches a turning point followed by an abrupt pressure recovery accompanied by a rapid volume expansion. This turning point represents the onset of vapour cavity formation and is identified as the nucleation pressure,
$p_{\textit{ncl}}$
. The inset shows a close-up comparison of two representative scenarios (sub-microscale versus nanoscale) at a given pressure-ramp rate of
$-5.0$
MPa ns−1, where nucleation occurs at a slightly higher negative pressure in the nanoscale system than in the sub-microscale system.
(
$a$
) Evolution of the liquid pressure with the increasing volume at
$T=298$
K under several pressure ramp rates, where the apricot orange and the sky blue lines depict the scenarios of sub-micro- and nanoscale models, respectively. The inset shows the close-up of the pressure-turning point (corresponding to the nucleation pressure) at which cavitation, together with volume surge, abruptly occurs, under a given ramp rate of
$\dot {p}=-5.0$
MPa ns−1. (
$b$
) Pressure-ramp-rate dependence of the confined nucleation pressure obtained from the sub-micro- and nanoscale models at
$T=298$
K. The error bars denote the uncertainty range of the nucleation pressure, determined from the maximum and minimum pressures near the turning point in panel (
$a$
). The black solid line represents the fitted power-law relationship and the grey-shaded area indicates the corresponding 90 % confidence interval (CI). MD snapshots capturing the dynamic process of the confined nucleation events in the (
$c$
) sub-microscale and (
$d$
) nanoscale system under the given ramp rate of
$\dot {p}=-5.0$
MPa ns−1.

The dependence of
$p_{\textit{ncl}}$
on the pressure-ramp rate is summarised in figure 6(b). The error bars represent the uncertainty associated with identifying the turning point, determined from several pressure samples around the turning point in the
$p$
–
$V$
curves. The black solid line denotes the power-law fitting result and the grey-shaded area represents the corresponding 90 % confidence interval. The nanoscale system exhibits slightly larger pressure fluctuations than the sub-microscale system, which originates from enhanced thermal fluctuations and finite-size effects in smaller simulation domains. As expected for a non-equilibrium process, the nucleation pressure becomes slightly more negative with increasing pressure-ramp rate, following a weak power-law dependence with an exponent of only 0.03 in numerics. This weak dependence reflects the intrinsic rate sensitivity of the non-equilibrium cavitation process (Andersen & Mørch Reference Andersen and Mørch2015). However, it should be emphasised that the pressure-ramp rates accessible in MD simulations are inevitably higher than those used in macroscopic experiments because of the intrinsic limitation of MD simulation time scales. Therefore, the present MD results should not be interpreted as a direct quantitative reproduction of experimental nucleation pressures under identical ramp-rate conditions. Instead, they are employed to identify the intrinsic influence of nanoscale confinement on the nucleation mechanism. Furthermore, this small exponent indicates that the variation in nucleation pressure remains limited even under a broad range of pressure-ramp rates. Specifically, a two-order-of-magnitude increase in the ramp rate from
$10^{-0.5}$
to
$10^{1.5}$
MPans−1 results in only a moderate decrease in nucleation pressure from approximately
$-30.0$
to
$-35.0$
MPa. Consequently, the pressure difference between sub-microscale and nanoscale confined systems becomes less distinguishable when the pressure-ramp rate decreases below approximately
$10^{0}$
MPa ns−1. This suggests that, under sufficiently slow depressurisation conditions, the dynamic contribution associated with the pressure-ramp rate becomes negligible, allowing the intrinsic confinement effect on nucleation pressure to be more clearly identified.
Figures 6(c) and 6(d) display the representative MD snapshots of the two dynamic nucleation systems corresponding to the five characteristic volumes marked in the enlarged view of figure 6(a). The initial snapshots, from left to right, correspond to the metastable liquid states approaching the nucleation point under continuous depressurisation. Despite the significant difference in the characteristic size of the nucleated vapour cavities, both systems exhibit a bulk-like nucleation pathway, where the vapour embryos originate away from the solid–liquid interfaces. This behaviour can distinguish the present confinement-modified nucleation process from conventional wall-assisted heterogeneous cavitation induced by solid walls. Accordingly, when the magnitude of the pressure-ramp rate is reduced to approximately
$10^{0}$
MPa ns−1, the dynamic contribution associated with the depressurisation process becomes weakened and the difference in nucleation pressure between the two confinement scales becomes less pronounced. A representative nanoscale bubble nucleation trajectory is provided in the supplementary material available at https://doi.org/10.1017/jfm.2026.12290.
To establish the relationship between the metastable liquid pressure and the nucleation free-energy barrier, the dependence of
$\Delta \varOmega ^\ast$
on the degree of metastability
$\mu ^\ast$
is first extracted from the DI-based calculations shown in figure 4(c). Meanwhile, the corresponding metastable liquid pressure
$p_L$
is independently evaluated from the vdW equation of state (2.4). By combining the pressure–density
$p(\rho )$
, the chemical potential relation
$\mu (\rho )$
and the definition of
$\mu ^*$
, a one-to-one mapping between
$p_L$
and
$\mu ^\ast$
is established, as depicted in figure 18 in Appendix I. Consequently, the dependence of the nucleation barrier on the liquid pressure,
$\Delta \varOmega ^\ast (p_L)$
, can be obtained without introducing additional kinetic parameters.
Figure 7(a) presents the resulting relationship at three representative temperatures on the left axis. The solid curves denote the theoretical variation of the liquid pressure
$p_L$
with the nucleation energy barrier
$\Delta \varOmega ^*$
. In parallel, the dashed curves indicate the critical pressure difference required for the formation of a critical vapour nucleus according to CNT,
$\Delta p^*=p_{\textit{ncl}}-p_v=-\sqrt {16 \pi \gamma ^3/3 \Delta \varOmega ^*}$
, where
$p_v$
is the vapour pressure and
$\gamma$
is the interfacial tension. According to CNT, bubble nucleation is governed by the competition between the bulk thermodynamic driving force associated with the pressure difference and the interfacial free-energy penalty required to create a vapour–liquid interface. As the liquid pressure decreases, the driving force for vapour formation increases and the nucleation barrier continuously decreases. The limiting nucleation condition is reached when the metastable liquid state can no longer sustain a finite free-energy barrier against vapour formation. Mathematically, this condition corresponds to the tangential contact between the DI-derived
$p_L(\Delta \varOmega ^\ast )$
curve and the CNT-derived
$\Delta p^\ast (\Delta \varOmega ^\ast )$
curve. The pressure at this tangential point is therefore identified as the thermodynamic nucleation pressure
$p_{\textit{ncl}}$
. This construction provides a direct connection between the microscopic free-energy landscape and the macroscopic cavitation threshold, while avoiding the introduction of kinetic parameters such as the nucleation pre-factor, observation time and system volume. Consequently, the obtained pressure represents an intrinsic thermodynamic limit of metastability rather than a probability-dependent cavitation pressure observed within a finite experimental time window.
(
$a$
) Dependence of the metastable liquid pressure (left axis) on the nucleation free-energy barrier at three temperatures. The solid curves represent the DI-based relationship between the liquid pressure
$p_L$
and the nucleation barrier
$\Delta \varOmega ^\ast$
, obtained through the parametric mapping of
$p(\mu ^\ast )$
and
$\Delta \varOmega ^*(\mu ^*)$
. The dashed curves denote the CNT-derived critical pressure difference required for vapour cavity formation,
$\Delta p^*=p_{\textit{ncl}}-p_v=-\sqrt {16 \pi \gamma ^3/3 \Delta \varOmega ^*}$
(where
$p_v$
is the vapour pressure and
$\gamma$
is the interfacial tension). The tangential contact between the DI-based metastable pressure curve
$p_L(\Delta \varOmega ^\ast )$
and the CNT critical pressure curve
$\Delta p^\ast (\Delta \varOmega ^\ast )$
defines the thermodynamic nucleation condition, from which the nucleation pressure is estimated. (
$b$
) Nucleation pressure as a function of temperature, where the diamonds exhibit the confined results (red, MD; blue, DI with
$z_{\textit{max}}=10^1$
nm), while the purple solid circle represents the bulk nucleation pressure extracted from Li et al. (Reference Li, Li, Zhang and Wang2024). The error bars indicate the pressure fluctuation range at the turning point and the black solid line delineates the linear regression with the corresponding 90 % confidence interval (grey-shaded area). Additional experimental measurements (Zheng et al. Reference Zheng, Durben, Wolf and Angell1991; Azouzi et al. Reference Azouzi, Ramboz, Lenain and Caupin2013; Herbert et al. Reference Herbert, Balibar and Caupin2006) and theoretical predictions (Caupin Reference Caupin2005; Magaletti et al. Reference Magaletti, Gallo and Casciola2021) are included for comparison.

Figure 7(b) summarises the temperature dependence of the nucleation pressure within a unified
$p$
–
$T$
diagram. The grey symbols and curves denote previously reported experimental measurements and theoretical predictions from Zheng et al. (Reference Zheng, Durben, Wolf and Angell1991), Caupin (Reference Caupin2005), Herbert et al. (Reference Herbert, Balibar and Caupin2006), Azouzi et al. (Reference Azouzi, Ramboz, Lenain and Caupin2013) and Magaletti et al. (Reference Magaletti, Gallo and Casciola2021). The error bars associated with the present MD results represent the pressure fluctuation range around the turning points in the corresponding
$p{-}V$
curves, while the grey-shaded area indicates the 90 % confidence intervals obtained from linear regression. The nucleation pressures predicted by the present MD simulations and DI calculations exhibit consistent temperature-dependent trends, indicating that the confinement-modified nucleation landscape is robust across both molecular and continuum descriptions. The confined nucleation pressures (diamond symbols) can be approximately described by a linear temperature dependence, with the fitting line approaching the critical point. This behaviour suggests a unified thermodynamic scaling underlying the temperature dependence of confinement-modified bubble nucleation.
More importantly, the predicted confined nucleation pressures approach the experimentally measured cavitation pressures reported by Herbert et al. (Reference Herbert, Balibar and Caupin2006). This agreement suggests that nanoscale confinement may constitute an important physical factor reducing experimentally observed cavitation thresholds compared with classical homogeneous nucleation predictions. In particular, a confinement size of
${\sim}10$
nm is sufficient to substantially reduce the magnitude of the nucleation pressure, thereby narrowing the gap between bulk theoretical predictions and experimental observations.
3.3. Mechanism discussion
From a microscopic structural perspective, nanoscale confinement substantially weakens the intermolecular connectivity of liquid water, thereby promoting bubble nucleation. Evidence from both the hydrogen-bond (HB) number and the oxygen–oxygen coordination number, as demonstrated in figure 8, consistently supports this structural degradation.
Microscopic structural characteristics of confined water at
$T=298$
K. (
$a$
) Oxygen–oxygen radial distribution functions for bulk and confined water. The solid curves represent the present MD results for bulk (apricot orange) and confined (sky blue) systems. The symbols and lines denote the TIP4P/2005 water model results (Abascal & Vega Reference Abascal and Vega2005) and experimental measurements from X-ray scattering analyses (Bergmann et al. Reference Bergmann, Di Cicco, Wernet, Principi, Glatzel and Nilsson2007; Skinner et al. Reference Skinner, Huang, Schlesinger, Pettersson, Nilsson and Benmore2013). (
$b$
) Hydrogen-bond number per water molecule,
$N_{\textit{HB}}/N_{ {wt}}$
, and (
$c$
) oxygen–oxygen coordination number,
$C_{\textrm {O-O}}$
, as functions of the confinement sizes,
$z_{max }$
. Both quantities are calculated over the entire confined liquid region excluding solid atoms, representing the averaged characteristics of confined water rather than only the wall-adjacent layers. The error bars indicate the deviations between the maximum/minimum values and the averaged values obtained from three independent simulation runs; the black solid lines delineate the fitting results and the grey-shaded areas represent the corresponding 90 % confidence intervals. (
$d$
) Representative local HB networks in bulk (upper panel) and confined (lower panel) water. Bulk water exhibits a highly connected and nearly saturated HB network, whereas confinement induces a reduced HB connectivity, leading to an under-saturated HB network.

Figure 8(a) presents the oxygen–oxygen radial distribution function,
$g_{\rm {O-O}}(r)$
, providing direct structural evidence for the destabilising role of confinement. In bulk water, the pronounced first peak located at
$r\approx 2.8$
Å reflects a well-defined hydrogen-bonded nearest-neighbour structure, consistent with established benchmarks (Abascal & Vega Reference Abascal and Vega2005; Bergmann et al. Reference Bergmann, Di Cicco, Wernet, Principi, Glatzel and Nilsson2007; Skinner et al. Reference Skinner, Huang, Schlesinger, Pettersson, Nilsson and Benmore2013). In contrast, under confinement, although the first peak position remains nearly unchanged, implying a less varying HB length scale, the peak height is reduced and noticeably broadened. This suggests a decreased probability and increased variability of nearest-neighbour configurations. More strikingly, the second- and higher-order peaks are significantly attenuated relative to the bulk case, where a distinct second peak indicates the persistence of tetrahedral ordering. The suppression of these features also indicates a breakdown of structural correlations beyond the first coordination shell.
Figure 8(b) quantifies the average number of hydrogen bonds per water molecule,
$N_{\textit{HB}}/N_{ {wt}}$
, from the entire water as a function of the confinement size. The error bars represent the numeric deviation from the averaged values from three independent runs, while the grey-shaded areas indicate the corresponding 90 % confidence intervals. A systematic decrease in
$N_{\textit{HB}}/N_{ {wt}}$
is observed in the confined system compared with the bulk counterpart, as verified by the previous result of Luzar & Chandler (Reference Luzar and Chandler1996). This reduction indicates that nanoscale confinement disrupts the formation of a fully connected HB network and weakens the cohesive interactions within the liquid. This reduction also reflects a weakening of cohesive interactions within the liquid. Correspondingly, figure 8(c) further confirms this structural degradation through the oxygen–oxygen coordination number, defined as
where
$r_1$
denotes the first minimum of the oxygen–oxygen radial distribution function
$g_{\rm {O-O}}(r)$
. Importantly, the HB and coordination numbers are observed from the entire confined liquid rather than only the wall-adjacent layers. While bulk water maintains a coordination number close to the ideal tetrahedral value of four, confinement substantially reduces the local coordination number, reaching values approaching two under strong confinement (
$\sim\!10^1$
nm). Together with the HB analysis in figure 8(b
), these results demonstrate that nanoconfinement simultaneously suppresses HB connectivity and local molecular packing, leading to a structurally disrupted liquid environment.
The microscopic structural implications are further illustrated in figure 8(d), which presents schematic snapshots of the HB networks in bulk (upper panel) and confined (lower panel) water. In the bulk system, a highly connected HB network is preserved, characterised by well-defined local coordination environments and extensive intermolecular connectivity. In contrast, confinement induces a disrupted and undersaturated HB network, accompanied by broken HB connections and the emergence of locally under-coordinated regions. These structurally weakened domains are associated with reduced local cohesion and enhanced density fluctuations, providing favourable environments for the formation of vapour cavities during cavitation nucleation.
The dynamic manifestation of confinement-induced structural degradation is further illustrated in figure 9, which shows the temporal evolution of the HB number and liquid density during depressurisation, along with the corresponding microscopic configurations. Before bubble nucleation, both the HB number and liquid density exhibit relatively mild reductions, indicating that the confined water remains in a metastable liquid state while gradually accumulating mechanical tension. As the system approaches the spinodal limit, a pronounced, simultaneous reduction of both density and HB connectivity occurs, indicating a cooperative breakdown of the liquid structure accompanying the liquid–vapour phase change.
Temporal evolution and spatial characterisation of hydrogen-bond degradation preceding confined bubble nucleation. (
$a$
) Time evolution of the HB number per water molecule (left axis) and the liquid density (right axis) for confined water at a confinement size of
$10^1$
nm under a pressure-ramp rate of
$\dot {p}=-5.0$
MPa ns−1 at
$T=298$
K. Both quantities exhibit a gradual decrease during the metastable stage, followed by a sharp reduction upon approaching the liquid spinodal limit, indicating a cooperative structural collapse associated with vapour nucleation. The black curve represents the smoothed trend extracted from the raw MD trajectories, while the raw data reflect thermal fluctuations. (
$b$
) Density profiles along the confinement direction at three representative moments before and during nucleation. (
$c$
) Evolution of the vapour embryo contour extracted from the low-density region at the corresponding moments. (
$d$
) Probability density function of the HB number along the confinement direction at the same three moments.

Figure 9. Long description
Panel A: A line graph shows the time evolution of the hydrogen-bond number per water molecule (left axis) and the liquid density (right axis) for confined water at a confinement size of 3.36 nm under a pressure-ramp rate of 100 MPa ns^-1 at 300 K. Both quantities exhibit a gradual decrease during the metastable stage, followed by a sharp reduction upon approaching the liquid spinodal limit. The black curve represents the smoothed trend extracted from the raw MD trajectories, while the raw data reflect thermal fluctuations. Panel B: A line graph displays density profiles along the confinement direction at three representative moments before and during nucleation. Panel C: A line graph shows the evolution of the vapour embryo contour extracted from the low-density region at the corresponding moments. Panel D: A line graph depicts the probability density function of the hydrogen-bond number along the confinement direction at the same three moments.
The spatial evolution of the liquid structural degradation is revealed by the density profiles and vapour embryo contours in figures 9(b) and 9(c), where
$z^\ast$
is the dimensionless coordinate only scaling the liquid region. Before nucleation, the density distribution remains relatively homogeneous except for small fluctuations induced by thermal motion. With increasing tensile stress, however, localised density-depletion regions gradually emerge within the confined liquid. These low-density fluctuations subsequently evolve into vapour embryos and rapidly expand once the critical point of nucleation is reached. Importantly, these emerging embryos do not originate from the wall-adjacent interfacial layer, but emerge from the structurally perturbed liquid region, demonstrating that confinement promotes bubble nucleation by modifying the intrinsic liquid stability rather than simply introducing heterogeneous nucleation sites. This observation is also verified from the spatial distribution of the density-depletion position in figure 11 in Appendix B.
The evidence of the HB distribution is quantified through the spatial probability density function of the HB number in figure 9(d). Although the HB number decreases sharply when the liquid spinodal limit is exceeded (corresponding to
$t=66.8{-} 66.9$
ns), the spatial distribution remains as uniform as that before nucleation (
$t=66.7$
ns), confirming that the structural degradation induced by nanoconfinement is not restricted to the wall-adjacent region. Instead, the reduction in HB connectivity occurs throughout the confined liquid, indicating a bulk weakening rather than a localised interfacial structuring. This observation further supports the confinement-modified bulk nucleation mechanism, where the solid wall primarily alters the intrinsic stability of the confined liquid instead of directly acting as heterogeneous nucleation sites.
From a thermodynamic perspective, the above-mentioned structural degradation and evolution provide a microscopic interpretation for the reduced nucleation free-energy barrier predicted by the DI model. The decrease in HB connectivity and local coordination weakens the cohesive interaction within confined water, thereby reducing the energetic penalty associated with generating a low-density fluctuation. Meanwhile, the spatially distributed structural perturbation promotes larger density fluctuations and increases the probability of forming vapour embryos under tensile stress. Therefore, the critical density fluctuation required to initiate bubble nucleation can be achieved at a lower liquid metastability degree compared with bulk water, corresponding to a lower nucleation energy barrier and a lower negative nucleation pressure threshold. The consistency between the microscopic structural evolution observed in MD simulations and the thermodynamic prediction from the DI framework establishes a direct connection between confinement-induced molecular rearrangement and macroscopic bubble nucleation behaviour.
4. Conclusions
In this study, we elucidated the fundamental mechanisms of bubble nucleation in confined liquids across nano- to sub-microscale dimensions by coupling MD simulations with DI theory. By enforcing nucleation to occur within the bulk phase, we systematically evaluated the nucleation free-energy barrier, transition pathways and nucleation pressure, thereby isolating confinement-induced density-field effects from conventional interfacial nucleation.
Our findings demonstrate that nanoscale confinement prominently facilitates bubble nucleation by reshaping the free-energy landscape. The nucleation free-energy barrier is reduced under confinement, with the reduction exhibiting a robust dependence on the degree of metastability. In particular, distinct power-law scalings are identified for the normalised energy barrier, indicating that confinement effects become dominant as the system approaches the liquid spinodal point. A pronounced size-dependent transition is also generalised: systems with characteristic dimensions (
$z_{\textit{max}}\lt 50$
nm) exhibit strong confinement effects, leading to a decrease in free-energy cost of bubble nucleation, whereas larger dimensions (
$z_{\textit{max}}\gt 100$
nm) rapidly converge to the bulk-like behaviour. As a result, the theoretically predicted nucleation pressures for nanoconfined water are in closer agreement with existing experimental observations, narrowing the long-standing discrepancy between classical bulk theories and experiments.
At the microscopic level, this enhanced nucleation propensity originates from the structural degradation in the confined liquid. Confinement inhibits the formation of a fully saturated hydrogen-bond network, leading to significant reductions in both the hydrogen-bond and oxygen–oxygen coordination numbers. This structural under-coordination diminishes the local cohesive energy density and amplifies density fluctuations. Consequently, the thermodynamic penalty for vapour-cavity formation is substantially lowered, rendering the liquid more susceptible to rupture under depressurisation.
Overall, this work describes bulk-like nucleation under ideal hydrophilic confinement and establishes a physical link between the anomalous microscopic characteristics of nanoconfined liquids and the macroscopic thermodynamics of cavitation. Although the observed behaviour in realistic systems is often coupled with heterogeneous effects arising from surface chemistry and morphology, the present framework isolates the intrinsic contribution of geometric confinement by considering an idealised homogeneous confinement condition.
These findings provide a unified physical picture of confined nucleation and offer a theoretical basis for understanding and manipulating liquid–vapour phase change in nanofluidic and microfluidic applications.
Supplementary movie
Supplementary movie is available at https://doi.org/10.1017/jfm.2026.12290.
Funding
This work has been financially supported by the National Natural Science Foundation of China under Grants Nos. 12572290 and 92252205.
Declaration of interests
The authors report no conflict of interest.
Data availability statement
The data that support this study’s findings are openly available from the corresponding author upon reasonable request.
Appendix A. Molecular dynamics models and parameters
Both the coarse-grained molecular dynamics (CGMD) and atomistic MD simulations in this work were performed using the LAMMPS package (Plimpton Reference Plimpton1995). In both models, the non-bonded interactions were described by the conventional 12–6 Lennard–Jones (LJ) potential,
where
$U_{\textit{ij}}$
denotes the pair interaction energy between particles
$i$
and
$j$
separated by a distance
$r$
. Here,
$\sigma _{\textit{ij}}$
and
$\varepsilon _{\textit{ij}}$
represent the characteristic interaction length and depth of the potential well, respectively. Additionally,
$r_c$
is the truncation distance.
The CGMD model comprises three types of CG beads, representing water (W), antifreeze (AF) particles and confining walls (C). The corresponding parameters are summarised in table 1. For comparison, the atomistic MD model explicitly resolves the molecular structure of water and contains three atom types, including oxygen (O), hydrogen (H) and solid-wall atoms (S). The relevant force-field parameters are listed in table 2.
Detailed simulation parameters for the CGMD model.

Table 1. Long description
A table comparing simulation parameters for different bead types in a CGMD model. The table has six rows and seven columns. Column headers are Bead i, Bead j, Mass, σіji (Å), εіji (kcal mol⁻¹), Bead number, and r_c (Å). Row 1: Bead i, W; Bead j, W; Mass, 72; σіji (Å), 4.7; εіji (kcal mol⁻¹), 1.195; Bead number, 900000; r_c (Å), 15. Row 2: Bead i, AF; Bead j, AF; Mass, 72; σіji (Å), 4.7; εіji (kcal mol⁻¹), 1.195; Bead number, 100000; r_c (Å), 15. Row 3: Bead i, C; Bead j, C; Mass, 1.0; σіji (Å), 1.0; εіji (kcal mol⁻¹), 0.000; Bead number, 448000; r_c (Å), 15. Row 4: Bead i, W; Bead j, C; Mass, 4.7; σіji (Å), 1.200; Bead number, empty; r_c (Å), 15. Row 5: Bead i, AF; Bead j, C; Mass, empty; σіji (Å), 4.7; εіji (kcal mol⁻¹), 1.200; Bead number, empty; r_c (Å), 15. Row 6: Bead i, W; Bead j, AF; Mass, 5.2; σіji (Å), 1.338; Bead number, empty; r_c (Å), 15.
Detailed simulation parameters for the atomistic MD model.

Table 2. Long description
The table presents force-field parameters for an atomistic molecular dynamics (MD) model. It has 7 rows and 9 columns. The columns are labeled Atom i, Atom j, Mass, σij(Å), εij(kcal mol⁻¹), Atom number, rc(Å), Bond length (Å), and Angle (°). The rows list different atom pairs and their corresponding parameters. For example, Row 1: Atom i is O, Atom j is O, Mass is 16.0, σij(Å) is 3.165, εij(kcal mol⁻¹) is 0.184, Atom number is 8954, rc(Å) is 12, Bond length (Å) is not applicable, Angle (°) is 104.5.
For all simulations, the initial liquid state was equilibrated at the liquid–vapour coexistence pressure corresponding to the prescribed temperature. Subsequently, nucleation was induced through a continuous depressurisation process with pressure ramp rates of
$-0.4, -0.833, -1.0, -2.0, -5.0$
and
$-20$
MPa ns−1. For each pressure ramp rate, the bubble nucleation pressure
$p_{\textit{ncl}}$
was identified from the onset of the rapid volumetric expansion associated with the formation of a stable vapour cavity. A representative case under a pressure ramp rate of
$-0.4$
MPa ns−1 is shown in figure 10. The dependence of the obtained nucleation pressure on the pressure ramp rate
$\dot {p}$
is summarised in figure 6(b).
Time-varying liquid pressure (left axis) and liquid dimension along the confinement direction (right axis) at two representative temperatures, where the liquid is depressurised at a constant ramp rate of
$-0.4$
MPa ns−1.

Appendix B. Criterion for distinguishing nucleation modes
To clarify whether the observed nucleation events originate from the interfacial region or the bulk liquid region under confinement, we further analyse the spatial location of the density depletion preceding vapour-cavity formation. As illustrated in figure 11(a), a representative MD trajectory is extracted from the pre- to post-nucleation stages. The first appearance of a pronounced low-density fluctuation is identified as the precursor of cavity formation and its vertical position along the confinement direction is quantified. The corresponding evolution of the density profile is presented in figure 11(b). A local minimum in the density distribution emerges before the vapour cavity formation, which is used to define the dimensionless coordinate
$z_d^*$
of the density-depletion region. Meanwhile, the liquid density exhibits a sharp attenuation adjacent to the confining walls due to the wall-induced structural perturbation. The characteristic thickness of this interfacial layer is denoted as
$\delta _w$
. Based on the spatial relationship between
$z_d^*$
and
$\delta _w$
, two distinct nucleation modes can be distinguished. When the density depletion occurs within the interfacial perturbation layer, i.e.
$z_d^* \approx \delta _w$
or
$z_d^* \approx 1-\delta _w$
, the nucleation process is classified as wall-assisted heterogeneous nucleation. In contrast, when the density depletion occurs away from the confining walls,
$\delta _w\ll z_d^* \ll 1-\delta _w$
, the nucleation event is regarded as confinement-modified bulk nucleation.
Schematic illustration of the criterion for distinguishing wall-assisted heterogeneous nucleation from confinement-modified bulk nucleation. (
$a$
) MD trajectories from pre- to post-nucleation stages, where the initial density-depletion region preceding vapour cavity formation is identified. (
$b$
) Density profile along the confinement direction at these nucleation stages. A local density minimum is used to determine the vertical position of the density-depletion region, denoted as
$z_d^*$
, while the thickness of the liquid–solid interfacial perturbation layer,
$\delta _w$
, is characterised by the sharp density attenuation adjacent to the confining wall. The nucleation mode is classified as wall-assisted heterogeneous nucleation when the density depletion occurs within the interfacial layer; otherwise, it is classified as confinement-modified bulk nucleation when the depletion region is located in the bulk liquid. (
$c$
) Distribution of the dimensionless density-depletion position
$z_d^*$
from different MD simulation cases. (
$d$
) Probability density function of
$z_d^*$
obtained from the investigated nucleation events, illustrating the statistical preference of the initial density-depletion position along the confinement direction.

Figure 11. Long description
Panel A: Four snapshots from molecular dynamics trajectories showing the time evolution from pre-nucleation to post-nucleation stages. The snapshots are labeled with time in nanoseconds (ns) and show the formation of a vapour cavity and density depletion. Panel B: A line graph showing the density profile along the confinement direction at different nucleation stages. The x-axis represents density (rho) in nm^-3, and the y-axis represents the dimensionless position (z*). A local density minimum is used to determine the vertical position of the density-depletion region. Panel C: A bar graph showing the distribution of the dimensionless density-depletion position from different molecular dynamics simulation cases. The x-axis represents case numbers, and the y-axis represents the dimensionless position (z*). Panel D: A line graph showing the probability density function of the dimensionless density-depletion position obtained from the investigated nucleation events. The x-axis represents the dimensionless position (z*), and the y-axis represents the probability density function (p.d.f.).
To obtain statistical evidence beyond individual trajectories, the identified density-depletion positions from different MD simulation cases are summarised in figure 11(c). For all cases, the obtained
$z_d^*$
values remain predominantly located in the bulk liquid rather than near the two confining walls. No systematic accumulation of nucleation positions within the interfacial perturbation layers is observed, indicating that the confining walls do not provide preferential nucleation sites in the present study.
Furthermore, figure 11(d) presents the probability density distribution of
$z_d^*$
collected from multiple nucleation events. The distribution exhibits a dominant peak around the centre of the confinement domain (
$z_d^*\approx 0.562$
), while no pronounced peaks appear near
$z_d^*=0$
or
$z_d^*=1$
, where wall-induced heterogeneous nucleation would be expected. These results demonstrate that the nucleation pathway investigated in this work corresponds to confinement-modified bulk nucleation rather than direct wall-assisted heterogeneous nucleation.
It should be noted that this analysis does not imply that heterogeneous nucleation is absent in realistic confined systems. Instead, it confirms that under the present idealised confinement conditions with smooth and chemically homogeneous hydrophilic walls, the intrinsic effect of geometric confinement on the bulk nucleation process can be isolated without the interference of specific surface defects or chemical heterogeneities.
Appendix C. Thermodynamic consistency of the models
To quantify the possible discrepancies arising from different water models, we compare several representative thermodynamic properties predicted by the atomistic TIP4P/2005 model (Abascal & Vega Reference Abascal and Vega2005; Vega et al. Reference Vega, Abascal and Nezbeda2006; González et al. Reference González, Valeriani, Caupin and Abascal2016), the present CG water model, the vdW equation-of-state (EOS) model, and the experimentally measured or standard reference data, as summarised in figure 12.
Comparison of thermodynamic properties of water described by the experimentally measured or standard reference data, the vdW free-energy model, the atomistic TIP4P/2005 model (Abascal & Vega Reference Abascal and Vega2005; Vega et al. Reference Vega, Abascal and Nezbeda2006; González et al. Reference González, Valeriani, Caupin and Abascal2016), and the present CG model: (
$a$
) temperature dependence of the liquid–vapour interfacial tension; (
$b$
) liquid–vapour phase diagram showing the coexistence density as a function of temperature; (
$c$
) saturated vapour pressure along the coexistence curve as a function of coexistence density; (
$d$
) pressure dependence of the isothermal compressibility; (
$e$
) saturated vapour pressure against temperature; and (
$f$
) spinodal pressure of metastable liquid water as a function of temperature, where results from Speedy (Reference Speedy1982) and Poole et al. (Reference Poole, Sciortino, Essmann and Stanley1992) are extracted for comparison.

As shown in figure 12(a), the interfacial tension decreases monotonically with increasing temperature for all models, following the expected behaviour of real water. Although the present CG model exhibits a lower absolute value than the TIP4P/2005 model and the standard reference, its temperature dependence remains consistent. Herein, it should be noted that the interfacial tension cannot be directly estimated from the bulk free-energy density
$f_b$
in (2.2); instead, it is governed by the magnitude of
$\kappa$
and the density gradient in (2.10). Therefore, we prescribe
$\gamma =0.04{-} 0.07$
J m
$^{-2}$
in the present DI model based on the values obtained from MD simulations. Since the nucleation barrier is mainly determined by the competition between the interfacial free-energy penalty and the bulk thermodynamic driving force, reproducing the appropriate magnitude of the interfacial contribution is sufficient to capture the confinement-dependent nucleation behaviour.
The liquid–vapour coexistence properties are examined in figures 12(b) and 12(c). The vdW EOS model reproduces the characteristic two-phase coexistence region separated by a critical point and captures the general evolution of liquid and vapour densities along the coexistence curve. Both the vdW EOS and CG models exhibit deviations in density compared with the TIP4P/2005 model and the reference data. For the CG model, this deviation originates from the coarse-graining treatment, where molecular-scale interactions are smoothed into effective interactions. For the vdW EOS model, the discrepancy arises from the mean-field approximation and the absence of explicit hydrogen-bond interactions in water. Nevertheless, it still preserves the essential thermodynamic features, including the critical point and the overall evolution trends in both the
$T{-}\rho$
and
$p_{\textit{sat}}{-}\rho$
phase diagrams.
Figure 12(d) compares the pressure dependence of the isothermal compressibility. The CG model exhibits a larger compressibility than the TIP4P/2005 model and the reference values, which implies the softer effective interactions commonly associated with CG force fields. Such deviations mainly influence the quantitative equation-of-state properties, but do not change the qualitative mechanism of confinement-modified nucleation investigated here.
The temperature-dependent saturated vapour pressure is presented in figure 12(e). The predictions from the vdW EOS model, the TIP4P/2005 model, and the present CG model follow the same exponential increase with temperature and remain consistent with the standard reference data. This agreement confirms that these models can capture the essential thermodynamic relationship between temperature and liquid–vapour equilibrium.
Finally, the spinodal behaviour of metastable liquid water is evaluated in figure 12(f). The liquid spinodal pressure predicted by the vdW EOS model is obtained from the instability condition
$(\partial ^2 f_b/\partial \rho ^2)_T=0$
. The predicted spinodal curve exhibits a similar temperature dependence and comparable magnitude to previous theoretical estimations reported by Speedy (Reference Speedy1982) and Poole et al. (Reference Poole, Sciortino, Essmann and Stanley1992). Furthermore, all curves converge towards a common critical point, demonstrating that the vdW EOS model retains the fundamental thermodynamic characteristics of liquid metastability. Nevertheless, the absolute spinodal limit should not be interpreted as the exact bubble-nucleation pressure for real water, because molecular fluctuations and kinetic effects lie beyond the mean-field description.
Overall, these comparisons have demonstrated that the vdW EOS model could capture the essential thermodynamic characteristics required for analysing confinement-modified bubble nucleation, including phase coexistence, interfacial tension, vapour–liquid equilibrium and metastable instability. Although quantitative deviations exist between the vdW description and molecular water models due to the absence of explicit hydrogen-bond interactions, these differences mainly influence absolute thermodynamic values rather than the underlying confinement-modified nucleation mechanism. Therefore, the present vdW-based DI framework is expected to provide semi-quantitative predictions of the nucleation free-energy barrier and pressure dependence, while the atomistic and CG MD simulations provide direct microscopic validation of the nucleation mechanism.
Appendix D. Validation of the spatial form and characteristic length of the square-gradient coefficient
First, we examine three representative functional forms of the square-gradient coefficient, including hyperbolic cosine, exponential and polynomial formulations, as shown in figure 13. Their analytical expressions are
\begin{align} &\kappa _{\textit{hyp}}(z)/\kappa _0= 1-\frac {1}{\cosh (z_{\textit{max}}/2z_c)}\left [1-\frac {\cosh \left (\frac {2z-z_{\textit{max}}}{2z_c}\right )-1}{\cosh \left (\frac {z_{\textit{max}}}{2z_c}\right )-1}\right ]\!, \quad z/z_{\textit{max}} \in [0,1], \\[-12pt] \nonumber \end{align}
\begin{align} &\kappa _{\textit{poly}}(z)/\kappa _0=1-be^{-z_{\textit{max}}/2z_c}\left [m\left ( \frac {z}{z_{\textit{max}}}\right )^{2n} \left (1- \frac {z}{z_{\textit{max}}}\right )^{2n}\right ],\quad z/z_{\textit{max}} \in [0,1], \\[10pt] \nonumber \end{align}
where
$a,b,\sigma , m,n$
are dimensionless coefficients. The characteristic length
$z_c$
is identical for all three formulations and represents the penetration depth of wall-induced perturbations into the confined liquid.
Comparison of the spatial distribution of the square-gradient coefficient
$\kappa$
obeying three representative functional forms: (
$a$
) hyperbolic cosine form; (
$b$
) exponential form; (
$c$
) polynomial form.

Figure 13. Long description
Panel A: Line graph showing the hyperbolic cosine form. The x-axis is labeled z/z_max and ranges from 0 to 1. The y-axis is labeled κ(z)/κ_0 and ranges from 10^-1 to 10^0. Multiple lines represent different z_max values: 10 mm, 20 mm, 30 mm, 50 mm, and 100 nm. Panel B: Line graph showing the exponential form. The x-axis is labeled z/z_max and ranges from 0 to 1. The y-axis is labeled κ(z)/κ_0 and ranges from 10^-1 to 10^0. Multiple lines represent different z_max values: 10 mm, 20 mm, 30 mm, 50 mm, and 100 nm. Panel C: Line graph showing the polynomial form. The x-axis is labeled z/z_max and ranges from 0 to 1. The y-axis is labeled κ(z)/κ_0 and ranges from 10^-1 to 10^0. Multiple lines represent different z_max values: 10 mm, 20 mm, 30 mm, 50 mm, and 100 nm.
All three functional forms are constructed to satisfy three physical constraints: (i) symmetry with respect to the two confining walls (
$\kappa (0.5-\delta )=\kappa (0.5+\delta )$
); (ii) a minimum value far away from the walls (
$\kappa _{ {min}}=\kappa (0.5)$
); and (iii) recovery of the bulk value
$\kappa _0$
near the solid walls (
$\kappa (0.0)=\kappa (1.0)=\kappa _0$
) for sufficiently large confinement sizes.
All three formulations yield highly consistent spatial distributions of
$\kappa /\kappa _0$
and comparable magnitudes. The resulting nucleation free-energy barriers exhibit only minor differences among these formulations, indicating that the predicted confinement effect is insensitive to the detailed mathematical form of
$\kappa (z)$
. Therefore, to minimise the number of empirical parameters while preserving the above physical constraints, the hyperbolic-cosine formulation in (2.9) is adopted throughout this work.
The influence of the characteristic length
$z_c$
is further investigated in figure 14. Although the normalised nucleation barrier,
$\Delta \varOmega ^*_{\textit{Conf}}/\Delta \varOmega ^*_{\textit{Bulk}}$
, varies systematically with
$z_c$
, the results obtained at different confinement sizes collapse onto a universal relation when plotted against the non-dimensional parameter
$z_c/z_{\textit{max}}$
. This observation indicates that choosing a constant ratio
$z_c/z_{\textit{max}}$
would artificially impose a confinement-size-dependent perturbation range and therefore cannot represent the intrinsic physics of wall-induced structural modification.
Normalised nucleation free-energy barrier plotted with the non-dimensional characteristic length (
$z_c/z_{max }$
) at three representative confinement sizes, where
$T=298$
K,
$\mu ^*=0.786$
and
$\kappa (z)=\kappa _{\textit{hyp}}(z)$
.

Instead,
$z_c$
should be interpreted as the characteristic decay length of the solid–liquid interaction-induced perturbation, which is determined by interfacial molecular ordering rather than by the geometric confinement size. Consequently,
$z_c$
can not be treated as an adjustable fitting parameter or scaled with
$z_{\textit{max}}$
in the present model. Instead, it is assigned as an intrinsic molecular-scale length on the order of several nanometres, consistent with previous studies reporting that interfacial structural perturbations in confined water extend over several molecular layers and can reach nanometre scales in nanoscale confinement systems (Bocquet & Charlaix Reference Bocquet and Charlaix2010).
Appendix E. Influence of finite lateral size on quasi-cylindrical and spherical bubble nucleation barriers
To clarify the possible finite-size effect associated with the quasi-2-D simulation geometry, we further compare the nucleation free energy barriers of cylindrical- and spherical-like vapour bubbles. In the present MD simulations, the confined liquid adopts a slab-like geometry with one thin periodic lateral dimension, denoted as
$y_{max }$
, while the other lateral dimension remains sufficiently extended. Such a geometry may lead to a quasi-2-D cylindrical vapour embryo when the critical bubble size becomes comparable to or larger than
$y_{max }$
. In contrast, the axisymmetric DI model describes a 3-D spherical-like vapour nucleus.
For a cylindrical vapour embryo with radius
$r$
and length
$y_{max }$
, the competition between interfacial energy and volumetric free-energy gain can be expressed as
where
$\gamma$
is the liquid–vapour interfacial tension and
$\Delta p = p_v-p_l$
is the pressure driving force. The corresponding critical radius and nucleation barrier are obtained as
and
For comparison, the spherical bubble nucleation free energy is
with
and
Therefore, the ratio between the two nucleation barriers can be expressed as
This relation indicates that the finite slab-domain thickness mainly determines the transition between cylindrical- and spherical-like nucleation pathways. When
$y_{max }$
is much smaller than the critical spherical diameter, the vapour embryo is constrained into a cylindrical morphology, leading to a reduced surface-area penalty compared with a fully spherical nucleus. Conversely, increasing
$y_{max }$
gradually restores the three-dimensional bubble nucleation behaviour.
For the present MD simulations, the characteristic parameters are
$y_{max }=10$
nm,
$\gamma =0.05{-} 0.06$
N m-1 and
$\Delta p\approx 30{-} 33$
MPa. Substituting these values gives
Thus, although the finite lateral dimension introduces a quasi-2-D cylindrical-like bubble morphology into the MD geometry, the resulting deviation of the nucleation barrier relative to the 3-D spherical scenario remains within approximately
$20\,\%$
. This difference is comparable to the intrinsic uncertainty associated with molecular models and interfacial parameters, and therefore does not alter the confinement-modified nucleation enhancement.
Moreover, the critical radii are of the order of several nanometres, which is smaller than the lateral simulation dimensions employed in the present work. Therefore, the periodic boundary conditions do not impose any artificial constraints on the nucleation pathway or stabilise a specific bubble morphology. Instead, the quasi-2-D geometry primarily reduces computational cost while preserving essential 3-D molecular interactions.
Consequently, the finite lateral thickness in the MD simulations may modify the absolute value of the nucleation barrier slightly, but it does not change the underlying physical mechanism: nanoscale confinement weakens the liquid stability by modifying local molecular structures and reduces the thermodynamic cost required for vapour-bubble formation.
Appendix F. Numerical convergence and parameter independence of the string method
To verify the robustness of the minimum-free-energy pathway obtained from the string method, the dependence of the free-energy barrier on three numerical parameters, including density depletion
$Q_d$
, string-shape factor
$\beta$
and the number of images along the string
$N_s$
, is examined. As shown in figure 15, the calculated free-energy barriers remain nearly unchanged over a broad range of these parameters. Specifically, varying the density depletion from
$Q_d=100$
to
$1000$
produces only negligible variations in the maximum free-energy barrier, indicating that the converged transition state is insensitive to the final image of the density field. Similarly, changing the string-shape factor
$\beta$
, which controls the distribution of intermediate images linking the initial liquid and final vapour state, does not alter the free-energy barrier. Furthermore, increasing the number of images from
$N_s=300$
to
$900$
leads to a constant
$\Delta \varOmega ^*$
, demonstrating that the present discretiastion along the string is sufficient. These results co-confirm that the calculated nucleation barrier is determined by the intrinsic thermodynamic landscape rather than by numerical choices of the initial string construction or discretisation. Therefore, the reported free-energy barriers represent converged values of the underlying confined nucleation process.
Independence of the free-energy barrier on (
$a$
) density depletion (
$Q_d$
), (
$b$
) string-shape factor (
$\beta$
) and (
$c$
) number of images along the string (
$N_s$
), where
$T=298$
K,
$\mu ^*=0.786$
,
$z_{max }=10$
nm and
$\mathrm{d}r=\mathrm{d}z=0.05$
nm.

Appendix G. Sensitivity to computational domain size and grid resolution
To assess the influence of computational domain size and grid resolution on the DI predictions, bulk nucleation is considered as a representative case. Figure 16(a) shows that the nucleation free-energy barrier is insensitive to the computational domain size
$\{z_{\textit{max}}, R_{\textit{max}}\}$
, which is physically reasonable. This indicates that, for confined systems, the radial size of the computational domain plays a negligible role once it is sufficiently larger than the critical bubble nucleus, whereas the vertical confinement size governs the nucleation behaviour, as discussed in figure 5(a).
Dependence of the nucleation free-energy barrier on (
$a$
) the computational domain size (vertical
$z_{\textit{max}}$
and radial
$R_{\textit{max}}$
) and (
$b$
) the grid coarseness (
$\mathrm{d}z$
and
$\mathrm{d}r$
) for the bulk nucleation scenario.

However, figure 16(b) evaluates the sensitivity of the nucleation energy barrier to grid resolution, characterised by the uniform grid spacing
$\mathrm{d}r=\mathrm{d}z$
. A clear convergence trend is observed: as the grid spacing decreases, the predicted barrier gradually increases and approaches a constant value. For sufficiently fine grids (
$\mathrm{d}z=\mathrm{d}r \leq 0.05$
nm), the variation of the calculated barrier becomes negligible, demonstrating numerical convergence. In contrast, coarser grids systematically underestimate the nucleation barrier because the diffuse interface and the associated steep density gradients cannot be adequately resolved, leading to an inaccurate evaluation of the interfacial free-energy contribution. This result highlights the necessity of resolving the intrinsic interfacial thickness in the DI model. Therefore, a grid resolution smaller than approximately 0.1 nm is required to achieve quantitative accuracy and
$\mathrm{d}z=\mathrm{d}r=0.05$
nm is adopted for all calculations in the present study.
Appendix H. Phase diagram of nucleation free-energy barrier
Figure 17 presents the phase diagram of the normalised nucleation free-energy barrier,
$\Delta \varOmega ^*_{\textit{Conf}}/\Delta \varOmega ^*_{\textit{Bulk}}$
, on the
$\{z_{\textit{max}},\mu ^*\}$
plane at two representative temperatures. A clear confinement-metastability interplay is observed. For large confinement sizes or a low degree of metastability, the ratio approaches 1.0, indicating that confined nucleation behaves closely to the bulk limit. In contrast, significant deviations occur at smaller
$z_{\textit{max}}$
and higher
$\mu ^*$
, and the barrier ratio decreases, highlighting the strong promotion of nanoscale confinement. The blue dotted lines delineate a fixed reduction level of
$\Delta \varOmega ^*_{\textit{Conf}}/\Delta \varOmega ^*_{\textit{Bulk}}=0.5$
, where confinement effect becomes dominant.
Phase diagram of the normalised nucleation free-energy barrier,
$\Delta \varOmega ^*_{\textit{Conf}}/\Delta \varOmega ^*_{\textit{Bulk}}$
, for confined water relative to its bulk counterpart on the
$\{z_{\textit{max}},\mu ^*\}$
plane at (a)
$T=298$
K and (b)
$T=400$
K. The colour map quantifies the degree of barrier reduction induced by confinement and metastability, with the dotted line denoting a representative threshold of 0.5 that separates the bulk-like regime from the confinement-dominated regime.

From a mechanistic perspective, this behaviour originates from the liquid-structure weakening and the associated reduction in cohesive energy density. At higher metastability, the liquid is already close to its spinodal point, and confinement further amplifies density fluctuations by suppressing intermediate-range order and hydrogen-bond connectivity. Conversely, at lower metastability, liquid structure remains relatively robust, and perturbations from confinement are insufficient to alter the nucleation pathway significantly. Therefore, the phase diagram provides a unified view of how confinement and thermodynamic driving jointly regulate the onset of nucleation, revealing a transition from bulk-like to confinement-dominated regimes.
Appendix I. Dependence of the liquid pressure on the degree of metastability
As supplementary, figure 18 demonstrates the liquid pressure estimated from (2.4) plotted with the degree of metastability from (3.3) under three temperatures. Higher negative pressures are required to drive the liquid into a higher degree of metastability for bubble nucleation; meanwhile, the nucleation energy barrier is much lower. Additionally, higher temperatures result in lower negative liquid pressures at a prescribed degree of metastability.



a
b
zmax
pL
a
ρL=2.3ρc
T=298
dz=dr=0.05
z=0.5zmax
b
c
{ρav,Req}
ΔΩ∗
ΔΩ−ρav
ΔΩ−Req
T=298
μsat
μsv
ρsatv
ρsatl
a
ΔΩ
Req
μ∗
T=298
zmax=Rmax=10
b
μ∗=0.971
ρL=2.15ρc
c
μ∗
μ∗
a
ΔΩConf∗/ΔΩBulk∗
zmax
b
a
T=298
p˙=−5.0
b
T=298
a
c
d
p˙=−5.0
a
pL
ΔΩ∗
p(μ∗)
ΔΩ∗(μ∗)
Δp∗=pncl−pv=−16πγ3/3ΔΩ∗
pv
γ
pL(ΔΩ∗)
Δp∗(ΔΩ∗)
b
zmax=101
T=298
a
b
NHB/Nwt
c
CO-O
zmax
d
a
101
p˙=−5.0
T=298
b
c
d

−0.4
a
b
zd∗
δw
c
zd∗
d
zd∗
a
b
c
d
e
f
κ
a
b
c
zc/zmax
T=298
μ∗=0.786
κ(z)=κhyp(z)
a
Qd
b
β
c
Ns
T=298
μ∗=0.786
zmax=10
dr=dz=0.05
a
zmax
Rmax
b
dz
dr
ΔΩConf∗/ΔΩBulk∗
{zmax,μ∗}
T=298
T=400