Difference between revisions of "Stanford critical bunny"

From Serpent Wiki
Jump to: navigation, search
(Input)
m (Reverted edits by Ana Jambrina (talk) to last revision by Jaakko Leppänen)
Line 54: Line 54:
 
'''Additional input-files:'''
 
'''Additional input-files:'''
  
* [[File:bunny.stl.tgz]].
+
*[http://virtual.vtt.fi/virtual/montecarlo/examples/3Dgeo_example/STL/bunny.stl bunny.stl]

Revision as of 17:01, 5 September 2022

This example is a simple demonstration of the STL geometry type. The geometry model is a critical high-enriched uranium bunny.

Bunny1.png

Input

The main input file:

% --- Box containing bunny:

surf 1 cyl 0.0 0.0 17.0 -0.1 27

cell 1 0 fill 1  -1 % Fill box with mesh based universe
cell 2 0 outside  1 % Outside of the box is outside

% --- Create the background universe (filled with void)

surf 3 inf
cell 4 2 void -3

% --- Create the STL-bunny

solid 2 1 2                        % type, universe, bacground universe
10 4 5 4 3 2                       % search mesh split, depth and sizes
1 1E-5                             % ray test, merge radius
body fuel fuel fuel                % solid name, cell name, material name
file fuel "bunny.stl" 1.00 0 0 0   % body name, file, scaling factor, origin

% --- Composition for bunny:

mat fuel  4.7984E-02 rgb 222 222 222
92235.03c 4.4994E-02
92238.03c 2.4984E-03
92234.03c 4.9184E-04

% --- Criticality source simulation:

set pop 2000 500 20
set gcu -1

% --- Geometry and mesh plots

plot 1 500 399
plot 2 500 399
plot 3 500 500

mesh 1 500 399
mesh 2 500 399
mesh 3 500 500

Additional input-files: