Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mcnp error

  1. Feb 22, 2012 #1

    njm

    User Avatar

    Hi
    I have problems in mcnp input of voxels. I define a voxel arrays and their universes,for example universe1 is defined as:
    2001 43 -1.030 -70 u=1 vol=6.795352
    but in runing I have below error:
    fatal error.the surface type is not recognized: -1.03
    While 1.03 is the density of material43!!!!

    Can anyone help me?
     
  2. jcsd
  3. Feb 22, 2012 #2

    QuantumPion

    User Avatar
    Science Advisor
    Gold Member

    It sounds like you are trying to define a cell card in the surfaces section. Do you have an extra line break somewhere?
     
  4. Feb 24, 2012 #3

    njm

    User Avatar

    oh yes!
    thank you very much
     
  5. Feb 24, 2012 #4

    njm

    User Avatar

    Now I have this error:
    zero lattice element hit.
    what is it?!
    How can I solved it?!
     
    Last edited: Feb 25, 2012
  6. Feb 27, 2012 #5
  7. Feb 27, 2012 #6

    njm

    User Avatar

    Thanks you so much for your help.
     
  8. Jan 7, 2013 #7
    I am having the similar problems while running my script. I get this error

    bad trouble in subroutine newcel of mcrun
    source particle no. 2804404
    starting random number = 132729341823053
    zero lattice element hit.
    run terminated because of bad trouble.

    I suspect it has to do with something the code says before it starts that surface 42 appears more than once in a chain.
    Does anyone have an idea of what it could be? And also the link to that primer doesn't work does anyone have a new link to it?
     
  9. May 14, 2013 #8
    Hi,
    I am trying to do similar , but first I must learn basic stuff...
    When I try to run code (down below) i get fatal error cell 2 have no fill???

    1 1 -1 -1 fill=1 imp:n=1
    2 1 -1 -2 lat=1 u=1 imp:n=1
    3 0 1 imp:n=0

    1 box -5 -5 -10 10 0 0 0 10 0 0 0 20
    c 1 REC 0 0 0 0 0 70 20 0 0 0 10 0
    2 box -5 -5 -10 1 0 0 0 1 0 0 0 1
    c box -1 -1 -1 1 0 0 0 1 0 0 0 1

    m1 94239.66c 1.0
    c tally
    f4:n 1 (2<2[0:9 0:9 0:19])
    sdef pos .1 .1 .1
    print

    Any tips???

    Cheers..
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Mcnp error
Loading...