Manuscript Offprint
arXiv:2611.06464Microdroplet Generator Surrogate Enhancement and Inverse Design Through an Uncertainty-Guided Framework
Abstract
Microfluidic droplet generation is critical for many applications, yet efficient device design in high-dimensional parameter spaces remains computationally prohibitive due to complex multiphase flow dynamics. This work presents a unified methodology that couples adaptive surrogate enhancement with simulation-driven inverse design. High-fidelity Volume-of-Fluid simulations provide ground-truth data, while neural network ensembles predict flow regimes and droplet diameters. Ensemble-based uncertainty quantification identifies epistemic uncertainty using consensus levels for regime classification and the coefficient of variation for diameter prediction, revealing that uncertainty concentrates near regime transition boundaries where physics is highly sensitive to parameter perturbations.
A physics-informed enrichment strategy targets these critical zones and addresses class imbalances by deploying additional targeted simulations and retraining the surrogates forming the ensembles. A framework that integrates Particle Swarm Optimization for constrained inverse design, balancing accuracy with predictive confidence and physical consistency is therefore proposed. Validation on independent test datasets demonstrates that the enriched ensembles achieve higher accuracy, with the fraction of predictions within the 0–3% error range on droplet diameter nearly doubling, and high-error cases (above 10%) dropping substantially. The inverse design procedure reliably identifies physically realizable configurations meeting target droplet sizes. This approach significantly reduces computational costs while ensuring reliable predictions, offering a framework with potential applicability to the optimization of a broad range of microfluidic systems.
1 Introduction
The precise control and characterization of droplet formation in microfluidic systems are fundamental to a wide array of applications, ranging from single-cell analysis and drug delivery to the synthesis of advanced materials (Li et al., 2025; Wang et al., 2024; Wu et al., 2024). In these microscale devices, the physics of multiphase flows is governed by complex interfacial dynamics, where the viscous forces, inertial effects, and surface tension interact to produce known formation patterns, such as dripping or jetting (Sheng et al., 2022; Bourega et al., 2023).
A central challenge in modern microfluidic engineering is the ability to efficiently navigate vast design spaces and operating conditions to optimize droplet formation. While semi-empirical correlations can provide rapid means of estimating droplet and flow regime characteristics (Sontti and Atta, 2023; Mu et al., 2021; Sang et al., 2017), they often lack adaptability to new architectures and fluid properties resulting in costly and repetitive recalibration processes (Wang and Zhang, 2025; Da Ling et al., 2022; Yu et al., 2022). High-fidelity numerical simulations using Computational Fluid Dynamics (CFD) methods have been widely adopted for bypassing these empirical limitations, facilitating the study of these multi-phase systems while reducing
*Corresponding author: kler@cimec.unl.edu.ar manpower and material costs (Tsitouridou et al., 2025; Wu et al., 2023; Soroor et al., 2021). Specifically, the Volume of Fluid (VOF) approach provides high precision in capturing the interface dynamics inherent to multiphase flows (Mardani et al., 2023; da Silva and Lisboa-Filho, 2025; Yin and Kuhn, 2022; Malakshah et al., 2024). However, resolving critical phenomena like neck thinning and pinch-off demands extremely fine spatial and temporal resolutions, making extensive parameter sweeps over large design spaces computationally prohibitive.
To address this, machine learning (ML)-based surrogate modeling has emerged as an innovative tool, offering the ability to approximate complex, non-linear mappings between operational parameters (such as flow rates, viscosities, and capillary radius) and physical outputs like droplet diameter and regime types (Harispe and Kler, 2026). However, many ML models struggle to maintain accuracy in unexplored parameter regions or near regime transitions where the underlying physics becomes highly sensitive (Lu et al., 2021). A key challenge in building reliable models is distinguishing between two types of uncertainty: epistemic uncertainty, arising from limited data and model-inherent flaws, and aleatoric uncertainty, arising from the system's intrinsic, complex stochastic behavior. Without a rigorous uncertainty quantification strategy, design decisions risk relying on erroneous surrogate predictions, particularly in regions exhibiting sharp non-linearities or abrupt behavioral shifts (Hüllermeier and Waegeman, 2021).
In microfluidic applications, such inaccuracies may result in failed experimental campaigns or economic consequences, such as the inefficient use of expensive chemical or biological reagents, the propagation of critical downstream errors within the microfluidic system, and challenges in scaling these architectures for industrial production. While existing models provide valuable insights, they often lack the inherent mechanisms, like an unified error quantification or uncertainty-guided refinement, required to identify and correct inaccuracies in challenging regions before they lead to such failures (Harispe and Kler, 2024).
While recent studies have advanced individual components of such frameworks, be it adaptive surrogate enhancement, ML-assisted design, or ML-assisted predictive modeling in microfluidic devices (Bae et al., 2024; Liu et al., 2025; Solanki et al., 2022; Hong et al., 2020; Manekar et al., 2025; Lashkaripour et al., 2024, 2021), the present work introduces a unified, simulation-driven methodology. Prior works, such as (Lashkaripour et al., 2024, 2021), have achieved impressive design automation for microdroplet generators by leveraging large experimental databases. However, these approaches are inherently constrained to the parameter space and device configurations covered by prior experiments. Additionally, existing methods lack a unified framework for prediction error detection. The methodology proposed here integrates ensemble-based uncertainty quantification with physics-guided error detection, facilitating the continuous enrichment of the training dataset through targeted VOF simulations.
In this work, a fully adaptive surrogate-optimization pipeline, that is both uncertainty- and physics-guided, is proposed and validated. The pipeline is specifically tailored for computationally expensive CFD problems. Our methodology moves beyond simple statistical uncertainty estimation by employing a dual-layered approach to identify and improve predictions on regions of limited confidence.
First, ensemble learning is used to extract specific variance-based uncertainty metrics, and then, those metrics are complemented by statistical diagnostic tools. By projecting these estimates onto the operational parameter space, genuine epistemic uncertainty can be isolated from the system's intrinsic stochastic behavior. Second, our approach employs a physics-informed enrichment strategy. The decision of where to deploy additional high-fidelity VOF simulations is not driven by statistics alone, but by engineering knowledge regarding the system's operational behavior and flow regime transition boundaries, to ensure robustness where these flow regimes change (Mao et al., 2020).
The true value of this high-fidelity surrogate lies in its application to complex design problems. For many end-users, manual optimization of microfluidic devices is a daunting task because even subtle fluctuations in operational parameters can drastically alter droplet morphology. To address this, the model refinement was included into an user-oriented workflow by integrating it with a constrained optimization algorithm for reliable inverse device design. This allows for the identification of specific operational settings that yield droplets with desired physical properties while exploring the parameter space under user-defined constraints, such as fixed values or allowable ranges for fluid viscosity, velocity, and capillary radius. By leveraging neural surrogates for instantaneous evaluation, our framework can efficiently explore the parameter space under user-defined constraints, such as maintaining a strictly dripping regime while simultaneously targeting specific droplet diameter requirements. Such workflow is illustrated in Fig. 1.
The primary contribution of this work is thus a unified computational methodology that couples adaptive surrogate refinement with simulation-based optimization. This framework enables efficient, constrained, and simulation-driven design of microfluidic droplet generators while significantly reducing the computational cost

Figure 1: Schematic of the proposed optimization and inverse design framework. Operational requirements (1) are processed via an optimization algorithm to generate parametric configurations (2). Neural network ensembles evaluate these to provide feedback on droplet and flow regimes (3) to guide the optimization loop, to output eventually the operational parameters (4) for the microfluidic device. The framework also enables parameter customization (5) to achieve the target dripping regime (6).
associated with exhaustive high-fidelity simulations.
Although the methodology is demonstrated using a specific type of micro-droplet generator, its underlying principles are broadly applicable to other microfluidic systems and, more generally, to computationally intensive multiphase CFD problems. Despite variations in governing physics, geometry, or numerical solvers across applications, the same methodology can be adopted to systematically enhance surrogate fidelity and enable efficient design exploration.
The following sections present the physical characteristics and governing equations of the coaxial micro-droplet generator. The computational methodology that couples high-fidelity volume-of-fluid simulations with baseline neural network surrogates is then outlined. An adaptive surrogate enhancement pipeline is subsequently detailed, utilizing ensemble-based uncertainty quantification and physics-informed data enrichment to systematically improve predictive accuracy. Finally, the refined surrogates are applied in a constrained inverse design workflow, demonstrating the efficient identification of optimal microfluidic configurations through an optimization algorithm presented in the methodology.
2.1 Target Microfluidic System: Coaxial Micro-droplet Generator
In this work, a coaxial micro-droplet generator (Ma et al., 2024) is adopted as the target system for applying the adaptive surrogate enhancement pipeline and, ultimately, for leveraging the resulting surrogates in the efficient inverse design of microfluidic devices. As illustrated in Fig. 2, the device consists of two aligned capillaries through which immiscible fluids are introduced coaxially, leading to droplet formation when the two phases interact at the inner capillary outlet. The fluid that forms the discrete droplets is identified as the dispersed phase (), and the fluid that surrounds and carries those droplets constitutes the continuous phase ().

Figure 2: Computational domain and coaxial droplet generator geometry used in the numerical simulations. The dispersed phase (orange) is injected through a cylindrical inner capillary into the continuous phase (light-blue), which advects the generated droplets through the surrounding concentric outer capillary.
Device's geometry is characterized by the outer capillary diameter () and an inner capillary diameter (), which directly influence the shear rate and droplet breakup dynamics. Along with those geometric parameters, material parameters like the velocity (), density (), and dynamic viscosity () of both phases form the high-dimensional input space explored by the surrogate models that were used in this work.
This type of devices are characterized by two main operating regimes: dripping (Fig. 3 Ia)) and jetting. The jetting regime can be further subdivided into "narrowing" and "widening" jets. In a narrowing jet (Fig. 3 Ib)), the fluid form a jet that is broken downstream into droplets due to Rayleigh-Plateau instabilities (Rayleigh et al., 1879), whereas in a widening jet (Fig. 3 Ic)), the diameter of the jet increases with distance as the droplets grow while attached to the fluid through a neck before eventually detaching.
I)

II)
Figure 3: Panel (I) shows three experimentally observed coaxial flow regimes: dripping, narrowing jet, and widening jet. Panel (II) summarizes the tested conditions from Utada et al. Open symbols denote jetting regimes ( for the narrowing jet and for the widening jet), while filled symbols denote the dripping regime. Dashed orange rectangles mark regions where the expected regime is not observed. Reprinted figures with permission from Utada et al., http://dx.doi.org/10.1103/PhysRevLett.99.094502. Copyright 2007 by the American Physical Society.
The behavior of the flow in this system can be characterized by the Capillary number ( ) and the Weber number ( ), defined as follows:
In these equations, denotes the dynamic viscosity, represents the characteristic flow velocity, is the fluid density, L denotes the characteristic length scale of the system (typically the capillary radius), and is the interfacial surface tension.
In the work of Utada et al. (2007) a mapping between the capillary number of the continuous phase ( ) and the Weber number of the dispersed phase ( ) was developed to define value ranges of these dimensionless parameters where the system operates in each flow regime (Fig. 3).
While these results provide a convenient approximation framework for predicting the resulting flow regime, they do not fully capture the complexity of the underlying flow dynamics. In Utada's reported results and related literature (Harispe and Kler, 2026), it was revealed that the same combination of and can lead to different flow behaviors depending on the specific physical, geometrical, and operating conditions used. These limitations are particularly evident near regime transition regions, where small variations in almost any parameter may result in unstable behavior between dripping and jetting, or between jetting modes (dashed rectangles in Fig. 3 (II)).
This limitation in predicting flow regimes provides strong motivation for using surrogate models. In addition to identifying the dominant flow regime, a crucial performance measure in experimental and industrial settings is the resulting droplet diameter ( ). The droplet size directly influences the performance and applicability of the system and therefore represents a key quantity of interest. Accordingly, is defined as the primary target variable to be predicted by the surrogate models in this work.
2.2 Two-phase flow
This section describes the mathematical model for the two-phase flow in the coaxial droplet generator. The system is composed of two immiscible, incompressible Newtonian fluids, namely the dispersed and continuous phases. Each fluid has its own constant density and viscosity, while the effective mixture properties vary only in the interfacial region. The momentum conservation is expressed through the Navier–Stokes equations for incompressible Newtonian fluids written in conservative form:
Here, is the velocity vector, is the pressure, and are the local density and viscosity, respectively. The last term, , represents the volumetric surface-tension force. In this work, gravitational effects are omitted because capillary, viscous, and inertial forces dominate the flow at this micro-scales.
Using the continuum surface force (CSF) model (Brackbill et al., 1992), is expressed as:
where is the surface-tension coefficient, is the curvature of the interface, is the unit normal to the interfacial surface, and is a regularized Dirac-delta distribution that is non-zero only at the interface. The last three factors depend on the volume fraction (or on its numerical reconstruction).
The Volume of Fluid (VOF) method was used in the simulations to capture the evolution of the interface between the fluids. The volume fraction is defined as the local proportion of the dispersed phase: in regions occupied only by the dispersed phase, in regions occupied only by the continuous phase, and within the interfacial region. With this definition, the local fluid properties are obtained by:
where the subscripts and denote the dispersed and continuous phases, respectively.
The transport of the interface is governed by the advection equation:
3 Methodology and Computational Approach
3.1 High-fidelity VOF Simulations
The governing equations presented in Section 2.2 are discretized and solved using the Basilisk open-source software (Popinet, 2009). Basilisk employs a staggered-in-time discretization, ensuring second-order accuracy in both space and time, which is essential for capturing the interfacial deformations observed in droplet generation.
A key feature of this solver is its adaptive mesh refinement (AMR) capability. The mesh is dynamically refined and coarsened at each time step using a quadtree (2D) or octree (3D) structure, guided by a wavelet-estimated discretization error (Popinet, 2015; Schneider and Vasilyev, 2010). For the present study, the mesh refinement error thresholds were set to for , and for . This approach ensures the high spatial resolution required near the interface while significantly reducing the computational cost in other regions. For a detailed description of how Basilisk solves the governing equations for multiphase flows, with particular emphasis on the treatment of the surface tension force, the reader is referred to (Harispe and Kler, 2024).
The numerical domain replicates the coaxial droplet generator geometry, imposing a constant flow rate at the inlet for both phases, and a reference pressure with a natural outflow condition at the outlet. Initially, the computational domain is filled with the continuous phase, and the simulation begins when the dispersed phase is injected through the inner capillary. It is worth noting that due to the cylindrical and concentric configuration of the capillaries, the numerical model can be reduced to a two-dimensional, axisymmetric domain. The intrinsic symmetry allows for the reduction of the number of cells required and the associated computational cost when simulating.
The accuracy and robustness of this numerical framework have been assessed against experimental benchmarks and existing numerical data (Harispe and Kler, 2026). This reliable, high-fidelity model provides the reference data used to train the neural-network surrogates in the following subsections.
3.2 Baseline Neural-Network Surrogate Models
The high-fidelity VOF simulations performed in Basilisk serve as the ground-truth data generator for the surrogate models used in this work. As illustrated in Fig. 4 (see blue lines), the solver is provided with a set of physical parameters, including phase velocities, viscosities, densities, surface tension, and capillary dimensions. These simulations resolve the two-phase flow and droplet generation dynamics, yielding both a flow regime and, specifically in the dripping regime, the corresponding droplet diameter.

