Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Cleaned up output options
Browse files Browse the repository at this point in the history
Signed-off-by: drewejohnson <[email protected]>
  • Loading branch information
drewejohnson committed Mar 13, 2017
1 parent 4a9166a commit ebbd512
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions globalparams.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
[1]: M. D. DeHart, and S. Bowman, "Reactor Physics Methods and Analysis
\tCapabilities in SCALE," Nuclear Technology, Technical Paper
vol. 174, no.2, pp. 196-213, 2011.
\tvol. 174, no.2, pp. 196-213, 2011.
""" + lineBreakLong

Expand Down Expand Up @@ -66,7 +66,7 @@

# SCALE parameters
var_char = '$'
exe_str = r'C:\SCALE-6.2.1\bin\scalerte'
exe_str = r'C:\SCALE-6.2.1\bin\scalerte.exe'
template_file = None

# Outputs
3 changes: 1 addition & 2 deletions iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def itermain():
while _n < gp.iter_lim:
_n += 1
_iter_file = makefile(gp.args.inp_file, _n)
utils.vprint('Running SCALE iteration number {}...'.format(_n))
utils.vprint('Running SCALE iteration number {}...'.format(_n))
subprocess.call([gp.exe_str, _iter_file])
utils.vprint(' done')
stat, _k = parse_scale_out_eig(_iter_file.replace('.inp', '.out'))
Expand All @@ -102,7 +102,6 @@ def itermain():
utils.error('Could not find value of k-eff for iteration file {0}.inp\n'
'Check {0}.out for error message'.format(_iter_file.split('.')[0]),
'itermain() of iteration {}'.format(_n))
# todo: Parse through output and find cause of error

# check for convergance based on updated eigenvalue, and then a termination based on exceeding the specified
# input range from the parameter file
Expand Down

0 comments on commit ebbd512

Please sign in to comment.