Difference between revisions of "Tutorial"
(→2D Pin-cell model) |
(→Basics) |
||
Line 29: | Line 29: | ||
'''Input for 2D pin-cell geometry''' | '''Input for 2D pin-cell geometry''' | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
− | <span style="color: Green;">% --- | + | <span style="color: Green;">% --- Very simple infinite homogeneous geometry for Serpent tutorial |
/************************ | /************************ | ||
Line 35: | Line 35: | ||
************************/ | ************************/ | ||
− | % --- Fuel material ( | + | % --- Fuel material (4.0 wt-% enriched uranium dioxide), density 10.1 g/cm3</span> |
<span style="color: Red;">mat</span> <span style="color: Blue;">fuel</span> -10.1 | <span style="color: Red;">mat</span> <span style="color: Blue;">fuel</span> -10.1 | ||
− | 92235.03c -0. | + | 92235.03c -0.04 |
− | 92238.03c -0. | + | 92238.03c -0.96 |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<span style="color: Green;">/************************ | <span style="color: Green;">/************************ | ||
* Geometry definitions * | * Geometry definitions * | ||
− | ************************/ | + | ************************/ |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | % --- "Surface" at infinity</span> | |
− | <span style="color: Red;">surf</span> <span style="color: Blue;">s1</span> | + | <span style="color: Red;">surf</span> <span style="color: Blue;">s1</span> inf |
− | <span style="color: Green;">% --- Cell c1 belongs to the base universe 0, | + | <span style="color: Green;">% --- Cell c1 belongs to the base universe 0, contains the material fuel |
% and covers everything inside surface s1</span> | % and covers everything inside surface s1</span> | ||
− | <span style="color: Red;">cell</span> <span style="color: Blue;">c1</span> 0 | + | <span style="color: Red;">cell</span> <span style="color: Blue;">c1</span> 0 <span style="color: Purple;">fuel</span> -<span style="color: Purple;">s1</span> |
<span style="color: Green;">% --- Cell c2 belongs to the base universe 0, is defined as an "outside" cell | <span style="color: Green;">% --- Cell c2 belongs to the base universe 0, is defined as an "outside" cell | ||
− | % and covers everything | + | % and covers everything outside surface s1</span> |
<span style="color: Red;">cell</span> <span style="color: Blue;">c2</span> 0 outside <span style="color: Purple;">s1</span> | <span style="color: Red;">cell</span> <span style="color: Blue;">c2</span> 0 outside <span style="color: Purple;">s1</span> | ||
Line 81: | Line 61: | ||
<span style="color: Green;">/****************** | <span style="color: Green;">/****************** | ||
* Run parameters * | * Run parameters * | ||
− | ******************/ | + | ******************/ |
− | + | % --- Neutron population: 5000 neutrons per cycle, 100 active / 20 inactive cycles</span> | |
<span style="color: Red;">set pop</span> 5000 100 20 | <span style="color: Red;">set pop</span> 5000 100 20 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
</div> | </div> |
Revision as of 10:37, 11 September 2017
This page is the beginning of a hands-on tutorial in Serpent that will walk you through the creation of simple pin-cell and assembly geometry models and the use of those models for some reactor physics simulations.
Contents
Pre-requisite
Compiled version of Serpent 2
Basics of Serpent input
Explain different (typical) parts such as:
- Material definitions
- Geometry definitions
- Run parameters/options
Infinite homogeneous model
Overview
Basics
Colors in input correspond to:
- Comments
- Control words
- Name definitions
- Name references
Testing and tinkering
2D Pin-cell model
Overview
Basics
Colors in input correspond to:
- Comments
- Control words
- Name definitions
- Name references