Skip to Content.
Sympa Menu

opal - [Opal] Re: part statistic.dat

opal AT

Subject: The OPAL Discussion Forum

List archive

[Opal] Re: part statistic.dat

Chronological Thread 
  • From: "frederic.le.pimpec" <frederic.le.pimpec AT>
  • To: wangchuan02513 <wangchuan02513 AT>
  • Cc: "opal AT" <opal AT>
  • Subject: [Opal] Re: part statistic.dat
  • Date: Wed, 19 Oct 2011 16:50:16 +0200
  • List-archive: <>
  • List-id: The OPAL Discussion Forum <>
  • Organization: PSI

Hi Chuan,
Something is strange with the last column of the partstatistic.dat file
#Time/ns tot_impac tot_sey TotalCharge PartNum

You write the PartNum is the number of particles at the end of the simulation. In my case I start with a few 1e4 and endup with 4e6 particles.
When using H5root, it has a filed called Entries wich is an integer.
This field changes at every step looked at, but it never shows the same number as the PartNum, the last step it shows 79000 particles, not 4e6.
So at the end what is the difference.
How many particles do I really have at the end of my simulation ?

I am trying to load in matlab the h5 file which is not standard, hence I have no clue about what is in the .h5 file
and writing: h5disp('ctf3-injector-darkcurrent-1.h5')
displays a very very long list of stuff which is in !
is there any way to display only the variables and their size ? and how many step numbers are in the file.

Please note that I did not re-run the simulation since you have normally fixed the PartStatistic.dat header


wangchuan02513 wrote:
Hi, Frederic, The number of particles in *.oxxx file is the number of
macro particles in simulation, however the last column in .dat file
is the number of physical particles which you are interested in. And
I'll fix the header problem as soon as possible, but it will not
affect the result you get. Best regards Chuan

Archive powered by MHonArc 2.6.19.

Top of Page