Science topic
MCNP - Science topic
Explore the latest questions and answers in MCNP, and find MCNP experts.
Questions related to MCNP
Hello everyone,
I am facing difficulties calculating the dose in a simulation of human tibia brachytherapy, which includes a defect (tumor, temporarily filled with water), trabecular bone, and cortical bone. We need to create a dose map, and the challenge lies in accounting for the dose passing through different materials.
PROBLEM: Initially, we used the *FMESH4 tally with the De/Df, but since they are different materials, MCNP does not accept the overlap of different De/Dfs. In the second attempt, I used the FMESH4 tally with the card Fm -1 0 -5 -6, which is applicable only for photons, and I couldn’t use it for electrons. I would like to better understand the correct way to configure the dose calculation in the region of interest (tibia). Additionally, I have not found a clear reference for how to use the F4(FMESH4) card with the :e,p specification to correctly calculate the dose with the Fm4 card. As a third attempt, I tried using the TMESH type 3, and I was able to obtain the dose, but I still face the issue of not considering the different materials. The TMESH calculates the dose in MeV/cm³, but it does not account for the influence of tissue densities, which directly affects the dose response (comparing the results with +F6, *F8, and TMESH, the results from TMESH are not compatible with any of them).
Could someone help me understand the correct configuration to obtain the expected results for the deposited dose in MCNP, considering both photon and electron contributions?
Below is the geometry (blocks 1 and 2):
c BLOCO 1----------------------------------------------------------------------
c Tibia -----------------------------------------------------------------------
c Osso esquelético
10 3 -1.85 -100 300 imp:p=1 imp:e=1
c Osso cortical
20 2 -1.85 100 300 -200 imp:p=1 imp:e=1
c Defeito
30 1 -0.998 -300 imp:p=1 imp:e=1
c
c Universo vazio
999 0 200 imp:p=0 imp:e=0
c -----------------------------------------------------------------------------
c BLOCO 2 ---------------------------------------------------------------------
c Superfícies
c Osso esquelético
100 RCC 0 0 0 40 0 0 3.2 $ c=(0,0,0) h=40 cm //x r=3.2 cm
c Osso cortical
200 RCC 0 0 0 40 0 0 3.5 $ c=(0,0,0) h=40 cm //x r=3.5 cm
c Defeito quadrado 1 cm³
300 RPP 19.5 20.5 2.4 3.4 -0.5 0.5
c -----------------------------------------------------------------------------
I would like to calculate the dose in a mesh with the following specifications:
- x: 0 to 40 with 800 divisions
- y: -3.5 to 3.5 with 140 divisions
- z: -0.05 to 0.05 with 1 division
Is it possible to achieve this by combining flux tally and reaction rate cards?
I am getting this error in an example problem I found that worked perfectly fine yesterday "bad trouble in subroutine unique of mcnp". I use this command "mcnp6 inp=exampleYay.txt ip" which worked yesterday but now no longer works. What happened?
I am not 100% knowledgeable on MCNP so forgive me if I have made an obvious error. But I keep getting the same error as follows
"fatal error. there is no f card corresponding to this card." and I am not sure how to fix?
I simulate a reactor in MCNP. However I want to know the spectrum (energy) and flux in a specific surface (or cell) away from the nucleus (source). I thought using F2 tally, but I do not want the normilize value. I want the measured integral value. How do I do this?
I am trying to calculate power density in the reactor core using mesh tally. I have used the FM card & got the results. Instead of explicitly setting material number on FM card (61, in my case), I want MCNP to track the material itself based upon the mesh being sampled! Is that possible somehow?
snippet of my input file is,
C TALLY FOR POWER DENSITY
FMESH14:N GEOM=CYL ORIGIN=0 0 -351.818
IMESH=6.5 13 19 25 39 50 60 70.5 83.5 90
IINTS= 1 1 1 1 1 1 1 1 1 1
JMESH=7.5 25.5 43.5 61.5 79.5 97.5 115.5 133.5 151.5 169.5 187.5
JINTS= 1 1 1 1 1 1 1 1 1 1 1
KMESH=1
KINTS=1
AXS=0 0 1
VEC=1 0 0
FM14 (1 61 -6)
Hello,
Does anyone know if the CAD models for ICRP 143 Pediatric models are available for download? I have the MCNP voxel format but would like to get the CAD models.
Regards,
Kevin Capello
We have 1 gm SrSO4 of density 3.7 g/cc. It has 0.174 gm S32 in it. It is irradiated in 1.6E11 flux in KAMINI reactor. What will be the yield of P32 in Ci/g?
Reaction: S32(n,p)P32.
This is the statement of the problem.
Now we have the neutron flux spectrum of the irradiation location.
Our doubt is how to incorporate FM4 card to calculate the reaction rate i.e N*Sigma*Phi.
FM4 card uses a contant C. what should be this C for our calculation?
Dear all.
I need to describe an annular lattice in MCNP. I found the way to create a hexagonal lattice or rectangular lattice. But it seems that there is no way for annular lattice. Please see the picture (attached file). It is an example of a nuclear reactor core, there are thousands of cells and I could not write one by one. Do you have any example of this geometry or have any idea to do that?
I simulated a calibration laboratory using MCNP code. The source in the irradiator is Co-60, emitting two gamma rays (1.17 and 1.33 MeV) through decay. The output provided me with the values of dose equivalent ambient at the calibration points. Now, I need to determine the dose equivalent ambient rate with the corrected activity of my source. I followed a similar methodology used for Cs-137, which I successfully validated with experimental data from that laboratory. However, for Co-60, it is not yielding the expected results. I have not yet identified the issue with my analysis.
To obtain H*(10), the chosen tally was F5, and the conversion factors from ICRP 74 were applied using DE/DF on the data card. The input yields H(10) per NPS.
Attached are photos of my methodology to aid in understanding my question.
The methodology of the work, whose photo is attached, was also tested; however, it did not yield results that could be validated by experimental data.
(This work is referenced with the attached photo of its cover)
+1
is there any MCNP code for eye phantom?
Hello.
I defined my material in MCNP, but I want to add an element in it. My material is a human tissue and I want to add the element boron-10, more precisaly 30ppm of boron-10 in the material. How do I do this?
I apreciate if someone can help me
Hello.
I have a souce of neutrons and my F4 tally value (non-normalized) in a cell is 10^3/(cm^2). I want to increase the value, for exemple 10^9 /(cm^2), without modifying the area. I used FM card, but I don't want to just multiply by a scalar value. How can I increase the flux (F4 tally)?
If anyone can help, I appreciate it
I used mesh tally in my program and because of that, the random number stride warning is shown during executing input file in MCNP
Dear experts,
Iam using MCNP (version 6.1) to extract neutron self-shielding factors for slab-shaped geometries and a fast neutron spectrum as input (energy range from 60 keV to 20 MeV). In the simulations my samples are irradiated by a parallel beam of neutrons, with the same cross section as the sample front surface, so its completely irradiated.
The self-shielding factor should be obtained by dividing the result of the F4 tally in my sample with the material (density) inside by the F4 tally result with void (no material inside). However, I have realised that for small thicknesses (e.g. at 1 mm) the resulting self-shielding factor would be slightly above 1 (I think that should not be possible). For me it seems like this might come from down-scattering events, which are still in the considered tally energy bin range (60 keV to 20 MeV). In other publications I have never seen factors above 1 and they partly used even much smaller samples.
Does anyone have an idea or hint what I might do wrong in my simulations?
Thanks in advance.
Kind regards,
Niklas
I do the simulation on MCNP on my computer. But the computer restarts itself, and the simulation immediately stops. Can I continue the simulation without starting from the beginning?
If the simulation on MCNP can continue, how is the command that I should type on the command prompt?
I know that DPA is calculated using an F4 tally and FM C m 444. My question is, what happens when I add an SD4 1 card. Usually, F4 tallies are /cm^3, and the SD card multiplies it by volume. F6 tallies are MeV/g and the SD card makes it MeV.
I am currently working on a project that includes pencil geometry Cs-137 sources and lattice geometry. I try to obtain the voxel dose by using the f6 tally and my simulation was successful but my dose distribution is not looking homogeneous. Geometry and source to surface distance are symmetrically created. So, I should have homogeneous distributions. I used this source definition below. Is there anything wrong or can you advise me of a physics card in order to get more homogeneous dose distributions?
sdef pos=d4 par=2 rad=d1 ext=d2 axs=0 1 0 erg=0.662
c
c RADIAL DISTRIBUTION OF THE SOURCE
si1 0 0.5375
sp1 -21 1
c
c VERTICAL DISTRIBUTION OF THE SOURCE
si2 -4.40 4.40
sp2 -21 0
c
si4 L 7.2 -8.98825 0
7.2 0.00275 0
7.2 8.98925 0
sp4 D 1 1 1
phys:p 100 0 0 0 0 J 0
Greetings,
I am looking for some guidance on how to implement and interpret the Maxwellian distribution in MCNP. As of today, I have specified my data card as follow:
MODE N
SDEF POS=0 0 0 PAR=1
SP1 -2 $For Maxwellian spectrum
It is my understanding, that implementing the "SP1 -2" step will now produce a Maxwellian distribution, but I am not sure I have implemented this properly. If I remove that line from my input deck, my output does not change.
Am I missing something? Does the Maxwellian distribution show at an specific point in my output?
Thanks.
I have simulated a critical system using MCNP. The keff calculated for the critical system using kcode is 0.995. When a control rod is inserted its worth is about 10 mk. The keff using kcode is ~0.985. I was trying to determine flux using F4 tally in incore and excore detector locations and using sdef card. In presence of external source for a configuration which is 10 mk subcritical, the detector fluxes obtained experimentally and that using MCNP does not match. Please suggest the best way to find solution
I want to simulate plasma focus devices with all geometry and surface, with specific filling gas and predict x-ray spectrum.
i want to measure this parameter for estimate x-ray radiation shielding.
please help me for this issue by attach similar code.
i need practice to understand more about this problem.
I am trying to determine the most appropriate way to define a beam source of a given intensity. Normally one define their beam intensity via an FM card scaling to power but I am planning to use my flux spectra (obtained by an E card) for depletion analysis in ORIGEN and I'm not sure the FM will affect the spectra results.
Does anyone know whether it's possible to display the material number (or other characteristics) corresponding to a mesh point as a separate column when using the FMESH card?
Cheers
Carlo
Reaction 4 specifies the emission of a neutron (i.e. MT=4 for (z,n)).
How ever MCNP has its own definitions for the FM reaction numbers where 4 means "Heating".
How does one specify the MT definition rather than the FM definition when using a tally multiplier like "F4:p" with "FM4 -1 <mat number> 4"
MCNP considers the material particles as in a random arrangment, I need to get the advantage of the crystal property of (AL2O3) sapphire as a neutron filter. I could not figure out how to add this cross scection of sapphire to MCNP and use it. If somebody could help please.
I am currently working on a epoxy based material and I would like to simulate by using MCNPX in order to determine material properties. Is there a way to use my homogeneous mixture in MCNP? I know that I can simply enter the fractions of isotopes but this materials are note chemically bounded. They are seperate materials and physically mixed. I want to enter in my input as two different materials and then use fractions on cell cards. Is there a way to do that? I searched a lot but could not find any sign.
Hi,
I try to install an older version of MCNP on a current OS and find a lot of critical errors. Is there someone around having done it recently and with success? Would it be possible to share a procedure showing the different missing dependencies to be added and modifications of the installation commands linked to the added libs?
Thanks in advance,
Stefan
Can anyone give an advice about what is the best method to simulate a head phantom by MCNP? I mean, is there any reference to use?
Simple geometry was made having concentric cylinders bounded by a square region. The geometry has a reflective boundary. The source was defined at one point in the boundary and when it had been run for criticality calculation, it resulted in an error messaging "the entire source was rejected". I tried to do the simulation by placing the source closer but it still results in an error. Any help will be appreciated.
I am wondering if there is a DICOM to MCNP converter to import CT images into MCNP input decks? I am aware of Scan2MCNP but it seems to have been discontinued for some reason. If there is no such converter that can readily be obtained then I am wondering if there is anybody out there with experience in such conversions who could give me some useful pointers to relevant literature or software packages?
Thanks!
Regards,
Ilker.
I have been trying to get this to run. It is a simple shielding experiment, with a neutron point source, concrete slab and a sphere as the detector. I have tried everything I know to fix this, but my limited knowledge of MCNP is making it hard to debug the code.
Dear community,
I want to define a geometry in MCNP with several levels of universes and fills, say:
c cells
10 100 -1 -1 u=1
11 0 1 u=1
c
30 0 -2 fill=1 u=2
31 0 2 u=2
c
40 0 -3 fill=2
41 0 3
Universe 1 consists of cells 10 and 11 and fills cell 30. Cells 30 and 31 make up universe 2 and fill cell 40. (I have not tested the above piece of code for errors but I hope you got the idea.)
Now I want to define an identical geometry where the material in cell 10 is changed from 100 to 200. Is there a way to do this?
"20 like 10 but mat=200 u=3" is possible, of course. However, then the entire remaining code must be copied (with adapted cell and universe numbers) in order to make up new universes. Is there something like "50 like 40 but ***mat of cell 10 within cell 30 within cell 40***=200"?
An alternative solution could be to define the material of 10 as a distribution depending on which higher-level cell cell 10 will be in (like mat=Fcel D1; SI1 L 50 40; SP1 100 200). But I do not see a way to access the cell numbers of higher level either.
Dear Experts,
Does anyone know how to "invoke" C(n,a)Be, C(n,a)Be, C(n,d)Be, and C(n,n') reaction in mcnp? In my simulation, alpha particles and protons are hardly produced when neutron interacts with carbon. I have included the physics option phys:n 6j 2 but I can't seem to understand why alpha particles are not produced from the above reaction using 14.1 MeV neurons.
Thanks
Hello everyone!
I am looking for a program to convert DICOM images to MCNP to import CT images into MCNP input file?
Please let me know if you have a program for this topic.
Any recommendation would be appreciated
Regards
In the SDEF card there are several types of dispersions, but for the source energy, considering the existing databases, which of the following examples is the best way to put the source energy?
The first image is the published data reference of a C0-60 source, the following images are examples that I found in some manuals on how to put the source energies in MeV, being MCNPX.
Dear Colleagues,
Could you please share the input spectrum from PuBe neutron source or direct me where to find one. I lost the one I had while moving - Attached is the plot of PuBe.
Thanks,
Modeste
I am using MCNP5 to calculate the dose in a Brachytherapy source with dose counter * F8, but I do not have the current activity of the source. How can I calculate the dose rate for this?
Thanks in advance
How can I calculate the efficiencey of HPGe detector by MCNP ?
I use the MCNP code to calculate the power density of a single fuel block of the GT-MHR reactor, and I got about 20 Watt/cc with some pre-determined condition.
I found that the average power density for the 600 MWth GT-MHR is 33 Watt/cc and the calculated temperature for the TRISO fuel kernel is ~1000 degrees C.
Can I just extrapolate the temperature like this one?
33 Watt/cc ~ 1000 degree C
so for 20 Watt/cc the temperature will be;
(20/33)*1000 degrees C = 606 degrees C?
Thank you for reading my question.
I want to calculate "energy averaged" one group cross-section by using MCNP for substituting ORIGEN-2 LIB(just one energy group cross-section).
And I would use σ=R/(N*Φ).
σ is the averaged cross section (barn) (This is what I want to know)
R is the reaction rate (/cm^3) (maybe calculated by F14 tally and FM14)
N is the target atom density (maybe atom/barn-cm)
Φ is energy-integrated neutron flux (maybe calculated by F4 tally)
So, if I want to calculate 59Co (n,r) 60Co averaged cross-section,
what FM is correct, FM4 (1.0 27059 102), FM4 (c 27059 102) or etc? ; c is the atomic density(atom/barn-cm) of Co-59 of M1.
Under text is simplified data card of MCNP input text of my research.
I want to know the energy averaged cross-section of M1's Co-59 activation reaction.
C M1 is SUS-304
M1 24000.50c -0.19
25055.66c -0.02
26000.55c -0.694
28000.50c -0.095
27059.66c -0.001
C Material for Tallying
M27059 27059.66c -1
F4:n 1
FC4 Neutron Flux of cell 1 Calc.
F14:n 1
FC14 Co-59 Activation Reaction Rate of cell 1 Calc.
FM14 (1.0 27059 102) or (c 27059 102) or (1.0 1 102) or (c 1 102) or etc...
It may be cumbersome, but it would be very helpful if you answered.
hi. I'm trying to simulate a pretty simple geometry including nanoparticles by mcnp. my whole cod is as below:1
project nano
C Cell cards
1 2 -1 -7 +8 +9 -10 -11 +12 fill=1
2 1 -0.00125 -1 +2 -3 +4 -5 +6 #1
3 2 -1 14 -15 16 -17 fill=2 lat=1 u=1
4 3 -19.3 -13 u=2
5 2 -1 13 u=2
6 0 1:-2:3:-4:+5:-6
C Surface cards
1 px 5
2 px -5
3 py 5
4 py -5
5 pz 5
6 pz -5
7 px 0.5
8 px -0.5
9 py 1.5
10 py 2.5
11 pz 0.5
12 pz -0.5
13 sy 2 7E-6
14 pz -7E-6
15 pz 7E-6
16 px -7E-6
17 px 7E-6
C DATA cards
mode e
IMP:e 1 1 1 1 1 0
SDEF pos=0.1 0.1 0.1 ERG=d1 PAR=3 CELL=2
SI1 L 0.36 0.71 0.81
SP1 0.3 0.49 0.2
M1 6012 -0.000150
7014 -0.784431
8016 -0.210748
18000 -0.004671
M2 1001 2
8016 1
M3 79197 1
*f8:e 1
NPS 1000000
C END of data cards
it is about a tumor ( cell 1) that is filled by gold nano-particles. nano-particles have a sphere shape with a radius equal to 70 nanometers. in order to fill the tumor by nano-particles I created a cube with each side equal to 150 nanometers ( cell 3 ) and I filled it by nano-spheres ( cell 4 & 5). And at the end cell, 1 ( the tumor ) is a lattice of cell 3 ( which includes nano-spheres ).
the problem is when I run the code, dose tally at cell 1 is always zero! and "track entering" and "population" in every cell except 2 and 5 are zero too! In another word, no particle enters cells 1 & 3 and 4! specifically, cell 1 is more important because I want to calculate dose in tumor. I can't see where is my mistake, so please let me know if you noticed anything.
My institute is trying to purchase a package of MCNP6 from RSICC.
We need to know the approximate price of the package.
Can anyone help in this matter?
Does anyone have a fully modeled proton therapy treatment unit available?
It can be in either Geant4 (G4/Topas/Gate) or MCNP.
I am a regular user of MCNP for detector response and criticality calculations. I am wondering how to correctly approach development of a source term for an alpha beam incident on various targets using MCNPX or MCNP62.
I calculated reaction rate of S-32 using MCNP f4 tally with fm card. I want to normalize my result to dps/atom/source to suit experimental result. Experimental documents reported Source strength and mass g/cm3 of S-33.
Several simulation studies show that the MCNP code fails when dealing with detailed physics at nanometric level (e.g., when modeling B4C nanoparticles in neutron shielding materials).
It seems that nano structure has a different cross section to macro structure particle.
what is defined for MCNP is macro-structure x-section?
How nano-particles could be defined at MCNPX?
Hi,
I'm not sure how this would be possible so I'd like some thoughts from the community.
Is there a way to put several materials into the same cell in MCNP? For example, I have 3 compounds (uniformly mixed) and I want to see which compound an electron interacts with. Instead of just putting in overall mass fraction, is there a method to tell MCNP to uniformly consider those compounds? Sort of like a nested material composition card.
M1 = .01*M2+.95*M3+.04*M4
Where M2, M3, M4 have their own mass fraction cards.
Thanks.
Hi dear
I want to use MICH2 for parallel computing of MCNP. I Try it nut MPIEXEC run multi-time instead of running parallel?
Can anyone help me?
my command is here:
mpiexec -n 2 -noprompt mcnpx.exe i=Sp1w_05.TXT
I am caunting number of particle that transfer energy to a certain cell more than 100 keV for a detector. I can do it by using number of entering particles to cell and pulse height tally F8 (probability of transferring energy more than 100 keV).
My problem is, in realistic case, more than one particle can enter to cell at the same time (lets say each energy 70 keV) and they can transfer energy totally more than 100 keV. If i count them one by one (what MCNP do), no signal will be generated. But if i count them together i will get a signal.
So, is there any way to count them together if many particle belongs to same primary and they enter to detection cell at the same time.
Thank you for your time.
Regards,
In MCNP 6.1,
I usually use the "problem summary - neutron creation/loss data" from output file without using tally.
Is there any way to get fsd/fom on neutron creation/loss data without using tally.
I run MC simulations with MCNP6, of the imaging process in CyberKnife radiosurgery system. I want to score the scattered photon fluence in a region simulating my detector that comes from a tube that produces 120kVp.
My question is how to score in a different bin the scattered fluence that comes from different cells of interest.
Hello all.
I'm using MCNP6 to get detector response with F8 tally.
In some documents, it is mentioned to use WGT entry in SDEF card to scale source intensity and to get correct results for detector response, but I can't understand the meaning of WGT entry.
I tested to get particle flux inside a detector from point source with WGT=1 and WGT=1000, and the flux for WGT=1000 case became almost same value with the flux multiplied by 1000 with WGT=1.
I think the meaning of flux number with WGT=1 is partcles/cm2/s oper 1-source. Is it correct ?
What is the meaning of WGT entry and how to use it ??
Many thanks.
Hello
there is a p-type of HpGe detectors, this kind is characterized by the litium dead layer wich existe in the outer side of the detector cristal and it is increased with the passage of time ( dead layer= 0,7 mm if the detector is new ).
On the other hand, the n-ype of these detectors is characterized by a very thin dead layer ( in order of 10E-4 mm ) in the outer side and gross daed layer in the detector cavity.
Flowing our monte simulation of the n-type HpGE using MCNP gives a clair contrast with the expiremental results. where :
MCNP effeciency /Experemental effeciency <1 .
The insertion of the a dead layer ( dead layer depth= 0,08 mm) in the simulation improve the results especially in the <100 keV energy range.
My quation is, do what i did is correct ? and this value of the dead layer is reasonable after 20 years of functioning ? especially that in the leterature, the study of the dead layer of the n-type detector is rare and it is limited for the dead layer existing in the inere part (the cavity).
Regards
MCNP
Source Definition
activity
gamma source
I guess we need the optical part of GATE. But how do I modify / set the physics to simulate this effect (because geant4 seems to have it already)?
The F6 tally is an energy deposition tally over the cell, with units of MeV/g. I am trying to find the energy deposition of just the cell in MeV. I am trying to multiply the mass of the particle to every tally to get the units in MeV. What is the syntax of an FMn Multiplier Tally?
Would it be easier to use *f8 tally? The manual is not clear on how the calculations of the *f8 tally.
I have been running an MCNP code which I believe to be sending a beam of neutrons through a slab of graphite to a point tally on the other side. Every time I run the code it says that the first ten neutrons got 'lost' and so it doesn't finish running the model. Any ideas about the cause and potential solutions would be greatly appreciated. I attached the input file if that is helpful in determining the problem.
How do I perform a simulation build up factor for spectrum x-ray by MCNP?
Is it any way to calculate the keff in the system with the external neutron source? I only found such thing as MCNP Net Multiplication Factor (page 215 of MCNP 5 Vol. i Manual).
KCODE only normalized to power (with 1/keff) to obtain tally absolute value. I'm not sure if I use SDEF instead of KSRC in KCODE problem, do I normalize tally with source strength and the 1/keff factor? Or only the source strength?
Hi all,
So, I am presently working on running an MCNP dosimetry input file. First, I used Matlab to create a 3D matrix(voxel) from a .dcm dicom image.
Now i am looking to convert this matrix to an MCNP input file by assigning materials to the CT numbers i have from my Matlab file.
How do I go about this
I'm doing burnup calculation on fuel pins of different sizes, mainly a full size, 1/4 and 1/8. My full size and 1/4 models seem to be working fine, but my 1/8 model is giving me a tough time. I get the image of the 1/8 model in VISED but also a message stating that my "material numbers have no m cards" and obviously MCNP won't run without material cards. How can I resolve this?
I have a mono-energetic neutron source. The neutrons hit a scintillator. Is it possible to do a tally (F4 maybe) of the energy of protons that get hit in the scintillator? My notes on MCNP include only neutron/photon/electrons in the tallies
I am trying to simulate the reaction that happen in a cyclotron, but I have problems to find the number of reaction for (proton, alfa). (R)
F4:H 4 $ cell 4
FM4 -1.538 R -107
In MCNP6 I found the number of reaction for neutros or photons, but not for protons. Can you help me?
Thanks.
I am using the F2 tally to find the flux through a surface, and then binning the results. I am then plotting the data on Matlab. Is there a way to scale the data logarithmically in MCNP instead of using loglog function in Matlab?
Is the F2 tally outputting the average flux of particles through a surface?
It's known that MCNP starts processing banked particles once the main track terminates starting from the last stored particle. ptrac output file lists details about the next event along the particle track. Is there a way to know the starting location of a banked particle?!
How can I calculate the thermal spectrum & the neutron spectrum effect on neutron activation using MCNP, if i have neutron monoenergetic point sources?
I've been trying for a while to get a lattice-cell-source running with an ordinary cell-source in MCNP. I can get them both working separately but when I try and combine them I get the following fatal error: distribution 1 for cel is the wrong kind
My source code is as follows (apologies for it not displaying with the correct formatting):
SDEF PAR=SF
CEL=D9 $ Fatal error. distribution 1 for cel is the wrong kind
X D11
Y D12
Z D13
c
DS9 S 4 10
DS11 S 1 14
DS12 S 2 15
DS13 S 3 16
c
c ---- Lattice cell source-----
SI4 L (3<2[-5:5 -5:5 -10:10]<5)
SP4 1 2540r
SI1 -0.12 0.12
SP1 0 1
SI2 -0.12 0.12
SP2 0 1
SI3 -0.12 0.12
SP3 0 1
c
c ---- Separate cell source ---
SI10 L 25
SP10 1
SI14 22.8 27.2
SP14 0 1
SI15 -2.2 2.2
SP15 0 1
SI16 -2.2 2.2
SP16 0 1
Do any of you know how to declare an embedded source along with an ordinary cell source? Any advice appreciated.