How to create data file for the read_data command

Dear community,

Currently I want to know if there is any program to create data files for export in lammps. So far I’ve used Python to create very simple data with simple geometry. Let me explain myself better.
I started practicing with the book “Computational Materials Science” by June Gunn Lee and my problem starts with creating data file more complex than a box full of atoms.

Like this examples:
1.Si-Carbon Nanotube


2. Yttria-stabilized Zirconia

Of course, the book shows me an example of the data file, but it’s just a snippet.

I apologize to the community if the question may turn out to be quite basic, but I would like to know what alternatives would help make the task less laborious. Either some dedicated software or some python library.
With some recommendation on where to start and I would be extremely satisfied.

Thanks in advance

Please check out this page on the LAMMPS home page: Pre/Post Processing Tools for use with LAMMPS

1 Like