Author Topic: Penelope/Penepma/Penfluor/Fanal Monte-Carlo Software and Physics  (Read 11256 times)

John Donovan

  • Administrator
  • Emeritus
  • *****
  • Posts: 2189
  • Other duties as assigned...
    • Probe Software
Re: Penelope/Penepma/Penfluor/Fanal Monte-Carlo Software and Physics
« Reply #15 on: December 03, 2016, 06:11:31 pm »
In v. 11.7.2 of CalcZAF (and Standard) I added three new parameter fields to the Penepma GUI. These are for the minimum and maximum energy range and the number of energy channels.  This required a re-compile of the Penepma.f to allow for more than 1000 energy channels.



The reason for doing this is also to allow me to synthesize WDS spectra for "demo" as described here:

http://probesoftware.com/smf/index.php?topic=837.0

where we will require some 10,000 to 20,000 energy channels for simulating WDS spectral resolution...
john

PS if you specify more than 1000 energy channels in the Penpma GUI, the software will remind you that you will need to utilize the CalcZAF Help | Update CalcZAF menu as seen here:



to update your Penepma distribution.
« Last Edit: December 03, 2016, 06:18:21 pm by John Donovan »
John J. Donovan, Pres. 
(541) 343-3400

"Not Absolutely Certain, Yet Reliable"

Probeman

  • Emeritus
  • *****
  • Posts: 1545
  • Never sleeps...
    • John Donovan
Re: Penelope/Penepma/Penfluor/Fanal Monte-Carlo Software and Physics
« Reply #16 on: May 13, 2017, 09:26:23 am »
Cesc Salvat gave me the Java app that his son developed for creating Penepma geometry (*.geo) files for Penepma calculations. See attached ZIP file below (remember to login to see attachments).

I tried to run it on my laptop but didn't have Java installed.  Apparently if you have the Firefox web browser you will already have Java installed.  Nicholas Ritchie says if you do download the Java installer from Oracle, you need to:

Quote
Either double click on the jar file or "javaw -jar salvats.jar" from the cmd window having "cd”d to the jar path. You will have to complete some paths to get this to work.

Again I haven't tried this yet but wanted to get it out there ASAP for people who want to create specialized geometries that aren't included in the CalcZAF/Standard distribution.

Of course please feel free to post any .geo files you have created if you think they might be useful to the general community. 
john
The only stupid question is the one not asked!

Probeman

  • Emeritus
  • *****
  • Posts: 1545
  • Never sleeps...
    • John Donovan
Re: Penelope/Penepma/Penfluor/Fanal Monte-Carlo Software and Physics
« Reply #17 on: May 29, 2017, 03:31:01 pm »
After I saw Xavier's poster on optimizing the "interaction forcing factors" in the Penepma input, I had him help me modify the default forcing factors in the input files in the Penepma12.zip distribution. Use the Update Penepma12.zip option in the CalcZAF (or PFE) Help menu to get these new forcing factor input files. 

As an example here are the forcing factors in the original input file for characteristic x-ray production:

       >>>>>>>> Interaction forcing.
IFORCE 1 1 4 -10    0.1 1.0           [KB,KPAR,ICOL,FORCER,WLOW,WHIG]
IFORCE 1 1 5 -400   0.1 1.0           [KB,KPAR,ICOL,FORCER,WLOW,WHIG]

And here are the new forcing factors that Xavier implemented:

       >>>>>>>> Interaction forcing.
IFORCE 1 1 4 -10     0.9 1.0           [KB,KPAR,ICOL,FORCER,WLOW,WHIG]
IFORCE 1 1 5 -100    0.9 1.0           [KB,KPAR,ICOL,FORCER,WLOW,WHIG]

One should be able to get better precision in less time with these new parameters.
« Last Edit: May 29, 2017, 04:40:25 pm by Probeman »
The only stupid question is the one not asked!

Ben Buse

  • Professor
  • ****
  • Posts: 332
Re: Penelope/Penepma/Penfluor/Fanal Monte-Carlo Software and Physics
« Reply #18 on: May 21, 2018, 06:31:28 am »
Does anyone have a feel as to whether the number of elements slows down simulations. If I include trace elements do I reduce the precision on the majors for a given time.

Ben

Nabil

  • Student
  • *
  • Posts: 1
Efficiency of the detector
« Reply #19 on: July 11, 2018, 03:09:51 pm »
Please, I am on the PENEPMA code and I would like to calculate the efficiency of the detector.

Is there information about the efficiency in the output file and how to extract them?
« Last Edit: July 11, 2018, 04:12:02 pm by John Donovan »

Probeman

  • Emeritus
  • *****
  • Posts: 1545
  • Never sleeps...
    • John Donovan
Re: Efficiency of the detector
« Reply #20 on: July 13, 2018, 12:21:31 pm »
Please, I am on the PENEPMA code and I would like to calculate the efficiency of the detector.

Is there information about the efficiency in the output file and how to extract them?

Hi Nabil,
I am not sure I understand the question.

Are you refering to the efficiency of a real detector or the efficiency of the simulated detector?  Or are you asking about the geometric efficiency of the simulated detector (subtended angle)?

I asked Xavier Llovet about your question and he responded with this which he asked me to post for him:

Quote
PENEPMA detectors are assumed to have an intrinsic efficiency of 100% (i.e. all photons crossing the detector surface are counted) and there's no need to worry about the geometric efficiency because X-ray intensities are given in units of photons/sr/electron, so the detector size is already accounted for.

Does this answer your question?
The only stupid question is the one not asked!