Figure 4: Schematic of the surrogates training and inference procedure. The black arrows represent the inference flow, where the neural networks (NNs) map input physical parameters directly to the predicted flow regime and, conditionally, the droplet diameter. The blue arrows denote the training flow, which compares the predicted regimes and droplet diameters against the ground-truth Basilisk simulation results ( and respectively) to drive surrogates training. Note that the droplet diameter prediction module is specifically constrained to operate only when the regime prediction NN identifies a dripping regime
The surrogate models used in this study were first introduced in Harispe and Kler (2026) and are adopted here as the baseline for the enhancement framework, uncertainty quantification, and the support of the subsequent inverse design process. To train and utilize these neural network (NN) surrogates , a 7-dimensional input vector is employed, consisting of phase velocities, viscosities, the inner capillary radius, , and . While the Basilisk simulations utilize the full set of physical parameters to generate ground truth, the NNs are designed to map a subset of these parameters, along with and , to key system behaviors and droplet characteristics.
All the simulations utilized and generated throughout this work correspond to a device configuration with inner fluid density , outer fluid density , outer capillary radius , and interfacial surface tension .
The dataset adopted for the different stages of this work closely resembles the one used to train and evaluate the baseline models. Approximately 40 cases were excluded from the literature-derived dataset due to ambiguous flow regime classification or unreliable droplet diameter measurements. The resulting dataset comprises 96 cases in the dripping regime, 121 in the narrowing-jet regime, and 179 in the widening-jet regime. A comprehensive description of how this baseline dataset was used is provided in Section 4.
Based on the simulation-generated dataset, two different NNs were trained to provide instantaneous evaluations of the system's performance: one dedicated to predicting the flow regime (dripping, widening jet, or narrowing jet) denoted as and another tasked with predicting the resulting droplet diameter whenever a dripping regime is identified, denoted as . As shown in Fig. 4, the droplet diameter predicting NN specifically infers values for those parameter combinations that produce a dripping regime. During the training phase, the discrepancies between the simulation results and the predicted values are used to adjust the internal weights of the NNs, thereby "teaching" the surrogates to align with the ground truth.
By leveraging these surrogates, it is possible to efficiently approximate the complex, non-linear mappings between operational parameters and physical outputs. This dual-output approach provides a robust foundation for subsequent stages of this work, such as targeted adaptive surrogate enhancement and optimization. However, while these baseline surrogates provide the necessary instantaneous-evaluation capability for the constrained inverse-design and adaptive-refinement stages, they possess inherent limitations. Specifically, as will be shown in Section 4.3, it was identified that these models exhibit degraded fidelity in challenging parameter regions which were insufficiently sampled during training or near flow regime transitions. These areas lead to high epistemic uncertainty where the mapping becomes highly sensitive to small perturbations. Combined with the potential for further optimization of the underlying architecture, these factors necessitate the hyper-parameter/architecture optimization and the physics-informed enrichment strategy described in the following sections.
3.3 Particle Swarm Optimization
Particle swarm optimization (PSO) is a population-based stochastic search algorithm inspired by the social behavior of bird flocks (Engelbrecht, 2007). Each particle represents a candidate solution and moves through the search space, guided by the best position it has found and by the best position found by the swarm. Despite its simplicity, PSO remains one of the state-of-the-art metaheuristics for continuous single-objective optimization, and its variants are still actively developed and benchmarked (Bonyadi and Michalewicz, 2017; Shami et al., 2022).
This work uses the global-best (gbest) PSO, in which every particle is connected to all the others. An improvement found by any particle is therefore immediately available to the whole swarm, which favors fast convergence. This behavior is adequate for the problem addressed here, which involves a small number of free parameters. Let and be the position and velocity of the particle at iteration , in a search space of dimension . The initial positions are sampled uniformly between the bounds and . At each iteration, the velocity of each particle is updated in each dimension as
and the position as
where is the personal best of particle , is the global best, is the inertia weight, and are positive acceleration constants, and and are random numbers sampled from . The first term of Eq. (8) keeps part of the previous velocity and sustains the exploration of the search space. The second term, or cognitive component, attracts the particle toward its personal best. The third term, or social component, attracts it toward the global best. The constants and set the balance between these two components, and therefore between exploration and exploitation.
For the minimization of a fitness function , the personal best of each particle is updated as
and the global best is the personal best with the lowest value of .
The implementation used in this work modifies this basic scheme in four aspects. First, the inertia weight is sampled at random, independently for each particle, dimension, and iteration (Eberhart and Shi, 2001), instead of being kept constant or decreased linearly during the search. The randomness of is intended to maintain the diversity of the swarm throughout the search. Second, each velocity component is limited to , where and is the velocity clamping coefficient. This prevents a particle from crossing a large part of the search space in a single iteration. Third, when a particle leaves the search space in dimension , its position is set to the nearest bound and is multiplied by a negative rebound factor . The particle therefore moves back toward the interior of the search space. Fourth, in addition to a maximum number of iterations, the search stops when the global best does not improve significantly during a given number of iterations. The values of these parameters are given in Section 5.1.
3.4 Computational Setup
3.4.1 Software
The fluid dynamics simulations are performed using the Basilisk open-source software (Popinet et al., 2025), which utilizes a Finite Volume Method (FVM) combined with a VOF strategy to resolve the multiphase interface. Python language (Python Software Foundation, 2024) was used for all the scripts used in the main stages of the workflow, including data collection and preprocessing, as well as the cleaning and organization of the final simulation metrics. For the development of the deep learning components, PyTorch (Pas, 2019) is employed to implement and train the Multi-Layer Perceptrons (MLP) architectures, leveraging CUDA for GPU acceleration during the training and validation phases.
3.4.2 Hardware
The computational requirements for both the large-scale simulations and the machine learning models were met using high-performance computing resources. The Basilisk fluid dynamics simulations were executed on a CPU-based cluster. It features a head node with an Intel Xeon E5-2650 and 7 calculation nodes based on AMD Epyc Turin 9255 processors with 192 GB of RAM. The training and testing of the NNs were conducted on a dedicated workstation utilizing GPU acceleration to significantly reduce training time compared to CPU-only computations. This workstation was equipped with an AMD Ryzen 7 9700X 8-core CPU, 32 GB of DDR5 RAM, and an NVIDIA GeForce RTX 5070 GPU.
4 Adaptive Enhancement of the Models
The evaluation of the baseline models showed that predictions are often inaccurate near the transitions between regimes and for certain parameter combinations of interest. This behavior is consistent with epistemic uncertainty, that is, uncertainty caused by insufficient training data, which can be reduced by adding samples in the affected regions. A single network, however, gives no indication of where its predictions are unreliable, and therefore of where new data would be most valuable.
Ensembles of NNs offer a practical way to locate these regions (Lakshminarayanan et al., 2017). An ensemble is a set of networks trained for the same task, whose predictions are combined into a single prediction. In this work, the regime ensemble is and the diameter ensemble is , where each member or is a network with the architecture of or , respectively. The number of members of an ensemble is denoted by or . The predicted regime is the class that receives the most votes in , and the predicted diameter is the mean of the predictions of the members of . Members trained with different initializations and data partitions agree where the data constrain the prediction. They disagree in sparsely sampled regions and near regime boundaries, where they extrapolate differently or place the boundaries at slightly different locations. This disagreement can be measured using different metrics, depending on the task (as will be shown in Sections 4.3.1 and 4.3.2). Said metrics are therefore used as indicators of epistemic uncertainty, making it possible to select new training samples in regions where the models are least reliable, rather than sampling the input space uniformly.
This follows the principle of active learning and, in particular, of query-by-committee strategies (Seung et al., 1992; Settles, 2009). It is especially relevant here because each new sample requires a VOF simulation, which is computationally expensive, so the points to simulate must be chosen carefully. In this work, the new points are selected within the regions of highest uncertainty identified in Section 4.3, guided by physical criteria, as detailed in Section 4.4.
Based on this idea, a framework for uncertainty quantification and model enrichment was implemented (Fig. 5). It consists of an initial stage followed by an enhancement loop that progressively improves the surrogate models. In the initial stage, the NN architecture and hyperparameters are selected for each task (Section 4.2), and the baseline ensembles are trained with the selected configuration to initialize the enhancement loop. This loop comprises three steps: (i) ensembles disagreement, on synthetic datasets, is used to quantify and localize uncertainty (Section 4.3); (ii) new parameter combinations are selected within high-uncertainty regions integrating a physics-guided strategy, simulated, and added to the training dataset (Section 4.4); and (iii) the ensemble models are retrained with the enriched data and their performance is evaluated to assess the impact of the enrichment (Section 4.5). Each step is described in detail in the following subsections.
4.1 Datasets
Several datasets were constructed throughout the pipeline to support various stages of the process. Figure 6 outlines the generation procedures for these datasets, highlighting their origins, characteristics, and roles. The red dashed arrows in the figure indicate interpolation steps, while the green solid arrows denote procedures that combine interpolation with VOF simulations. The process starts with the literature-based dataset (O1) described in Section 3.2. Following balancing and curation, O1 produces two training subsets. The subset TR1 supports regime prediction training, and the subset TD1 supports droplet diameter prediction training. These initial datasets provide the foundation for generating synthetic samples and for the subsequent enrichment of the training data.

Figure 5: Schematic overview of the proposed Adaptive Surrogate-Refinement Pipeline, whose closed loop couples ensemble-based uncertainty quantification with targeted Basilisk VOF simulations and dataset-driven model retraining, to progressively improve surrogate fidelity. The upstream optimization of baseline architectures and hyperparameters lies outside the loop and supplies the optimized models used to build the ensembles.

