Author Topic: Varying Number of Particles  (Read 60 times)

eantipov

  • Newbie
  • *
  • Posts: 2
Varying Number of Particles
« on: January 02, 2019, 05:26:18 PM »
Hello,

I am removing particles in my simulation and writing everything to a GSD file.
OVITO works perfectly up until the point when I start to remove particles in my system, then it gives me the following error "GSD file I/O error: Number of elements in chunk 'particles/typeid' does not match expected value."

Does anyone know if OVITO is able to handle varying number of particles? Or if there is a plugin I should install to allow for that?
Thank you very much.

Egor

Constanze Kalcher

  • Administrator
  • Full Member
  • *****
  • Posts: 158
Re: Varying Number of Particles
« Reply #1 on: January 03, 2019, 12:16:12 PM »
Hello Egor,

could you please upload an example file for me, I would like to look into this.

-Constanze

Alexander Stukowski

  • Administrator
  • Hero Member
  • *****
  • Posts: 533
Re: Varying Number of Particles
« Reply #2 on: January 03, 2019, 09:22:48 PM »
Hi,
I can confirm -after looking at the source code again- that Ovito should be capable of reading GSD files with varying number of particles, at least in principle. This may have never been tested though. As Constanze wrote, please send us a test file, and we'll investigate this further. Thanks.
-Alex