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

In summary, the MCNP output provides data on various parameters such as energy, stopping power, range, radiation, beta**2, density, rad/col, drange, dyield, and yield for different particles (n, mev). The data shows that as the energy of the particles increases, so does the stopping power, range, and radiation. However, the beta**2, density, rad/col, drange, dyield, and yield remain constant. The output also includes collision and total radiation values for each energy level.
  • #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: 71
Engineering news on Phys.org
  • #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: 80
  • #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: 79
  • #41
what is your input file ?
 
  • Informative
Likes emilmammadzada
  • #42
This
 

Attachments

  • spc.txt
    672 bytes · Views: 76
  • #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: 75
  • #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: 68
  • #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

  • mehbinascii.txt
    4.6 KB · Views: 86
  • Like
Likes Alex A
  • #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

  • Programming and Computer Science
Replies
8
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
6
Views
1K
Back
Top