read_data file error

Submitted by Tamoghna on Fri, 02/22/2013 - 05:51

Hi!

I am running LIGGGHTS 2.2.1. Is it possible to read empty file with read_data I get error like

Reading data file ...
ERROR: Unknown identifier in data file: ȍ°¥Ô* (read_data.cpp:308)

My input file looks like
run 10000 upto every 1000 &
"read_data data/data_* add"

My data file looks like

LIGGGHTS

0 atoms

4 atom types

-0.3220.322 xlo xhi
-0.3220.322 ylo yhi
-0.6470.613 zlo zhi

Could anybody advice I need to read positions automatically after every 1000 steps and some of these files may be empty!!

Regards,
Tamoghna Mitra

ckloss's picture

ckloss | Mon, 02/25/2013 - 14:38

Hi Tamoghna Mitra,

>>I am running LIGGGHTS 2.2.1. Is it possible to read empty file with read_data I get error like
I'm not sure if read_data is made to read 0 atoms. What you could do is read a file with one particle at step0 and then instantaneously delete it

Cheers
Christoph