Skip to content

Commit

Permalink
FunctionDT syntax update in modules
Browse files Browse the repository at this point in the history
Updating input file in modules so they use the new preferred way of
specifying FunctionDT time stepping.

Refs idaholab#10612
  • Loading branch information
andrsd committed Jan 26, 2018
1 parent 4facdca commit 3da4d96
Show file tree
Hide file tree
Showing 77 changed files with 678 additions and 154 deletions.
Expand Up @@ -79,6 +79,12 @@
x = '0 1 2'
y = '0 -2.4e2 -2.6e2'
[../]

[./dts]
type = PiecewiseLinear
x = '0 0.8 1 1.8'
y = '0.8 0.2 0.8 0.2'
[../]
[]

[SolidMechanics]
Expand Down Expand Up @@ -205,8 +211,7 @@

[./TimeStepper]
type = FunctionDT
time_t = '0 0.8 1 1.8'
time_dt = '0.8 0.2 0.8 0.2'
function = dts
[../]
[]

Expand Down
11 changes: 9 additions & 2 deletions modules/porous_flow/test/tests/broadbridge_white/bw01.i
Expand Up @@ -13,6 +13,14 @@
PorousFlowDictator = dictator
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '1E-5 1E-2 1E-2 1E-1'
x = '0 1E-5 1 10'
[../]
[]

[UserObjects]
[./dictator]
type = PorousFlowDictator
Expand Down Expand Up @@ -192,8 +200,7 @@

[./TimeStepper]
type = FunctionDT
time_dt = '1E-5 1E-2 1E-2 1E-1'
time_t = '0 1E-5 1 10'
function = dts
[../]
[]

Expand Down
11 changes: 9 additions & 2 deletions modules/porous_flow/test/tests/broadbridge_white/bw02.i
Expand Up @@ -13,6 +13,14 @@
PorousFlowDictator = dictator
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '1E-1 5E-1 5E-1'
x = '0 1 10'
[../]
[]

[UserObjects]
[./dictator]
type = PorousFlowDictator
Expand Down Expand Up @@ -180,8 +188,7 @@

[./TimeStepper]
type = FunctionDT
time_dt = '1E-1 5E-1 5E-1'
time_t = '0 1 10'
function = dts
[../]
[]

Expand Down
11 changes: 9 additions & 2 deletions modules/porous_flow/test/tests/broadbridge_white/rd01.i
Expand Up @@ -13,6 +13,14 @@
PorousFlowDictator = dictator
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '1E-2 1 10 500 5000 5000'
x = '0 10 100 1000 10000 100000'
[../]
[]

[UserObjects]
[./dictator]
type = PorousFlowDictator
Expand Down Expand Up @@ -187,8 +195,7 @@

[./TimeStepper]
type = FunctionDT
time_dt = '1E-2 1 10 500 5000 5000'
time_t = '0 10 100 1000 10000 100000'
function = dts
[../]
[]

Expand Down
11 changes: 9 additions & 2 deletions modules/porous_flow/test/tests/broadbridge_white/rd02.i
Expand Up @@ -13,6 +13,14 @@
PorousFlowDictator = dictator
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '1E-2 1 10 500 5000 50000'
x = '0 10 100 1000 10000 500000'
[../]
[]

[UserObjects]
[./dictator]
type = PorousFlowDictator
Expand Down Expand Up @@ -187,8 +195,7 @@

[./TimeStepper]
type = FunctionDT
time_dt = '1E-2 1 10 500 5000 50000'
time_t = '0 10 100 1000 10000 500000'
function = dts
[../]
[]

Expand Down
11 changes: 9 additions & 2 deletions modules/porous_flow/test/tests/broadbridge_white/rd03.i
Expand Up @@ -6,6 +6,14 @@
PorousFlowDictator = dictator
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '2E4 1E6'
x = '0 1E6'
[../]
[]

[UserObjects]
[./dictator]
type = PorousFlowDictator
Expand Down Expand Up @@ -181,8 +189,7 @@

[./TimeStepper]
type = FunctionDT
time_dt = '2E4 1E6'
time_t = '0 1E6'
function = dts
[../]
[]

Expand Down
11 changes: 9 additions & 2 deletions modules/porous_flow/test/tests/dirackernels/bh04.i
Expand Up @@ -18,6 +18,14 @@
PorousFlowDictator = dictator
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '1E-2 1E-1 1 1E1 1E2 1E3'
x = '0 1E-1 1 1E1 1E2 1E3'
[../]
[]

[Variables]
[./pp]
initial_condition = 0
Expand Down Expand Up @@ -189,8 +197,7 @@
solve_type = NEWTON
[./TimeStepper]
type = FunctionDT
time_dt = '1E-2 1E-1 1 1E1 1E2 1E3'
time_t = '0 1E-1 1 1E1 1E2 1E3'
function = dts
[../]
[]

Expand Down
11 changes: 9 additions & 2 deletions modules/porous_flow/test/tests/dirackernels/bh05.i
Expand Up @@ -18,6 +18,14 @@
PorousFlowDictator = dictator
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '500 500 1E1'
x = '4000 5000 6500'
[../]
[]

