- #1
19matthew89
- 47
- 12
- TL;DR Summary
- SSW/SSR works with SDEF run but not with KCODE run
Hi everyone,
I am trying to use SSW to write a surface source starting from a criticality calculation (i.e. a KCODE run). I am trying to write all the particles entering a cylindrical cell.
The code seems running smoothly and at last I end up having a file "output_ssw.w" which I expect to be the source code.
However, when I run the code trying to use that file as input file with SSR, launching the code as
I keep on receiving this error:
If instead I try to run a simple run with an SDEF source (a sphere emitting neutrons inwards), no KCODE, and I use SSW to write the surface file "test.w", then it works and if I then try to emply it in a SSR run, the simulation works smoothly.
Do you know where the issue could be? Are SSW/SSR only suitable to write and read surface source from an SDEF simulation?
Thanks in advance
I am trying to use SSW to write a surface source starting from a criticality calculation (i.e. a KCODE run). I am trying to write all the particles entering a cylindrical cell.
The code seems running smoothly and at last I end up having a file "output_ssw.w" which I expect to be the source code.
However, when I run the code trying to use that file as input file with SSR, launching the code as
Code:
MCNP i=input.i n=output. RSSA=output_ssw.w
I keep on receiving this error:
I also tried to have it opened with MCPL and I receive this error:"no particles accepted from the output_ssw.w file".
"ssw_load_particle WARNING: Could not convert raw MCNP6 SSW type (16777212) to pdg code
Warning: ignored particle with no PDG code set (raw ssw type was 16777212)."
If instead I try to run a simple run with an SDEF source (a sphere emitting neutrons inwards), no KCODE, and I use SSW to write the surface file "test.w", then it works and if I then try to emply it in a SSR run, the simulation works smoothly.
Do you know where the issue could be? Are SSW/SSR only suitable to write and read surface source from an SDEF simulation?
Thanks in advance
Last edited: