Introduction

Diffusion is a fundamental phenomenon of transport at scales ranging from atoms to galaxies. In cells, diffusion of individual components occurs in a complex, crowded milieu (Ellis, 2001; Luby-Phelps, 1999; van den Berg et al., 2017) that is known to exhibit position-dependent diffusivity (Berret, 2016; Garner et al., 2023; Śmigiel et al., 2022; Xiang et al., 2020). Diffusion can occur within or between cellular compartments, where concentrated components carry out chemical reactions. This rich interaction of diffusion and compartmentalization provides the context for cellular biochemistry. Diffusivity varies inversely with viscosity, a key biophysical parameter of the cytoplasm (Bausch et al., 1999; Hu et al., 2017) that dictates translational and rotational mobility of proteins and, by extension, possibly influences their activity (Huang et al., 2021; Lippincott-Schwartz et al., 2001; Pan et al., 2009). While viscosity has been implicated in modulating or driving a range of cellular processes (Molines et al., 2022; Persson et al., 2020; Xie et al., 2022), the role of inhomogeneous viscosity in shaping biochemistry by regulating biomolecular concentration and dynamics remains poorly understood. Observation of diverse instances of accumulation across scales motivates our search for uncovering how space-dependent diffusivity affects cell biology. The accumulation of small molecules within the nuclear pore, for instance, has been attributed to diffusion through a viscous region (Ma et al., 2012). At the macroscale, Chladni patterns are an example of particle concentration resulting from inhomogeneous stochastic transport coefficients (Grabec, 2017). The implications of inhomogeneous viscosity as a nonequilibrium phenomenon occurring at time scales and length scales relevant to biology remain largely unexplored. Theoretically, more information is required to specify the problem than just the diffusion constant: different mathematical interpretations of the stochastic term in diffusion equations with a spatially inhomogeneous diffusion constant result in different physical predictions (see Appendix for more information). Interestingly, diverse mesoscale outcomes are also seen in the case of active biological matter (Bechinger et al., 2016; Needleman and Dogic, 2017; Yeomans, 2017), density-dependent concentration of active brownian particles (Cates and Tailleur, 2015) and size-dependent condensation kinetics in the case of C. elegans colony formation (Chen and Ferrell, 2021). While these phenomena focus on motile energy-expending tracers, here we emphasize the underlying space-dependency of a physical property characterizing diffusion. In particular, accumulation arising from inhomogeneous diffusivity may represent a novel mechanism of effective compartmentalization, a key activity for cells in regulating biochemical processes.

In this work, we employ agent-based modeling to explore how position-dependent diffusivity can affect the distribution of tracer particles. We show that under a set of assumptions that relate to the ambiguities intrinsic to modeling inhomogeneous diffusivity (see Appendix), viscophoresis (transport due to a viscosity gradient) leads to diffusion trajectories being biased toward areas of higher viscosity, leading to effective compartmentalization and the growth of concentration gradients; we call this effect “diffusive lensing,’’ in non-quantitative analogy to the effects on light rays of media with inhomogeneous refractive index, including refraction and the formation of caustics. Analyzing particle trajectories, we show that viscophoretic transport manifests as anomalous diffusion, albeit unlike the canonical forms seen in the case of homogeneous diffusion in confined setups. We conclude that inhomogeneous diffusivity may have diverse implications for intracellular transport, from sequestering particles to modulating where and when higher-order processes such as clustering happen, in a way that is not predictable from equivalent homogeneous-diffusivity models and could affect biochemical reactions.

Results

Viscophoresis drives particle accumulation