Figure 6: Overview of the dataset generation and enrichment pipeline. The flow goes from literature-based and training datasets through balancing, synthetic sampling, training dataset enrichment, and uncertainty reduction verification, as well as final physical predictions test datasets. Dashed red arrows indicate interpolation procedures, whereas solid green arrows denote both interpolation procedures and FVM-VOF simulations. DR: Dripping Regime, NJ: Narrowing-Jet regime, WJ: Widening-Jet regime.
4.1.1 VOF-Simulated Datasets
The proposed pipeline is directed towards producing an enriched training dataset (T2) and two test datasets (GR and GD), one for each task. The enriched training set T2 contains new data from targeted VOF simulations. These simulations were performed on cases sampled from regions where the pre-enrichment ensembles showed the highest predictive disagreement (Section 4.4). The new cases for regime prediction were drawn from zones with maximal disagreement, and VOF simulations determined their resulting flow regimes. The selection process for droplet diameter prediction cases followed a similar approach, measuring the droplet diameters also from VOF simulations. Two test datasets with simulation ground truth validated the performance of the retrained ensembles (GR and GD). The GR dataset contains configurations across all flow regimes. It includes samples from parametric zones flagged for significant model disagreement in Section 4.3.1 to study the effects of enrichment. The GD dataset contains dripping-regime configurations that target parametric zones with high predictive variance in Section 4.3.2. Candidate configurations for GD underwent pre-screening based on the predicted regime by the regime post-enrichment ensemble. The process preserved in GD only those with a confident dripping-regime prediction to avoid non-dripping outcomes in the simulation (further details in Section 4.5.3).
4.1.2 Synthetic Datasets
Synthetic datasets were constructed mathematically to allow efficient sampling of the parameter space without the computational cost of additional VOF simulations. Their labels are not independently verified because doing so would require a dedicated simulation for each case. These datasets help to study throughout this document how to enrich the baseline training dataset. Synthetic samples for both tasks were generated by interpolating between simulated cases using different strategies. The regime prediction constitutes a classification task in which the regimes should be equally represented in the data. In consequence, the Synthetic Minority Over-sampling Technique (SMOTE) (Chawla et al., 2002) was applied to generate synthetic samples with a balanced class distribution using dataset TR1. SMOTE creates new samples of a class by interpolating between a sample and one of its k nearest neighbors of the same class. The default configuration with k = 5 was used throughout this work. The droplet diameter prediction task is a regression problem where SMOTE is not applicable. Synthetic samples were generated by linearly interpolating input parameters between two randomly selected dripping-regime instances from datasets TD1 and T2. Since interpolation does not guarantee that a new case remains in the dripping regime, candidate samples for synthetic datasets used in diameter prediction were pre-screened by the regime-prediction ensemble. Only samples predicted as the dripping regime by a certain number of ensemble members were retained (as mentioned for GD). The confidence threshold, per member, for retention was greater than 75%. Because synthetic samples are obtained by interpolation, they lie within the region spanned by the original data, and the uncertainty analysis therefore identifies sparsely populated zones within this region rather than extrapolating beyond it.
Pre-enrichment synthetic datasets mapped the initial uncertainty landscape for each predicting task. A dataset S1 was generated with SMOTE from TR1 for regime prediction. Each synthetic sample received the regime label of the source samples. The samples of this dataset were projected onto the first three principal components (3D PCA). To investigate per-variable uncertainty in more detail, seven additional datasets were constructed for each input variable, collectively referred to as SH1. The full observed range of each of the seven input variables was discretized into 1,000 equally spaced values. For each value, twenty distinct combinations of the remaining six variables were generated via SMOTE interpolation using TR1 as the source. This construction ensures uniform distribution across each parameter axis while preserving the joint correlation structure of O1.
Dataset S2 consisted of a synthetic set of 15,000 parametric combinations, obtained by linearly interpolating between a randomly selected reference sample from TD1 and one of its five nearest geometric neighbors in the feature space. The interpolation was done using a weight drawn from a uniform distribution. This localized strategy constrained synthetic samples to the existing data distribution while allowing all seven input parameters to vary simultaneously. The pre-enrichment regime ensemble pre-screened the samples for S2. S2 was utilized to project its samples onto a 3D PCA space for initial uncertainty visualization.
A larger scale dataset named SH2 allowed the mapping of the parametric combinations onto the plane (Section 2.1). SH2 was generated from 10,000 base combinations, using a grid of equally spaced points over the dripping region. The grid extended slightly beyond dripping region boundaries to account for approximate experimental regime transitions and occasional dripping configurations just outside the delineated region. Because the remaining parameters are not uniquely determined by the two dimensionless numbers, each grid point represents a range of potentially valid dripping configurations. Thus, for each grid point, up to 200 parametric samples were generated by linearly interpolating the remaining model-input variables between randomly selected pairs of dripping cases from TD1. Fluid velocities were computed from the corresponding and values. The actual number of samples per grid point depended on how many physically valid dripping configurations the regime-prediction ensemble could confirm within 100 attempts.
Finally, three post-enrichment synthetic datasets were constructed to perform new and unbiased uncertainty testing. For regime prediction, new synthetic datasets per input variable were generated via SMOTE. These utilized the same generation procedure as SH1 and are collectively referred to as dataset SH3. Each dataset uniformly samples distributed across the full range of the corresponding variable so that a per-variable uncertainty diagnostic could be applied under the same conditions as the pre-enrichment analysis. The last two datasets were constructed for droplet diameter prediction. Dataset SH4 was generated using the same -grid constrained interpolation strategy as SH2, and once more each candidate sample was pre-filtered for potential dripping regime. Dataset SH5 was generated by an identical grid-based interpolation strategy but drew source data from the enriched T2 dataset. Also, in this last case, candidate samples were validated for the dripping regime using the retrained regime-prediction ensemble. This approach differed from the method used for SH4, which used the previous version of the ensemble.
4.2 Optimization of the architectures and hyperparameters
Before uncertainty quantification and model enrichment, the architectures and hyperparameters of the NNs used for regime and droplet diameter prediction were optimized. This is a critical step to ensure that the surrogate models generalize across the diversity of operational conditions and system dynamics encountered in micro-droplet generators.
To compare model architectures and hyperparameter configurations and to select the most suitable model, k-fold cross-validation (Hastie et al., 2009) was employed. Datasets are partitioned into k approximately equal-sized, non-overlapping folds. In each of k iterations, the model is trained from scratch on k-1 folds and evaluated on the remaining one (held-out fold) so that every fold is used exactly once for evaluation. The performance metrics are averaged across iterations, and the mean is used for model selection, which reduces the dependence of the selection on a single arbitrary partition of the data. For the regime network, stratified k-fold cross-validation was used to preserve the proportion of samples of each regime (dripping, narrowing-jet, and widening-jet) across the folds.
Both networks were optimized following the same two-stage protocol: an architecture search, followed by hyperparameter tuning of the selected architecture. The candidate configurations were defined manually rather than as a full cartesian product, so both searches are non-exhaustive. Their size, ranges, and outcomes are given in Table 1 for the regime network and Table 2 for the droplet diameter network. All networks were fully connected and trained with the Adam optimizer. In the first stage, every candidate architecture was trained with the fixed hyperparameters listed in the tables so that differences in performance could be attributed solely to architectural choices.
For the regime network, 20% of TR1 was first set aside as a fixed test set, which was excluded from both the architecture and hyperparameter optimization processes. The cross-validation was performed on the remaining 80% of TR1. For the diameter network, the cross-validation was performed on the whole of TD1. In each cross-validation iteration, the data were divided into three sets. The held-out fold served as the test set and was used only to evaluate the trained model. The other folds were further split into a training set and an internal validation set, the latter containing 15% of these data for the regime network and 10% for the diameter network. The internal validation set was used to monitor training, determining when to stop training (early stopping) or, when early stopping was disabled, which checkpoint to retain. To prevent information leakage, the input normalization parameters were computed on the training set only and then applied to the validation and test sets, and the outputs of the diameter network were normalized in the same way.
Candidate configurations were compared across all folds using a composite criterion, applied in both stages. For the regime classifier, it prioritized the highest mean test accuracy, the lowest standard deviation, the smallest interquartile range (IQR) (Han et al., 2012), and the smallest generalization gap between training and outer-test performance. For the diameter regressor, the criterion comprised primarily the lowest mean test percentage error, followed by the lowest standard deviation and the smallest IQR.
The regime network has 7 inputs and 3 outputs, one per flow regime probability. The candidate architectures comprised one to three hidden layers of 3 to 80 neurons, covering bottleneck (e.g., 7-40-10-3), uniform-width (e.g., 7-20-20-3), and narrow-wide-narrow (e.g., 7-10-30-10-3) designs. Dropout rates between 0.0 and 0.3, in steps of 0.05, were combined with these architectures to limit overfitting. With the selected architecture fixed, the training hyperparameters (batch size, maximum number of epochs, early-stopping patience, and learning
Table 1: Optimization settings and selected configuration for the regime classification network.
| Stage 1: Architecture | Stage 2: Hyperparameters | |
|---|---|---|
| Cross-validation | Stratified 8-fold on 80% of TR1; 15% internal validation split | Stratified 8-fold (same folds); 15% internal validation split |
| Search space | 50 configurations; 1–3 hidden layers; 3–80 neurons/layer; dropout 0–0.3 (step 0.05) | 52 configurations; batch: 4–25; epochs: 400–5000; learning rate: –; early-stopping delta: 0.02–0.08; patience: 70 or off |
| Fixed parameters | Batch = 16; epochs = 600; patience = 70; learning rate = ; early-stopping delta = 0.02 | Architecture from Stage 1 |
| Selected | Layers 7-30-3; dropout of 0.2 after the 30-neuron layer | Batch = 25; epochs = 3500; early stopping off (best model retained); learning rate = |
Table 2: Optimization settings and selected configuration for the droplet diameter regression network.
| Stage 1: Architecture | Stage 2: Hyperparameters | |
|---|---|---|
| Cross-validation | 10-fold on all of TD1; 10% internal validation split | 10-fold (same folds); 10% internal validation split |
| Search space | 40 configurations; 1–3 hidden layers; 4–128 neurons/layer; dropout 0–0.3 (1st hidden layer), 0–0.1 (subsequent hidden layers) | 15 configurations; batch: 5–20; epochs: 200–1600; learning rate: –; early stopping off (best model retained) |
| Fixed parameters | Batch = 16; epochs = 1500; learning rate = ; early stopping off (best model retained) | Architecture from Stage 1 |
| Selected | Layers 7-40-5-1; 10% dropout after the 40-neuron layer | Batch = 16; epochs = 1600; early stopping off (best model retained); learning rate = |
rate) were then tuned using the same cross-validation scheme and partitioning strategy as in the first stage, including the option of disabling early stopping. This search was guided, varying one hyperparameter at a time around the best setting found so far.
The droplet diameter network has 7 inputs and a single output. The candidate architectures comprised one to three hidden layers, ranging from shallow networks (e.g., 7-64-1 and 7-128-1) to deeper ones with narrow hidden layers (e.g., 7-10-8-10-1), and with up to 128 neurons per hidden layer. Dropout rates of up to 0.3 were applied to the first hidden layer and of up to 0.1 to the subsequent ones. The training hyperparameters of the selected architecture were then tuned by a quasi-grid search over the ranges in Table 2, following the same scheme as for the regime network hyperparameters, including the option of disabling early stopping. The selected architecture and hyperparameters were then used to build the ensembles described in the next section.
4.3 Ensemble-Based Uncertainty Quantification
An ensemble is a set of models trained for the same task, whose predictions are combined into a single prediction (Lakshminarayanan et al., 2017). In regression, the prediction of the ensemble is usually the mean of the predictions of its members. In classification, it is usually the class that receives the most votes. Since the members are trained independently, they tend to agree in the regions of the input space that are well covered by the training data and to disagree elsewhere. The disagreement among members therefore provides an estimate of the model (epistemic) uncertainty.
In this work, two ensembles of 20 NNs each were built, for regime prediction and for droplet diameter prediction, where and denote the k-th member of each ensemble. The number of members of an ensemble is denoted by or . All members of an ensemble share the architecture and training hyperparameters selected in Section 4.2 (Tables 1 and 2), and differ only in their random weight initialization and in the random partition of the data used for training. For a given sample, the predicted regime is the class that receives the most votes in , and the predicted diameter is the mean of the predictions of the members of . The uncertainty of is measured by the fraction of members that vote for the predicted class (Section 4.3.1), and the uncertainty of by the coefficient of variation of the predictions of its members (Section 4.3.2). These measures are used in the subsequent stages of this work to identify the regions of the input space where additional training data should be provided. The ensembles trained on the initial datasets are denoted by and , and those retrained after the enrichment of Section 4.4 by and .
Both ensembles were built following the same procedure. For each candidate network, the corresponding dataset was randomly repartitioned into training, validation, and test subsets, with fixed proportions of 0.65/0.15/0.20 for TR1 (regime ensemble) and 0.80/0.10/0.10 for TD1 (droplet diameter ensemble). Since independently trained networks do not always converge to solutions of similar quality, each candidate was assessed once its training was completed and retained as an ensemble member only if it met a minimum performance requirement on both its validation and test subsets. This requirement was an accuracy above 90% for the regime task, and a mean absolute percentage error (MAPE) of at most 7% for the droplet diameter task. Candidate networks were trained until 20 of them met this requirement for each ensemble. These thresholds act solely as a post-training acceptance criterion and play no role in the optimization of the networks. Because the test subsets take part in member selection, and because the samples held out for one member belong to the training subset of others, neither TR1 nor TD1 could provide an unbiased estimate of ensemble performance. The ensembles uncertainty were therefore evaluated on new data not used at any stage of training or member selection as will be explained in the following subsections.
4.3.1 Regime Prediction Uncertainty
The uncertainty of the regime prediction was quantified through the consensus among ensemble members. For a given input x, each member independently predicts a regime label, and the ensemble prediction is assigned by majority vote. The agreement among members is measured by the consensus level
where is the number of members, is the regime predicted by member , ranges over the three regimes (DR, NJ, and WJ), and is the indicator function. That is, is the fraction of members that vote for the most voted regime. A value of corresponds to a unanimous vote, whereas lower values indicate increasing disagreement, down to a minimum of (7 of 20 votes) when the votes are split as evenly as possible among the three regimes.
The regime ensemble was applied to dataset S1, and the consensus level of each sample was computed with Eq. (11). Figure 7 shows the resulting distribution. Most samples (~96%) received a unanimous vote, which indicates that the ensemble is confident over most of the sampled region. This is expected, since the samples in S1 were generated by interpolating between training samples of the same regime. The remaining ~4% (~600 samples) showed some degree of disagreement. Although they are a minority, these are the samples for which the predicted regime is least reliable, and they can indicate the regions of the input space where data enrichment is needed.
The distribution of the consensus level over the input space is shown in Fig. S1 of the Supplementary Material, where the samples in S1 dataset are projected onto the first three principal components. While this projection provided a useful initial overview of the uncertainty landscape, the agreement patterns proved too diffuse to isolate specific regions of disagreement. This suggested that the localized parameter combinations driving ensemble divergence are not readily apparent in a three-dimensional reduction of the full input space. Consequently, a more granular, per-variable analysis was adopted to precisely identify the parametric sub-ranges responsible for the predictive uncertainty. The consensus level of each sample in S1 was plotted against each input parameter separately, over the full range covered by the training set. These plots encode only the consensus level and omit the predicted regime so that the reliability of the prediction can be assessed independently of the actual regime label. The complete set of plots is provided in the Supplementary Material (Fig. S2).
The per-variable plots suggested that low-consensus samples cluster in certain sub-ranges of some parameters. This observation alone is not conclusive, however. The samples in S1 inherit the non-uniform marginal distributions of the training set, so the ensemble is evaluated on more samples in some sub-ranges than in others. A sub-range can therefore contain many low-consensus samples simply because it contains many samples, and not because the ensemble is less reliable there.
To remove this effect, the analysis was repeated on SH1 dataset (Section 4.1.2). In each set, the values of the corresponding parameter are uniformly distributed over its range. With uniform sampling, every sub-range of

