mdFoam+: Advanced molecular dynamics in OpenFOAM

This paper introduces mdFoam+, which is an MPI parallelised molecular dynamics (MD) solver implemented entirely within the OpenFOAM software framework. It is open-source and released under the same GNU General Public License (GPL) as OpenFOAM. The source code is released as a publicly open software repository that includes detailed documentation and tutorial cases. Since mdFoam+ is designed entirely within the OpenFOAM C++ object-oriented framework, it inherits a number of key features. The code is designed for extensibility and flexibility, so it is aimed first and foremost as an MD research tool, in which new models and test cases can be developed and tested rapidly. Implementing mdFoam+ in OpenFOAM also enables easier development of hybrid methods that couple MD with continuum-based solvers. Setting up MD cases follows the standard OpenFOAM format, as mdFoam+ also relies upon the OpenFOAM dictionary-based directory structure. This ensures that useful pre- and post-processing capabilities provided by OpenFOAM remain available even though the fully Lagrangian nature of an MD simulation is not typical of most OpenFOAM applications. Results show that mdFoam+ compares well to another well-known MD code (e.g. LAMMPS) in terms of benchmark problems, although it also has additional functionality that does not exist in other open-source MD codes.

[1]  Duncan A. Lockerby,et al.  Hybrid molecular-continuum simulations of water flow through carbon nanotube membranes of realistic thickness , 2015 .

[2]  Laxmikant V. Kalé,et al.  Scalable molecular dynamics with NAMD , 2005, J. Comput. Chem..

[3]  C. C. Law,et al.  ParaView: An End-User Tool for Large-Data Visualization , 2005, The Visualization Handbook.

[4]  Duncan A. Lockerby,et al.  A multiscale method for micro/nano flows of high aspect ratio , 2013, J. Comput. Phys..

[5]  C. Vega,et al.  A general purpose model for the condensed phases of water: TIP4P/2005. , 2005, The Journal of chemical physics.

[6]  Duncan A. Lockerby,et al.  Water transport through (7,7) carbon nanotubes of different lengths using molecular dynamics , 2011, Microfluidics and Nanofluidics.

[7]  Yonghao Zhang,et al.  Dynamics of nanoscale droplets on moving surfaces. , 2013, Langmuir : the ACS journal of surfaces and colloids.

[8]  Jason M. Reese,et al.  Generation of initial molecular dynamics configurations in arbitrary geometries and in parallel , 2007 .

[9]  Duncan A. Lockerby,et al.  Multiscale simulation of nanofluidic networks of arbitrary complexity , 2014, Microfluidics and Nanofluidics.

[10]  Fernando Bresme,et al.  The short range anion-H interaction is the driving force for crystal formation of ions in water. , 2009, The Journal of chemical physics.

[11]  D. Lockerby,et al.  Enhancing nano-scale computational fluid dynamics with molecular pre-simulations: Unsteady problems and design optimisation , 2015 .

[12]  Martin T. Dove,et al.  DL_POLY_3: new dimensions in molecular dynamics simulations via massive parallelism , 2006 .

[13]  Duncan A. Lockerby,et al.  Fluid simulations with atomistic resolution: a hybrid multiscale method with field-wise coupling , 2013, J. Comput. Phys..

[14]  Jason M. Reese,et al.  Molecular dynamics simulations of liquid flow in and around carbon nanotubes , 2010 .

[15]  Steve Plimpton,et al.  Fast parallel algorithms for short-range molecular dynamics , 1993 .

[16]  Duncan A. Lockerby,et al.  Time-step coupling for hybrid simulations of multiscale flows , 2013, J. Comput. Phys..

[17]  Jun Zhang,et al.  Electrowetting Controls the Deposit Patterns of Evaporated Salt Water Nanodroplets. , 2016, Langmuir : the ACS journal of surfaces and colloids.

[18]  Jun Zhang,et al.  Wetting and evaporation of salt-water nanodroplets: A molecular dynamics investigation. , 2015, Physical review. E, Statistical, nonlinear, and soft matter physics.

[19]  Duncan A. Lockerby,et al.  A hybrid molecular–continuum method for unsteady compressible multiscale flows , 2015, Journal of Fluid Mechanics.

[20]  Duncan A. Lockerby,et al.  Water transport through carbon nanotubes with defects , 2012 .

[21]  Duncan A. Lockerby,et al.  Molecular dynamics pre-simulations for nanoscale computational fluid dynamics , 2015 .

[22]  C. Brooks Computer simulation of liquids , 1989 .

[23]  M.G.B. Drew,et al.  The art of molecular dynamics simulation , 1996 .

[24]  Duncan A. Lockerby,et al.  A hybrid molecular-continuum simulation method for incompressible flows in micro/nanofluidic networks , 2013, Microfluidics and Nanofluidics.

[25]  J. Reese,et al.  Controllers for imposing continuum-to-molecular boundary conditions in arbitrary fluid flow geometries , 2010 .

[26]  Sidney Yip,et al.  Coupling continuum to molecular-dynamics simulation: Reflecting particle method and the field estimator , 1998 .

[27]  Bijan Mohammadi,et al.  Optimization of a microfluidic mixer for studying protein folding kinetics. , 2006, Analytical chemistry.

[28]  D. Lockerby,et al.  The FADE mass-stat: a technique for inserting or deleting particles in molecular dynamics simulations. , 2014, The Journal of chemical physics.

[29]  K Schulten,et al.  VMD: visual molecular dynamics. , 1996, Journal of molecular graphics.

[30]  G. G. Stokes "J." , 1890, The New Yale Book of Quotations.

[31]  Konstantinos Ritos Water flow at the nanoscale : a computational molecular and fluid dynamcis investigation , 2014 .

[32]  Hrvoje Jasak,et al.  A tensorial approach to computational continuum mechanics using object-oriented techniques , 1998 .

[33]  L. Verlet Computer "Experiments" on Classical Fluids. I. Thermodynamical Properties of Lennard-Jones Molecules , 1967 .

[34]  B. Leimkuhler,et al.  Symplectic splitting methods for rigid body molecular dynamics , 1997 .

[35]  Matthew K. Borg,et al.  Mechanical properties of pristine and nanoporous graphene , 2016 .

[36]  H. Berendsen,et al.  Molecular dynamics with coupling to an external bath , 1984 .

[37]  J. Reese,et al.  Electric fields can control the transport of water in carbon nanotubes , 2016, Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences.

[38]  Francesco Calabrò,et al.  Flow enhancement in nanotubes of different materials and lengths. , 2014, The Journal of chemical physics.

[39]  J. Reese,et al.  Molecular dynamics in arbitrary geometries: Parallel evaluation of pair forces , 2008 .

[40]  Graham B. Macpherson,et al.  Particle tracking in unstructured, arbitrary polyhedral meshes for use in CFD and molecular dynamics , 2009 .