We probed the effect of inhomogeneous diffusivity on particle concentration using agent-based modeling of particle dynamics (Fig. S1A; see Methods). In our modeling, the expected macroscale behavior is dictated by the Itô interpretation of heterogeneous diffusion (see Appendix) (Volpe and Wehr, 2016). Our model was non-anticipatory in that for a modeled particle traversing an inhomogeneous diffusivity, the step size distribution was defined by the diffusivity at its present position. Other equally consistent interpretations (such as the entirely anticipatory “isothermal” interpretation) produce different macroscale behaviors (Fig. S1B). The range of physically-incompatible possibilities resulting from different interpretations is known as the Itô-Stratonovich dilemma (Lau and Lubensky, 2007; Sokolov, 2010; Tupper and Yang, 2012; Van Kampen, 1988; Volpe and Wehr, 2016). For systems at thermal equilibrium, the isothermal convention best describes transport; however, the nonequilibrium nature of the cellular interior motivates the consideration of non-isothermal conventions; the physically appropriate convention to use depends upon microscopic parameters and timescale hierarchies not captured in a coarse-grained model of diffusion. The equation used here is distinguished from the conventional 1D diffusion equation which arises from Fick’s laws and is only unambiguously true for homogeneous diffusion (characterized by constant diffusivity).

Over the course of the simulation, particles accumulated in the higher-viscosity zone (Fig. 1A, C), consistent with steady state closed form Itô-convention solutions (Tupper and Yang, 2012). This accumulation entailed the transient depletion of particles on the less-viscous side of the interface. A similar accumulation was observed in a smooth diffusivity gradient (Fig. 1B, D). In both cases, the results from agent-based modeling were corroborated by predictions of the steady-state analytical forms derived from theory. Thus, agent-based simulations demonstrate that under the Itô convention, areas of decreased diffusivity lead to increases in the concentration of diffusing particles. We term this phenomenon “diffusive lensing.”

Viscophoresis leads to accumulation of particles.

(A) Particle distribution at various timesteps of a simulation with a step-like lower-diffusivity region. (B) Particle distribution at various timesteps for a simulation with a diffusivity gradient. (C) Steady-state particle distribution for the simulation in (A). (D) Steady-state particle distribution for the simulation in (B).

Interaction-mediated clustering is affected by viscophoresis

Diffusive lensing is an interaction-free mode of concentrating particles that stands in contrast to a more typical paradigm of particle accumulation: interaction-driven formation of higher-order structures like protein complexes, gels, crystals and phase-separated condensates (Banani et al., 2017; Vekilov, 2010; Wu et al., 2023). How might interaction-induced clustering be modulated by inhomogeneous diffusion in a cellular context? To address this question, we heuristically modeled inter-particle interactions via a neighbor-sensing scheme in high and low interaction-strength regimes. The scheme involved using a step size for the modeled particle, which decreases as the number of particles in the vicinity increases (see Methods). At low interaction strength, clustering occurred only at the low-diffusivity end of a gradient (Fig. 2A), while the same interaction strength was insufficient to produce clusters in a uniform diffusivity distribution (Fig. S2A, S2C). In contrast, a high interaction strength resulted in robust clustering manifesting before particle gradient formation reached the steady state, leading to clustering towards the high-diffusivity side of the simulation region as well (Fig. 2B). At this high interaction strength, the clustering rate remained the same throughout the region in the absence of a gradient (Fig. S2B, S2D). Taken together, the results reveal that viscophoresis can modulate clustering and under certain circumstances cause diffusivity-dependent localized cluster formation, and furthermore that the relative strengths and timescales of each phenomenon quantitatively dictate whether increased clustering will preferentially occur in viscous zones. Similar density-dependent clustering is observed in the case of active Brownian particles during motility-induced phase separation (Cates and Tailleur, 2015). Effects of diffusive lensing on particle concentration may additionally regulate reaction rates and drive stochastic clustering of enzymes (Jilkine et al., 2011).

Interaction-driven clustering is modulated by viscophoresis.

(A) Progress of a simulation comprising particles possessing weak interactions (k = 0.04 is the interaction strength; see Methods), initialized with a uniform concentration of particles. (B) Progress of a simulation comprising particles possessing strong interactions (k = 0.01), initialized with a uniform concentration of particles.

In silico microrheology shows that viscophoresis manifests as anomalous diffusion

The diffusion coefficient is a fundamental biophysical parameter that affects numerous other phenomena, including biochemical reaction rates. To elucidate particle diffusion at the microscale in the context of viscophoresis, we used an in silico implementation of microrheology to analyze particle trajectories (see Methods; Fig. S3A). We computed the mean squared displacements (MSDs) for uniform diffusivity simulations (in the case of unencumbered and confined diffusion) and used these to understand how MSD is affected by heterogenous diffusivity in two cases: a continuous diffusivity gradient and a discrete step in diffusivity.

