Difference between revisions of "Tutorial"
(→Basics) |
(→Basics) |
||
Line 68: | Line 68: | ||
<span style="color: Red;">surf</span> <span style="color: Blue;">s1</span> sqc 0.0 0.0 0.5 | <span style="color: Red;">surf</span> <span style="color: Blue;">s1</span> sqc 0.0 0.0 0.5 | ||
+ | |||
+ | <span style="color: Green;">% --- Cell c1 belongs to the base universe 0, is filled with the pin p1 | ||
+ | % and covers everything inside surface s1</span> | ||
<span style="color: Red;">cell</span> <span style="color: Blue;">c1</span> 0 fill <span style="color: Purple;">p1</span> -<span style="color: Purple;">s1</span> | <span style="color: Red;">cell</span> <span style="color: Blue;">c1</span> 0 fill <span style="color: Purple;">p1</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 | ||
+ | % and covers everything inside 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> | ||
Revision as of 14:36, 8 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
2D Pin-cell model
Overview
Basics
Colors in input correspond to:
- Comments
- Control words
- Name definitions
- Name references