The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf ·...

23
The Truth about diffusion (in liquids) Aleksandar Donev Courant Institute, New York University & Eric Vanden-Eijnden, Courant Thomas G. Fai, Courant Applied Math Seminar October 18th 2013 A. Donev (CIMS) Diffusion 10/2013 1 / 27

Transcript of The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf ·...

Page 1: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

The Truth about diffusion (in liquids)

Aleksandar Donev

Courant Institute, New York University&

Eric Vanden-Eijnden, CourantThomas G. Fai, Courant

Applied Math SeminarOctober 18th 2013

A. Donev (CIMS) Diffusion 10/2013 1 / 27

Page 2: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

Giant Fluctuations

Diffusion in Liquids

There is a common belief that diffusion in all sorts of materials,including gases, liquids and solids, is described by random walks andFick’s law for the concentration of labeled (tracer) particles c (r, t),

∂tc = ∇ · [χ (r)∇c] ,

where χ � 0 is a diffusion tensor.But there is well-known hints that the microscopic origin of Fickiandiffusion is different in liquids from that in gases or solids, and thatthermal velocity fluctuations play a key role.The Stokes-Einstein relation connects mass diffusion tomomentum diffusion (viscosity η),

χ ≈ kBT

6πση,

where σ is a molecular diameter.Macroscopic diffusive fluxes in liquids are known to be accompaniedby long-ranged nonequilibrium giant concentration fluctuations [1].

A. Donev (CIMS) Diffusion 10/2013 3 / 27

Page 3: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

Giant Fluctuations

Giant Nonequilibrium Fluctuations

Experimental results by A. Vailati et al. from a microgravity environment[1] showing the enhancement of concentration fluctuations in space (boxscale is 5mm on the side, 1mm thick).Fluctuations become macrosopically large at macroscopic scales!They cannot be neglected as a microscopic phenomenon.

A. Donev (CIMS) Diffusion 10/2013 4 / 27

Page 4: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

Giant Fluctuations

Fluctuating Hydrodynamics

The thermal velocity fluctuations are described by the (unsteady)fluctuating Stokes equation,

ρ∂tv + ∇π = η∇2v +√

2ηkBT ∇ ·W , and ∇ · v = 0. (1)

where the thermal (stochastic) momentum flux is spatio-temporalwhite noise,

〈Wij(r, t)W?kl(r′, t ′)〉 = (δikδjl + δilδjk) δ(t − t ′)δ(r − r′).

The solution of this SPDE is a white-in-space distribution (very farfrom smooth!).

Define a smooth advection velocity field, ∇ · u = 0,

u (r, t) =

∫σ(r, r′)

v(r′, t)dr′ ≡ σ ? v,

where the smoothing kernel σ filters out features at scales below amolecular cutoff scale σ.

A. Donev (CIMS) Diffusion 10/2013 5 / 27

Page 5: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

Giant Fluctuations

Resolved (Full) Dynamics

Lagrangian description of a passive tracer diffusing in the fluid,

q̇ = u (q, t) +√

2χ0 Wq, (2)

where Wq(t) is a collection of white-noise processes (independentamong tracers).In this case σ is the typical size of the tracers.

Eulerian description of the concentration c (r, t) with an (additivenoise) fluctuating advection-diffusion equation,

∂tc = −u ·∇c + χ0∇2c, (3)

where χ0 is the bare diffusion coefficient.

The two descriptions are equivalent. When χ0 = 0,c (q(t), t) = c (q(0), 0) or, due to reversibility,c (q(0), t) = c (q(t), 0).

A. Donev (CIMS) Diffusion 10/2013 6 / 27

Page 6: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

Giant Fluctuations

Fractal Fronts in Diffusive Mixing

Snapshots of concentration in a miscible mixture showing the developmentof a rough diffusive interface due to the effect of thermal fluctuations[2]. These giant fluctuations have been studied experimentally [1] andwith hard-disk molecular dynamics [3].Our Goal: Computational modeling of diffusive mixing in liquids inthe presence of thermal fluctuations.

A. Donev (CIMS) Diffusion 10/2013 7 / 27

Page 7: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

Overdamped Limit

Separation of Time Scales

In liquids molecules are caged (trapped) for long periods of time asthey collide with neighbors:Momentum and heat diffuse much faster than does mass.

This means that χ� ν, leading to a Schmidt number

Sc =ν

χ∼ 103 − 104.

This extreme stiffness solving the concentration/tracer equationnumerically challenging.

There exists a limiting (overdamped) dynamics for c in the limitSc →∞ in the scaling [4]

χν = const.

