## how to figure out of MCNP code writing?

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
 PhysOrg.com science news on PhysOrg.com >> New language discovery reveals linguistic insights>> US official: Solar plane to help ground energy use (Update)>> Four microphones, computer algorithm enough to produce 3-D model of simple, convex room
 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?

 Quote by Stephan_doc 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.?

## how to figure out of MCNP code writing?

 Quote by ms.shafeie 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

 Similar discussions for: how to figure out of MCNP code writing? Thread Forum Replies Nuclear Engineering 0 Math & Science Software 0 Math & Science Software 3 Nuclear Engineering 2 Programming & Comp Sci 2