dump cutom/vtk generating corrupted files when printing xu yu zu but with only x and y periodic

Submitted by iluvatar on Fri, 12/06/2019 - 20:47

Hi,

This is not a problem per se but maybe a suggestion for improvement.

I have a system periodic in x and y. When I use the following custom command, the vtp files are not correctly read into paraview, they just read as empty and the problem is an empty array that appears in the vtp files:

dump dmpgrow all custom/vtk 10000 post/growing_packing_*.vtp id type x y z xu yu zu ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius

But when I removed the zu, since the systems is not periodic on that direction, I get correct vtp files that can be read in Paraview:

dump dmpgrow all custom/vtk 10000 post/growing_packing_*.vtp id type x y z xu yu ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius

Somehow it has some logic that I should not put zu since z is not periodic, but then why it works for iz? Is this intended behavior? Why not just printing z=zu?

Thanks in advance.