33
Analytical and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids Weiqing Ren Courant Institute, NYU Joint work with Weinan E

Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

  • Upload
    vudiep

  • View
    223

  • Download
    5

Embed Size (px)

Citation preview

Page 1: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Analytical and Numerical Study ofCoupled Atomistic-Continuum Methods

for Fluids

Weiqing RenCourant Institute, NYU

Joint work with Weinan E

Page 2: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Multiscale modeling for two types of problems:

• Complex fluids - Constitutive modeling

• Microfluidics - Atomistic-based boundary condition modeling

(i) Heterogeneous multiscale method: Macro solver + missing data from MD(ii) Domain-decomposition framework

Koumoutsakos, JCP ’05

Koplik et al. PRL ’88; Thompson & Robbins, PRL ’89Qian et al., PRE ’03; Ren & E, PoF ’07

Page 3: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Multiscale method in the domain decompositionframework

C-region : Continuum hydrodynamicsP-region : Molecular dynamics

The two descriptions are coupled through exchangingboundary conditions in the overlapping region after eachtime interval .

Page 4: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Two fundamental issues:

• What information need to be exchangedbetween the two descriptions?

(i) Fields (e.g. velocity):(ii) Fluxes of conserved quantities

• How to accurately impose boundary conditionson molecular dynamics?

Page 5: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Existing multiscale methods for dense fluids

• Velocity coupling:O’Connel and Thompson 1995Hadjiconstantinou and Patera 1997Li, Liao and Yip 1999Nie, Chen, E and Robbins 2004Werder, Walther and Koumoutsakos 2005

• Flux coupling:Flekkoy, Wagner and Feder 2000Delgado-Buscalioni and Coveney 2003

• Mixed scheme: Ren and E 2005

Page 6: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Present work:

• Stability and convergence rate of the differentcoupling schemes; Propagation of statisticalerrors in the numerical solution.

• Error introduced when imposing boundaryconditions in MD.

Page 7: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Problem setup: Lennard-Jones fluid in achannel

(i). Static (U=0); (ii). Impulsively started shear flow

U

-U

Page 8: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Four coupling schemes:

• Velocity - Velocity

• Momentum flux - Velocity

• Velocity - Flux

• Flux - Flux

U

-U

The two models exchange BCs after every time interval .

Page 9: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

The rest of the talk:

• Algorithmic details of the multiscale methodfor the benchmark problems;

• Numerical results;

• Assessment of the error introduced in theimposition of boundary condition in MD.

Page 10: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Solving the continuum model

Page 11: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Correspondence of hydrodynamics and moleculardynamics

( Irving-Kirkwood 1950)

Using these formulae to calculate the continuum BCs from MD.

for Newtonian fluids

Page 12: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Boundary conditions for MD: Reflection BC + Boundary force

Mean boundary force:

Red = ReflectionBlue = Reflection+Black = Exact

Page 13: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Matching with continuum - Imposing velocity BC on MD

Page 14: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Matching with continuum: Imposing shear stress on MD

Page 15: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Microscopic profile of shear stress

Left: Shear stress profile at various shear rates;Right: Shear stress profile rescaled by the shear rate.

Page 16: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Summary of the multiscale method

• Continuum solver: Finite difference in space + forwardEuler’s method in time

• Molecular dynamics: (1) Velocity Verlet, Langevin dynamics to control temperature;

(2) Refection BC + Boundary force; (3) Projection method to match the velocity;

(4) Distribute the shear stress based on an universal profile.

Page 17: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Numerical result for the static problem:

(i). Errors are due tostatistical errors in themeasured boundarycondition (velocity,or shearstress) from MD.

(ii). Errors are bounded inVV, FV, VF schemes, whileaccumulate in the FFscheme.

Velocity - Velocity

Flux - Velocity

Velocity - Flux

Flux - Flux

Page 18: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Numerical result for the static problem:

Velocity - Velocity

Flux - Velocity

Velocity - Flux

Flux - Flux

Page 19: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Numerical result for the static problem:

Velocity - Velocity

Flux - Velocity

Velocity - Flux

Flux - Flux

Page 20: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Analysis of the problem forVelocity - Velocity coupling scheme:

where

--- Amplification factor

Page 21: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Analysis of the problem forThe numerical solution has the following form:

Page 22: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Analysis of the problem for finite

V-V

F-V

V-F

F-F

(iii). Flux-Flux scheme is weakly unstable.

(i). The VV and FV schemes are stable;(ii). Velocity-Flux is stable when , and unstablewhen

Conclusions:

Page 23: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

A dynamic problem: Impulsively startedshear flow

U

-U

Page 24: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Numerical results:tim

e

time

Velocity-Velocity Flux-Velocity

Page 25: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Numerical results:tim

e

time

Velocity-Flux Flux-Flux

Page 26: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Steady state calculation: Comparison ofconvergence rate

V-V

F-V

Page 27: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Assessment of the error from the impositionof velocity BC in MD

Page 28: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Assessment of the error from the impositionof velocity BC in MD

Page 29: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Assessment of the error for

Page 30: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Error of the stress: Analysis vs. Numerics

Red curve:

Blue curve: Numerics

Page 31: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Summary:(1). Stability of different coupling schemes.Schemes based on flux coupling is weaklyunstable. Flux-velocity scheme performs the best.

(2). Error introduced when imposing velocityboundary condition in MD.

Ongoing work:Boundary conditions for non-equilibrium MD;

Incorporating fluctuations in the BC of MD;Coupling fluctuating hydrodynamic with moleculardynamics.

Page 32: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

Improved numerical scheme: Using ghostparticles

• Less disturbance to fluid structure• Mass reservoir for 2d velocity field

Page 33: Analytical and Numerical Study of Coupled Atomistic ... and Numerical Study of Coupled Atomistic-Continuum Methods for Fluids ... •Velocity coupling: ... multiscale-fluid.ppt

References:

• Heterogeneous multiscale method for the modeling ofcomplex fluids and microfluidics, J. Comp. Phys. 204, 1(2005)

• Boundary conditions for the moving contact lineproblem, Physics of Fluids, 19, 022101 (2007)

• Analytical and Numerical study of coupled atomistic-continuum methods for fluids, preprint