Hello,
I'm trying to extract particle ID and position data with the codes below, but I get the error message "MissingElementError: No particles exist for particle type '0'".
IDs1, x, y, z = deck.timestep[2].particle[0].getBinnedProperty(nX, nY, nZ, iMin, iMax, option='ids')
pos1, x, y, z = deck.timestep[2].particle[0].getBinnedProperty(nX, nY, nZ, iMin, iMax, option='position')
I have also tried with "........particle['Actual particle name']...............", but the same error pops up.
The code is supposed to extract the properties for about 46,000 out of 6 million particles from a grid bin in my simulation. Also, the same code works with another simulation with only 50 particles.
Please could anyone suggest some solutions for me? Thank you.