Use LAMMPS in Jupyter notebook

166 Views Asked by At

Most of the resources out there show how to use LAMMPS in Notepad++. I wanted to use LAMMPS in Jupyter notebook: from lammps import lammps, PyLammps lmp = lammps()

lmp.file("in.crack.lmp")

But I don't know how to import the file (.lmp) such that the entire content of it pops up in the Jupyter interface like a csv file usually do. Any help or linking to an appropriate source will be highly appreciated.

0

There are 0 best solutions below