Kharon input manual
Revision as of 10:38, 4 June 2019 by Ville Hovi (talk | contribs)
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.
Contents
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 [-] |