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.
Should I look for the compute_pair_gran_local.cpp?
Attachment | Size |
---|---|
![]() | 87.9 KB |
richti83 | Mon, 09/10/2018 - 09:01
I would suggest the dump
I would suggest the dump_modify [1] formatcommand to set higher precission
dump (name) (group name) local (time step) (directory) & c_(name)[1] c_(name)[2], ... c_(name)[13]
dump_modify (name) format "%f %f %f %f %f %f %ld %ld %d %f %f %f %f"
best,
Christian
[1]https://www.cfdem.com/media/DEM/docu/dump_modify.html