
microAI: A machine learning tool for fast calculation of lift coefficients in microchannels
and Shear gradient lift force [Zhang et al., 2016]. The lag between the particles and the fluid made by wall effects
[Saffman, 1965] induces Saffman force. Magnus force is the result of particle rotation. Pressure is higher on one side
of a rotating particle than on the other side; therefore, a lateral force is applied to the particle. Wall-induced lift force
is because of the wall effect. The flow field changes near the wall because of the particle, and a velocity gradient is
made, and as a result, a shear rate makes the particle rotate and move to the center of the channel to be far from the wall
[Michaelides, 2006]. Shear gradient lift force is applied to the particles because of the parabolic form of the velocity
profile inside the channels. Therefore, the relative velocity is different on the two sides of the particles. Thus, a shear
gradient moves them toward the wall until wall-induced, and the shear gradient lift forces cancel each other [Feng et al.,
1994].
All of the mentioned lift forces have a closed form, which enables us to calculate them separately. However, Direct
Numerical Solution (DNS) is a method that calculates the total lift force, comprised of all forms of the lift force
depending on the particle size, particle position, and channel Reynolds number. This method, developed by Di Carlo et
al., calculates the lift force in any arbitrary coordinate across the cross-section [Di Carlo et al., 2009]. As we used the
DNS method in our previous work [Mashhadian and Shamloo, 2019], we concluded that although DNS is the most
accurate method for inertial lift calculation, it is time-consuming and computationally expensive. Hence, utilizing
Artificial Intelligence (AI) methods can help researchers have almost the same accuracy and reduce the computational
cost [Su et al., 2021].
Deep Learning is a class of Machine Learning methods that can learn Representations of the input data by stacking
multiple layers of Perceptron [LeCun et al., 2015]. These methods have resulted in breakthroughs in many fields and
tasks, such as image classification [Krizhevsky et al., 2017], natural language processing [Brown et al., 2020] and highly
accurate prediction of protein structure [Jumper et al., 2021] which is a significant breakthrough in bioengineering.
Due to the high computational cost of conventional methods available in commercial packages, the iterative process of
coming up with solutions for new problems has been experiencing difficulties in scientific fields. With faster processing
units such as GPUs and more data, using AI as a surrogate model has become more feasible [McBride and Sundmacher,
2019, Mohammadzadeh and Lejeune, 2022]. The progress made in high-throughput microfluidics has resulted in vast
amounts of data. Processing this data using conventional methods no longer results in a good performance.
AI methods have been deployed in many microfluidic applications to address that need. In a great review, [Riordon
et al., 2019], have classified the ways that Deep Learning has been used in microfluidic applications based on the type
of input data and the desired output data from unstructured-to-unstructured [Chen et al., 2016] which cell classification
is a type of, to Image-to-Image types of application for cell segmentation [Zaimi et al., 2018]. Design and controlling of
the microfluidic devices is an expert dependent process which can be of a burden to wide adoption of microfluidics in
other scientific fields. This gap can also be bridged by usage of user-friendly and easy to use machine learning methods
[McIntyre et al., 2022].
One of the significant obstacles to using AI-based methods is the lack of credible data. [Su et al., 2021] generated
a database on lift coefficients in microfluidic channels using a computationally expensive DNS method for three
types of cross-sections. They then developed an MLP Neural Network to predict lift coefficients across 3 shapes of
microfluidic channel cross-section. Using the same architecture, they trained the neural network on each cross-section
shape separately. The provided model required to be retrained each time for inferring on new data.
In this work, we have trained a single network on the whole dataset provided by [Su et al., 2021]. We have studied
the hyperparameters using a Bayesian optimization [Snoek et al., 2012] method with a hyperband [Li et al., 2017]
stopping criteria to find the best architecture specific to the predefined need. We have also conducted a thorough study
on the effects of Non-linearities and optimizers used. After validating the results with the experimental studies in the
literature, we developed an API for the trained model with an easy-to-use user interface to reduce the need for machine
learning expertise in order to use surrogate models for faster design iterations in inertial microfluidics applications. The
developed webapp called microAI is deployed to the huggingface platform to be easily accessible to the community.
2 Methods
2.1 Direct Numerical Simulation
Point Particle Model (PPM) is widely adopted in the literature for determining particle trajectory [Bazaz et al., 2020] by
removing the surface tension effect. Therefore, the lift force caused by the surface tension is not considered. The PPM
assumption can be utilized when the particle size is considerably smaller than the channel dimensions. Otherwise, the
effect of the lift force is not negligible because of the considerable pressure gradient and shear stress on the particle
surface which makes the particles rotate in the flow. This rotation is one of the main reasons for the lateral displacement
of the particles.
2