Hi, everybody
When i'm trying to get the force chain in a particle assembly using dump2force.py dump.fc.1000.liggghts i got thir error:
Error - dump file requires all parameters from a compute pair/gran/local id pos force (11 in total)
A project by DCS Computing and CFDEMresearch
Hi, everybody
When i'm trying to get the force chain in a particle assembly using dump2force.py dump.fc.1000.liggghts i got thir error:
Error - dump file requires all parameters from a compute pair/gran/local id pos force (11 in total)
This website uses cookies to ensure you get the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies. This website uses cookies. By continuing to browse the site you are agreeing to our use of cookies. More info
ckloss | Thu, 07/12/2012 - 15:09
>>Error - dump file requires
>>Error - dump file requires all parameters from a compute pair/gran/local id pos force (11 in total)
I guess that is pretty self-explanatory? What compute pair/gran/local command did you use?
EDIT: moved this topic to the post-processing section
Christoph
DAVID RIVERA TAPIA | Thu, 07/12/2012 - 16:32
compute fc all pair/gran/local id pos force
Thanks Christoph,
I'm using this parameter "compute fc all pair/gran/local id pos force"
msbentley | Fri, 07/13/2012 - 10:29
id = 3 vals, pos = 6 vals, force = 3 vals -> total = 12 vals
The error message should in fact say 12 values, not 11. Your compute calculates:
id = IDs of particles in contact and a periodicity flag (3 values) or IDs of the mesh, the triangle and the particle (3 values)
pos = positions of particles in contact (6 values)
force = contact force (3 values)
So this compute calculates 12 values, and you need to dump all 12 to a file.
Cheers, Mark
msbentley | Fri, 07/13/2012 - 10:22
Check what you're dumping in your dump local
Hi there,
Yes, I'm afraid the code simply assumes a default set of dump local data - you can modify as you need to include additional output. By default I think dump2force assumes you are doing something like
compute fc all pair/gran/local id pos force
dump forcedump all local 100 dump.forcedata c_fc[1] c_fc[2] c_fc[3]
etc. up toc_fc[12]
which produces 12 outputs:
x1 y1 z1 x2 y2 z2 id1 id2 periodic fx fy fz
You can find some lines in the code to also write out contact area and heat flux to VTK files if you've included those in your dump local - you just have to uncomment them.
So you should either modify dump2force to exclude data you don't want, or dump the data listed above. Hope that helps!
Cheers, Mark
mhk | Tue, 08/20/2013 - 03:47
the order of output components
I was wondering if the order of 12 components in output for compute wall/gran/local is similar to pair/gran/local. I have used both commands (compute pair and wall), but the output of compute wall/gran/local is as follows:
x1 y1 z1 x2 y2 z2 PERIODIC id1 id2 fx fy fz
another question, what is "periodic"?