Particle diffusion was unencumbered in the case of large bounds (relative to step size) (Fig. 3A) and confined in the case of small bounds (Fig. 3B), with the latter demonstrating a transition from anomalous to normal diffusion with time, all in agreement with earlier results (Dix and Verkman, 2008; Saxton, 2007). The MSD at saturation in homogeneously diffusive systems was found to be agnostic to the underlying uniform diffusivity of the system, indicating that it is exclusively determined by the simulation region size. In contrast, particles in a diffusivity gradient exhibited dynamics intermediate to those of homogeneous high and low diffusivity cases, both in the diffusion coefficient and saturation MSD (Fig. 3C, inset). The lowering of the saturation MSD reflects particle diffusion occurring within apparent simulation region bounds that confine more than the actual simulation region size. We note that such effective modifications of geometry are also a general feature of optical lensing. Apparent bounds were also found to occur in the two-zone diffusivity case (as in Fig. 1A) where, at steady-state, particles populated the simulation region non-uniformly (Fig. S3B). For most of the viscosity ratio parameter space, irrespective of whether the smaller zones were more fluid or viscous relative to the bulk, a reduction in MSD was seen indicating effectively lower diffusion bounds (Fig. 3D). The magnitude of reduction depended on whether most particles resided in the larger or smaller of the two zones. In one observed case , however, the saturation MSD was higher than what was seen in the homogeneous diffusion scenario possibly due to particles robustly populating the bulk milieu followed by directed motion into the viscous zone (similar to that of a Brownian ratchet, (Peskin et al., 1993)). The saturation MSD was also found to depend on the location of the viscous zone: a more-centered zone resulted in a lowered saturation value, possibly due to weaker ratchet effects (Fig. S3C, D). Note that lensing may cause particle displacements to deviate from a Gaussian distribution, which could explain anomalous behaviors observed both in our simulations and in experiments in cells (Parry et al., 2014). These results point to the insufficiency of using the diffusion coefficient alone to describe diffusion in heterogenous milieu. They also indicate a rich interplay between heterogenous viscosity and anomalous diffusion that requires further investigation.

Inhomogeneous diffusivity can manifest as anomalous diffusion.

(A) MSD versus time for homogeneous diffusion of 10,000 particles in a 5 mm x 5 mm simulation region. (B) Same as (A) for homogeneous diffusion in a more tightly bounded simulation region (1 μm x 0.45 μm). (C) MSD versus time for inhomogeneous diffusion in a diffusivity gradient versus homogeneous diffusion in the extreme diffusivity cases (simulation region size: 1 μm x 0.45 μm). Inset: zoomed region showing differential saturation of the MSD. (D) MSD versus time for inhomogeneous diffusion due to a stepwise viscosity distribution with viscosity ratio relative to the bulk (simulation region size: 1 μm x 0.45 μm). In all cases, n = 10,000 particles for MSD calculation (error bars denote SEM).

In silico FRAP in heterogeneously viscous environments reveals drivers of mesoscale dynamics

