Particle id is being approximated.

Submitted by fabregas04 on Fri, 09/07/2018 - 08:34

Hi,

I'm trying to find out contact between particles in huge size simulation which contain millions of particles.

What i'm using for this is

compute (name) (group name) pair/gran/local id pos force_normal delta

and then

dump (name) (group name) local (time step) (directory) & c_(name)[1] c_(name)[2], ... c_(name)[13]

But the problem caused here is when particle id is over 1 million, then particle id becomes 1.0e+06.

And it seems like ones place number is missing.

If you look at the picture I attached, you can see that only 6 digits are existed.

When I try to look at the particle number 1165683, there is no particle id 1165683 but 1.16568e+06.

Is this natural or should I put other command in 'compute' or 'dump'?

AttachmentSize
Image icon liggghts.jpg87.9 KB

estefan31 | Thu, 09/13/2018 - 23:27

You're describing the exact same problem I had. See the topic posted shortly before yours: Increasing Precision of Dump File.