Figure 7: Distribution of the consensus level over the samples in S1. The horizontal axis shows the number of ensemble members, out of , that voted for the most voted regime, which corresponds to in Eq. (11). The vertical axis is in logarithmic scale, and the number above each bar indicates the sample count. Most samples (14,361 of 15,000) received a unanimous vote.
each parameter is evaluated with the same number of samples, and any concentration of low-consensus samples can be attributed to the ensemble and not to the sampling density.
The distribution of the samples along each parameter was summarized with kernel density estimation (KDE) (Silverman, 2018), a non-parametric method that estimates the probability density function of a variable from a set of observations. Unlike histograms, which depend on the width and placement of the bins, KDE produces a smooth estimate by placing a kernel function on each observation. The estimated density at a point is
where is the number of samples, are the observed values, is the bandwidth, which controls the smoothness of the estimate, and is the kernel, here a Gaussian. For the KDE curves in this work, the Gaussian kernel density estimator from SciPy library (Virtanen et al., 2020) was used. The bandwidth was determined using the library's default value, which applies Scott's rule (Scott, 1992).
Figure 8 shows the KDE curves for three of the input parameters (, , and ). For each parameter, two curves were computed on the corresponding set of , one with all samples (black) and one restricted to the samples with non-unanimous votes (, in red). The black curve is approximately flat, as expected from the uniform sampling, and serves as a reference. The red curve is a conditional density. It describes how the samples with non-unanimous votes are distributed along the parameter, and it is normalized to unit area regardless of how many such samples exist. Its height alone therefore indicates where the disagreement is concentrated, not how frequent it is. The local frequency can be recovered by combining both curves with the overall fraction of non-unanimous samples, , reported in the legend. The fraction of samples with non-unanimous votes around a value is
where and are the red and black curves, respectively. Thus, where the red curve lies above the black one, disagreement is more frequent than the average over the range, and where it lies below, it is less frequent. Both curves decrease near the limits of each range, which is a known boundary effect of KDE. Near a limit, part of the kernel extends beyond the region where data exist, and the density is underestimated. Since this affects both curves, differences between them near the limits should be interpreted with caution.
The red curves of , , and show clear peaks, located at approximately 0.42, 2, and 0.014, with maximum densities of 2.42, 0.0994, and 17.5, respectively. These maxima are about 1.8, 2.0, and 1.5 times the reference level of the corresponding black curves. According to Eq. (13), the fraction of samples with non-unanimous votes at the peaks is approximately 19%, 13%, and 17%, compared with overall fractions of 10.4%, 6.3%, and 11.3%. Epistemic uncertainty is therefore concentrated in specific sub-ranges of these parameters.

Figure 8: Kernel density estimates of the samples in SH1 along three input parameters. For each parameter, the black curve corresponds to all samples in the set and the red curve to the samples with non-unanimous votes (), whose percentage is indicated in the legend. The red marker indicates the maximum of the red curve.
The same analysis was applied to the remaining input parameters, and no clear concentration of low-consensus samples was found. The corresponding curves are provided in the supplementary material (Fig. S3).
The peaks for and are located close to the regime transitions reported experimentally by Utada et al. (2007). This is physically consistent, since these two parameters compare viscous and inertial forces, respectively, with capillary forces, and their balance determines the regime in which the system operates. Near a transition, the regime changes abruptly with small variations in the parameters, and the location of the boundary depends on several parameters jointly. With a limited number of training samples, each ensemble member places the boundary at a slightly different location, which gives rise to the disagreement. The agreement between the regions of low consensus and the known physical transitions supports the use of the consensus level as an indicator of where additional high-fidelity simulations are most informative.
4.3.2 Diameter Prediction Uncertainty
Quantifying the uncertainty of the droplet diameter predictions requires a more refined strategy for generating synthetic samples than in the regime prediction case. The droplet diameter is only meaningful in the dripping regime, so the diameter predicting ensemble was trained exclusively on dripping-regime data, and the synthetic samples used to assess its uncertainty should also belong to this regime. Samples generated without this restriction would include non-dripping configurations, for which the predicted diameter has no physical relevance, and the resulting disagreement would not reflect the epistemic uncertainty of the models.
To avoid this, the synthetic samples were first classified with the regime ensemble (as explained in Section 4.1.2), and only those for which at least 18 of the 20 members predicted the dripping regime () were retained. Some of the retained samples may still be misclassified. However, the purpose of this analysis is to locate the regions where the diameter prediction disagrees, not to validate the regime labels, and the high consensus required limits these cases to a small fraction of the samples. The uncertainty of the diameter predictions was quantified with the coefficient of variation () of the predictions of the ensemble members,
where and are the mean and the standard deviation of the diameters predicted by the members for input . The standard deviation alone is not suitable for this purpose, because the predicted diameters span a wide range across the dripping configurations, and the same absolute spread represents a large disagreement for a small droplet but a small one for a large droplet. The expresses the spread relative to the mean prediction, so it can be compared across the whole dripping region regardless of the droplet size.
The measures the dispersion among the predictions of the ensemble members. It is neither the error with respect to the Basilisk simulation results nor the physical variability of different droplets produced by the simulated device. In particular, must not be read as a measure of how spread out the droplets themselves are. A high indicates that the ensemble is not confident, but it does not imply that the mean prediction is wrong. Conversely, a low does not guarantee an accurate measure, since all members may share the same bias, for example, in regions without training data where they extrapolate similarly. The therefore only identifies regions where the training data do not sufficiently constrain the model, which are the candidates for enrichment.
Synthetic dataset S2 was used in order to study the distribution of values over the input space. First, all synthetic samples were passed through the 20-member diameter ensemble to obtain droplet-diameter predictions. Then, the spatial distribution of the over the synthetic samples was first examined through a three-dimensional PCA projection.
Fig. S4 of the supplementary material shows a relatively localized cluster of high suggesting inter-member disagreement in droplet diameter prediction, though the projection cannot pinpoint the specific physical parameter range, within the dripping regime, where it occurs.
To quantify the uncertainty of the diameter ensemble, the synthetic dataset SH2 was built with randomly generated dripping cases (see Section 4.1.2), uniformly distributed over the expected dripping region on the (, ) regime diagram of Utada et al. (2007).
A specific synthetic sample was considered to have high uncertainty when the standard deviation of the predicted diameters exceeds 20% of their mean (). Because quantifies disagreement among ensemble members' predictions rather than physical variability between individual droplets (as mentioned above), this threshold is best interpreted as an upper bound on acceptable prediction variability. A prediction with this level of disagreement is not reliable enough for applications that require a stable droplet formation regime, where the diameter must be controlled within a narrow tolerance (Mulligan and Rothstein, 2012). This maximum value for was adopted in the first iteration of the refinement loop. The enrichment described in Section 4.4 aims to ensure that samples remain below this bound, and stricter bounds can be adopted in subsequent iterations to reduce the uncertainty further.
The distribution of over SH2 is shown in Figure 9. Most samples have , but the distribution has a long tail that reaches values of up to 70%. A total of 9,748 samples exceed the bound of 20%, which represents less than 1% of SH2. Although this fraction is low, the uncertainty of these predictions is exceedingly high for many applications, as mentioned earlier, and these samples are therefore the starting point of the refinement process. However, as happened with the 3D PCA, the histogram does not show where they are located. If they are concentrated in specific regions rather than randomly scattered, their location would reveal where the model is least reliable and where new training data should be added.
Figure 10 shows the SH2 samples with on Utada's regime diagram, colored according to their values. The samples are not randomly scattered, but rater concentrated near the boundaries between the dripping and widening jet regimes and between the dripping and narrowing jet regimes, whereas the interior of the dripping region is dominated by low values. This behavior is consistent with that observed for the regime ensemble. Near a transition, the droplet diameter changes rapidly with small variations in the input parameters, and if the training data available in these zones are scarce, each member will approximate the rapid variation differently, giving rise to the disagreement.
The regions exhibiting disagreement are targeted by the enrichment step described in Section 4.4, which runs new high-fidelity Basilisk VOF simulations to augment training data where the diameter ensemble is least reliable. The effect of this enrichment on the distribution of is analyzed in Section 4.5.
4.4 Physics-Guided Enrichment Strategy
The analyses in Sections 4.3.1 and 4.3.2 identified the regions of the input space where the predictions of both ensembles are least reliable. Since this uncertainty is mainly epistemic, it can be reduced by providing the models with new training data in these regions. The next step of the refinement loop was therefore to run new high-fidelity VOF simulations at selected parameter combinations and to add the resulting data to the training dataset. Because each simulation is computationally expensive, the combinations to be simulated were chosen according to two complementary criteria: the spatial distribution of the predictive uncertainty and the known physical behavior of the device. Additional simulations were therefore concentrated in the regions where the ensembles show low consensus or high , and in the vicinity of the regime transitions reported by Utada et al. (2007), namely the dripping-to-widening-jet and dripping-to-narrowing-jet transitions. Both criteria predominantly point to closely situated regions in the parameter space. Near a transition, the interplay of inertial, viscous, and capillary forces shifts, rendering the device highly sensitive to small parameter perturbations and

Figure 9: Distribution of the for droplet diameter predictions. The dashed green line indicates the 20% threshold used to define excessive uncertainty. The inset provides a magnified view of the distribution's tail, illustrating the presence of high- samples reaching up to 70%, which characterize the pre-enrichment state of the ensemble.

Figure 10: Spatial distribution of high predictive uncertainty () for droplet diameter predictions on the plane. High-uncertainty samples are primarily clustered along the regime transition boundaries, whereas the center of the dripping regime region exhibits mostly high ensemble confidence.
causing the underlying flow mapping to change abruptly. In these zones the initial sampling strategy yielded insufficient data to resolve such sharp behavioral shifts, a scarcity that directly contributed to the observed ensemble disagreement.
The enrichment started with the dripping regime for three reasons. First, the regime transitions with the highest uncertainty in both ensembles, dripping-to-widening-jet and dripping-to-narrowing-jet, border this regime. Second, each simulated case near the dripping region provides a regime label for the regime ensemble and, if it is confirmed as dripping, also a diameter value for the diameter ensemble. Third, the diameter ensemble is trained only on dripping cases, so it has fewer training data than the regime ensemble and is more affected by their scarcity.
The starting point was the set of samples of with (Section 4.3.2). From this set, ~210 base samples were drawn with probability proportional to their , in order to preferentially select those with the highest uncertainty. For each base sample , its five nearest neighbors within this set were identified on the plane, and a new configuration was generated by linear interpolation in the five-dimensional parameter space (after discarding and parameters) between and a randomly selected neighbor , as , with drawn uniformly from . Each new configuration produced was classified with the regime ensemble and retained only if it was predicted as dripping, with the same criterion used in Section 4.3.2 (). In case that the predicted regime was not dripping, the interpolation was retried.
After all the resulting samples were simulated in Basilisk, around 140 were confirmed as dripping and the remaining as widening jets. The dripping cases provided new training data for both the diameter and regime ensemble, while widening-jet cases were added to the training data of the regime ensemble. Figure 11 shows the set of samples of with and the new simulated samples on the plane. The figure shows with blue dots those samples that resulted in a widening jet regime after simulation, and with red dots those that exhibited dripping regime. It must be noted that the majority of widening-jet cases lie close to the dripping-to-widening-jet transition defined in literature, which shows that the regime ensemble itself is not reliable near this transition and confirms the need for new data in these regions.