[Variables]
[./pp]
initial_condition = -2E5
Expand Down Expand Up @@ -193,8 +201,7 @@
solve_type = NEWTON
[./TimeStepper]
type = FunctionDT
time_dt = '500 500 1E1'
time_t = '4000 5000 6500'
function = dts
[../]
[]

Expand Down
11 changes: 9 additions & 2 deletions modules/porous_flow/test/tests/dirackernels/bh07.i
Expand Up @@ -8,6 +8,14 @@
PorousFlowDictator = dictator
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '1000 10000'
x = '100 1000'
[../]
[]

[Variables]
[./pp]
initial_condition = 1E7
Expand Down Expand Up @@ -193,8 +201,7 @@
[./TimeStepper]
# get only marginally better results for smaller time steps
type = FunctionDT
time_dt = '1000 10000'
time_t = '100 1000'
function = dts
[../]
[]

Expand Down
11 changes: 9 additions & 2 deletions modules/porous_flow/test/tests/gravity/grav02c.i
Expand Up @@ -14,6 +14,14 @@
PorousFlowDictator = dictator
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '1E-3 1E-2 1E-1'
x = '1E-3 1E-2 1E-1'
[../]
[]

[Variables]
[./ppwater]
initial_condition = -0.1
Expand Down Expand Up @@ -244,8 +252,7 @@
solve_type = Newton
[./TimeStepper]
type = FunctionDT
time_dt = '1E-3 1E-2 1E-1'
time_t = '1E-3 1E-2 1E-1'
function = dts
[../]
end_time = 1.0
[]
Expand Down
11 changes: 9 additions & 2 deletions modules/porous_flow/test/tests/gravity/grav02d.i
Expand Up @@ -15,6 +15,14 @@
PorousFlowDictator = dictator
[]

[Functions]
[./dts]
type = PiecewiseLinear
x = '1E-3 1E-2 1E-1 2E-1'
y = '1E-3 1E-2 0.2E-1 1E-1'
[../]
[]

[Variables]
[./ppwater]
initial_condition = 0
Expand Down Expand Up @@ -372,8 +380,7 @@
solve_type = Newton
[./TimeStepper]
type = FunctionDT
time_t = '1E-3 1E-2 1E-1 2E-1'
time_dt = '1E-3 1E-2 0.2E-1 1E-1'
function = dts
[../]
end_time = 1.0
[]
Expand Down
Expand Up @@ -15,6 +15,14 @@
gravity = '0 0 0'
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '3E-3 3E-2 0.05'
x = '0 1 5'
[../]
[]

[UserObjects]
[./dictator]
type = PorousFlowDictator
Expand Down Expand Up @@ -277,8 +285,7 @@

[./TimeStepper]
type = FunctionDT
time_dt = '3E-3 3E-2 0.05'
time_t = '0 1 5'
function = dts
[../]
[]

Expand Down
Expand Up @@ -15,6 +15,14 @@
gravity = '0 0 0'
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '3E-2 5E-1 8E-1'
x = '0 1 5'
[../]
[]

[UserObjects]
[./dictator]
type = PorousFlowDictator
Expand Down Expand Up @@ -282,8 +290,7 @@

[./TimeStepper]
type = FunctionDT
time_dt = '3E-2 5E-1 8E-1'
time_t = '0 1 5'
function = dts
[../]
[]

Expand Down
11 changes: 9 additions & 2 deletions modules/richards/test/tests/broadbridge_white/bw01.i
Expand Up @@ -13,6 +13,14 @@
richardsVarNames_UO = PPNames
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '1E-5 1E-2 1E-2 1E-1'
x = '0 1E-5 1 10'
[../]
[]

[UserObjects]
[./PPNames]
type = RichardsVarNames
Expand Down Expand Up @@ -141,8 +149,7 @@

[./TimeStepper]
type = FunctionDT
time_dt = '1E-5 1E-2 1E-2 1E-1'
time_t = '0 1E-5 1 10'
function = dts
[../]
[]

Expand Down
11 changes: 9 additions & 2 deletions modules/richards/test/tests/broadbridge_white/bw02.i
Expand Up @@ -13,6 +13,14 @@
richardsVarNames_UO = PPNames
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '1E-1 5E-1 5E-1'
x = '0 1 10'
[../]
[]

[UserObjects]
[./PPNames]
type = RichardsVarNames
Expand Down Expand Up @@ -141,8 +149,7 @@

[./TimeStepper]
type = FunctionDT
time_dt = '1E-1 5E-1 5E-1'
time_t = '0 1 10'
function = dts
[../]
[]

Expand Down
11 changes: 9 additions & 2 deletions modules/richards/test/tests/broadbridge_white/bw_lumped_02.i
Expand Up @@ -18,6 +18,14 @@
seff_UO = SeffBW
[]

[Functions]
[./dts]
type = PiecewiseLinear
y = '1E-1 5E-1 5E-1'
x = '0 1 10'
[../]
[]

[UserObjects]
[./PPNames]
type = RichardsVarNames
Expand Down Expand Up @@ -141,8 +149,7 @@

[./TimeStepper]
type = FunctionDT
time_dt = '1E-1 5E-1 5E-1'
time_t = '0 1 10'
function = dts
[../]
[]

Expand Down

0 comments on commit 3da4d96

Please sign in to comment.