Skip to content

Commit

Permalink
Add automatic scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
simopier committed Oct 24, 2024
1 parent 333927a commit 7589d8a
Show file tree
Hide file tree
Showing 6 changed files with 408 additions and 402 deletions.
402 changes: 201 additions & 201 deletions test/tests/val-2c/gold/val-2c_delay_csv.csv

Large diffs are not rendered by default.

Binary file modified test/tests/val-2c/gold/val-2c_delay_out.e
Binary file not shown.
402 changes: 201 additions & 201 deletions test/tests/val-2c/gold/val-2c_immediate_injection_csv.csv

Large diffs are not rendered by default.

Binary file modified test/tests/val-2c/gold/val-2c_immediate_injection_out.e
Binary file not shown.
4 changes: 4 additions & 0 deletions test/tests/val-2c/tests
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
input = val-2c_immediate_injection.i
csvdiff = val-2c_immediate_injection_csv.csv
requirement = 'The system shall be able to model the Test Cell Release Experiment (val-2c) with immediate T2 injection.'
abs_zero = 1e-7
recover = false
[]
[val-2c_immediate_injection_exodus]
Expand All @@ -15,13 +16,15 @@
should_execute = false # this test relies on the output files from val-2c_csv, so it shouldn't be run twice
exodiff = val-2c_immediate_injection_out.e
requirement = 'The system shall be able to model the Test Cell Release Experiment (val-2c) with immediate T2 injection and properly compute the exodus file.'
abs_zero = 1e-7
recover = false
[]
[val-2c_delay_csv]
type = CSVDiff
input = val-2c_delay.i
csvdiff = val-2c_delay_csv.csv
requirement = 'The system shall be able to model the Test Cell Release Experiment (val-2c) with delayed T2 injection.'
abs_zero = 1e-7
recover = false
[]
[val-2c_delay_exodus]
Expand All @@ -31,6 +34,7 @@
should_execute = false # this test relies on the output files from val-2c_csv, so it shouldn't be run twice
exodiff = val-2c_delay_out.e
requirement = 'The system shall be able to model the Test Cell Release Experiment (val-2c) with delayed T2 injection and properly compute the exodus file.'
abs_zero = 1e-7
recover = false
[]
[val-2c_delay_comparison]
Expand Down
2 changes: 2 additions & 0 deletions test/tests/val-2c/val-2c_base.i
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,8 @@
petsc_options_value = 'asm lu vinewtonrsls' # This petsc option helps prevent negative concentrations with bounds'
nl_rel_tol = 2.e-10
automatic_scaling = true
compute_scaling_once = false
end_time = ${time_end}
dtmax = ${dtmax}
Expand Down

0 comments on commit 7589d8a

Please sign in to comment.