Page 1 of 1

Read in weight windows from MCNP format

Posted: Mon Dec 25, 2017 5:02 am
by j0937065063
Hello Jaakko:

I have a problem regarding to the MCNP weight windows file read in.

My serpent weight windows script is like this:

% --- read the weight window files

wwin 1
wf "wwinp" 2

I am not sure if it is correct.

I am not sure some of the variables like FMT SB and TYPE in the sf card are needed if read in the weight windows in the MCNP format.

I am not able to run serpent appropriately, it gives me the following error message:

Input error in parameter "wwin" on line 29 in file "prb":

Only reactangular mesh supported


I also checked the source code "readwwdmesh.c"

It says in the title: "MCNP format does not yet support cylindrical mesh or fine structure"

I was trying to use cartesian mesh without fine mesh (there is only Course Mesh/ Each CM only contains 1 fine mesh), but it still doesn't work (with the same error message).

Therefore, I need some help from you.

Please let me know if there is anything I understand incorrectly.

Thanks!


Best
Vince

Re: Read in weight windows from MCNP format

Posted: Mon Dec 25, 2017 8:13 pm
by Jaakko Leppänen
Could you send me the input and mesh by email?

Re: Read in weight windows from MCNP format

Posted: Wed Dec 27, 2017 8:01 am
by j0937065063
Hey Jaakko:

Just sent you the MCNP weight windows file.

Thanks!



Best
Vince

Re: Read in weight windows from MCNP format

Posted: Wed Dec 27, 2017 8:03 am
by j0937065063
The SERPENT input is as follow:

set acelib "/home/LANL/SERPENT_DATA/endfb7/sss_endfb7u.xsdata"

include "../../inputs/surfs"
include "../../inputs/geom"
include "../../inputs/plots"
include "../../inputs/mats"
include "../../inputs/phys"
include "../../inputs/det"

% ------ source definition

src 1 sm UO2-4wt sw 4.0 sx 68.83975 70.09955 sy 42.56365 43.82345 sz 182.88 193.04 sr 92235.03c 18
src 2 sm UO2-4wt sw 96.0 sx 68.83975 70.09955 sy 42.56325 43.82345 sz 182.88 193.04 sr 92238.03c 18

% --- set number of particles

set nps 1000000

% --- read the weight window files

wwin 1
wf "wwinp" 2