Wall effects of eccentric spheres machine learning for convenient computation
Lachlan J. Gibson, Shu Zhang, Alexander B. Stilgoe, Timo A., Nieminen, Halina Rubinsztein-Dunlop

TL;DR
This paper enhances analytical methods and employs neural networks to efficiently quantify wall effects on eccentric spheres within spherical boundaries, achieving high accuracy and enabling quick predictions for various configurations.
Contribution
It introduces an improved analytical approach combined with neural network modeling to accurately and efficiently evaluate wall effects on eccentric spheres in confined spherical systems.
Findings
Model achieves ~0.001% error within training domain.
Model maintains ~0.05% error when extrapolated to infinite plane.
Enables convenient prediction of wall effects for arbitrary configurations.
Abstract
In confined systems, such as the inside of a biological cell, the outer boundary or wall can affect the dynamics of internal particles. In many cases of interest both the internal particle and outer wall are approximately spherical. Therefore, quantifying the wall effects from an outer spherical boundary on the motion of an internal eccentric sphere is very useful. However, when the two spheres are not concentric, the problem becomes non-trivial. In this paper we improve existing analytical methods to evaluate these wall effects and then train a feed-forward artificial neural network within a broader model. The final model generally performed with error within the training domain and when the outer spherical wall was extrapolated to an infinite plane. Through this model, the wall effects of an outer spherical boundary on the arbitrary motion of an internal…
| 4.8113394 | -2.9231488 | -0.19127825 | -6.3213834 | -18.123169 | -12.355483 | 32.938574 | -1.9663136 |
| 4.5643461 | -10.860592 | -9.8976544 | -19.759477 | -10.955627 | -15.427646 | 19.596163 | -6.892128 |
| -4.5063286 | 2.5794291 | -0.57787839 | -1.6816723 | -5.2511235 | -3.2960726 | 8.1682192 | -0.56582731 |
| 5.211532 | -0.89619242 | 3.3242802 | -0.12901484 | -0.58020697 | -0.33093263 | 0.41179354 | -0.065380236 |
| 2.6380771 | -3.3084402 | -4.3683345 | -4.8869387 | 0.68458723 | -0.082493243 | -1.8959001 | -0.79845435 |
| 12.991963 | -11.787911 | -24.2786 | 14.790883 | -4.810932 | -0.11552022 | 4.1409808 | 1.0302539 |
| 10.440263 | -21.973296 | -30.476054 | 14.07486 | -6.5362532 | -0.206136 | -0.59875748 | 0.80570816 |
| -1.9661939 | -0.93824277 | -0.74110631 | 1.8272341 | -15.152262 | -4.4719601 | 16.482887 | 11.625042 |
| 1.6562525 | -0.508093 | 1.0002596 | -2.7220653 | -2.7714042 | -2.9031277 | 10.906282 | -0.87789713 |
| 1.5871351 | -0.59273394 | 0.8478989 | 3.630631 | 3.2871044 | 2.5964378 | -13.685592 | 1.0218652 |
| -18.154178 | -5.5214697 | 10.740687 | 0.40812945 | -17.993253 | 0.042159326 | 9.2202538 | -7.3656119 |
| -101.1157 | -87.529199 | 12.362803 | -3.5990025 | -2.83695 | 0.050704842 | 4.1705861 | 2.2782291 |
| 0.1394124 | -1.4397034 | 0.18357732 | -0.79059739 | -1.1726016 | 1.682904 | -5.5206363 | 0.11718537 |
| -0.34850942 | -0.62701717 | -0.58818834 | -0.95215953 | 0.66840542 | -1.8153526 | 4.9081699 | -0.63673305 |
| 4.1411886 | -10.308195 | -9.1576609 | 7.1192099 | 3.3686357 | 6.4683209 | -15.307482 | 2.4936587 |
| -0.079175964 | 1.2190827 | 0.083425231 | 4.999372 | 4.0872406 | 0.94409221 | -2.6496287 | 0.22328977 |
| 0.11709931 | 0.46571726 | -0.34610801 | -4.5114092 | 0.29811614 | 3.1590265 | 12.937801 | -1.3904952 |
| 3.1701055 | -0.23574607 | -3.4757205 | 0.73913844 | -0.39776158 | 0.022167735 | 0.28666821 | 0.035013077 |
| -12.493281 | 13.457111 | 24.860202 | 45.88042 | -14.284513 | -0.3590089 | 12.601054 | 3.5595016 |
| 0.13945188 | -1.5153369 | 0.13135781 | 1.3255305 | 1.3980774 | -1.1914806 | 3.7415379 | -0.091354023 |
| -5.509932 | 5.1259729 | 9.4554294 | 12.578025 | -2.4511914 | -0.18342767 | 4.6062157 | 1.712977 |
| 0.2407358 | -1.2733534 | -0.058980096 | 3.9380972 | 3.7897635 | 0.66840072 | -0.51027143 | 0.077155285 |
| 1.6609392 | 0.36350978 | -1.3092586 | 1.12103 | -0.63803385 | 0.36837789 | 1.1595936 | 0.29330014 |
| -1.8788659 | -1.9290912 | 0.41248143 | 0.69266209 | 0.30858376 | -0.11972862 | -1.0364245 | -0.3576897 |
| -0.38260522 | -0.14451115 | 0.18892011 | -9.1871081 | -7.8246746 | 24.299862 | 16.922558 | 3.0753937 |
| -4.2833535 | 9.6026275 | 11.297067 | -2.5293361 | 2.0056763 | 0.15567844 | 4.5601494 | -0.42652554 |
| -3.3792586 | -2.4819184 | 0.48181726 | 9.3875976 | 6.5688575 | -0.041558872 | -12.566227 | -5.9786109 |
| 6.7632512 | -2.9390105 | -8.3092822 | 29.295549 | -8.6337375 | -0.26950606 | 9.5683882 | 2.9499413 |
| -3.3592869 | -2.0614463 | 0.3742545 | -26.594558 | -19.56772 | -0.72779693 | 34.762897 | 18.847575 |
| 0.35806924 | -1.7091651 | -1.1349919 | -0.1240636 | -0.10956647 | -0.14858281 | 0.41901725 | -0.091429445 |
| -2.5564898 | -1.4286332 | 1.3590837 | -0.21646259 | -0.49888707 | 0.014728244 | 0.55719107 | -0.10686906 |
| 2.4520402 | -2.4781979 | -2.801879 | 0.59375222 | -1.28546 | 0.93238021 | -6.480926 | -1.2092875 |
| 20.383505 | 19.792641 | 0.5185137 | 3.8065898 | 3.8804101 | 0.083159283 | -5.8080313 | -4.6632913 |
| 0.16392206 | 0.05736511 | -0.49034398 | 2.4749204 | -2.8603028 | 8.9343512 | -11.453807 | 3.3752432 |
| 20.773334 | 20.332416 | 0.30276654 | 3.3112701 | 3.3967786 | 0.1242549 | -5.1968768 | -3.9310157 |
| -7.175313 | -6.8201546 | -0.62906033 | 2.0843824 | -5.2005432 | -2.7183036 | -1.2745542 | 1.1503635 |
| 20.862433 | 19.184505 | -1.5202991 | -3.1956922 | -2.480192 | 0.010624945 | 3.7007527 | 2.4594603 |
| 7.0845249 | 4.7165266 | 0.43219732 | -4.2952773 | -7.5974342 | -2.0037384 | 3.1573676 | 8.7907618 |
| -64.328546 | -63.523828 | 0.78741103 | -15.494941 | -12.659212 | -0.8366425 | 19.738609 | 13.672629 |
| 6.4134444 | 1.8267049 | -2.8176156 | 4.91351 | 20.662964 | -0.37330178 | -10.477384 | 9.327477 |
| 65.93701 | 65.223835 | -0.90004386 | -3.6397098 | -2.9529805 | -0.18886984 | 4.5887706 | 3.207476 |
| 40.204736 | 34.813309 | -5.4050049 | 0.29920049 | 0.21557488 | -0.0010200251 | -0.32442703 | -0.17976199 |
| 20.600209 | 20.081596 | 0.41455639 | -7.0566527 | -7.2266401 | -0.20823667 | 10.978269 | 8.5102877 |
| -20.482695 | -18.717276 | 1.6166552 | -3.3415423 | -2.57432 | 0.015813208 | 3.8363283 | 2.520433 |
| 123.3774 | 122.07677 | -1.52729 | -9.3685206 | -7.4665641 | -0.63593297 | 11.553057 | 8.1066735 |
| -1.9329479 | -0.95373 | -0.70341813 | -2.3953775 | 16.121793 | 4.464689 | -14.534989 | -12.312116 |
| -120.01857 | -118.69376 | 1.4582815 | -14.384763 | -11.541028 | -0.93543663 | 17.901586 | 12.503635 |
| 65.216127 | 63.648383 | -0.75097661 | -52.091821 | -42.607982 | -2.8920707 | 66.532393 | 45.908741 |
| 195.54734 | 191.51908 | -2.1452241 | 33.022971 | 27.52403 | 1.5653954 | -43.14771 | -29.453425 |
| 7.1837566 | 6.8299258 | 0.63479725 | 2.1302686 | -5.0604977 | -2.6742399 | -1.2721418 | 1.0067911 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Wall effects of eccentric spheres machine learning for convenient computation
Lachlan J. Gibson
Shu Zhang
Alexander B. Stilgoe
Timo A. Nieminen
Halina Rubinsztein-Dunlop
The University of Queensland, School of Mathematics and Physics, Brisbane QLD 4072, Australia
Abstract
In confined systems, such as the inside of a biological cell, the outer boundary or wall can affect the dynamics of internal particles. In many cases of interest both the internal particle and outer wall are approximately spherical. Therefore, quantifying the wall effects from an outer spherical boundary on the motion of an internal eccentric sphere is very useful. However, when the two spheres are not concentric, the problem becomes non-trivial. In this paper we improve existing analytical methods to evaluate these wall effects and then train a feed-forward artificial neural network within a broader model. The final model generally performed with error within the training domain and when the outer spherical wall was extrapolated to an infinite plane. Through this model, the wall effects of an outer spherical boundary on the arbitrary motion of an internal sphere for all experimentally achievable configurations can now be conveniently and efficiently determined.
pacs:
Valid PACS appear here
I Introduction
Quantifying effects of boundaries on the dynamics and behaviour of microscopic entities in biological fluids is a problem intersecting several fields of research including microrheology Zhang et al. (2018), optical tweezers Di Leonardo et al. (2008) and microbiology Nosrati et al. (2015); Papavassiliou and Alexander (2017). In most scenarios evaluating these so-called wall effects is non-trivial. In cases where the wall effects have been solved analytically, the given expressions are often difficult or inconvenient to evaluate because of their large size or ill-behaviour. Therefore, this paper aims to make computing the wall effects of eccentric spheres simple and more efficient by improving various analytical results and training a neural network model to be able to efficiently replicate the analytical results.
Wall effects of eccentric spheres, where an outer spherical boundary affects the dynamics of an internal centre-offset sphere through hydrodynamic interactions, are important in a variety of applications. For example, the intracellular environments of living cells plays an important role in cellular and sub-cellular processes such as replication and intracellular trafficking Wirtz (2009). Some microrheological techniques rely on the dynamics of spherical probe particles Bennett et al. (2013); Zhang et al. (2017), which could be used to explore properties of the cytoplasm to help understand cellular mechanisms Gibson et al. (2017).
In general, measuring the dynamics of probe particles is a typical approach to determine mechanical properties of complex fluids Guo et al. (2014). To make such measurements, one must not only detect the probe particles but also track their motion in local space. However, in some experiments which work in confined environments, such as inside the cell, the influences of the boundaries the motion of the probe become non-negligible.
This novel approach for accurate cellular rheology requires calibration factors of the hydrodynamic interaction between the probe and near boundary walls. The wall effects of an infinite plane on the translation and rotation of a sphere are well known Leach et al. (2009); Chaoui and Feuillebois (2003); Jeffery (1915); Dean and O’Neill (1963). In cases of more complex systems, the hindered translational diffusion has been studied extensively for spherical particles moving between two plane walls Lin et al. (2000). Furthermore, cylindrical geometries and linear channels were also studied in a few cases, such as measurements of the drag coefficient of a sphere settling along the axis Eral et al. (2010); Dettmer et al. (2014). Zhang et al.Zhang et al. (2019) have recently measured the wall effects of an artificial liposome, which is approximately spherical, on the rotation of an internal spherical particle. To our knowledge, no study has evaluated the collective translational and rotational wall effects so that the drag forces acting on a sphere in arbitrary motion could be easily computed.
II Theory
To quantify the wall effects of an outer sphere on an internal sphere, the equations of motion of the fluid are evaluated. From the fluid velocity and pressure the torque and force acting on the internal sphere can be extracted. Comparing these values with the drag forces acting on a sphere in an open fluid reveals the effects of the outer wall on the rotation and translation of the internal particle.
Analytical methods to evaluate these wall effects have been established quite some time ago by Jeffery Jeffery (1912, 1915); Stimson and Jeffery (1926), Stimson Stimson and Jeffery (1926), Majumdar R. Majumdar (1969); O’Neill and Majumdar (1970a, b) and O’Neill O’Neill and Majumdar (1970a, b). Summaries of their methods as well as novel improvements are presented in Appendices A, B, C and D. In section III these analytically based methods will be used to generate training data for a neural network model to learn to replicate the analytical results.
II.1 Problem Construction
II.1.1 Geometry and Bispherical Coordinates
Before evaluating any equations, a suitable coordinate system needs to be chosen to frame the problem. Typically in the case of eccentric spheres, where the sphere centres are offset, bispherical coordinates are the natural choice as they form an orthogonal coordinate system with eccentric spherical coordinate surfaces that lie along the -axis. The bispherical coordinates to cylindrical coordinates transformation is given by
[TABLE]
where is a parameter yet to be determined by the positions and radii of the two eccentric spheres. , and are the standard cylindrical radial, azimuthal and vertical coordinates respectively. From these transformation equations we find that
[TABLE]
demonstrating how the coordinate parametrises the radius and position of the spherical coordinate surfaces by and , respectively. Without loss of generality, the inner and outer spherical boundaries are set to reside at and , respectively. Figure 1 illustrates this configuration. Positioning the spheres along the positive -axis requires and so the fluid fills the region . When the outer sphere becomes an infinite plane at . Fixing the boundary radii ( and ) and their centre offset () determines by,
[TABLE]
In the special case of an infinite plane (), this equation reduces to,
[TABLE]
where is the minimum clearance distance between the two boundaries.
II.1.2 Equations of Motion
The fluid dynamics are modelled using classical continuum equations. If mass is conserved and the fluid is incompressible then the continuity equation requires that the divergence of the fluid velocity is zero,
[TABLE]
If momentum is conserved then the Cauchy momentum equation relates the total force acting on an infinitesimal volume element to the sum of external forces and the fluid’s stress tensor ,
[TABLE]
where is the fluid density and is the material derivative.
As would be expected in the relevant microscopic systems mentioned in the introduction, external forces acting on the fluid are assumed to be negligible. Similarly, in the low Reynolds number limit the inertial terms are neglected. So equation (6) is reduced to .
Modelling the fluid as an isotropic Newtonian incompressible viscous fluid results in a symmetric stress tensor that depends on the pressure and dynamic viscosity
[TABLE]
where is the identity tensor and the superscript denotes transposition. Setting the divergences of this stress tensor and the fluid velocity to zero results in the Stokes equations,
[TABLE]
which, together with appropriate boundary conditions fully model the fluid dynamics. The Stokes equations in cylindrical coordinates and vector components R. Majumdar (1969) are given by
[TABLE]
where , and are the standard cylindrical vector components and
[TABLE]
II.1.3 Boundary Conditions
The linearity of the equations of motion means solutions can be expressed as linear combinations of other solutions. As a result, the problem of modelling arbitrary dynamics of the inner sphere (while the outer sphere is stationary) can be reduced to only four sub-problems. All kinds of motion from the inner sphere can be expressed as a linear combination of orthogonal rotations and translations. As illustrated in figure 2, the symmetry of the spheres allows for four cases: axisymmetric rotation, axisymmetric translation, asymmetric rotation and asymmetric translation. Therefore, the drag forces acting on the inner sphere can always be evaluated as a combination of these four cases.
It is assumed that the fluid follows stick boundary conditions whereby the fluid velocity at each boundary matches the corresponding boundary velocity. In all four cases the outer boundary is assumed to be stationary so all velocity components are zero when . The boundary conditions at the inner spherical boundary () in cylindrical vector components for axisymmetric and asymmetric rotation respectively are
[TABLE]
where is the angular velocity of the inner sphere and . The boundary conditions for axisymmetric and asymmetric translation at the inner sphere are
[TABLE]
where is the linear velocity of the inner sphere.
II.1.4 Drag Force and Torque
Calculating the drag force and torque acting on the inner sphere involves evaluating the force and torque acting on surface elements of the sphere and then integrating over the whole surface. For a sphere centred on the axis at , a position vector from the centre to the surface can be expressed in cylindrical vector components as
[TABLE]
Therefore, the surface normal vector (inward with respect to the particle but outward with respect to the fluid) is given by
[TABLE]
The stress acting on a surface element of the particle is the negative dot product of the unit normal vector and the stress tensor. In cylindrical components, the surface force density acting on the particle is
[TABLE]
where represent the stress tensor components in cylindrical coordinates Landau and Lifshitz (1987)
[TABLE]
Therefore, the surface torque density acting on the particle is
[TABLE]
where , and are the cylindrical vector components of as shown in equation (19).
Evaluating the total force and torque acting on the particle involves integrating the force and torque densities over the whole spherical surface. In bispherical coordinates the surface integrals are
[TABLE]
[TABLE]
II.1.5 Drag from Arbitrary Motion
As will be explored in subsequent sections, the majority of the force and torque vector components for each kind of motion are zero, and the non-zero components are linear combinations of the particle velocity and rotation components. In general the total force and torque acting on the inner sphere can be described by Happel and Brenner (1983)
[TABLE]
where is the translational tensor, is the rotational tensor, and is the coupling tensor which describes the coupling between rotational and translational motions and forces. For eccentric spheres with centres lying on the axis, these tensors in Cartesian coordinates can be written in terms of dimensionless quantities , , and :
[TABLE]
When the centres of the eccentric spheres are both positioned on the axis, then the same asymmetric results can be applied to both the and dimensions giving the following relations
[TABLE]
Because of the Lorentz reciprocal theorem, the coupling tensors are related by a transpose Happel and Brenner (1983) so a fifth condition is
[TABLE]
Therefore, for arbitrary translation and rotation in three dimensions the total force and torque vectors can be evaluated from just , , , and which will be found from the axisymmetric translation, asymmetric rotation, axisymmetric rotation and asymmetric rotation respectively.
II.2 Summary of Analytical Results
Derivations of analytical expressions for , , , and , or related problems, have previously been established by Jeffery Jeffery (1912, 1915); Stimson and Jeffery (1926), Stimson Stimson and Jeffery (1926), Majumdar R. Majumdar (1969); O’Neill and Majumdar (1970a, b) and O’Neill O’Neill and Majumdar (1970a, b). Improved versions of these derivations are included in Appendices A, B, C and D. This section outlines the final results and summarises our contributions.
II.2.1 Axisymmetric Rotational Wall Effect
The problem of finding the axisymmetric rotational wall effect has been previously solved analytically by JefferyJeffery (1915) where he used a series solution to solve the equations of motion. From that solution he produced two separate series expressions for , equations (54) and (58). Appendix A presents an outline of a very similar derivation of these solutions. We have managed to merge the two series into a single expression (59) that converges much more quickly than either component individually,
[TABLE]
JefferyJeffery (1915) failed to produce any expression for the wall effects in the low clearance limit, . We have achieved this by taking this limit of the summand in equation (58) which produces the sum
[TABLE]
where the second line expresses the first in terms of binomial sums of the Riemann zeta function . In the infinite plane case () only the first term remains equalling , which agrees with the result given by Cox and Brenner Cox and Brenner (1967). Interestingly, the increase in drag by the axisymmetric rotational wall effect from an an infinite plane is limited to less than just 20.3%. As explored in other sections, axisymmetric rotation is the only kind of motion where the wall effect does not become singular in the small clearance limit.
II.2.2 Axisymmetric Translational Wall Effect
Axisymmetric translational wall effects of different sized spheres moving at the same velocity were first evaluated by Stimson and Jeffery Stimson and Jeffery (1926). Appendix B outlines a modified version of their method where only the inner sphere moves along the axis with velocity while the outer sphere is stationary. Stimson and Jeffery identified a general series solution (68) to the axisymmetric Stokes equations, and related the component of the force to the series coefficients (71). We then determine the series coefficients using our different boundary conditions, giving the large series expression for shown in equation (74).
By taking the Taylor series about , we conjecture the singular nature of the small clearance limit of axisymmetric translating spheres to be
[TABLE]
which agrees with the result given by Cox and Brenner Cox and Brenner (1967) in the infinite plane case .
II.2.3 Asymmetric Wall Effects
The asymmetrical wall effects, where the inner sphere rotates about, or translates along, an axis orthogonal to the line of displacement between the centres of the spheres, was first evaluated by Majumdar and O’Neill R. Majumdar (1969); O’Neill and Majumdar (1970a). Similar to the axisymmetric cases, their method involves finding some series solutions to the equations of motion and then evaluating the coefficients to calculate the wall effects. Appendices C and D outline Majumdar and O’Neill’s method, as well as introduce an improved technique for evaluating the series coefficients using forward differences, instead of backward differences. Majumdar and O’Neill related the wall effects to the series coefficients and by
[TABLE]
where and can be expressed in terms of and which are solved using our new forward differences method. Majumdar and O’Neill also provided expressions for the singular terms in the low clearance limit,
[TABLE]
III Machine Learning
The analytical solutions for the wall effects presented here are all in infinite series form, most of which present quite large expressions which are tedious to practically evaluate on a computer. The convergence of these series depend on and and for highly eccentric configurations can be quite slow, requiring hundreds of terms and high precision computation to be evaluated numerically. Therefore, it is useful to have a well established model that can replicate the wall effects much more efficiently and conveniently. By the universal approximation theorem Cybenko (1989), a finite artificial neural network should be able to model these wall effects arbitrarily well. This section outlines the training and performance of such a model using data evaluated from the series solutions.
III.1 Model
The model should be able to compute the five dimensionless wall effects , , , and from and over as large a domain as possible. Of greatest importance, is the ability to evaluate the full dependence on the minimum clearance distance () for fixed radii , as well as the transition behaviour between an infinite plane boundary () and a finite spherical wall.
III.1.1 Model Representation
In the small clearance limit () all of the wall effects (except ) become singular. Similarly, as the two spheres approach the same radii () all five effects also tend to infinity. The singular nature of the wall effects can be directly incorporated into the model since analytical expressions for the singular terms in both limits are known. Therefore, the neural network needs only learn the non-singular behaviour of the wall effects. The model () is, therefore, comprised of the network () which is then scaled by the concentric wall effects (), which accounts for the singularities, and added to modified low clearance singular terms (), which accounts for the singularities,
[TABLE]
is a vector of the dimensionless wall effects
[TABLE]
represents a vector of the concentric wall effects given by equations 56 and 76
[TABLE]
represents the Hadamard product (element-wise multiplication) between and (which is the neural network output) and denotes a vector containing the corresponding singular terms given by equations (104), (106), (105) and (33) respectively, and [math] for the corresponding component. In the model this singular part is scaled down by so that the logarithmic terms do not diverge for large . This is especially important for small where the domain includes large values of .
III.1.2 Artificial Neural Network
The final network chosen is a fully connected feed forward network with 2 inputs, 5 outputs and 50 nodes in the hidden layer. The network structure should be chosen to balance computation time with performance. We found that the network performance increased with the number hidden units, while remaining mostly invariant with the number of hidden layers. 50 nodes in a single hidden layer seemed to be enough to accurately fit the data while still being able to quickly compute the output. The inputs are normalised between and 1 by
[TABLE]
The hidden layer utilises a sigmoidal activation function defined by
[TABLE]
while the output layer’s activation function is linear.
Mathematically, the network is computed by
[TABLE]
where and are column vectors containing the biases of each layer, and are matrices containing the weights of each layer, represents matrix multiplication and is applied component-wise. For reference, table 1 tabulates the trained values of these biases and weights to 8 significant figures.
III.2 Data Evaluation and Network Training
To train the network, training data was generated from the analytical results. and were calculated using equations (59) and (74). , and were calculated using equations (90), (91) and (107) with coefficients evaluated using section C.3 methods. The truncation condition for each series was when the relative change in the finite sum by adding at least 10% more terms was less than the desired precision (). The series expressions were evaluated using Mathematica software using a precision of 220. For most cases, this precision was much higher than necessary. However, to satisfy the truncation condition when was close to zero required hundreds of terms in the series, and using such a high precision was required when computing the asymmetric wall effects.
The training and validation data formed a random 70% and 30% split over a uniform grid of over the domain
[TABLE]
while an additional 2000 random points across the same domain formed the testing data. The network was trained in MATLAB using Levenberg–Marquardt backpropagation (trainlm) until the mean-squared error of the validation data stopped decreasing for 100 epochs. See Supplemental Material at [URL will be inserted by publisher] for the raw training data, testing data and a MATLAB implementation of the final model.
III.3 Model Error
After training the network, the performance of the full model, given by equation (40), over the training domain, equation (46), can be quantified by the relative error between the model output and the random testing data.
III.3.1 Training Region Performance
Histograms of the relative errors are plotted in figure 3. These demonstrate two sets of behaviours with the model errors. The non-coupling wall effects , , and all exhibit similar relative errors, probably because they are all defined such that they are bounded by . The coupling effect , however, tends to zero in the concentric limit and also decreases in magnitude in the limit. Therefore, the relative error in diverges, even for small absolute errors.
In practice, large relative errors in coupling are less important when the other wall effects are much more significant. Figure 4 plots the ratio of the coupling wall effect with the corresponding asymmetrical translational wall effect . The ratio tends to zero in the concentric limit and becomes smaller over a larger region as the outer sphere radius grows . This demonstrates that the regions with higher relative error in the coupling wall effect, are the same regions where any wall effect from asymmetric translation or rotation would dominate.
Separating the coupling wall effect from the rest, the median relative error over the domain of training and validation data is and the maximum value is . The median relative error of is .
Within the training domain, the model serves as an efficient system to interpolate between grid points, so it is worth comparing its performance to other interpolation techniques that use a comparable number of parameters. The network contains 405 weights and biases so choosing every tenth point in each dimension of the grid gives 110 points for each of the 5 wall effects. This results in a total of 550 parameters, just a little more than the network. The model performs worse when applying linear or cubic interpolations over this grid instead of the network. Figure 5 is a quantile–quantile (Q–Q) plot comparing the error distributions of the network performance (as shown in figure 3) with corresponding error distributions when applying linear and cubic interpolations. Evidently the network outperforms both forms of interpolation.
III.3.2 Infinite Plan Extrapolation
One of the goals of the model is to be able to model the transition behaviour between the eccentric sphere wall effects and the infinite plane wall effects. To test this, we check the relative error of the model when . The axisymmetric wall effects and could be evaluated using the same expressions but with . The method for evaluating the asymmetric series coefficients becomes untenable in the infinite plane limit, so the approximations from Chaoui and Feuillebois Chaoui and Feuillebois (2003) for the asymmetric infinite plane wall effects were used instead.
Figure 6 plots the relative errors of the model outputs as a function of . Although the network was not trained on infinite plane wall effects, it did successfully reproduce them with a median relative error from non-coupling values of and maximum , and a median coupling relative error of . Although the relative error in coupling is comparatively large, this only occurs when the effect tends to zero and is marginal compared to the other wall effects. When the coupling effect becomes more significant but the model successfully evaluates it to less than 0.3% error.
IV Conclusion
Analytical methods for calculating the wall effects of eccentrically positioned spheres have been improved and high precision evaluation of these effects over a discrete domain was able to generate data that could be used to train an artificial neural network to model the dimensionless forces and torques acting on the inner sphere. Within the training domain the model performed excellently on 2000 random test points with relative errors generally around 0.001% error. The model successfully extrapolated to model the wall effects of an infinite plane on a sphere to less than 2% error but generally around 0.05%.
The success of the trained model using a relatively small network means that arbitrary motion of a sphere moving within another sphere can be efficiently modelled using easy-to-implement code. The model should be applicable for both experimental comparison as well as simulated dynamics which require small errors and high computational efficiency.
Acknowledgements.
This research was supported under Australian Research Council’s Discovery Projects funding scheme (project number DP140100753) as well as an Australian Government Research Training Program Scholarship.
Appendix A Axisymmetric Rotational Wall Effect
A.1 Series Solution
The symmetry of the case where the inner sphere rotates axisymmetrically makes the mathematics comparatively simple. In this case only the rotational fluid velocity component, , is non-zero and governed by a single equation,
[TABLE]
while within the whole domain satisfies both the boundary conditions and equations of motion.
This problem has been previously solved analytically by JefferyJeffery (1915) where he used a series solution to solve the equation of motion and evaluate the wall effect. Here we present an outline of a very similar derivation of the wall effect, noting that equation (47) has the bispherical series solutionJeffery (1912, 1915)
[TABLE]
where are associated Legendre functions, , and and are free coefficients.
In this form the total force and torque acting on the particle can be found via the integrals 22 and 23. The integrals for all vector components vanish except for the component of the torque () which is given by the infinite series
[TABLE]
The dimensionless wall effect is evaluated by dividing this torque by the torque acting on a rotating sphere in a free fluid,
[TABLE]
A.2 Evaluation of Coefficients
Since a general series solution is available, the problem of evaluating the wall effect is reduced to evaluating the series coefficients. The orthogonality of the associated Legendre functions allow the coefficients to be evaluated analytically by enforcing the boundary conditions as outlined in section II.1.3
[TABLE]
Substituting these coefficients into equation (51) gives the axisymmetric rotational wall effect in series form
[TABLE]
A.3 Concentric Limit
For high enough number of terms, the series in equation (54) converges at a rate of . This means the series converges fastest for large which occurs when the spheres are close to concentric. In the concentric limit
[TABLE]
Therefore, in the case of concentric spheres all terms in the series vanish except for the first term which gives the well known result
[TABLE]
A.4 Alternative Series Expression
Jeffery Jeffery (1915) also gave an alternative series form of equation (54) which converges at a different rate. By expanding the denominator of the summand in equation (54) as a geometric series, a double summation can be produced
[TABLE]
Next the summation order is switched and then the sum over can be simplified into a closed form expression giving the final result as a single (but different) summation
[TABLE]
The rate of convergence of this second series form is different which means that in some configurations (such as the infinite plane case with ) this series converges faster.
A.5 Combined Series Form
We have managed to merge these different forms into a new combined sum which converges faster than both
[TABLE]
The first sum has the same summand as in equation (58) but is truncated after the term. The second sum is a modified version of the sum 54, except the presence of the additional exponential factor improves the rate of convergence to . Essentially, each term present in the first series improves the rate of convergence of the second by a factor of .
A.6 Small Clearance Limit
Although Jeffery Jeffery (1915) correctly identified that these axisymmetric rotational wall effects near a plane wall were marginal, he failed to produce any expression for the wall effects in the limit. This can be achieved by taking this limit of the summand in equation (58) which produces the sum
[TABLE]
The rate of convergence of this sum is quite slow, especially as increases towards 1. Therefore, it might be useful to have approximate closed form expressions for this sum. By taking the Taylor series of the summand in equation (60), the series coefficients can be expressed in terms of binomial sums of the Riemann zeta function
[TABLE]
In the infinite plane case () only the first term remains equalling , which agrees with the result given by Cox and Brenner Cox and Brenner (1967). Interestingly, the increase in drag by the axisymmetric rotational wall effect from an an infinite plane is limited to less than just 20.2%. As will be further explored in later sections, axisymmetric rotation is the only kind of motion where the wall effect does not become singular in the small clearance limit.
A reasonable approximation of the limiting wall effect when can be acheived by taking the first few terms of equation (61)
[TABLE]
where and .
Since the series converges slowest when approaches 1, it would seem most useful to find a corresponding Taylor series about . However, applying the same method of expanding the summand in equation (60) yields divergent series. Resorting to empirical evaluation, the first few terms seem to be
[TABLE]
Figure 7 compares and showing that their relative errors both tend to zero in their respective limits. If this empirical result is correct then the axisymmetric rotational wall effect is bounded by
[TABLE]
Appendix B Axisymmetric Translational Wall Effect
Axisymmetric translational wall effects of different sized spheres moving at the same velocity were first evaluated by Stimson and Jeffery Stimson and Jeffery (1926). This section will outline a modified version of their method where only the inner sphere moves along the axis with velocity while the outer sphere is stationary.
B.1 Stokes’ Stream Function
In this case of axisymmetric translation, the vertical and radial velocity components are non-zero while the rotational component is zero. Therefore, Stimson and Jeffery expressed the velocity components in terms of Stokes’ stream function
[TABLE]
Noting that all derivatives with respect to are zero (because of axisymmetry), they showed from the equations of motion (equations 9 and 11) that the stream function must satisfy the linear partial differential equation
[TABLE]
where is the linear differential operator defined by
[TABLE]
thus reducing the problem down to solving a single equation of a single function .
B.2 Series Solution
This equation has a similar series solution in bispherical coordinates to the axisymmetric rotational case shown in section A.1, except there are now four sets of free coefficients , , and (not the same values as before) Stimson and Jeffery (1926); Jeffery (1912)
[TABLE]
Similar to the rotational case, evaluating the integrals given in equations (22) and (23) for each term in the sum can give the total force and torque acting on the particle. The integrals for all vector components vanish except for the component of the force () which is given by the infinite series
[TABLE]
The dimensionless wall effect is evaluated by dividing this force by the corresponding force acting on a translating sphere in a free fluid,
[TABLE]
B.3 Evaluation of Coefficients
The problem of finding the axisymmetric rotational wall effects has now been reduced to evaluating the series coefficients. This is again achieved by enforcing the boundary conditions in equation (16). Since we use different boundary conditions (outer sphere is stationary rather than translating), this is also the point where our calculation differs from Stimson and Jeffery’s Stimson and Jeffery (1926). The boundary conditions can be expressed in terms of the stream function by
[TABLE]
Combining the four boundary conditions with the series solution for given by equation (68) and then exploiting the orthogonality of the Legendre polynomials gives a system of simultaneous equations for , , and . For brevity this system is omitted here but a close version can be seen by equation (26) in Stimson and Jeffery (1926). Upon solving the system and substituting back into equation (71) yields the rather large expression for the wall effect
[TABLE]
[TABLE]
B.4 Concentric Limit
Although less obvious from the expression, like the rotational case, all except the first term vanish in the concentric limit. The first term becomes the well known translational wall effect for concentric spheres
[TABLE]
B.5 Small Clearance Limit
Similar to the rotational case, we can try to obtain limiting expressions for the axisymmetric translational wall effect in the small clearance limit. Taking the Taylor series of the summand in equation (74) about suggests dependence for small clearances
[TABLE]
The sum of the term evaluates to a relatively simple closed form. However, the coefficients of the constant term and the following terms of powers of form divergent series. Part of the constant term is related to the harmonic series which suggests the existence of a singularity. Motivated by the powers of later terms, we conjecture that the logarithmic term is proportional to half the coefficient of the harmonic-like series. Therefore, the singular nature of the small clearance limit of axisymmetric translating spheres is conjectured to be
[TABLE]
Note that in the infinite plane case this agrees with the result given by Cox and Brenner Cox and Brenner (1967).
Appendix C Asymmetric Rotational Wall Effect
The asymmetrical rotational wall effect, where the inner sphere rotates about an axis orthogonal to the line of displacement between the centres of the spheres, was first evaluated by Majumdar R. Majumdar (1969) and then further refined in collaboration with O’Neill O’Neill and Majumdar (1970a). Similar to the axisymmetric cases, the method here involves finding some series solutions to the equations of motion and then evaluating the coefficients to calculate the wall effects. This section will outline Majumdar and O’Neill’s method, and introduce an improved method for evaluating the series coefficients.
C.1 Dimensionality Reduced Stokes Equations
Although the rotation of the inner particle is asymmetric, Majumdar was still able to eliminate from the equations of motion (9-13) and boundary conditions (15) by using the following variable transformation
[TABLE]
where , , and are dimensionless functions independent of . The equations of motion reduce to
[TABLE]
where is a class of linear differential operators defined by
[TABLE]
and the continuity equation transforms to
[TABLE]
C.2 Series Solution
Similar to the axisymmetric cases, the transformed equations of motion 83 have series solutions in bispherical coordinates Jeffery (1912); R. Majumdar (1969); O’Neill and Majumdar (1970a)
[TABLE]
[TABLE]
[TABLE]
[TABLE]
However, this time there are eight sets of coefficients , , , , , , and .
Using these series solutions Majumdar and O’Neill O’Neill and Majumdar (1970a) managed to relate the wall effects to just the and coefficients by
[TABLE]
C.3 Recursive Coefficient System
The eight sets of coefficients are determined by both the boundary conditions given by equation (15) and the continuity equation (85). Through these constraints Majumdar R. Majumdar (1969); O’Neill and Majumdar (1970a) and O’Neill O’Neill and Majumdar (1970a) were able to express all other coefficients in terms of and , and relate and through two sets of simultaneous recursive equations
[TABLE]
where is defined by
[TABLE]
For brevity the expressions for - , and are omitted here but are given by Majumdar R. Majumdar (1969) in equations 39 and 40.
For any given values of and , Majumdar and O’Neill O’Neill and Majumdar (1970a) solve the system numerically by truncating the system at sufficiently high order and solving the finite system using a Gauss–Seidel method. In the case of eccentric spheres, where one sphere is enclosed by the other, equations (92) approach dependence for large and so the system becomes singular if truncated at too high order. This poses a problem, especially since the most important dominant lower order coefficients are evaluated through backward difference from the point of truncation.
Therefore, for high precision calculations of these coefficients it would seem much better to somehow evaluate and and use forward difference to solve subsequent values. In the correspoinding infinite plane problem there is only a single recursive equation which O’Neill and Bhatt O’Neill and Bhatt (1991) and Chaoui Chaoui and Feuillebois (2003) solved by transforming into a combination of two other coefficients which are related to by . This allowed them to calculate the transformed coefficients using forward difference and then estimate by their limiting behaviour.
Motivated by this technique, we transform and into
[TABLE]
where , , , , and are new transformed coefficients satisfying
[TABLE]
and the following recursive equations
[TABLE]
It is easy to show that this transformation is consistent with the original recursive equations 92 except the new coefficients can easily be evaluated using forward differences.
The last step involves evaluating and , which can be done through the limiting behaviour of the transformed coefficients. In particular, equation (94) can be inverted to
[TABLE]
Assuming the original series solution in equation (86) converges, the coefficients and must tend to zero as . Therefore, we are motivated to define a sequence of approximate values of and as
[TABLE]
which should satisfy
[TABLE]
if and do not converge to 0. In practice we find that this is the case and that and converge like
[TABLE]
This limiting behaviour can be extrapolated to infinity to improve the approximation for finite orders
[TABLE]
Therefore, using equation (103) to calculate and , equation (94) can be used to evaluate and .
C.4 Small Clearance Limit
Expressions for the singular terms of the asymmetrical wall effects are given by O’Neill and Majumdar O’Neill and Majumdar (1970b)
[TABLE]
Appendix D Asymmetric Translational Wall Effect
The asymmetric translational wall effects are evaluated almost identically to the preceding asymmetric rotational wall effects with only a few minor differences. The equations of motion are again reduced to equation (83) by applying the same variable transformation as equations 79–82 except with the replacement . The same series solutions are utilised except the coefficients’ values are different. The dimensionless force is given by
[TABLE]
The expressions for and are different in the translation case because the boundary conditions are different. However, with the exception of this difference, the coefficients and can be evaluated the same way as in the rotational case.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Zhang et al. (2018) S. Zhang, L. J. Gibson, A. B. Stilgoe, T. A. Nieminen, and H. Rubinsztein-Dunlop, Lab Chip 18 , 315 (2018) . · doi ↗
- 2Di Leonardo et al. (2008) R. Di Leonardo, S. Keen, F. Ianni, J. Leach, M. J. Padgett, and G. Ruocco, Phys. Rev. E 78 , 031406 (2008) . · doi ↗
- 3Nosrati et al. (2015) R. Nosrati, A. Driouchi, C. M. Yip, and D. Sinton, Nature Communications 6 , 8703 (2015) . · doi ↗
- 4Papavassiliou and Alexander (2017) D. Papavassiliou and G. P. Alexander, Journal of Fluid Mechanics 813 , 618–646 (2017) . · doi ↗
- 5Wirtz (2009) D. Wirtz, Annual Review of Biophysics 38 , 301 (2009) , p MID: 19416071, https://doi.org/10.1146/annurev.biophys.050708.133724 . · doi ↗
- 6Bennett et al. (2013) J. S. Bennett, L. J. Gibson, R. M. Kelly, E. Brousse, B. Baudisch, D. Preece, T. A. Nieminen, T. Nicholson, N. R. Heckenberg, and H. Rubinsztein-Dunlop, Scientific Reports 3 , 1759 (2013) . · doi ↗
- 7Zhang et al. (2017) S. Zhang, L. J. Gibson, A. B. Stilgoe, I. A. Favre-Bulle, T. A. Nieminen, and H. Rubinsztein-Dunlop, Optica 4 , 1103 (2017) . · doi ↗
- 8Gibson et al. (2017) L. J. Gibson, S. Zhang, A. B. Stilgoe, T. A. Nieminen, and H. Rubinsztein-Dunlop, Phys. Rev. E 95 , 042608 (2017) . · doi ↗