Figure 11: Spatial distribution of synthetic cases with (light green) and the ~200 interpolated combinations (red and blue) on the plane. The red dots indicate cases that produced dripping regime on the simulation, while blue dots are for widening jet. The black line represents the documented approximate boundary of the dripping regime. Interpolated points for the enrichment process are situated in the main regions of high epistemic uncertainty.
In addition, new narrowing-jet cases were generated to keep the regime classes balanced in the enriched dataset. The new cases were generated interpolating linearly between randomly sampled points from , using a wight drawn from a uniform distribution. Additionally, and values were restricted to sub-ranges covering partially the probable narrowing-jet region and its transition boundary (Section 2.1).
When generating these new cases, candidate samples were pre-screened to retain only those that presented a high ensemble consensus, with 17 or more of the 20 members predicting narrowing-jet regime (). At the end, 250 new configurations were generated by interpolation and simulated in Basilisk, and around 130 of them were confirmed as narrowing jets from simulation. These new cases, together with the dripping and widening-jet cases previously generated, were added to the original training data to form dataset (see Section 4.1 for details). This dataset was used to retrain the ensembles, as will be described in Section 4.5. Fig. S5 of the Supplementary Material shows data distribution on the plane, together with the regime of each case.
4.5 Enrichment Impact Assessment
This section assesses the effect of the enrichment on both ensembles. Two questions are addressed: (i) whether the disagreement of the retrained regime ensemble decreased in the regions associated with the dripping regime, and (ii) whether the uncertainty of the diameter predictions within the dripping regime decreased. The analysis focuses on the dripping regime, because the diameter is predicted only within this regime, for the candidate samples selected by the regime ensemble with at least 85% of the members voting for dripping ( ). Disagreement within the jetting regimes can therefore affect the diameter predictions only through candidates misclassified as dripping, which are expected mainly near the regime boundaries.
The retrained ensembles were not evaluated on the synthetic datasets used to localize and quantify uncertainty or to select the enrichment cases. The new cases in T2 were generated by interpolation around high-uncertainty samples, so the retrained ensembles carry indirect information about those samples, and evaluating them on the same sets would overestimate the improvement. New synthetic datasets were therefore generated with the knowledge gathered in Sections 4.3.1 and 4.3.2, and with the procedure described in Section 4.1.2. For the regime task, SH3 was generated from TR1 using the same per-variable uniform sampling strategy as SH1, in which only one variable is sampled uniformly over its range at a time. For the diameter task, datasets SH4 and SH5 were generated with the same procedure as SH2. SH4 was obtained from TD1, and SH5 from T2. They differ in the regime ensemble used to filter the dripping candidates, as mentioned in 4.1.2 and detailed below.
In what follows, and denote the baseline regime and diameter ensembles, trained on TR1 and TD1, respectively, and and denote the retrained ensembles, trained on T2 and its dripping subset. Both versions were evaluated on the new datasets with the same diagnostics used before. For the regime ensembles, the diagnostic is the disagreement curve, which is the per-variable KDE curve of the samples with non-unanimous votes ( ). For the diameter ensembles, it is the coefficient of variation of the predictions of the members on each sample. Because both versions are evaluated on the same datasets with the same diagnostics, any difference in the results can be attributed to the new training data rather than to the evaluation procedure.
The two diameter datasets differ in the population of samples on which and are compared. SH4 was generated from TD1 and filtered with , so it contains the samples selected by the baseline pipeline. SH5 was generated from T2 and filtered with , so it contains the samples that the updated pipeline would select in the inverse design workflow (Section 5), in which the corresponding retrained regime ensemble filters the candidates before the retrained diameter ensemble predicts their size. In each datasets, the two diameter ensembles predict for the same samples, so the change in is due only to the retraining of the diameter networks. While SH4 quantifies this change in the original population of synthetic samples, SH5 shows whether it holds on the samples selected by the complete updated pipeline, which is the relevant population in practice.
4.5.1 Evaluation of uncertainty on regime ensembles
Figure 12 compares the disagreement curves on SH3 of (red) and (orange). Each panel corresponds to the subset of SH3 in which the indicated parameter is sampled uniformly, so the overall fractions of non-unanimous samples given in the legends differ between panels. Only the disagreement curves for parameters , and are shown on the figure since it is where the disagreement changed noticeably. The rest of the parameters' curves can be observed in Fig. S6 of the supplementary material. The curves of all samples (black) remain approximately flat, which confirms that the sampling is once more uniform along each parameter, and that the differences between the red and orange curves are due to the ensembles training. Since each KDE is normalized, the heights of the red and orange curves do not directly measure the amount of disagreement, so two quantities derived from them are also used to compare both ensembles. The first is the local fraction of non-unanimous samples, given by Eq. (13). For and , it is evaluated in the sub-ranges associated with the dripping regime. These correspond to the low- region around and the range of below the dripping-to-narrowing-jet transition, where the upper bound typically falls between 0.3 and 0.5 depending on the value. For , it is evaluated at the maximum of each disagreement curve, around . The second is the ratio between the maximum local fraction and the overall fraction. A value of 1 means that the disagreement is uniform along the parameter. Higher values mean that the disagreement is concentrated in a sub-range. In Figure 12, this ratio equals the maximum of the disagreement curve divided by the height of the flat part of the black curve. After enrichment, the ratio decreased from 1.92 to 1.67 for , from 1.84 to 1.14 for , and from 1.62 to 1.51 for . The disagreement of is therefore less concentrated in specific sub-ranges of the parameters than that of .
The largest reduction in the concentration of disagreement took place for . Before enrichment, the disagreement curve peaked at , in the low- range associated with the dripping regime, where

Figure 12: Kernel density estimates of the samples in SH3 along three input parameters, before and after enrichment. Each panel corresponds to the subset of SH3 in which only the indicated parameter is sampled uniformly. The black curve corresponds to all samples in the subset, and the red and orange curves to the samples with non-unanimous votes () for the baseline () and retrained () regime ensembles, respectively. The percentage of non-unanimous samples is indicated in the legend, and the markers indicate the maximum of each curve.
was almost 12%, nearly twice the overall fraction of 6.3%. After enrichment, this peak disappears, and in the same range is about 9.7%, close to the overall fraction of 9.4%. The curve is mostly flat over the whole range, so no sub-range of concentrates the disagreement. Consequently, the low- range where dripping occurs is no longer the range with the highest disagreement of the regime ensemble, which is one of the main objectives. The increase in the overall fraction is discussed below.
For , the dripping-to-narrowing-jet transition are expected at values between approximately 0.3 and 0.5, depending on (Utada et al., 2007). After enrichment, the disagreement curve for decreased below the transition, for example from about 11% to about 6% at . The peak of the disagreement curve shifted from to , toward the transition and the narrowing-jet regime regions, and became less pronounced relative to the reference. As a result, the disagreement of the retrained ensemble is lower within the range of where dripping is more frequent, and the remaining peak is located at the transition region or slightly above it. Above the transition, the disagreement increased, as discussed below.
For , both the overall fraction of non-unanimous samples, from 11.6% to 9.2%, and the local fraction at the initial peak location, from about 19% to about 14%, decreased. In addition, the broad elevation of the disagreement curve that extended up to before enrichment is confined after enrichment to a narrower peak that ends at about . The enrichment therefore reduced the regime disagreement over most of the inner-phase viscosity range, and the remaining concentration is limited to a narrow range of low viscosities that can be targeted directly in a subsequent iteration of the refinement loop. However, because the dripping regime is determined by geometric confinement and the balance of interfacial, viscous, and inertial forces, rather than alone (Nunes et al., 2013; Utada et al., 2007), the range where disagreement persists is not necessarily associated with dripping regime.
In contrast, the overall fraction of non-unanimous samples increased for , from 9.9% to 11.5%, and for , from 6.3% to 9.4%. This increase is located at high values and at intermediate and high values, away from the transition regions, which received most of the new training cases, most of them within the expected dripping regime region according to the regime map of Utada et al. (2007). A plausible explanation is that the new cases near the transitions, including those initially predicted as dripping that turned out to be widening jets, forced the networks to learn more detailed regime boundaries around the dripping region. Since the ensemble members differ in the randomization of the training data and in their initialization, each of them fits these new boundaries in a slightly different way, and away from the new cases, where training data could remain scarce, they extrapolate them differently. This increases the disagreement within the jetting regimes. Since a sample in these regions reaches the diameter ensemble only if at least 85% of the regime ensemble members vote for dripping, this increase has at most a limited effect on the diameter predictions. It does, however, identify the regions to be enriched if the regime ensemble is to be used disregarding the dripping regime.
The accuracy of the regime predictions cannot be evaluated on SH3, which has no ground-truth labels, and is assessed on the simulated test dataset GR in Section 4.5.3. In terms of disagreement, the enrichment achieved its purpose for the regime ensemble: the disagreement of decreased in the regions associated with the dripping regime, where its predictions are used to select the candidates to be evaluated by the diameter ensemble.
4.5.2 Evaluation of uncertainty on diameter ensembles
Figure 13 compares the distributions of of and on SH4 (panel I) and SH5 (panel II). The dashed line marks the threshold of 20% used in Section 4.3.2 to identify predictions with excessive uncertainty. On panel I, the two distributions are almost identical for below 10%, with the mode close to 5%, differing only in the tail to the right. The distribution of extends beyond the threshold up to a maximum of 72.5%, and its 95th percentile is 13.1%. Most samples therefore have a low , but a small fraction exceeds the threshold. The distribution of ends at a maximum of around 21.4%, and its 95th percentile is near to 11.2%. The number of samples above the threshold decreased from 9526 to 15. Since both ensembles predict on the same samples, this reduction is due only to the retraining of the diameter networks. The tail of on SH4 is short
The tail of on SH4 reaches high values but decreases much more rapidly than the distribution in SH5 (Panel II) because SH4 was generated from TD1, the training data of , and arguably does not contain many samples in regions where is uncertain.

