How to make 241Am-Be Source? and what are the things should change in source_newgen.f file?

Dear Experts
How to create a 241Am-Be Source in source_newgen.f ?

Dear Brijesh,

the recommended way to use the AmBe neutron spectrum obtained from literature, and sample from it using the sample_histogram_momentum_energy() or sample_spectrum_momentum_energy() function depending on the format of the obtained spectrum file.

Cheers,
David

1 Like

Dear Expert
i have done all the parts like make a .txt file from literature and also change in Source_newgen.f file.
But when i was compile its shows this
Error compiling
Error: compiling file: source_newgen.f
No object generated

Dear Brijesh,

please upload your source routine to be able to have a look.

Cheers,
David

source_newgen.f (20.8 KB)
SourceAm-Be.inp (1.2 KB)
SourceAm-Be.flair (2.0 KB)
Am-Be.txt (1.1 KB)
Dear David,
Please find my files and Could not able to generate the spectrum of Am-Be source

Dear Brijesh,

here are the issues with your simulation:

  • You need to set the primary particles to neutron and their maximum energy on the BEAM card (The particle type assignment in the source routine is commented out.)
  • in the USRBDX scoring, the two regions don’t have a common surface, so the results will always be zero.
  • In the source routine you probably want spectrum sampling instead of discrete energy sampling.
  • Also you probably want the isotropic direction sampling enabled.

Cheers,
David

1 Like

Dear @horvathd
I followed all the steps you provided, but when I draw a spherical (SPH) geometry, I obtain a spectrum. However, when I change the geometry to a rectangular parallel pipe (RPP), I do not get a spectrum from the Am-Be source, and I do not understand why. Could you please help me identify any errors in these files?
source_newgen.f (20.8 KB)
SOURCE IN AIR.inp (1.5 KB)
SOURCE IN AIR.flair (2.4 KB)
Am-Be.txt (1.1 KB)

Dear Brijesh,

you are missing the SOURCE card.

Cheers,
David

Dear @horvathd
Thanks for the reply
After putting the Source Card i get a Spectrum for USRTRACK but i didnt get a Spectrum for USRBDX its Showning me a Striaght line.

Hi Brijesh,

as I mentioned before, the two regions used in a USRBDX scoring must have a common surface.

Cheers,
David

1 Like