Why do I always get 0 values in the radiation part? (MCNP5)

  • Thread starter Thread starter emilmammadzada
  • Start date Start date
  • Tags Tags
    Mcnp5 Radiation
Click For Summary
The discussion focuses on the issue of obtaining zero values in the radiation output of MCNP5 simulations. Users are puzzled by the consistent zero readings in the radiation column, despite other parameters showing valid data. Potential causes for this issue include incorrect input settings, lack of radiation sources, or misconfigured geometry in the simulation. Suggestions for troubleshooting involve reviewing the simulation setup and ensuring that the radiation transport is correctly defined. The conversation emphasizes the importance of verifying input parameters to resolve the zero output issue effectively.
  • #31
What options are you choosing? The file is written about half way through a lot of questions when I try it.
 
  • Like
Likes emilmammadzada
Engineering news on Phys.org
  • #32
mcnp5 doesn't have many options for me, gridconv.exe asks for input file name and then output file name. It asks if it's binary.
 

Attachments

  • Ekran görüntüsü 2022-12-11 174523.jpg
    Ekran görüntüsü 2022-12-11 174523.jpg
    16.8 KB · Views: 162
  • #33
In gridconv, at the question "Enter name of input file" you must put the mdata file (binary file) and not the mcnp file. To create mdata file you must run the input file (for example SPCr.txt in post 15) with mcnp and the mdata will be create (mdata or mdatb or mdatc or ...).
hope it's help.
 
  • Love
  • Informative
Likes Alex A and emilmammadzada
  • #34
PSRB191921 said:
In gridconv, at the question "Enter name of input file" you must put the mdata file (binary file) and not the mcnp file. To create mdata file you must run the input file (for example SPCr.txt in post 15) with mcnp and the mdata will be create (mdata or mdatb or mdatc or ...).
hope it's help.
Should mdata and gridconv be in the same folder?
 
  • #35
no gridconv in in the bin folder and mdata in the files folder
 
  • Informative
Likes emilmammadzada
  • #36
PSRB191921 said:
no gridconv in in the bin folder and mdata in the files folder
I got such error in separate folder.mdata and gridconv are in separate folders
 

Attachments

  • f.jpg
    f.jpg
    12 KB · Views: 129
  • #37
first you can run mcnp :
MCNP6 i=SPCr.txt o=SPCr.o mdata=meshbinary
second run gridconv
at the question "Enter name of input file" put "meshbinary"
at the question "what do you want to name your file" put "meshascii.txt"
Normally a file name meshascii.txt is created: it is the result !
 
  • Informative
Likes emilmammadzada
  • #38
PSRB191921 said:
first you can run mcnp :
MCNP6 i=SPCr.txt o=SPCr.o mdata=meshbinary
second run gridconv
at the question "Enter name of input file" put "meshbinary"
at the question "what do you want to name your file" put "meshascii.txt"
Normally a file name meshascii.txt is created: it is the result !
The application gave an error again
 

Attachments

  • d.jpg
    d.jpg
    11.9 KB · Views: 161
  • #39
you must bin in 32 bits try meshbin instead of meshbinary (too long)
 
  • Informative
Likes emilmammadzada
  • #40
it was the same again
 

Attachments

  • y.jpg
    y.jpg
    10.3 KB · Views: 152
  • #41
what is your input file ?
 
  • Informative
Likes emilmammadzada
  • #42
This
 

Attachments

  • #43
strange no problem for me
 
  • Skeptical
Likes emilmammadzada
  • #44
Could the method be different in mcnp5?
 
  • #45
and if you run
MCNP5 i=spc.txt o=spc.o
 
  • Like
Likes emilmammadzada
  • #46
Now it's been like this
 

Attachments

  • r.jpg
    r.jpg
    52.7 KB · Views: 141
  • #47
of course ! MCNP5 does not transport proton !
you must try with MCNPX or MCNP6 !
 
  • Sad
Likes emilmammadzada
  • #48
PSRB191921 said:
of course ! MCNP5 does not transport proton !
you must try with MCNPX or MCNP6 !
Unfortunately I don't have mcnp6 (
 
  • #49
so you can't. Only MCNPX or MCNP6 can transport protons
 
  • Like
Likes emilmammadzada
  • #50
PSRB191921 said:
so you can't. Only MCNPX or MCNP6 can transport protons
I was just starting the mcnp application. So I don't have much information about the application and I wanted to learn.(
 
  • #51
PSRB191921 said:
so you can't. Only MCNPX or MCNP6 can transport protons
I wrote mcnpx instead of mcnp5, something like this happened
 

Attachments

  • df.jpg
    df.jpg
    97.7 KB · Views: 126
  • #52
yes it will be ok because MCNPX transports proton
 
  • Like
Likes emilmammadzada
  • #53
PSRB191921 said:
yes it will be ok because MCNPX transports proton
Now which app is mine mcnp5 or mcnpx?))
 
  • #54
both
 
  • Informative
Likes emilmammadzada
  • #55
PSRB191921 said:
both
I wish I could solve this gridconv problem too, it would be great for me
 
  • #56
I think that has been solved. Before you were putting your input file into gridconv, not the mdata file produced by mcnpx. It is fine to put the mdata file in the same directory as gridconv.exe but if the exe is in your bin directory with mcnpx.exe it should work. You must be in the directory where the mdata file is before you run gridconv.

Edit,
At the point gridconv asks 'Do you wish to continue?' you can hit enter for 'no' because at that point the text file has been created. Then you can hit return again to exit the program.
 
  • Like
  • Informative
Likes emilmammadzada and PSRB191921
  • #57
Alex A said:
I think that has been solved. Before you were putting your input file into gridconv, not the mdata file produced by mcnpx. It is fine to put the mdata file in the same directory as gridconv.exe but if the exe is in your bin directory with mcnpx.exe it should work. You must be in the directory where the mdata file is before you run gridconv.

Edit,
At the point gridconv asks 'Do you wish to continue?' you can hit enter for 'no' because at that point the text file has been created. Then you can hit return again to exit the program.
yes the app worked correctly.
 

Attachments

  • #58
emilmammadzada said:
yes the app worked correctly.
Thank you very much for helping me on these matters.
 
  • #59
PSRB191921 said:
both
Thank you very much for helping me on these matters.
 
  • Like
Likes PSRB191921 and Alex A

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
Replies
6
Views
2K