Figure 13: Distribution of the coefficient of variation of the diameter predictions before ( , blue) and after ( , red) enrichment. I) Evaluation on SH4, generated from TD1 and filtered with . II) Evaluation on SH5, generated from T2 and filtered with . Each dataset contains 1.2 million synthetic samples. The dashed line marks the threshold of 20%. The boxes give the 95th percentile and the maximum of for each ensemble.
The samples of SH4 with for cover a similar region to that found on SH2 (Fig. 10), since both datasets were generated with the same procedure from TD1. This region extends over the dripping domain and is denser near critical values of and , where uncertainty is higher. After enrichment, the density of these samples decreases and the large clusters disappear (Fig. S7 in the supplementary material). The new VOF simulations therefore provided training data around and in the sub-regions where had higher uncertainty (see yellow regions in Fig. 10).
On panel II, the tail of is substantially longer than on SH4. The 95th percentile reaches 24.4%, and the maximum reaches 337.8%. SH5 was generated from T2, which includes the new cases located in the regions where had greater uncertainty, and its candidate samples were pre-screened with . As a result, SH5 contains a larger proportion of samples outside the regions covered by TD1, where extrapolates. The distribution of shows no such tail. Its 95th percentile is 11.5%, and its maximum is around 21.7%. The number of samples above the threshold of 20% decreased from 166658 to 68, confirming that even the most challenging population is effectively stabilized. Since both ensembles predict on the same samples, the samples in the tail of move approximately under 15% for and produce a high double peak of the red histogram in panel II.
The spatial distribution of SH5 samples with for covers regions of the dripping domain comparable to those identified for SH4. A higher sample density is concentrated near the critical and values where initial uncertainty peaks. Following enrichment, as observed for SH4, the density of these high-uncertainty samples decreases markedly and the prominent clusters disappear (Fig. S8 in the Supplementary Material).
The 95th percentile and the maximum of are similar on both datasets, SH4 and SH5, although SH5 is considerably challenging for . As it is expected, the uncertainty of the retrained diameter ensemble is therefore low both on the original samples population and on the samples selected by the updated pipeline. The comparison on SH5 in a way favors , because SH5 samples were interpolated from the training data of . The result on SH4, where the candidates come from data used to train both ensembles, shows that the reduction does not depend on that advantage. In both datasets, the mode of the distribution changes little, and the reduction of uncertainty is concentrated in the tail.
Three results summarize the effect of the enrichment. First, the disagreement of the regime ensemble is lower and less concentrated in the sub-ranges associated with the dripping regime. Second, the diameter ensemble no longer produces predictions with very high , either on SH4 or on SH5, and its maximum is notably close to the threshold of 20%. Third, on both SH4 and SH5, the candidates with high disappeared from the regions identified before enrichment. The reduction of uncertainty is thus largest in the regions selected for the new VOF simulations. The accuracy of the retrained ensembles is evaluated on simulated data in Section 4.5.3.
4.5.3 Physical predictions impact
This section evaluates whether the lower uncertainty of the retrained ensembles corresponds to a lower prediction error. The predictions of the baseline and retrained ensembles are compared with the results of VOF simulations on two additional datasets that were not used for training.
The regime ensemble requires this evaluation because the disagreement between predictions of its members does not measure the classification error. In addition, the enrichment process described in Section 4.4 revealed misclassifications of . Of the 200 configurations predicted as dripping by , about 50 produced widening jets in the simulations. Of the 250 configurations predicted as narrowing jets, only about 130 were confirmed. These configurations were obtained from regions of high disagreement or from areas adjacent to them, so these error rates do not represent the overall accuracy of . However, they provide more evidence that the disagreement can be associated with classification errors. They also show that the accuracy of both ensembles must be validated against independent simulations. The same applies to the diameter ensemble, where the measures the spread of the predictions of the members, but not their error with respect to the simulated diameter. A low indicates that the members agree, although they may be agreeing on an incorrect value. In the inverse design workflow, operating parameters are chosen to obtain a target droplet diameter, so the relevant quantity is the error of the predicted diameter. This error can only be measured by comparison with simulations.
The comparison uses two test datasets (Section 4.1.1 and Fig. 6). GR contains configurations of all regimes, labeled with the regime observed in their VOF simulation. GD contains dripping configurations, labeled with their simulated droplet diameter. Particularly, GD contains only those configurations for which at least 17 of the 20 members of predicted dripping ( ).
Neither dataset shares configurations with T2, and both were used only for evaluation.
The configurations of GR and GD were sampled mainly in the regions of high disagreement and high identified in Sections 4.3.1 and 4.3.2. The new cases added when enriching the training dataset were located in those regions. The retrained ensembles therefore has training data close to the test configurations, whereas the baseline ensembles do not. This design aims to principally measure the improvement in the regions targeted by the enrichment.
Both versions of each ensemble predict on the same configurations, so the baseline and retrained ensembles were compared with paired statistical tests (McNemar's test (McNemar, 1947) for regime classification and a paired t-test for diameter prediction). In both tests, the significance level was 0.05 and the alternative hypothesis was two-sided.
Figure 14 shows the 55 configurations of GR on the plane, colored according to the classification of both ensembles. The parameters of each configuration are given in Table S1 of the supplementary material. misclassified 28 configurations, and misclassified 7. The accuracy therefore increased from 49.1% to 87.3%. Of the 28 errors of , 23 were corrected by (Fixed) and 5 remained (Unfixed). In addition, misclassified 2 configurations that classified correctly (Degraded). The exact McNemar's test evaluates those 23 corrected and 2 degraded configurations, considering that each prediction yields a binary outcome of correct or incorrect. This net improvement in classification accuracy is statistically significant (), confirming that the enrichment genuinely reduced misclassifications rather than reflecting random variation.
Results for regime prediction with retrained ensemble

Figure 14: Classification of the configurations of GR on the plane by the baseline and retrained regime ensembles. Fixed configurations were misclassified by and correctly classified by . Unaffected configurations were correctly classified by both ensembles. Unfixed configurations were misclassified by both ensembles. Degraded configurations were correctly classified by and misclassified by . The black line marks the regime-transition boundary between dripping regime and narrowing-jet or widening-jet regimes (Utada et al., 2007).
The corrected configurations lie mainly in two zones. The first is near the horizontal boundary at , where the disagreement curve of had its maximum (Fig. 12). The second is at and , to the right of the oblique boundary. Six of the seven errors of lie close to the oblique boundary, at between 0.27 and 0.43. This mostly agrees with the location of the remaining disagreement of along (Fig. 12). Near the regime boundaries, the regime observed in a simulation can be ambiguous, even in high-fidelity simulations (Harispe and Kler, 2026). Part of these remaining errors may therefore reflect this ambiguity rather than a failure of the ensemble.
The error of each diameter drop prediction was computed as the signed relative error
where is the simulated diameter and the diameter predicted by the ensemble. The change of the error magnitude after enrichment is , where the superscripts indicate the ensemble version. A negative value of indicates that is more accurate than for that configuration.
Figure 15 shows for the 171 configurations of GD on the plane. The parameters of each configuration are given in Table S2 of the supplementary material. The error decreased (yellow to green hues) in 115 configurations and increased (yellow to red hues) in 56. The largest reductions appear on two main locations. The first, near the upper boundary of the expected dripping regime area, at between 1.1 and 1.8 and for below 0.13. The second, close to the right boundary, at between 0.19 and 0.29 and for between 0.1 and 0.55. The increases in error are distributed and not concentrated in a particular zone.
Table 3 gives the number of configurations in each range of . The number of configurations with an error above 10% decreased from 38 for to 11 for . The number of configurations with an error below 3% increased from 47 to 91. The number of configurations between 5% and 10% decreased from 47 to 29, and the number between 3% and 5% remained almost unchanged (39 and 40). As a result, the fraction of configurations with an error below 5% increased from 50.3% (86 of 171) to 76.6% (131 of 171).
Retrained ensemble: change in diameter prediction error

Figure 15: Change in the magnitude of the relative diameter error, , for the configurations of on the plane. Green indicates a lower error of the retrained ensemble, and red a higher error. The color scale is nonlinear and saturates at percentage points. The black line marks the regime-transition boundary. The configurations were sampled preferentially in the high- regions of Section 4.3.2.
| (%) | ||
|---|---|---|
| [0, 3] | 47 | 91 |
| (3, 5] | 39 | 40 |
| (5, 10] | 47 | 29 |
| (10, ∞) | 38 | 11 |
| Total | 171 | 171 |
Table 3: Number of configurations of in each range of the magnitude of the relative diameter error, , for the baseline () and retrained () diameter ensembles. Square brackets denote inclusive boundaries, while parentheses denote exclusive boundaries.
The magnitudes and were compared with the Wilcoxon signed-rank test (Wilcoxon, 1945), because the errors are paired and their distribution is asymmetric. The median error decreased from 4.98% for to 2.71% for , and this difference is significant () (Kerby, 2014). The lower of therefore corresponds to a lower error of the predicted diameter. The error increased in 56 configurations, but remains below 5% in 28 of them. These increases occur mainly in configurations where already had a low error. Furthermore, these increases fall within the 3%–5% size dispersion typically accepted for monodisperse droplets in coaxial and standard microfluidic devices across practical applications (Xu et al., 2021; Chung et al., 2019; Wang et al., 2017).
Both results refer to the regions targeted by the enrichment, where the test configurations were sampled. Within these regions, the reduction of uncertainty observed in Sections 4.5.1 and 4.5.2 is accompanied by a significant reduction of the prediction error, both for the regime and for the diameter. After enrichment, 76.6% of the diameter predictions on have an error below 5%, compared with 50.3% before enrichment. These are the regions where was least reliable, so the retrained ensembles provide a more reliable basis for the inverse design procedure described in the following section.
5 Inverse design of microfluidic droplet generators
The main goal of this work, as outlined in the introduction, is to determine the operating parameters of a microfluidic droplet generator that produce droplets of a specified size. The previous sections developed the surrogate ensembles for this purpose and reduced their uncertainty in the dripping regime by enriching the training data. This section applies the retrained ensembles and to this inverse design problem. Given a target droplet diameter and optional constraints on the operating parameters, the task is to find a configuration that operates in the dripping regime and produces droplets of the target size. Since the ensembles are much less expensive to evaluate than VOF simulations, they can be queried many times and used as the evaluation model within an iterative search algorithm. In this work, the search was performed with the PSO algorithm described in Section 3.3, which evaluates a population of candidate configurations at each iteration. The following paragraphs describe the formulation of the objective function and the settings of the optimization. They also present several case studies, in which the configurations obtained were simulated with VOF to validate the method.
5.1 PSO Configuration
The neural networks receive seven input parameters, but the search space has only five dimensions. The free parameters are , , , , and . The phase velocities and are not free because they are determined by and once the other parameters are fixed. They are computed from the definitions of the capillary and Weber numbers, with the same physical constants as in Harispe and Kler (2026), as mentioned in Section 3.2. The user can fix any subset of the free parameters to prescribed values. In that case, the search is performed only over the remaining parameters.
Table 4 lists the range of each free parameter used in the inverse design problem. These intervals span the complete range of values present in the training data, and are not restricted to the observed dripping regime region reported in the literature (Utada et al., 2007). The boundary of the dripping regime depends jointly on several parameters and cannot be represented by independent bounds on each of them. The regime ensemble therefore decides whether a configuration operates in the dripping regime, through the fitness function of Section 5.2.
Table 4: Ranges of the free parameters in the inverse design problem.
| Parameter | Symbol | Range |
|---|---|---|
| Capillary number of the outer phase | [0.047, 0.8] | |
| Weber number of the inner phase | [0.035, 20.0] | |
| Viscosity of the outer phase | [8.9 × 10⁻³, 9.5 × 10⁻²] Pa·s | |
| Viscosity of the inner phase | [8.9 × 10⁻⁴, 8.9 × 10⁻²] Pa·s | |
| Radius of the inner capillary | [5.0 × 10⁻⁶, 2.5 × 10⁻⁵] m |
Table 5 lists the values of the parameters of the PSO scheme described in Section 3.3. The personal best of each particle is its initial position, and the global best is the initial position with the lowest value of the fitness function. The initial velocities are sampled uniformly in and then clipped to , where is the vector of the widths of these ranges. This conservative initialization mitigates the risk of large initial step sizes that would cause wild oscillation before cognitive and social components can guide particles. Furthermore, it prevents the swarm from overshooting promising regions while the stochastic inertia gradually facilitates broader search patterns in subsequent iterations.
The inertia weight is computed as , with , which gives the distribution of Table 5.
The patience criterion is defined as follows. A counter is incremented at every iteration in which the global best does not improve. It is reset to zero only when the global best improves by at least relative to the previous global best. The search stops when the counter reaches , which avoids iterations without significant improvement. Specifically, when a new solution is strictly better than the current global best (smaller fitness function value) but the relative improvement is less than , the patience counter is maintained at its current value. The relative improvement is evaluated by directly multiplying the previous best by rather than dividing by the previous best, which ensures numerical stability and prevents division-by-zero errors as the objective function values approach zero.
Table 5: Parameters of the PSO algorithm and termination criteria.
| Quantity | Symbol | Value |
|---|---|---|
| Number of particles | 50 | |
| Inertia weight | ||
| Cognitive acceleration constant | 2 | |
| Social acceleration constant | 2 | |
| Velocity clamping coefficient | 0.9 | |
| Boundary rebound factor | -0.7 | |
| Maximum number of iterations | 500 | |
| Patience limit | 150 | |
| Minimum relative improvement | 0.10 |
5.2 Multi-Criteria Fitness Function
The fitness function determines which configurations the PSO algorithm considers good solutions. Minimizing only the error of the predicted diameter is not sufficient. The optimizer could reach configurations with a predicted diameter close to the target in regions where the members of the ensembles disagree or where the configuration does not operate in the dripping regime. Such configurations would probably not produce the target diameter in a simulation or an experiment. To avoid these configurations, the fitness function was defined as the sum of the diameter error () and four penalty terms,
where is the vector of free parameters. Each term takes values between 0 and 1, so no term dominates the sum because of its scale. The five terms are described below.
Diameter error (). The first term measures the relative error between the target diameter and the mean prediction of the members of the ensemble, through a saturating function,
For small errors, grows approximately linearly with the relative error, while for large errors, it saturates at 1. A relative error of 1% gives , an error of 10% gives , and an error of 20% gives . The saturation keeps in the same range as the penalty terms. Far from the target diameter, the differences in fitness are therefore determined mainly by the penalty terms, which guide the swarm toward reliable parametric regions within the dripping regime.
Regime confidence (). The second term requires each member of to be confident in the dripping regime. It penalizes the fraction of the members that assign to the dripping class a probability lower than or equal to ,
where is the softmax probability of the dripping class given by , and equals 1 if its argument is true and 0 otherwise. The condition is applied to each member rather than to the mean probability of the ensemble. A high mean probability can result from a few members with very high confidence and many members with low confidence. The condition on each member penalizes these configurations. A value of indicates that every member assigns a probability higher than to the dripping class. The value of was chosen to follow the same criteria used when selecting candidate dripping samples for the synthetic datasets (Section 4.1.2). This criteria is different than the number of votes for a regime (), which is considered in . measures the confidence of each vote of the members.
Regime consensus (). The third term penalizes the configurations for which the consensus of is not the dripping regime,
where is the number of members that predict the dripping regime, and is the consensus class. The consensus class is obtained by majority voting, and ties are resolved by the sum of the class probabilities over the members. If the consensus is dripping, , and the agreement between members is penalized only by . If the consensus is a jetting regime, at most half of the members vote for dripping, so is at least 0.5. A configuration in a jetting regime therefore cannot reach a low fitness value, even if its predicted diameter is close to the target. This prevents the optimizer from selecting configurations where the diameter prediction has no physical meaning.
Diameter uncertainty (). The fourth term penalizes the spread of the predictions of the members of , with a saturating function similar to that of Eq. (17),
where is the standard deviation of the predictions. A value of gives , gives , and gives . The value 13% at the denominator was chosen based on the 95th percentile observed on SH4 for . This term connects the optimization with the uncertainty quantification of Section 4.3. A configuration with a mean prediction close to the target is penalized if the members of disagree on its diameter.
Boundary proximity (). The fifth term penalizes the configurations close to the bounds of and ,
where and are the values of and normalized to within the ranges of Table 4. The penalty is zero at the center of the ranges and equals 1 when both parameters are at a bound. With the cubic exponent, the penalty is small near the center and increases rapidly close to the bounds. The surrogates are less reliable near the bounds of the search space, where the training data become scarce.
The fitness function of Eq. (16) favors configurations with a predicted diameter close to the target, a confident and consistent prediction of the dripping regime, a low spread of the diameter predictions, and parameters away from the bounds of the search space. The penalty terms use the uncertainty measures of Section 4.3, so the optimizer avoids the regions where the predictions of the ensembles are not reliable.
5.3 Application and Validation
The inverse design method was applied to a set of case studies, each corresponding to a design request with a given target diameter. Ten target diameters were selected, logarithmically spaced between 21.75 and 248.8 m. This interval covers the range of droplet diameters obtained in all the simulations of this work. For each target, three independent runs of PSO were performed with the retrained ensembles and . In six of the ten targets, the radius of the inner capillary was fixed in the third run to represent a design constraint imposed by the user. The configuration obtained in each run was then simulated with VOF in Basilisk. These simulations were not used at any stage of training or optimization and constitute an independent validation of the inverse design method.
Table 6 presents the results of this validation. Each row corresponds to one PSO run, and the rows are grouped by target diameter, with three runs per target. The first two columns give the number of the case and the target diameter. The next five columns give the configuration found by PSO, defined by the values of , , , , and . The values in bold were fixed by the user and were not optimized. The last three columns compare the diameter predicted by for each configuration with the diameter obtained in its VOF simulation and give the relative error between them. A negative error indicates that the simulated droplet is larger than predicted.
All the cases listed in Table 6 exhibited a dripping regime on the VOF simulations.
The predicted diameter differs from the target by less than 0.25% in all cases. PSO therefore found configurations that satisfy the target according to , and the error with respect to the simulation measures how
Table 6: Configurations obtained by inverse design and their validation with VOF simulations. For each target diameter , three independent PSO runs were performed. Values in bold were fixed during the search. is the diameter predicted by , and the simulated diameter. The error is computed as . Simulations exhibited dripping regimes in all the configurations.
| Case | (μm) | (mPa·s) | (mPa·s) | (μm) | (μm) | (μm) | Error (%) | ||
|---|---|---|---|---|---|---|---|---|---|
| 1 | 21.75 | 0.323 | 0.164 | 22.6 | 0.890 | 5.01 | 21.75 | 21.44 | -1.46 |
| 2 | 0.275 | 0.235 | 15.1 | 1.60 | 5.00 | 21.75 | 20.81 | -4.53 | |
| 3 | 0.289 | 0.0356 | 9.21 | 1.16 | 8.00 | 21.75 | 22.22 | 2.10 | |
| 4 | 28.52 | 0.337 | 0.110 | 43.6 | 0.893 | 6.61 | 28.52 | 29.22 | 2.38 |
| 5 | 0.363 | 0.0600 | 56.0 | 0.890 | 6.89 | 28.52 | 29.15 | 2.15 | |
| 6 | 0.282 | 0.0350 | 10.6 | 1.37 | 10.0 | 28.52 | 29.11 | 2.02 | |
| 7 | 37.39 | 0.331 | 0.0776 | 87.9 | 0.890 | 7.94 | 37.39 | 41.00 | 8.80 |
| 8 | 0.265 | 0.748 | 18.2 | 0.890 | 7.59 | 37.39 | 37.85 | 1.22 | |
| 9 | 0.301 | 0.0355 | 13.2 | 1.47 | 13.0 | 37.39 | 36.73 | -1.80 | |
| 10 | 49.01 | 0.267 | 0.113 | 87.1 | 0.964 | 9.47 | 49.01 | 53.08 | 7.66 |
| 11 | 0.277 | 0.764 | 24.5 | 0.973 | 9.78 | 49.01 | 49.30 | 0.58 | |
| 12 | 0.181 | 0.238 | 95.0 | 1.34 | 5.00 | 49.01 | 47.96 | -2.18 | |
| 13 | 64.26 | 0.202 | 0.113 | 94.8 | 0.897 | 10.8 | 64.26 | 68.88 | 6.71 |
| 14 | 0.170 | 0.0696 | 90.4 | 0.958 | 10.6 | 64.27 | 68.09 | 5.62 | |
| 15 | 0.211 | 0.121 | 90.3 | 0.892 | 11.1 | 64.26 | 69.27 | 7.23 | |
| 16 | 84.24 | 0.212 | 0.254 | 8.91 | 1.17 | 24.2 | 84.24 | 83.07 | -1.41 |
| 17 | 0.226 | 0.101 | 11.7 | 0.894 | 25.0 | 84.04 | 87.68 | 4.15 | |
| 18 | 0.208 | 0.158 | 95.0 | 0.892 | 13.4 | 84.24 | 82.68 | -1.89 | |
| 19 | 110.4 | 0.349 | 0.104 | 95.0 | 1.23 | 24.4 | 110.4 | 113.9 | 3.06 |
| 20 | 0.162 | 1.23 | 8.90 | 0.890 | 25.0 | 110.4 | 113.4 | 2.61 | |
| 21 | 0.172 | 1.11 | 9.84 | 1.06 | 25.0 | 110.4 | 112.3 | 1.64 | |
| 22 | 144.8 | 0.270 | 0.509 | 95.0 | 1.28 | 25.0 | 144.8 | 152.9 | 5.32 |
| 23 | 0.272 | 0.634 | 94.7 | 0.901 | 25.0 | 144.8 | 152.6 | 5.15 | |
| 24 | 0.0672 | 0.647 | 92.2 | 0.929 | 10.0 | 144.8 | 144.8 | -0.01 | |
| 25 | 189.8 | 0.165 | 0.662 | 93.7 | 1.61 | 25.0 | 189.8 | 227.5 | 16.58 |
| 26 | 0.118 | 0.230 | 94.2 | 1.01 | 24.5 | 189.8 | 194.0 | 2.13 | |
| 27 | 0.0470 | 0.726 | 95.0 | 2.26 | 10.0 | 189.8 | 201.3 | 5.71 | |
| 28 | 248.8 | 0.0984 | 0.713 | 90.1 | 1.77 | 23.3 | 248.8 | 255.9 | 2.79 |
| 29 | 0.0774 | 0.185 | 94.0 | 0.890 | 25.0 | 248.8 | 238.2 | -4.48 | |
| 30 | 0.107 | 0.665 | 84.9 | 2.09 | 24.9 | 248.8 | 259.4 | 4.06 |
well this prediction holds in practice. The median absolute error is 2.77%, and the mean absolute error is 4.16%. The absolute error is below 5% in 21 of the 30 cases and below 10% in 29 of them. These values are consistent with those obtained on GD, where 76.6% of the predictions of had an error below 5% (Table 3).
The three runs for each target produced different configurations. For example, the three configurations for 110.4 μm (cases 19 to 21) have values of between 0.10 and 1.23 and errors between 1.67% and 3.15%. The inverse problem therefore has several solutions, and the method provides alternative configurations among which the user can choose according to other criteria. The six runs with a fixed value of have a mean absolute error of 2.36%. Imposing a constraint on one parameter did not reduce the accuracy of the designs.
The errors are mostly positive. In 22 of the 30 cases, the simulated diameter is smaller than the predicted one. An exact two-sided sign test gives , so tends to overestimate the droplet diameter in the configurations selected by the optimizer. The three cases for 64.26 μm (cases 13 to 15) show this behavior most clearly, with errors between 5.62% and 7.23%.
The largest error, 16.58%, corresponds to case 25. In this configuration, and are close to the upper bounds of their ranges, where training data could be scarce. However, cases 22 and 23 have similar values of and , and errors close to . Proximity to the bounds is therefore not sufficient to explain this error. The penalty acts only on and , so the optimizer can select values of the other parameters at their bounds. Several configurations of Table 6 have or at or near their upper bounds. Extending to all free parameters would reduce the number of such configurations. In case 25 the value obtained by the diameter ensemble was 3.14% proving that the ensemble members can agree on an incorrect value, as mentioned in Sections 4.3.2 and 4.5.3. In this case, the fitness function terms and had had a value of approximately zero, while and where around 0.237 and 0.574 respectively. and correctly reflect what was observed from the prediction, as the predicted diameter matches the target diameter, and the simulation, since dripping regime was obtained. The value of indicates some slight predictions spread of the members of ( value), while suggests that the boundary proximity may indeed be influencing the selected configuration.
Excluding case 25, all errors are below 10% when compared with the actual droplets, with the vast majority presenting 5% diameter error or less, which is an acceptable tolerance for the experimental design of droplet generators for different applications, falling within the inherent variability caused by syringe pump velocity fluctuations and microfabrication tolerances (Azzini et al., 2025; Mottaghi et al., 2020; Bi et al., 2025).
Overall, the method found configurations with the target diameter over the whole range of diameters studied, with a median error of 2.77% with respect to the VOF simulations. Each design required only the evaluation of the ensembles and one simulation for its validation.
6 Discussion
A central question is whether the disagreement of the ensembles is a reliable indicator of their prediction error. Before enrichment, the regions of highest disagreement were located near the regime-transition boundaries reported by Utada et al. (2007). The disagreement curve of peaked at and at , in the ranges where these transitions generally occurred on the literature experiments. Near these boundaries, the regime changes under small variations of the parameters, and the mapping from the inputs to the outputs is strongly nonlinear. The high disagreement in these regions is therefore consistent with the difficulty of the prediction task, and not only with a lack of capacity of the models. The simulations performed during the enrichment confirmed this association. About a quarter of the configurations predicted as dripping by produced widening jets. The disagreement of the ensembles thus identified, without prior physical information, the regions where the models were least reliable and where new simulations were needed.
As with any ensemble-based estimate, disagreement and error are different quantities. The disagreement indicates where the members are least confident, but it cannot detect a systematic bias shared by all members. The inverse design results show a bias of this kind. In 22 of the 30 cases of Table 6, overestimated the simulated diameter (by 5% or less in most cases), and in case 25 the error reached 16.58%. The value of for that specific case demonstrated that the ensemble members may agree on an incorrect prediction. The ensembles also do not capture the uncertainty associated with the choice of architecture, since all members share the architecture selected in Section 4.2, nor the discretization error of the VOF simulations used as reference. These effects are nevertheless included in the comparison with independent simulations, which measures the total prediction error. In this comparison, the bias remained small, with a median absolute error of 2.77% and 29 of the 30 designs within 10% of the simulated diameter. Moreover, a bias with a consistent sign could be reduced by calibrating the ensemble with a few validation simulations, and the framework could incorporate ensembles of different architectures without changes to the rest of the method.
The enrichment strategy combined two criteria. New simulations were placed where the ensembles disagreed and where the physics is known to be sensitive, near the regime boundaries. The ensembles indicate where the uncertainty is high, but not why. The regime map provides this physical context and helps to select, among the uncertain regions, those that matter for the dripping regime. After enrichment, the disagreement of decreased and became less concentrated in the sub-ranges associated with the dripping regime, and the tail of the distribution of disappeared on SH4 and SH5. The overall fraction of non-unanimous samples of increased in the jetting regimes, away from the enriched regions. Part of the improvement of may also be due to the configurations of O1 that were excluded from TR1 by the balancing and later included in T2.
The increase in the jetting regimes does not affect the diameter predictions, which are restricted to the dripping regime. It also indicates where new simulations would be needed to extend the method to the other regimes. The same diagnostics therefore guide both the current enrichment and any future extension of the training data.
The comparison with independent VOF simulations in Section 4.5.3 showed that the reduction of disagreement was accompanied by a reduction of the prediction error. On GR, the number of misclassified configurations decreased from 28 to 7 of 55 (). On GD, the number of predictions with an error below 3% increased from 47 to 91 of 171, and the number with an error above 10% decreased from 38 to 11. These test configurations were sampled in the regions targeted by the enrichment, so the results describe the improvement in those regions and not over the whole parameter space. These are, however, the regions where the baseline ensembles were least reliable and where the regime transitions make the design most difficult. The results show that the uncertainty diagnostics directed the simulations to regions where they substantially reduced the prediction error.
The inverse design method found configurations with the target diameter over the whole range of diameters studied, with a median error of 2.77% with respect to the VOF simulations. Each design required only the evaluation of the ensembles and one simulation for its validation. The three runs for each target produced different configurations, which gives the user alternative designs, and the imposed constraints on did not reduce the accuracy. Two aspects of the method can be improved. The fitness function penalizes only the disagreement between members, through , and cannot detect the systematic underestimation of the diameter. The penalty acts only on and , and several solutions have or at the bounds of their ranges, where training data are scarce. Both aspects can be addressed within the proposed framework, by extending to all free parameters and by adding to the training data the simulations of the configurations found by the optimizer. This second extension closes the active learning loop. The configurations proposed by the optimizer become new training data, and the ensembles would improve precisely in the regions where they are used for design.
7 Conclusions
The integration of the surrogate models into the PSO-based optimization loop (Section 5) demonstrates their utility for inverse design, providing instantaneous evaluations that would be computationally intractable via direct VOF simulation. While a single high-fidelity VOF simulation of the type used here can require several hours depending on the fluid properties (Harispe and Kler, 2024), the surrogate-based PSO approach can evaluate hundreds of configurations in mere seconds. Although the reliability of the inverse-design output is bounded by surrogate fidelity in the precise regions where the optimizer lands, uncertainty-guided enrichment specifically aims to mitigate this risk.
Looking forward, two natural extensions are possible. First, the enrichment loop could be iterated, and the residual disagreement parameter-ranges identified in the post-enrichment diagnostics pinpoint where a second round of targeted simulations would yield the greatest additional information gain. Second, if simulation costs were reduced through solver optimizations, the enrichment criterion could shift from inter-model disagreement to direct residual between VOF outputs and ensemble mean predictions, closing the loop between uncertainty estimation and physical error measurement.
Ultimately, the practical value of this work lies in the predictive fidelity achieved with a modest dataset of fewer than 800 VOF simulations. This efficiency is highly significant for microfluidic modeling, where high-fidelity data acquisition is often the limiting factor. Beyond the coaxial geometry presented here, the framework is fundamentally geometry-agnostic. The core logic of using ensemble disagreement to identify where the model lacks confidence, paired with domain knowledge to identify why, can be directly adapted to other microfluidic architectures such as T-junction or flow-focusing devices by redefining the relevant parameters and operational boundaries. More broadly, this strategy of leveraging physics-informed uncertainty to optimize simulation budgets is applicable to any complex multiphase CFD problem characterized by high-dimensional design spaces and sensitive physical transitions.
References
(2019). PyTorch: an imperative style, high-performance deep learning library. Curran Associates Inc., Red Hook, NY, USA.
Azzini, F., Pulvirenti, B., Morini, G. L., and Biserni, C. (2025). Droplet diameter variability induced by flow oscillations in a micro cross-junction. Applied Sciences, 15(18):10107.
Bae, Y., Nam, K., and Kang, S. (2024). Cfd-ml: Stream-based active learning of computational fluid dynamics simulations for efficient product design. Computers in Industry, 161:104122.
Bi, C., Su, W., Du, D., Darkwa, J., Wang, L., Chen, J., and Li, A. (2025). Control of monodisperse droplet size in microfluidics: A combined experimental and numerical investigation. Physics of Fluids, 37(9).
Bonyadi, M. R. and Michalewicz, Z. (2017). Particle swarm optimization for single objective continuous space problems: A review. Evolutionary Computation, 25(1):1–54.
Bourega, M., Kromba, I., Arbi, K. F., and Soulimane, S. (2023). Effect of velocity ratio, viscosity ratio, contact angle, and channel size ratio on droplet formation. Fluid Dynamics and Materials Processing, 19(10):2471–2480.
Brackbill, J., Kothe, D., and Zemach, C. (1992). A continuum method for modeling surface tension. Journal of Computational Physics, 100(2):335–354.
Chawla, N. V., Bowyer, K. W., Hall, L. O., and Kegelmeyer, W. P. (2002). Smote: synthetic minority oversampling technique. J. Artif. Int. Res., 16(1):321–357.
Chung, C. H. Y., Cui, B., Song, R., Liu, X., Xu, X., and Yao, S. (2019). Scalable production of monodisperse functional microspheres by multilayer parallelization of high aspect ratio microfluidic channels. Micromachines, 10(9).
Da Ling, S., Zhang, J., Chen, Z., Ma, W., Du, Y., and Xu, J. (2022). Generation of monodisperse micro-droplets within the stable narrowing jetting regime: effects of viscosity and interfacial tension. Microfluidics and Nanofluidics, 26(7).
da Silva, F. S. P. and Lisboa-Filho, P. N. (2025). Volume of fluid (vof) method as a suitable method for studying droplet formation in a microchannel. Micromachines, 16(7):757.
Eberhart, R. C. and Shi, Y. (2001). Tracking and optimizing dynamic systems with particle swarms. In Proceedings of the 2001 Congress on Evolutionary Computation (CEC 2001), volume 1, pages 94–100, Seoul, South Korea. IEEE.
Engelbrecht, A. P. (2007). Computational Intelligence: An Introduction. John Wiley & Sons, Ltd, Chichester, UK, 2 edition.
Han, J., Kamber, M., and Pei, J. (2012). 2 - getting to know your data. In Data Mining: Concepts and Techniques (Third Edition), The Morgan Kaufmann Series in Data Management Systems, pages 39–82. Morgan Kaufmann, Boston, third edition edition.
Harispe, D. G. and Kler, P. A. (2024). Accurate numerical prototypes of microfluidic droplet generators with open source tools. Computers & Fluids, page 106366.
Harispe, D. G. and Kler, P. A. (2026). Neural network assisted numerical prototyping of coaxial droplet generators. International Journal of Numerical Methods for Heat & Fluid Flow, 36(7):2766–2794.
Hastie, T., Tibshirani, R., and Friedman, J. (2009). The Elements of Statistical Learning. Springer New York.
Hong, S. H., Yang, H., and Wang, Y. (2020). Inverse design of microfluidic concentration gradient generator using deep learning and physics-based component model. Microfluidics and Nanofluidics, 24(6).
Hüllermeier, E. and Waegeman, W. (2021). Aleatoric and epistemic uncertainty in machine learning: An introduction to concepts and methods. Machine learning, 110(3):457–506.
Kerby, D. S. (2014). The simple difference formula: An approach to teaching nonparametric correlation. Comprehensive Psychology, 3:11.IT.3.1.
Lakshminarayanan, B., Pritzel, A., and Blundell, C. (2017). Simple and scalable predictive uncertainty estimation using deep ensembles. In Advances in Neural Information Processing Systems, volume 30, pages 6402–6413.
Lashkaripour, A., McIntyre, D. P., Calhoun, S. G. K., Krauth, K., Densmore, D. M., and Fordyce, P. M. (2024). Design automation of microfluidic single and double emulsion droplets with machine learning. Nature Communications, 15(1).
Lashkaripour, A., Rodriguez, C., Mehdipour, N., Mardian, R., McIntyre, D., Ortiz, L., Campbell, J., and Densmore, D. (2021). Machine learning enables design automation of microfluidic flow-focusing droplet generation. Nature Communications, 12(1).
Li, Y., Huang, Z., Xu, L., Fan, Y., Ping, J., Li, G., Chen, Y., Yu, C., Wang, Q., Song, T., Lin, T., Liu, M., Xu, Y., Ai, N., Meng, X., Qiao, Q., Ji, H., Qin, Z., Jin, S., Jiang, N., Wang, M., Shu, S., Zhang, F., Zhang, W., Liu, G.-H., Chen, L., and Jiang, L. (2025). Uda-seq: universal droplet microfluidics-based combinatorial indexing for massive-scale multimodal single-cell sequencing. Nature Methods, 22(6):1199–1212.
Liu, M., Hu, H., Cui, Y., Song, J., Ma, L., Yuan, Z., Wang, K., and Luo, G. (2025). Modeling and analysis of droplet generation in microchannels using interpretable machine learning methods. Chemical Engineering Journal, 511:161972.
Lu, L., Pestourie, R., Yao, W., Wang, Z., Verdugo, F., and Johnson, S. G. (2021). Physics-informed neural networks with hard constraints for inverse design. SIAM Journal on Scientific Computing, 43(6):B1105–B1132.
Ma, L., Zhao, X., Hou, J., Huang, L., Yao, Y., Ding, Z., Wei, J., and Hao, N. (2024). Droplet microfluidic devices: working principles, fabrication methods, and scale-up applications. Small Methods, 8(8):2301406.
Malakshah, V. M., Darabi, M., Sattari, A., and Hanafizadeh, P. (2024). Numerical investigation of double emulsion formation in non-newtonian fluids using double co-flow geometry. Chemical Engineering Research and Design, 203:165–177.
Manekar, K., Bhaiyya, M. L., Hasamnis, M. A., and Kulkarni, M. B. (2025). Intelligent microfluidics for plasma separation: Integrating computational fluid dynamics and machine learning for optimized microchannel design. Biosensors, 15(2):94.
Mao, Z., Jagtap, A. D., and Karniadakis, G. E. (2020). Physics-informed neural networks for high-speed flows. Computer Methods in Applied Mechanics and Engineering, 360:112789.
Mardani, F., Falahatian, S., and Taghipoor, M. (2023). Mapping flow-focusing microfluidic droplet formation to determine high-throughput droplet generation configurations. Results in Engineering, 18:101125.
McNemar, Q. (1947). Note on the sampling error of the difference between correlated proportions or percentages. Psychometrika, 12(2):153–157.
Mottaghi, S., Nazari, M., Fattahi, S. M., Nazari, M., and Babamohammadi, S. (2020). Droplet size prediction in a microfluidic flow focusing device using an adaptive network based fuzzy inference system. Biomedical Microdevices, 22(3).
Mu, K., Qiao, R., Si, T., Cheng, X., and Ding, H. (2021). Interfacial instability and transition of jetting and dripping modes in a co-flow focusing process. Physics of Fluids, 33(5).
Mulligan, M. K. and Rothstein, J. P. (2012). Scale-up and control of droplet production in coupled microfluidic flow-focusing geometries. Microfluidics and Nanofluidics, 13(1):65–73.
Nunes, J. K., Tsai, S. S. H., Wan, J., and Stone, H. A. (2013). Dripping and jetting in microfluidic multiphase flows applied to particle and fibre synthesis. Journal of Physics D: Applied Physics, 46(11):114002.
Popinet, S. (2009). An accurate adaptive solver for surface-tension-driven interfacial flows. Journal of Computational Physics, 228(16):5838–5866.
Popinet, S. (2015). A quadtree-adaptive multigrid solver for the serre–green–naghdi equations. Journal of Computational Physics, 302:336–358.
Popinet, S., Fullana, J., Fuster, D., Limare, A., et al. (2025). Basilisk. http://basilisk.fr. (accessed on 10/10/2025).
Python Software Foundation (2024). Python: A dynamic, open source programming language. Python Language Reference, version 3.12.
Rayleigh, L. et al. (1879). On the capillary phenomena of jets. Proc. R. Soc. London, 29(196-199):71–97.
Sang, F., Chen, Z., Wang, Y., and Xu, J. (2017). Dynamic formation and scaling law of hollow droplet with gas/oil/water system in dual-coaxial microfluidic devices. AIChE Journal, 64(2):730–739.
Schneider, K. and Vasilyev, O. V. (2010). Wavelet methods in computational fluid dynamics. Annual Review of Fluid Mechanics, 42(1):473–503.
Scott, D. W. (1992). Multivariate Density Estimation: Theory, Practice, and Visualization. Wiley.
Settles, B. (2009). Active learning literature survey. Computer Sciences Technical Report 1648, University of Wisconsin–Madison.
Seung, H. S., Opper, M., and Sompolinsky, H. (1992). Query by committee. In Proceedings of the Fifth Annual Workshop on Computational Learning Theory, COLT '92, pages 287–294, New York, NY, USA. ACM.
Shami, T. M., El-Saleh, A. A., Alswaitti, M., Al-Tashi, Q., Summakieh, M. A., and Mirjalili, S. (2022). Particle swarm optimization: A comprehensive survey. IEEE Access, 10:10031–10061.
Sheng, L., Ma, L., Chen, Y., Deng, J., and Luo, G. (2022). A comprehensive study of droplet formation in a capillary embedded step t-junction: From squeezing to jetting. Chemical Engineering Journal, 427:132067.
Silverman, B. (2018). Density Estimation for Statistics and Data Analysis. Routledge.
Solanki, S., Lee, S., Jebakumar, A., Lum, J., Hamidi-Haines, M., Denison, C., Sundheim, M., Schauer, K., Stevenson, P., Hintzman, J., and Torniainen, E. (2022). Machine learning for predicting microfluidic droplet generation properties. Computers & Fluids, 247:105651.
Sontti, S. G. and Atta, A. (2023). Regulation of droplet size and flow regime by geometrical confinement in a microfluidic flow-focusing device. Physics of Fluids, 35(1).
Soroor, M., Zabetian Targhi, M., and Tabatabaei, S. A. (2021). Numerical and experimental investigation of a flow focusing droplet-based microfluidic device. European Journal of Mechanics - B/Fluids, 89:289–300.
Tsitouridou, A., Parhizkar, M., Wu, C.-Y., Chen, T., and Tsaoulidis, D. (2025). Cfd approaches in microfluidics for the development of polymeric, lipid-based and inorganic nanoparticles for drug delivery. Chemical Engineering Journal Advances, 24:100853.
Utada, A. S., Fernandez-Nieves, A., Stone, H. A., and Weitz, D. A. (2007). Dripping to jetting transitions in coflowing liquid streams. Physical Review Letters, 99(9).
Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., Carey, C. J., Polat, I., Feng, Y., Moore, E. W., VanderPlas, J., Laxalde, D., Perktold, J., Cimrman, R., Henriksen, I., Quintero, E. A., Harris, C. R., Archibald, A. M., Ribeiro, A. H., Pedregosa, F., van Mulbregt, P., and SciPy 1.0 Contributors (2020). SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. Nature Methods, 17:261–272.
Wang, J., Li, Y., Wang, X., Wang, J., Tian, H., Zhao, P., Tian, Y., Gu, Y., Wang, L., and Wang, C. (2017). Droplet microfluidics for the production of microparticles and nanoparticles. Micromachines, 8(1).
Wang, J. and Zhang, Y. (2025). Generation of styrene droplets in a coaxial flow device. Journal of Flow Chemistry, 15(2):89–98.
Wang, K., Huang, K., Wang, L., Lin, X., Tan, M., and Su, W. (2024). Microfluidic strategies for encapsulation, protection, and controlled delivery of probiotics. Journal of Agricultural and Food Chemistry, 72(27):15092–15105.
Wilcoxon, F. (1945). Individual comparisons by ranking methods. Biometrics Bulletin, 1(6):80–83.
Wu, L., Qian, J., Liu, X., Wu, S., Yu, C., and Liu, X. (2023). Numerical modelling for the droplets formation in microfluidics - a review. Microgravity Science and Technology, 35(3).
Wu, X., Chen, A., Yu, X., Tian, Z., Li, H., Jiang, Y., and Xu, J. (2024). Microfluidic synthesis of multifunctional micro-/nanomaterials from process intensification: Structural engineering to high electrochemical energy storage. ACS Nano, 18(32):20957–20979.
Xu, R., Zhao, S., Nie, L., Deng, C., Hao, S., Zhao, X., Li, J., Liu, B., and Ma, J. (2021). Study on the technology of monodisperse droplets by a high-throughput and instant-mixing droplet microfluidic system. Materials, 14(5).
Yin, J. and Kuhn, S. (2022). Numerical simulation of droplet formation in a microfluidic t-junction using a dynamic contact angle model. Chemical Engineering Science, 261:117874.
Yu, W., Liu, X., Li, B., and Chen, Y. (2022). Experiment and prediction of droplet formation in microfluidic cross-junctions with different bifurcation angles. International Journal of Multiphase Flow, 149:103973.