The in silico microrheology analysis we performed provided insights into dynamics at the single-particle level (i.e., the microscale). To explore collective, emergent behaviors at the mesoscale while continuing to make contact with feasible experiments, we employed an in silico version of fluorescence recovery after photobleaching (in silico FRAP) (Fig. S4A, B), in more cell-like inhomogeneous environments. In particular, we modeled viscous patches/granules in a cell using a three-parameter disc-packing setup comprising granule radius (r), packing density (ϕ) and the ratio of granule viscosity to bulk viscosity (see Methods). We investigated the effect on dynamics of varying these parameters individually, with the goal of gaining understanding of the effects of varying the amount, nature and distribution of viscogens in cells. In all cases, the in silico “photobleaching” event was conducted after the steady-state was attained (Fig. S4C,D,E). To explain observed changes in the recovery time that would be measured in a FRAP-type experiment, we probed how the mean dwell time of particles in viscous granules varies as a function of these parameters. An increase in the viscosity ratio at fixed ϕ and r resulted in a decline in measured particle mobility, as characterized by an increase in the simulated FRAP t1/2 values (Fig. 4A). Increasing from 1 to 10 caused an approximate doubling of t1/2 (or halving of diffusivity). Similar reduction in mobility was observed upon variation of ϕ or r separately, keeping the other (and the viscosity ratio, ) constant (Fig. 4B, C). The decrease in average mobility in all three cases arose from changes in flux between the viscous and bulk zones, as reflected by an increase in mean dwell times of particles within viscous granules (Fig. S4F,G,H). Furthermore, such reductions in mobility were emergent in that they arose from the interplay between granular viscosity and bulk-granule fluxes, as the regions of interest in the simulated photobleaching events comprised granules and the surrounding bulk environment. To investigate whether particle dynamics is affected by the underlying topography realizing the system’s viscosity, we averaged the granular and bulk viscosity values to produce weighted-average viscosity values, and compared in silico recovery in these simulations to that of the equivalent granule-comprising simulations. Such an averaging of the viscosity to cause an effective uniform mobility for all resident particles resulted in slower dynamics than that of the equivalent granule-comprising simulations (Fig. 4D). We conclude that inhomogeneity in viscosity drives rapid effective dynamics via fluxes between the granular (interior) and bulk (exterior) environments, creating “expressways” for particles to move rapidly between viscous regions. The diffusive lensing of particles into viscous zones, and their consequent dwelling in these regions, can be tuned by modulating the underlying viscosity distribution in myriad ways.

An increase in granule viscosity, radius, or packing density slows down mesoscale dynamics.

(A) Simulated FRAP t1/2 as a function of granule:bulk viscosity ratio (r = 0.01 μm, ϕ = 0.6). (B) Simulated FRAP t1/2 as a function of granule radius (, ϕ = 0.6). (C) Simulated FRAP t1/2 as a function of granule packing density (, r = 0.01 μm). (D) Simulated FRAP t1/2 for homogeneous and inhomogeneous viscosity setups realizing the same effective viscosities (, r = 0.01 μm). In all cases, n = 3 ROIs were chosen for the simulated photobleaching (error bars denote SEM).

Discussion

The complex milieu of the cellular interior has been recently shown to feature heterogeneous diffusivity (Garner et al., 2023; Huang et al., 2021; Parry et al., 2014; Śmigiel et al., 2022; Xiang et al., 2020), yet the consequences of such inhomogeneity on compartmentalization and mesoscale molecular dynamics have remained unclear. Through agent-based modeling of diffusion using the Itô integration convention, we show that heterogenous viscosity can lead to simulated particle trajectories converging into viscous hotspots, causing the accumulation of diffusing particles into membraneless compartments defined by the higher-viscosity zones. We term this mode of transport “diffusive lensing”. The underlying conclusions from our 2D simulations extend to 3D directly (see Methods). Diffusive lensing has wide-ranging effects on particle distribution and dynamics and, furthermore, it can occur across a wide parameter space. We therefore speculate that diffusive lensing is a ubiquitous phenomenon in living systems.

We found that inhomogeneous diffusivity allows for particle mobility at the microscale and mesoscale to be different from that expected in the presence of homogeneous diffusion. Such an expectation is in line with predicted and observed deviations from normal diffusion in cells (Bancaud et al., 2012; Baum et al., 2014). The relative strengths of viscophoresis and inter-particle interactions (if any) determined the extent to which clustering was modulated by diffusive lensing: this interplay may be important for determining the effects of inhomogeneous diffusivity on biochemical reaction rates. In these simulations of clustering, particle concentration did not affect diffusivity. In the case that particle concentration decreases diffusivity (for example in the case of branched polysaccharides like glycogen), diffusive lensing may create a positive feedback loop that drives particles into areas where high viscosity has been nucleated. The effect of diffusive lensing on runaway pathological processes like protein aggregation is a potential direction for future work.