A. Donev (CIMS) Diffusion 10/2013 9 / 27

Page 8: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

Overdamped Limit

Eulerian Overdamped Dynamics

Adiabatic mode elimination gives the following limiting stochasticadvection-diffusion equation (reminiscent of the Kraichnan’s modelin turbulence),

∂tc = −w �∇c + χ0∇2c, (4)

where � denotes a Stratonovich dot product.

The advection velocity w (r, t) is white in time, with covarianceproportional to a Green-Kubo integral of the velocity auto-correlationfunction,

〈w (r, t)⊗w(r′, t ′

)〉 = 2 δ

(t − t ′

) ∫ ∞0〈u (r, t)⊗ u

(r′, t + t ′

)〉dt ′,

In the Ito interpretation, there is enhanced diffusion,

∂tc = −w ·∇c + χ0∇2c + ∇ · [χ (r)∇c] (5)

where χ (r) is an analog of eddy diffusivity in turbulence.

A. Donev (CIMS) Diffusion 10/2013 10 / 27

Page 9: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

Overdamped Limit

Enhanced Diffusivity

Let us factorize the integral of the velocity correlation function insome (infinite dimensional) set of basis functions φk (r),

2

∫ ∞0〈u (r, t)⊗ u

(r′, t + t ′

)〉dt ′ =

∑k,k′

φk (r)φk′(r′).

For periodic boundaries φk can be Fourier modes but in general theydepend on the boundary conditions for the velocity.

The notation w �∇c is a short-hand for∑

k (φk ·∇c) ◦ dBk/dt,where Bk (t) are independent Brownian motions (Wiener processes).

Similarly, w ·∇c is shorthand notation for∑

k (φk ·∇c) dBk/dt.

The enhanced or fluctuation-induced diffusion is

χ (r) =

∫ ∞0〈u (r, t)⊗ u

(r, t + t ′

)〉dt ′ =

1

2

∑k,k′

φk (r)φk′ (r) .

A. Donev (CIMS) Diffusion 10/2013 11 / 27

Page 10: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

Overdamped Limit

Stokes-Einstein Relation

An explicit calculation for Stokes flow gives the explicit result

χ (r) =kBT

η

∫σ(r, r′)

G(r′, r′′

)σT(r, r′′

)dr′dr′′, (6)

where G is the Green’s function for steady Stokes flow.For an appropriate filter σ, this gives Stokes-Einstein formula forthe diffusion coefficient in a finite domain of length L,

χ =kBT

η

