Difference between revisions of "Kharon input manual"

From Kraken Wiki
Jump to: navigation, search
(Created page with "The Cerberus input consists of: *Definitions for the solvers, inputs, etc. participating in the calculation. *A list of steps that makes up the so...")
 
Line 1: Line 1:
The Cerberus input consists of:
+
The Kharon input is a keyword input. It consists of several grouped input parameters. Each group starts with the keyword that defines the group (name of the group), possibly followed by data entries associated with the keyword. The group can consist of several keyword (parameter name) and value pairs that are enclosed within a set of curly brackets.
  
*[[#definitions|Definitions]] for the solvers, inputs, etc. participating in the calculation.
+
*A working input file consists of several input groups.
*A list of [[#steps|steps]] that makes up the solution flow.
 
*Settings for [[#input_options|input options]].
 
  
Generally the order of the different input cards does not matter, except for the step definitions, which will be executed in the order that they appear in the input.
+
*The order of the groups or the parameter name and value pairs within the group is not important.
  
== Definition input cards <span id="definitions"></span>==
+
*The input file can contain comments: all characters after '#', '!', and '%' on each line are considered as comments.
  
NOTE: Cerberus command words are in <tt>'''boldface'''</tt> and input parameters entered by the user in <tt>''CAPITAL ITALIC''</tt>. Optional input parameters are enclosed in [ square brackets ], and when the number of values is not fixed, the remaining values are marked with three dots (...).
+
*All keywords, operators, and data entries must be separated by one or more spaces or line changes, since they are regarded as words.
 +
 
 +
 
 +
== Input groups ==
 +
 
 +
=== Simulation control parameters ===
 +
 
 +
The keyword that defines this group is ''simulationControl''. The following set of parameters can be set inside this group.
 +
 
 +
{|class="wikitable" style="text-align: left;"
 +
!Keyword
 +
!Size and type
 +
!Valid options
 +
!Default
 +
!Description
 +
|-
 +
| {{highlight|nPhases|tomato}}
 +
| 1*integer
 +
| 1 = single-phase water or 2 = water and steam
 +
|
 +
| Number of phases
 +
|-
 +
| {{highlight|nIterMax|PaleGreen}}
 +
| 1*integer
 +
| positive integer
 +
| 500
 +
| Number of solution (outer) iterations
 +
|-
 +
| {{highlight|urfU|PaleGreen}}
 +
| 1*real
 +
| [0,1]
 +
| 0.5
 +
| Under-relaxation factor for velocity [-]
 +
|-
 +
| {{highlight|urfP|PaleGreen}}
 +
| 1*real
 +
| [0,1]
 +
| 0.5
 +
| Under-relaxation factor for pressure [-]
 +
|-
 +
| {{highlight|urfH|PaleGreen}}
 +
| 1*real
 +
| [0,1]
 +
| 0.9
 +
| Under-relaxation factor for enthalpy [-]
 +
|-
 +
| {{highlight|gravity|PaleGreen}}
 +
| 1*real
 +
| [0,1]
 +
| 0.9
 +
| Under-relaxation factor for enthalpy [-]
 +
|-
 +
|}
 +
 
 +
=== Inlet definition ===
 +
 
 +
=== Outlet definition ===
 +
 
 +
=== List of fuel types ===
 +
 
 +
=== Core definition ===
 +
 
 +
=== Load pattern ===
 +
 
 +
=== Assembly numbering (optional) ===

Revision as of 11:38, 4 June 2019

The Kharon input is a keyword input. It consists of several grouped input parameters. Each group starts with the keyword that defines the group (name of the group), possibly followed by data entries associated with the keyword. The group can consist of several keyword (parameter name) and value pairs that are enclosed within a set of curly brackets.

  • A working input file consists of several input groups.
  • The order of the groups or the parameter name and value pairs within the group is not important.
  • The input file can contain comments: all characters after '#', '!', and '%' on each line are considered as comments.
  • All keywords, operators, and data entries must be separated by one or more spaces or line changes, since they are regarded as words.


Input groups

Simulation control parameters

The keyword that defines this group is simulationControl. The following set of parameters can be set inside this group.

Keyword Size and type Valid options Default Description
nPhases 1*integer 1 = single-phase water or 2 = water and steam Number of phases
nIterMax 1*integer positive integer 500 Number of solution (outer) iterations
urfU 1*real [0,1] 0.5 Under-relaxation factor for velocity [-]
urfP 1*real [0,1] 0.5 Under-relaxation factor for pressure [-]
urfH 1*real [0,1] 0.9 Under-relaxation factor for enthalpy [-]
gravity 1*real [0,1] 0.9 Under-relaxation factor for enthalpy [-]

Inlet definition

Outlet definition

List of fuel types

Core definition

Load pattern

Assembly numbering (optional)