Spatially-averaged effective diffusion timescales were found to depend on the microscopic viscosity distribution: the same average diffusivity can give rise to slower or faster dynamics depending on whether it is realized via homogeneous or heterogenous diffusivity distributions. In the latter case, the bulk region interspersed between the viscous hotspots provides “expressways” that contribute to large fluxes at the viscosity interface, thereby accounting for the faster dynamics. Such expressways and their associated fluxes may impact reaction kinetics by altering substrate turnover rates, congruent with the model of unusual transport processes potentially modifying reaction kinetics (Bénichou et al., 2010). In the context of subcellular viscous regions (Garner et al., 2023), cells may compensate for geometry-imposed constraints on packing density and size of these regions by altering the viscosity ratio (against the bulk milieu) instead. To map the detailed effects of inhomogeneous diffusivity on reaction rates, however, our work suggests that a key prerequisite is to chart a suitable set of metaparameters that provide an adequate description of inhomogeneous diffusion (Jin and Verkman, 2007), as a one-parameter description relying exclusively on the average diffusion coefficient is insufficient to fully specify the dynamics.

Changes in viscosity have been shown to occur in the context of cellular processes including cell death (Kuimova et al., 2008), stress adaptation (Persson et al., 2020) and protein aggregation (Thompson et al., 2015). At any given time point, intracellular transport dynamics arises emergently from contributions across length scales ranging from crowding in the bulk milieu due to proteins (Wang et al., 2010) and large biomolecules (Delarue et al., 2018) to cytoskeleton (Carlini et al., 2020; Chaubet et al., 2020) and active flows in the cytoplasm (Arcizet et al., 2008), all leading to unusual anomalous diffusive behaviors at the mesoscale (Banks and Fradin, 2005; Bressloff, 2014; Dix and Verkman, 2008; Höfling and Franosch, 2013; Kuznetsova et al., 2015; Swaminathan et al., 1997; Zhou et al., 2008). These diffusive behaviors cannot be decoupled from the intrinsic heterogeneity in biomolecular properties themselves (Heald and Cohen-Fix, 2014; Milo and Phillips, 2015). The effects of all of these subcellular determinants and energy-dependent processes on how position-dependent diffusivity is maintained in a cell remains unclear.

Not all cases of heterogeneous diffusivity will lead to diffusive lensing. This ambiguity is captured by the so-called Itô-Stratonovich dilemma (Lau and Lubensky, 2007; Sokolov, 2010; Tupper and Yang, 2012; Van Kampen, 1988; Volpe and Wehr, 2016). Any mathematical conceptualization of diffusion in the presence of position-dependent diffusivity must confront this dilemma, according to which the steady-state concentration distribution of a diffusing tracer depends not only on the localized diffusivity distribution but also on conventions based on microscopic parameters not captured in a coarse-grained model of diffusion; these parameters might, for example, include correlation lengths and times of viscogens or physical characteristics of polymers (Bo et al., 2021; Lau and Lubensky, 2007; Sokolov, 2010; Tupper and Yang, 2012; Van Kampen, 1988). While the Itô convention is deployed here to model the nonequilibrium cellular interior (Gnesotto et al., 2018; Phillips et al., 2012), in some cases the isothermal convention may be better suited for modeling transport. Indeed, diverse conventions have been used to model experimentally observed accumulation arising from varied sources of such position-dependent noise (Bringuier, 2011; Pesce et al., 2013; Volpe and Wehr, 2016).

Our work underscores the need to not only examine viscosity distributions in vivo as a function of local composition and the environment, but also to study their time-evolution in response to external stimuli. More speculatively, we suggest that diffusive lensing serves as a potential candidate for a rudimentary mode of pre-biotic compartmentalization. Viscophoresis-driven accumulation of diverse biomolecules may have served to produce chemically enriched spaces, acting as an antecedent of more sophisticated, membrane-bound and membraneless organizational modalities; such a protocell organization is orthogonal to currently studied models (Monnard and Walde, 2015). This work demonstrates that diffusive lensing can have strong effects on transport and may be common in cellular contexts, modulating both passive and active flows. Future experimental and theoretical work will elucidate the extent of lensing inside and outside of cells and its effects on the biochemical reactions that sustain life.

Methods

