Software components for parallel multiscale simulation: An example with LAMMPS

  • FrantzDale B
  • Plimpton S
  • Shephard M
  • 46

    Readers

    Mendeley users who have this article in their library.
  • 22

    Citations

    Citations of this article.

Abstract

Multiscale simulation is a promising approach for addressing a variety of real-world engineering problems. Various mathematical approaches have been proposed to link single-scale models of physics into multiscale models. In order to be effective, new multiscale simulation algorithms must be implemented which use partial results provided by single-scale software. This work considers aspects of software design for interfacing to existing single-scale simulation code to perform multiscale simulations on a parallel machine. As a practical example, we extended the large-scale atomistic/molecular massively parallel simulator (LAMMPS) atomistic simulation software to facilitate its efficient use as a component of parallel multiscale-simulation software. This required new library interface functions to LAMMPS that side-stepped its dependence on files for input and output and provided efficient access to LAMMPS's internal state. As a result, we were able to take advantage of LAMMPS's single-scale performance without adding any multiscale-specific code to LAMMPS itself. We illustrate the use of LAMMPS as a component in three different modes: as a stand-alone application called by a multiscale code, as a parallel library invoked by a serial multiscale code, and as a parallel library invoked by a parallel multiscale code. We conclude that it is possible to efficiently re-use existing single-scale simulation software as a component in multiscale-simulation software.

Author-supplied keywords

  • Atomistic to continuum coupling
  • LAMMPS
  • Molecular dynamics
  • Multiscale computation
  • Software design

Get free article suggestions today

Mendeley saves you time finding and organizing research

Sign up here
Already have an account ?Sign in

Find this document

Authors

  • Benjamin FrantzDale

  • Steven J. Plimpton

  • Mark S. Shephard

Cite this document

Choose a citation style from the tabs below

Save time finding and organizing research with Mendeley

Sign up for free