MCNP cone source definition

AI Thread Summary
Defining an SDEF cone source in MCNP involves ensuring all particles are generated at equal probability within the cone's angles. The user is encountering difficulties with the SI, SP, and SB distributions, particularly in visualizing the cone section of an isotropic source, which appears flat on a log plot. The provided SDEF parameters include a half angle of 25.8 degrees, with cosine values sampled between 0.9 and 1 to create the cone effect. There is uncertainty regarding the necessity of the -1 0 pairing in the SI card. Overall, the discussion emphasizes the need for clarity in defining the cone source parameters for accurate particle generation.
MadGander
Messages
28
Reaction score
1
TL;DR Summary
Need help defining a cone collimated source in MCNP
Hi folks,

I'm attempting to define an SDEF cone source but am getting tripped up in the SI/SP/SB distributions. I need all particles to be generated at angles within the cone, with all angles in the cone having equal probability. I feel like this should be relatively simple to define since the probability is 1 inside the cone and 0 outside. Any help is appreciated.
 
Engineering news on Phys.org
This document is helpful. The plot doesn't make it look like a cone section of an isotropic source, it looks flat, but that is because it is showing a log plot.
Code:
SDEF X=0 Y=0 Z=0 ERG=14.0 VEC= 1 0 0 DIR=D1
SI1 -1 0.90 1
SP1 0 0.0 1
That is with a half angle of 25.8 degrees (the cosine of which is 0.90, in the SI card). It's a clever use of the histogram up to a value feature, sampling the range of cosine values between 0.9 and 1 to make the cone. I don't know why there is a -1 0 pairing, this doesn't seem to be needed. It's probably worth sticking with the full example anyway.
 
Hello everyone, I am currently working on a burnup calculation for a fuel assembly with repeated geometric structures using MCNP6. I have defined two materials (Material 1 and Material 2) which are actually the same material but located in different positions. However, after running the calculation with the BURN card, I am encountering an issue where all burnup information(power fraction(Initial input is 1,but output file is 0), burnup, mass, etc.) for Material 2 is zero, while Material 1...

Similar threads

Back
Top