Agent-based modeling (random walk simulations)

Agent-based modeling of diffusion was conducted via 2D random walk simulations. Irrespective of how the Itô-Stratonovich dilemma is interrogated, the underlying diffusion equations contain additive, separable contributions from each dimension, and this extends to 3D as well. Calculations were, therefore, carried out in 2D for simplicity and visualizability. Non-interacting point particles were initialized uniformly in a 2D simulation region with an aspect ratio matching that of an E. coli bacterium (Phillips et al., n.d.). During each time step (also termed epoch or frame), every particle was moved along each coordinate by step sizes sampled from a uniform distribution, 𝒰(− 𝒮, 𝒮), where 𝒮 denotes the step size limit. Across a large number of steps, the distribution of displacements converges to the normal distribution by virtue of the central limit theorem. While sampling was not performed via the normal distribution directly by using the diffusion coefficient (D) as a parameter, the diffusion coefficient was instead arrived at as an emergent property of trajectories comprising a simulation, in a ground-up fashion. Reflection off the wall was modeled using a mirror-image rule. To model a zone of differential viscosity relative to bulk viscosity (either a fluid or a viscous zone), particle step sizes were sampled from zones characterized by different viscosities, noting that the diffusion coefficient and viscosity are inversely related (Phillips et al., n.d.) and . At all times, step sizes were sampled from distributions defined by the diffusivity around the present position in accordance with the Itô interpretation of multiplicative noise (Volpe and Wehr, 2016) (for theoretical predictions of the steady-state behaviors, see Numerical methods for the diffusion equations). In all simulations, a set seed of 1 was used for the random number generator. Simulations were run on MATLAB R2020a on Sherlock (a high-performance computing cluster at Stanford).

In the simulations which included inter-particle interactions, these interactions were modeled via a neighbor-sensing approach. The step size limit was modified as per the relation, Seff = Sekn, where k denotes the sensing strength and denotes the number of neighbors (defined as those particles lying within a cutoff span around the particle in question). Such a rule-based approach modeled an effective attractive potential for the inter-particle interactions. Local density calculation used the same cutoff and the data were normalized to the mean local density of particles during initialization. Considering the computational work due to neighbor-sensing, a smaller number of particles (103) were deployed, for a longer period 2 × 104 of epochs.

In the viscous granule simulations, the granules were modeled as disks with randomly initialized centers and fixed radii (r), covering the simulation region up to a desired packing density, ϕ. The algorithm saturated for ϕ ≥ 0.6, in which case, the disks were generated as per cubic close packing and their positions were incrementally deviated over 109 steps to reduce local ordering as much as possible. The ratio of viscosity inside the granules to viscosity outside the granules was the third parameter under consideration. No two disks were allowed to overlap and all disks were kept confined within the boundaries of the simulation region. The default setup is as follows: r = 0.01 μm (uniform), ϕ = 0.6 (that is, 60% of the simulation region is covered by the granules) and . Titration of one of these three parameters involved keeping the other two at the specified levels.

Numerical methods for the diffusion equations

The Fokker-Planck equations corresponding to the Ito, Stratonovich and isothermal interpretations of inhomogeneous diffusion are as follows (Gardiner, 2004; Tupper and Yang, 2012) (here c(x,t) denotes the concentration distribution and D(x) denotes the position-dependent diffusivity):

Itô interpretation: ,

Stratonovich interpretation: ,

Isothermal interpretation: .

These equations were numerically evaluated via forward time centered space (FTCS) schemes, with length and time increments set as 10−3 and 5 × 10−7 arbitrary units, respectively, and the number of time steps was set to 105. A gaussian well profile was used for the diffusion coefficient and the initial condition for the concentration distribution was a uniform distribution (Fig. S1B). For the theoretical prediction in each case, the following relation is used: c(x, t)D(x)1−α = constant in steady-state, where α denotes the integration convention used (Tupper and Yang, 2012). Analysis and data visualization were performed on MATLAB R2019a.

In silico microrheology

