Skip to content

Commit

Permalink
Merge pull request idaholab#6500 from WilkAndy/functions_test_6402
Browse files Browse the repository at this point in the history
Richards Functions more fully tested.
  • Loading branch information
permcody committed Mar 4, 2016
2 parents a0a2450 + eec88bd commit 00a34dc
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/richards/tests/excav/ex01.i
Expand Up @@ -43,8 +43,8 @@
type = RichardsExcavGeom
start_posn = '0 -500 0'
start_time = 0
end_posn = '0 500 0'
end_time = 3E7
end_posn = '0 -300 0'
end_time = 6E6
active_length = 1E4
[../]

Expand Down
8 changes: 8 additions & 0 deletions modules/richards/tests/excav/tests
Expand Up @@ -16,4 +16,12 @@
heavy = true
max_time = 1000
[../]

[./except01]
type = 'RunException'
input = 'ex01.i'
cli_args = 'Functions/excav_fcn/end_time=-1 Outputs/file_base=except01'
expect_err = 'Start time for excavation set to 0 but this must be less than the end time, which is -1'
[../]

[]
12 changes: 12 additions & 0 deletions modules/richards/tests/user_objects/tests
Expand Up @@ -41,4 +41,16 @@
cli_args = 'AuxKernels/d2Seff1VG_AuxK/wrtnum2=1 Outputs/file_base=except3'
expect_err = 'Your wrtnum2 is 1 but it must obey 0 <= wrtnum2 < 1.'
[../]
[./except04]
type = 'RunException'
input = uo1.i
cli_args = 'Functions/answer_dRelPermPower/direction="0 0 0" Outputs/file_base=except04'
expect_err = 'The direction in the GradParsedFunction must have positive length.'
[../]
[./except05]
type = 'RunException'
input = uo1.i
cli_args = 'Functions/answer_d2RelPermPower/direction="0 0 0" Outputs/file_base=except05'
expect_err = 'The direction in the Grad2ParsedFunction must have positive length.'
[../]
[]

0 comments on commit 00a34dc

Please sign in to comment.