MCNP: Is this a valid way to define "two sources with different sizes"?

  • Thread starter Thread starter BaoNgoc
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on defining two source cells with different sizes in MCNP6, specifically using the SDEF command. The user attempts to set up two sources, one for a large concrete wall and another for a thin granite wall, but is advised against using independent random numbers for source definitions. Instead, the recommended approach is to utilize dependent variables as outlined in the MCNP6.3 manual, which allows for a more flexible and accurate representation of multiple sources within a single input file.

PREREQUISITES
  • Familiarity with MCNP6 and its input file structure
  • Understanding of the SDEF command and its parameters
  • Knowledge of source distributions in MCNP
  • Basic concepts of dependent and independent variables in simulation contexts
NEXT STEPS
  • Review the MCNP6.3 manual, specifically page 387, for examples of defining dependent variables
  • Learn about the SDEF command and its parameters in detail
  • Explore the concept of unstructured mesh sources in MCNP
  • Investigate best practices for defining multiple sources in MCNP simulations
USEFUL FOR

New users of MCNP6, simulation physicists, and anyone involved in defining complex source geometries in radiation transport simulations.

BaoNgoc
Messages
1
Reaction score
0
Hi everyone,

I'm a new user MCNP6 and want to define two source cells (cell 1 and cell 5), each with different sizes:

Cell 1 is a large concrete wall (500×400×300 cm)
Cell 5 is a thin granite inside concrete wall (20 cm thick)
Therefore, I want to use different RAD and `EXT` values for each source. I tried this setup:

To implement this, I’m using the following SDEF:
SDEF PAR=2 ERG=d1 L=d10 POS=0 0 0 AXS=0 0 1 CEL=d11 RAD=d12 EXT=d13

And these source distributions:
Code:
c ---Source: 1 = cell 1, 2 = cell 5
SI10 L 1 2
SP10 D 0.5 0.5            $ choose probably for each cell
c --- CELL
SI11 L 1 5
SP11 D 0.5 0.5
c --- RAD
SI12 L 420 320
SP12 D 0.5 0.5
c ---  EXT
SI13 L 200 150
SP13 D 0.5 0.5
Is this a valid way to define "two sources with different sizes" in one input file using SDEF?

Thank you very much.
 
Engineering news on Phys.org
Hi @BaoNgoc,

Welcome to PhysicsForums. I'm a bit confused by L=d10, but I'm fairly sure the answer is no. Random numbers picked independently would be wrong half or more of the time.

There are advantages to doing the sources separately, it's simpler and more flexible. You could also define the source cells to be the same with a union of the cell definitions, but this is a bit 'hacky'.

The proper way to do it is to define dependent variables. Take a look at this example in p387 the manual for MCNP6.3.
Code:
SDEF CEL=D1 POS=FCEL=D2
C
SI1 L 101 102 103
SP2 0.4 0.2 0.4
C
DS2 S 4 5 6
C
SI4 L VOLUMER
SP4 1
C
SI5 L .1 .2 .3
SP5 1
C
SI6 L VOLUMER
SP6 1
VOLUMER is an unstructured mesh source. Don't worry about it except that to see that this contains sources in three cells (101 102 and 103) and three source distributions (d4 used in cell 101, d5 used in cell 102 and d6 used in cell 103). These could be point sources or volume sources.
 
  • Informative
Likes   Reactions: berkeman

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K