Analysis of particle trajectories was carried out via quantifying the mean squared displacements (MSD). These were calculated from 104 trajectories (each 105 timesteps in duration) per simulation. The timestep was set as 50 μs so that the diffusion coefficient was ≈5 μm2/s (order of magnitude for a small protein’s mobility in the E. coli cytoplasm (Milo and Phillips, 2015)).

In silico FRAP

In silico fluorescence recovery after photobleaching (FRAP) studies were performed on the diffusion simulations to quantify emergent dynamics at the mesoscale. particles were deployed for a total duration of 0.5 s (104 epochs). Circular regions (radius of 0.2 μm) were chosen as the regions of interest (ROIs). In silico photobleaching was instantaneously performed and involved assigning the particles in the ROI the photobleach status. The background was chosen from a uniform viscosity setup to ensure that the normalization is standardized. The outward turnover of these particles and the simultaneous inward flux of unbleached particles were captured via t1/2, the time taken for recovery up to the 50% of the steady state level of unbleached particles in the ROI (Sprague and McNally, 2005). In these simulations, t1/2 connotes the time taken for the number of “unbleached” particles in the ROI to reach 50% of the steady-state value. To dissect particles’ behavior during the simulation (in terms of bias towards inhabiting the viscous granules), we calculated the mean dwell time across all particles, per simulation. This involved averaging the periods (of any duration) spent by particles inside viscous granules. For normalization, the total simulation duration was used (0.5 s).

Code Availability

