opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- From: "Adelmann Andreas" <andreas.adelmann AT psi.ch>
- To: "frederic.le.pimpec" <frederic.le.pimpec AT psi.ch>, "wangchuan02513" <wangchuan02513 AT 163.com>
- Cc: "opal" <opal AT lists.psi.ch>, <opal AT lists.psi.ch>
- Subject: RE: [Opal] Re: part statistic.dat
- Date: Fri, 21 Oct 2011 10:40:15 +0200
- List-archive: <https://lists.web.psi.ch/pipermail/opal/>
- List-id: The OPAL Discussion Forum <opal.lists.psi.ch>
Me maybe consider to change the PartStatistics.dat
#Time/ns tot_impac tot_sey TotalCharge
TotalNumberOfSimulationParticles
In that case TotalNumberOfSimulationParticles is consistent with the rest of
the output and the other
quantity can be derived.
For the "surface losses h5" we have a program to post process and maybe have
to define more in
detail what kind of plots, movies etc we want. H5root can not do the job. I
do not have access to felsim
so I can not tell you (Fred) where the stuff is, either Chuan know's or we
have to wait until I am back on Monday.
On a side note, the ERL-Comunity is very interested in the model(s) we have
available.
Cheers Andreas
Dr. sc. math. Andreas (Andy) Adelmann
Staff Scientist
Paul Scherrer Institut WLGB/132 CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Phone Home: xx41 62 891 91 44
-------------------------------------------------------
Thursdays: ETH CAB H 83.1 +41 44 632 36 72
============================================
The more exotic, the more abstract the knowledge,
the more profound will be its consequences.
Leon Lederman
============================================
-----Original Message-----
From: opal-admin AT lists.psi.ch on behalf of frederic.le.pimpec
Sent: Fri 10/21/2011 10:26
To: wangchuan02513
Cc: opal
Subject: [Opal] Re: part statistic.dat
Hi Chuan,
I missed an email it seems.
I was effectively guessing that one was the macroparticle and the other
the real particles.
Now it is clear ! No more confusion on my side
Actually H5root is very useful to see how the distribution evolves step
by step, without to have to write a small program.
now the surface losses h5 files is not standard that h5root cannot open it.
So here again it is a weird way to look at what it is in.
Maybe the manual, in an annex, could list the parameters which are
dumped in the various h5 files.
And give an example on how to load some of the parameters with matlab,
Maple, Mathematica etc...
bests
Frederic
wangchuan02513 wrote:
> Hi, Frederic, The last column of the partstatistic.dat file is the
> number of the physical particles, and the particle number in .h5 file
> or the .out file is the number of macro particles in simulation. They
> have different meaning as I've mentioned in previous emails that, the
> number of the physical particles is equal to the sum of the charge of
> all macro particles in simulation divided by the charge of one
> particle of initial bunch. This charge weight is used to prevent
> memory exhaustion as both field emission and secondary emission may
> emit unlimited number of particles.
>
> So what you are interested in each time step should be the number of
> the physical particles but not the macro particle number. And you may
> not need to use either h5root or h5dump as a post processing tool for
> dark current simuation.
>
> I'm now coming back to work on those addtional output that you are
> interested in postprocessing as you mentioned in your last email.
>
> Best regards Chuan
>
>
>
>
>
> At 2011-10-19 22:50:16,"frederic.le.pimpec"
> <frederic.le.pimpec AT psi.ch> wrote:
>> 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
>>
>> bests Frederic
>>
>> 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
>>>
>
--
---------------------------
Dr Frederic Le Pimpec
Paul Scherrer Institut
WBBA 315
5232 Villigen
Switzerland
http://fel.web.psi.ch/
Tel : +41 56 310 5130
FAX : +41 56 310 4488
_______________________________________________
Opal mailing list
Opal AT lists.psi.ch
https://lists.web.psi.ch/mailman/listinfo/opal
- [Opal] Re: part statistic.dat, frederic.le.pimpec, 10/19/2011
- Re: [Opal] Re: part statistic.dat, Andreas Adelmann, 10/20/2011
- Message not available
- Message not available
- [Opal] Re:Re: part statistic.dat, wangchuan02513, 10/21/2011
- [Opal] Re: part statistic.dat, frederic.le.pimpec, 10/21/2011
- RE: [Opal] Re: part statistic.dat, Adelmann Andreas, 10/21/2011
- [Opal] Re: part statistic.dat, frederic.le.pimpec, 10/21/2011
- [Opal] Re:Re: part statistic.dat, wangchuan02513, 10/21/2011
- Message not available
Archive powered by MHonArc 2.6.19.