What Are the Different Methods to Define a Plate in MCNP Code?

AI Thread Summary
The discussion focuses on defining a specific plane in MCNP code using different methods. The first method, "15 p 3 2 0 6," represents a plane surface with coefficients A=3, B=2, C=0, and D=6, corresponding to the equation of a plane. The second method, "15 10 0 5 8.66 0 10 0 1," lacks a keyword to indicate the type of surface and may require clarification or correction to properly define a plane. The importance of obtaining the coefficients A, B, C, and D is highlighted, as they are essential for accurate surface representation. Overall, understanding the correct syntax and definitions is crucial for effective MCNP modeling.
ms.shafeie
Messages
17
Reaction score
0
I have a question about diffrence between ways of defining a certain plate like (3^1/2)x+y+17.3=0 to MCNP code .for example I know we can define it to MCNP with 15 p 3 2 0 6 but I couldn't understand this method 15 10 0 5 8.66 0 10 0 1
 
Engineering news on Phys.org
Do you use general plane with equation Ax+By+Cz+D=0, how can obtain A=3, B=2, C=0, D=6 ? What 15 mean, perhaps surface number?
 
Stephan_doc said:
Do you use general plane with equation Ax+By+Cz+D=0, how can obtain A=3, B=2, C=0, D=6 ? What 15 mean, perhaps surface number?

it's just an imaginary surface .for example a part of a cube or everything like this.and 15 is number of surface. is the way of obtaining A, B, C, D important.?
 
ms.shafeie said:
I have a question about diffrence between ways of defining a certain plate like (3^1/2)x+y+17.3=0 to MCNP code .for example I know we can define it to MCNP with 15 p 3 2 0 6 but I couldn't understand this method 15 10 0 5 8.66 0 10 0 1

It's a little hard without the context.

The first one

15 p 3 2 0 6

looks like a plane surface, called surface 15, and defined by Ax + By + Cz – D = 0. So this is A=3, B=2, C=0, and D=6. That is, this corresponds to

3A + 2Y - 6 = 0

But the second one

15 10 0 5 8.66 0 10 0 1

seems to be missing something. If it's supposed to be a surface it needs a keyword to indicate the kind of surface. Is there maybe a number and the letters xyzp missing? If it was something like this

20 xyzp 15 10 0 5 8.66 0 10 0 1

that would be a plane, called surface 20, through the following three points.

(15,10,0)
(5, 8.66, 0)
(10,0,1)

Does this help?
Dan
 
Hello, I'm currently trying to compare theoretical results with an MCNP simulation. I'm using two discrete sets of data, intensity (probability) and linear attenuation coefficient, both functions of energy, to produce an attenuated energy spectrum after x-rays have passed through a thin layer of lead. I've been running through the calculations and I'm getting a higher average attenuated energy (~74 keV) than initial average energy (~33 keV). My guess is I'm doing something wrong somewhere...
Back
Top