Code utilized in this study is available as a Zenodo repository (https://doi.org/10.5281/zenodo.7957931).

Author Contributions

A.R.V., K.H.L., D.M.W., and O.B., conceptualized the project. A.R.V. performed the simulations. A.R.V., and K.H.L. conducted the analysis. A.R.V. wrote the original draft. A.R.V., K.H.L., D.M.W., and O.B., reviewed and edited the manuscript. D.M.W. and O.B. supervised the project.

Declaration of Interest

The authors declare no competing interests.

Acknowledgements

We thank the Brandman Lab, J. E. Ferrell Jr., Z. Dogic, A. Chaudhuri and G. Chu for helpful discussions. We thank P. Guptasarma for helpful discussions and for facilitating the arrangement between IISER Mohali, UCSB, and Stanford. Simulations conducted in this study were run on the Sherlock high-performance computing cluster maintained by the Stanford Research Computing Center. A.R.V. is supported by the KVPY fellowship. K.H.L is supported by the NSF Graduate Research Fellowship Program. O. B. is funded by National Institutes of Health grant GM115968.

Supplementary Figures

Itô convention leads to Fokker-Planck diffusion, contrasting canonical (“Fickian”) homogenization.

(A) Agent-based modeling of particle dynamics used in this study. Choosing the diffusivity at the start point of a particle hop is in line with the Itô interpretation. (B) Numerical solutions for drift-less Fokker-Planck equations with an inhomogeneous diffusion coefficient, for the Itô, Stratonovich and isothermal conventions.

Particle clustering at different strengths in homogeneous versus heterogeneous diffusivity environments.

(A) Progress of a simulation comprising particles possessing weak interactions (k = 0.04), initialized with a uniform concentration of particles; no diffusivity gradient used here. (B) Progress of a simulation comprising particles possessing weak interactions (k = 0.1), initialized with a uniform concentration of particles; no diffusivity gradient used here. (C) Mean local density versus time for particles possessing weak interaction strength. (D) Mean local density versus time for particles possessing strong interaction strength. For (C) and (D), n = 1000 particles for mean local density calculation (error bars denote SEM).

Magnitude and distribution of inhomogeneity in viscosity affects diffusive lensing.

(A) Analysis of simulation trajectories via in silico microrheology. (B) Increasing viscophoretic extent due to variation of the zone viscosity in a chamber comprising a viscous end. (C) Mean squared displacement after transition to normal diffusion (saturation MSD) depends both on the magnitude of viscosity difference and the location of the zone itself. n = 10,000 particles for MSD calculation (error bars denote SEM). (D) Histogram ‖ X2 of at the end of the run for the cases of the 4x viscous zone located at the simulation region edge versus the center.

Dwell times for particles in viscous granules dictate FRAP kinetics.

(A) The in silico implementation of FRAP used in this study. (B) Methodology for determining mean dwell time of particles in viscous granules, from a set of simulation trajectories. (C) Steady-states of systems in the variation of granule viscosity, before commencing in silico FRAP. (D) Steady-states of systems in the variation of granule radius, before commencing in silico FRAP. (E) Steady-states of systems in the variation of granule packing density, before commencing in silico FRAP. (F) Mean dwell time fraction variation as a function of granule:bulk viscosity. (G) Mean dwell time fraction variation as a function of granule radius. (H) Mean dwell time fraction variation as a function of granule packing density. For (F)-(H), n = 10,000 particles used for calculation (error bars denote SEM).

Appendix

Itô-Stratonovich dilemma and derivation of the generalized flux for heterogeneous diffusion

The Itô-Stratonovich dilemma is an ambiguity which arises directly from any analytical attempt to solve a stochastic differential equation comprising multiplicative (or position-dependent) noise (Amir, 2020; Gardiner, 2004; Van Kampen, 1988; Volpe and Wehr, 2016). The underlying mathematical reason for the ambiguity is the non-differentiable nature of the stochastic term, which causes different Riemann sum conventions to give quantitatively different results (Gardiner, 2004). From a more physical point of view, the different conventions correspond to different hierarchies of “small” scales (correlation times and lengths of driving terms or viscogens, for example; see (Pesce et al., 2013) for a discussion of competing timescales). Formally, the dilemma can be boiled down to a choice of the parameter, α (0 ≤ α ≤ 1), in a diffusion equation like , where c(x,t) denotes the concentration distribution and D(x) denotes the position-dependent diffusivity (see below for the derivation of the generalized flux). Clearly, for a position-dependent diffusivity, different values of α will give rise to different physical predictions. In thermal equilibrium, α must be equal to 1, but away from equilibrium it can take on different values depending on microscopic details of the physical system (Gardiner, 2004; Pesce et al., 2013; Smythe et al., 1983; Turelli, 1977; Wang et al., 2020). Living cells are inherently removed from equilibrium by energy-driven processes breaking detailed balance (Gnesotto et al., 2018; Phillips et al., 2012). This motivates the calculations in this work, which use the Itô (α = 0) integration convention, but in fact qualitatively similar results would be observed for any value of α other than 1.

Consider a diffusing tracer whose trajectory is specified by the stochastic process, X(t). The stochastic process is continuous but is nowhere differentiable: the simplistic case of such a mathematical object is the Wiener process W(t), also known as Brownian motion (Gardiner, 2004). Note that in general, however, the stochastic process is characterized by a deterministic drift a(x, t) and diffusion b(x, t). Indeed, X(t) is in fact the solution of the stochastic differential equation (SDE):

dX(t) = a(x, t)dt + b(x, t)dW(t), where dW(t) = η(t)dt denotes the Wiener increment and η(t) is the Gaussian white noise.

The stochastic differential equation here comprises multiplicative noise: that is, a position-dependent function, b(x, t), factors into the noise term of the SDE. This necessitates confronting the Itô-Stratonovich dilemma; we consider a general convention α ∈ [0, 1], where α = 0, 0. 5, 1 correspond to the Itô, Stratonovich and isothermal conventions respectively.

The SDE detailed above corresponds to a Fokker-Planck equation describing the time-evolution of the probability distribution of the tracer, (substituting for α yields specific cases; see Eqn. 4.3.20 in (Gardiner, 2004), Eqns. 2.2.25, 2.2.26 in (Bressloff, 2014), Table 2 and Discussion in (Tupper and Yang, 2012)). Setting a(x, t) (drift) to zero, and b2(x, t) (diffusion) to 2D, a constant, yields Brownian motion, i.e., the canonical 1D diffusion equation which may also be derived from Fick’s laws. Keeping drift as zero, but setting diffusion to 2D(x) (space-dependent) yields:

, which describes our scenarios in question. This equation can be simplified as follows:

where is the generalized flux. Re-writing in terms of concentration yields the final expression, . Substituting for α and calculating yields the equations deployed in Methods: Numerical methods for the diffusion equations.