{(4π)−1 ln L

σ if d = 2

(6πσ)−1(

1−√

22σL

)if d = 3.

The limiting dynamics is a good approximation if the effectiveSchmidt number Sc = ν/χeff = ν/ (χ0 + χ)� 1.The fact that for many liquids Stokes-Einstein holds as a goodapproximation implies that χ0 � χ:Diffusion in liquids is dominated by advection by thermalvelocity fluctuations, and is more similar to eddy diffusion inturbulence than to standard Fickian diffusion.

A. Donev (CIMS) Diffusion 10/2013 12 / 27

Page 11: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

Overdamped Limit

Lagrangian Overdamped Dynamics

In the Lagrangian description, the overdamped limit in theStratonovich interpretation is

dq =∑k

φk (q) ◦ dBk +√

2χ0 dBq, (7)

where Bq(t) are independent Brownian motions (one per tracer).

The single realization of the random field∑

k φk ◦ dBk affects all ofthe walkers and induces correlations between the tracers.

In the Ito interpretation the Lagrangian description reverts to thewell-known Brownian dynamics for the positions of the N tracers(Brownian walkers) Q = {q1, . . . ,qN},

dQ = (2kBT M (Q))12 dB + (∂Q ·M (Q)) dt, (8)

where the mobility matrix has the form

Mij

(qi ,qj

)= η−1

∫σ(qi , r

′)G(r′, r′′

)σT(qj , r

′′) dr′dr′′.

A. Donev (CIMS) Diffusion 10/2013 13 / 27

Page 12: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

Numerics

Multiscale Numerical Algorithm

The limiting dynamics can be efficiently simulated using the followingpredictor-corrector algorithm (implemented on GPUs):

1 Generate a random advection velocity by solving steady Stokes [5]with random forcing,

∇πn+ 12 = ν

(∇2vn

)+ ∆t−

12∇ ·

(√2νρ−1 kBT Wn

)∇ · vn = 0.

using a staggered finite-volume fluctuating hydrodynamics solver [2],and compute un by filtering.

2 Do a predictor advection-diffusion solve for concentration,

c̃n+1 − cn

∆t= −un ·∇cn + χ∇2

(cn + c̃n+1

2

).

3 Take a corrector step for concentration,

cn+1 − cn

∆t= −un ·∇

(cn + c̃n+1

2

)+ χ∇2

(cn + cn+1

2

).

A. Donev (CIMS) Diffusion 10/2013 15 / 27

Page 13: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

Numerics

Lagrangian Algorithm

The tracer Lagrangian dynamics can be efficiently simulated withoutartificial dissipation (implemented on GPUs):

1 Generate a random advection velocity by solving steady Stokes [5]with random forcing

∇πn+ 12 = ν

(∇2vn

)+ ∆t−

12∇ ·

(√2νρ−1 kBT Wn

)∇ · vn = 0.

using a spectral (FFT-based) algorithm.2 Filter the velocity with a Gaussian filter (in Fourier space),

wn = σ ? vn.

3 Use a non-uniform FFT [6] to evaluate un = wn(qn), and move thetracers,

qn+1 = q + un∆t.

In non-periodic domains one would need to do a corrector step for tracers(Euler-Heun method for the Stratonovich SDE).

A. Donev (CIMS) Diffusion 10/2013 16 / 27

Page 14: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

Numerics

Numerical Issues

1 All algorithms implemented on GPUs for periodic boundaries usingFFTs. We do large simulations in 2D here to study physics, 3D isimplemented but largest grid is O(5123).

2 Eulerian algorithm also implemented in IBAMR library by BoyceGriffith, to be used for studying the effect of boundary conditions inexperiments on giant fluctuations.

3 For Eulerian algorithm the difficulty is in the advection: we needessentially non-dissipative advection that is also good withmonotonicity preserving.

4 Right now we use a strictly non-dissipative centered advection, forwhich we can calculate discrete diffusion enhancement operatorexactly.

5 Also trying more sophisticated minimally-dissipative semi-Lagrangianadvection schemes of John Bell implemented by Sandra May(unfinished).

A. Donev (CIMS) Diffusion 10/2013 17 / 27

Page 15: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

The Physics of Diffusion

Is Diffusion Irreversible?

0.001 0.01 0.1

Wavenumber k

10-2

100

102

104

106

108

Spec

tru

m o

f c(

r,t)

t~10-5

τ

t~0.4τ

t~4τ

Linearized t=0.4τ

k-2

101

102

103

104

106

108

1010 t~0.5τ

t~5τ

k-2

k-3

Figure: The decay of a single-mode initial condition, as obtained from aLagrangian simulation with 20482 tracers.

A. Donev (CIMS) Diffusion 10/2013 19 / 27

Page 16: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

The Physics of Diffusion

Effective Dissipation

The ensemble mean of concentration follows Fick’s deterministiclaw,

∂t〈c〉 = ∇ · (χeff∇〈c〉) = ∇ · [(χ0 + χ)∇〈c〉] , (9)

which is well-known from stochastic homogenization theory.

The physical behavior of diffusion by thermal velocity fluctuations isvery different from classical Fickian diffusion:Standard diffusion (χ0) is irreversible and dissipative, butdiffusion by advection (χ) is reversible and conservative.

Spectral power is not decaying as in simple diffusion but is transferredto smaller scales, like in the turbulent energy cascade.

This transfer of power is effectively irreversible because power“disappears”. Can we make this more precise?

A. Donev (CIMS) Diffusion 10/2013 20 / 27

Page 17: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

The Physics of Diffusion

Virtual FREP Experiment (χ0 = 0)

The contour lines become very rough, and eventually fill the whole plane,unless we put some bare diffusion to smooth things out.But this generates sub-molecular scale features, compare to hard-diskmolecular dynamics (1M disks):

We should perform spatial coarse-graining to study cδ = δ ? c, whereδ > σ is a mesoscopic measurement (observation) scale.

A. Donev (CIMS) Diffusion 10/2013 21 / 27

Page 18: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

The Physics of Diffusion

Lagrangian Tracking of Interfaces

A. Donev (CIMS) Diffusion 10/2013 22 / 27

Page 19: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

The Physics of Diffusion

Spatial Coarse-Graining

Split the velocity w into a large-scale component wδ and a small-scalecomponent w̃,

w = δ ?w + w̃ = wδ + w̃ in law,

where δ is a filter of mesoscopic width δ > σ.

Define c̄δ = 〈c〉w̃ as the conditional ensemble average over theunresolved w̃ keeping the resolved wδ fixed.

For the Ito equation (5), without any approximations, we obtain,

∂t c̄δ = −wδ ·∇c̄δ + χ0∇2c̄δ + ∇ · [χ (r)∇c̄δ] , (10)

with an identical effective diffusion coefficient χeff = χ0 + χ.

We postulate that this gives a physically reasonable coarse-grainedmodel for cδ = δ ? c.

A. Donev (CIMS) Diffusion 10/2013 23 / 27

Page 20: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

The Physics of Diffusion

Coarse-Grained Equations

In the Stratonovich interpretation the coarse-grained equation is

∂tcδ ≈ −wδ �∇cδ + ∇ · [(χ0 + ∆χδ)∇cδ] , (11)

where the diffusion renormalization ∆χδ (r) [7, 8] is

∆χδ = χ− δ ? χ ? δT . (12)

The coarse-grained equation has true dissipation (irreversibility)since ∆χδ > 0.

For δ � σ in three dimensions we get ∆χδ ≈ χ and so thecoarse-grained equation becomes Fick’s law with Stokes-Einstein’sform for the diffusion coefficient. This hints thatIn three dimensions (but not in two dimensions!) atmacroscopic scales Fick’s law applies. At mesoscopic scalesfluctuating hydrodynamics with renormalized transportcoefficients is a good model.

A. Donev (CIMS) Diffusion 10/2013 24 / 27

Page 21: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

The Physics of Diffusion

Irreversible vs. Reversible Dynamics

Figure: (Top panel) Diffusive mixing studied using the Lagrangian traceralgorithm. (Bottom) The spatially-coarse grained concentration cδ obtained byblurring with a Gaussian filter of two different widths.

A. Donev (CIMS) Diffusion 10/2013 25 / 27

Page 22: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

The Physics of Diffusion

Conclusions

Fluctuations are not just a microscopic phenomenon: giantfluctuations can reach macroscopic dimensions or certainly dimensionsmuch larger than molecular.

Fluctuating hydrodynamics describes these effects.

Due to large separation of time scales between mass andmomentum diffusion we need to find the limiting dynamics toeliminate the stiffness.

The overdamped equation is a stochastic advection-diffusionequation with a white-in-time velocity.

Diffusion in liquids is strongly affected and in fact dominated byadvection by velocity fluctuations.

This kind of “eddy” diffusion is very different from Fickian diffusion: itis reversible (conservative) rather than irreversible (dissipative)!

At macroscopic scales, however, one expects to recover Fick’sdeterministic law, in three, but not in two dimensions.

A. Donev (CIMS) Diffusion 10/2013 26 / 27

Page 23: The Truth about di usion (in liquids) - NYU Courantdonev/FluctHydro/StokesLaw.CIMS.handout.pdf · The Truth about di usion (in liquids) Aleksandar Donev Courant Institute, New York

The Physics of Diffusion

References

A. Vailati, R. Cerbino, S. Mazzoni, C. J. Takacs, D. S. Cannell, and M. Giglio.

Fractal fronts of diffusion in microgravity.Nature Communications, 2:290, 2011.

F. Balboa Usabiaga, J. B. Bell, R. Delgado-Buscalioni, A. Donev, T. G. Fai, B. E. Griffith, and C. S. Peskin.

Staggered Schemes for Fluctuating Hydrodynamics.SIAM J. Multiscale Modeling and Simulation, 10(4):1369–1408, 2012.

A. Donev, A. J. Nonaka, Y. Sun, T. G. Fai, A. L. Garcia, and J. B. Bell.

Low Mach Number Fluctuating Hydrodynamics of Diffusively Mixing Fluids.Submitted to SIAM J. Multiscale Modeling and Simulation, 2013.

A. Donev, T. G. Fai, , and E. Vanden-Eijnden.

Reversible Diffusive Mixing by Thermal Velocity Fluctuations.Arxiv preprint 1306.3158, 2013.

M. Cai, A. J. Nonaka, J. B. Bell, B. E. Griffith, and A. Donev.

Efficient Variable-Coefficient Finite-Volume Stokes Solvers.Preprint ArXiv:1308.4605, 2013.

L. Greengard and J. Lee.

Accelerating the nonuniform fast fourier transform.SIAM Review, 46(3):443–454, 2004.

D. Brogioli and A. Vailati.

Diffusive mass transfer by nonequilibrium fluctuations: Fick’s law revisited.Phys. Rev. E, 63(1):12105, 2000.

A. Donev, A. L. Garcia, Anton de la Fuente, and J. B. Bell.

Enhancement of Diffusive Transport by Nonequilibrium Thermal Fluctuations.J. of Statistical Mechanics: Theory and Experiment, 2011:P06014, 2011.

A. Donev (CIMS) Diffusion 10/2013 27 / 27