New Reply

how to figure out of MCNP code writing?

 
Share Thread Thread Tools
Feb28-13, 06:35 AM   #1
 

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
PhysOrg
science news on PhysOrg.com

>> 'Whodunnit' of Irish potato famine solved
>> The mammoth's lament: Study shows how cosmic impact sparked devastating climate change
>> Curiosity Mars rover drills second rock target
Mar1-13, 12:57 AM   #2
 
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?
 
Mar5-13, 03:08 AM   #3
 
Quote by Stephan_doc View Post
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.?
 
May7-13, 12:55 PM   #4
 

how to figure out of MCNP code writing?


Quote by ms.shafeie View Post
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
 
New Reply
Thread Tools


Similar Threads for: how to figure out of MCNP code writing?
Thread Forum Replies
MCNP code Nuclear Engineering 0
simple code writing? Math & Science Software 0
Help with writing a matlab code Math & Science Software 3
FMn card in mcnp code Nuclear Engineering 2
Writing pseudo-code Programming & Comp Sci 2