Skip to content

Commit

Permalink
tests,modules: fix bad getpot syntax and update tests files for new e…
Browse files Browse the repository at this point in the history
…rror messages

fixes idaholab#9571
  • Loading branch information
rwcarlsen authored and jarons committed Oct 5, 2017
1 parent d747648 commit ae4955c
Show file tree
Hide file tree
Showing 74 changed files with 131 additions and 106 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,3 @@
exodus = true
csv = 10
[] # Outputs
[]
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,3 @@
exodus = true
csv = 10
[] # Outputs
[]
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
[./InitialCondition]
type = FunctionIC
function = sphere
[../]
[../]
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
[../]
[./tang_force_y]
[../]
[]

[SolidMechanics]
[./solid]
disp_x = disp_x
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,20 @@
[../]
[]

[Modules/TensorMechanics/Master/All]
displacements = 'disp_x disp_y'
add_variables = true
strain = SMALL
incremental = true
eigenstrain_names = eigenstrain
generate_output = 'stress_xx stress_yy stress_zz stress_xy stress_yz stress_zx'
[Modules]
[TensorMechanics]
[Master]
displacements = 'disp_x disp_y'
[All]
displacements = 'disp_x disp_y'
add_variables = true
strain = SMALL
incremental = true
eigenstrain_names = eigenstrain
generate_output = 'stress_xx stress_yy stress_zz stress_xy stress_yz stress_zx'
[../]
[../]
[../]
[]

[Kernels]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,20 @@
[../]
[]

[Modules/TensorMechanics/Master/All]
displacements = 'disp_x disp_y'
add_variables = true
strain = SMALL
incremental = true
eigenstrain_names = eigenstrain
generate_output = 'stress_xx stress_yy stress_zz stress_xy stress_yz stress_zx'
[Modules]
[TensorMechanics]
[Master]
displacements = 'disp_x disp_y'
[All]
displacements = 'disp_x disp_y'
add_variables = true
strain = SMALL
incremental = true
eigenstrain_names = eigenstrain
generate_output = 'stress_xx stress_yy stress_zz stress_xy stress_yz stress_zx'
[../]
[../]
[../]
[]

[Kernels]
Expand Down
2 changes: 1 addition & 1 deletion modules/combined/test/tests/fieldsplit_contact/2blocks3d.i
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[]

[Problem]
error_on_jacobian_nonzero_reallocation = true;
error_on_jacobian_nonzero_reallocation = true
[]

[Modules/TensorMechanics/Master]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
[]

[Problem]
error_on_jacobian_nonzero_reallocation = true;
error_on_jacobian_nonzero_reallocation = true
[]

[Executioner]
Expand Down
1 change: 1 addition & 0 deletions modules/combined/test/tests/hertz_contact/hertz_contact.i
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
type = PiecewiseLinear
x = '0. 1. 2.'
y = '0. -0.01 -0.01'
[../]
[] # Functions

[Variables]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
type = PiecewiseLinear
x = '0. 1. 2.'
y = '0. -0.01 -0.01'
[../]
[] # Functions

[Variables]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
type = PiecewiseLinear
x = '0. 1. 2.'
y = '0. -0.01 -0.01'
[../]
[] # Functions

[Variables]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
type = PiecewiseLinear
x = '0. 1. 2.'
y = '0. -0.01 -0.01'
[../]
[] # Functions

[Variables]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
coarsen = 0.4
refine = 0.5
indicator = error
[./]
[../]
[../]
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
component = 'concentration'
flux = free_outflow_bc
[../]
[]
############################################################
[Materials]
[./aefv]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
component = 'concentration'
flux = free_outflow_bc
[../]
[]
############################################################
[Materials]
[./aefv]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
component = 'concentration'
flux = free_outflow_bc
[../]
[]
############################################################
[Materials]
[./aefv]
Expand Down
1 change: 1 addition & 0 deletions modules/richards/test/tests/gravity_head_2/gh05.i
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
type = FunctionDT
time_dt = '1E-2 1E-1 1E0 1E1 1E3 1E4 1E5 1E6 1E7'
time_t = '0 1E-1 1E0 1E1 1E2 1E3 1E4 1E5 1E6'
[../]
[]

[Outputs]
Expand Down
1 change: 1 addition & 0 deletions modules/richards/test/tests/gravity_head_2/gh06.i
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@
type = FunctionDT
time_dt = '1E-2 1E-1 1E0 1E1 1E3 1E4 1E5 1E6 1E7'
time_t = '0 1E-1 1E0 1E1 1E2 1E3 1E4 1E5 1E6'
[../]
[]

[Outputs]
Expand Down
1 change: 1 addition & 0 deletions modules/richards/test/tests/gravity_head_2/gh07.i
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@
type = FunctionDT
time_dt = '1E-2 1E-1 1E0 1E1 1E3 1E4 1E5 1E6 1E7'
time_t = '0 1E-1 1E0 1E1 1E2 1E3 1E4 1E5 1E6'
[../]
[]

[Outputs]
Expand Down
1 change: 1 addition & 0 deletions modules/richards/test/tests/gravity_head_2/gh08.i
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
type = FunctionDT
time_dt = '1E-2 1E-1 1E0 1E1 1E3 1E4 1E5 1E6 1E7'
time_t = '0 1E-1 1E0 1E1 1E2 1E3 1E4 1E5 1E6'
[../]
[]

[Outputs]
Expand Down
1 change: 1 addition & 0 deletions modules/richards/test/tests/gravity_head_2/gh16.i
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
type = FunctionDT
time_dt = '1E-2 1E-1 1E0 1E1 1E3 1E4 1E5 1E6 1E7'
time_t = '0 1E-1 1E0 1E1 1E2 1E3 1E4 1E5 1E6'
[../]
[]

[Outputs]
Expand Down
1 change: 1 addition & 0 deletions modules/richards/test/tests/gravity_head_2/gh18.i
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@
type = FunctionDT
time_dt = '1E-2 1E-1 1E0 0.5E1 0.5E2 0.4E4 1E5 1E6 1E7'
time_t = '0 1E-1 1E0 1E1 1E2 1E3 1E4 1E5 1E6'
[../]
[]

[Outputs]
Expand Down
1 change: 1 addition & 0 deletions modules/richards/test/tests/gravity_head_2/ghQ2P_pgas.i
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
type = FunctionDT
time_dt = '1E-2 1E-1 1E0 1E1 1E3 1E4 1E5 1E6 1E7'
time_t = '0 1E-1 1E0 1E1 1E2 1E3 1E4 1E5 1E6'
[../]
[]

[Outputs]
Expand Down
1 change: 1 addition & 0 deletions modules/richards/test/tests/gravity_head_2/gh_fu_05.i
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
type = FunctionDT
time_dt = '1E-2 1E-1 1E0 1E1 1E3 1E4 1E5 1E6 1E7'
time_t = '0 1E-1 1E0 1E1 1E2 1E3 1E4 1E5 1E6'
[../]
[]

[Outputs]
Expand Down
1 change: 1 addition & 0 deletions modules/richards/test/tests/gravity_head_2/gh_fu_06.i
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@
type = FunctionDT
time_dt = '1E-2 1E-1 1E0 1E1 1E3 1E4 1E5 1E6 1E7'
time_t = '0 1E-1 1E0 1E1 1E2 1E3 1E4 1E5 1E6'
[../]
[]

[Outputs]
Expand Down
1 change: 1 addition & 0 deletions modules/richards/test/tests/gravity_head_2/gh_fu_18.i
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@
type = FunctionDT
time_dt = '1E-2 1E-1 1E0 0.5E1 0.5E2 0.4E4 1E5 1E6 1E7'
time_t = '0 1E-1 1E0 1E1 1E2 1E3 1E4 1E5 1E6'
[../]
[]

[Outputs]
Expand Down
1 change: 1 addition & 0 deletions modules/richards/test/tests/gravity_head_2/gh_lumped_07.i
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@
type = FunctionDT
time_dt = '1E-2 1E-1 1E0 1E1 1E3 1E4 1E5 1E6 1E7'
time_t = '0 1E-1 1E0 1E1 1E2 1E3 1E4 1E5 1E6'
[../]
[]

[Outputs]
Expand Down
1 change: 1 addition & 0 deletions modules/richards/test/tests/gravity_head_2/gh_lumped_08.i
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@
type = FunctionDT
time_dt = '1E-2 1E-1 1E0 1E1 1E3 1E4 1E5 1E6 1E7'
time_t = '0 1E-1 1E0 1E1 1E2 1E3 1E4 1E5 1E6'
[../]
[]

[Outputs]
Expand Down
1 change: 1 addition & 0 deletions modules/richards/test/tests/gravity_head_2/gh_lumped_18.i
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@
type = FunctionDT
time_dt = '1E-2 1E-1 1E0 0.5E1 0.5E2 0.4E4 1E5 1E6 1E7'
time_t = '0 1E-1 1E0 1E1 1E2 1E3 1E4 1E5 1E6'
[../]
[]

[Outputs]
Expand Down
9 changes: 6 additions & 3 deletions modules/solid_mechanics/test/tests/j_integral/tests
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,21 @@
[../]
[./j_3d_as_2d_topo_q_outq]
type = 'Exodiff'
input = 'j_integral_3d_as_2d_topo_q_func.i cli_args = "DomainIntegral/output_q=false" "Outputs/file_base=j_integral_3d_as_2d_topo_q_func_outputQ_out"'
input = 'j_integral_3d_as_2d_topo_q_func.i'
exodiff = 'j_integral_3d_as_2d_topo_q_func_outputQ_out.e'
cli_args = 'DomainIntegral/output_q=false Outputs/file_base=j_integral_3d_as_2d_topo_q_func_outputQ_out'
rel_err = 5e-5
[../]
[./j_3d_mouth_dir_outq]
type = 'Exodiff'
input = 'j_integral_3d_mouth_dir.i cli_args = "DomainIntegral/output_q=false" "Outputs/file_base=j_integral_3d_mouth_dir_outputQ_out"'
input = 'j_integral_3d_mouth_dir.i'
cli_args = 'DomainIntegral/output_q=false Outputs/file_base=j_integral_3d_mouth_dir_outputQ_out'
exodiff = 'j_integral_3d_mouth_dir_outputQ_out.e'
[../]
[./j_2d_outq]
type = 'Exodiff'
input = 'j_integral_2d.i cli_args = "DomainIntegral/output_q=false" "Outputs/file_base=j_integral_2d_outputQ_out"'
input = 'j_integral_2d.i'
cli_args = 'DomainIntegral/output_q=false Outputs/file_base=j_integral_2d_outputQ_out'
exodiff = 'j_integral_2d_outputQ_out.e'
[../]
[]
1 change: 0 additions & 1 deletion modules/tensor_mechanics/test/tests/2D_geometries/tests
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
exodiff = 'planestrain_out.e'
abs_zero = 5e-6
compiler = 'CLANG GCC'
cli_args = 'GlobalParams/volumetric_locking_correction=true'
prereq = 'plane_strain'
[../]
[./finite_planestrain]
Expand Down
1 change: 1 addition & 0 deletions modules/tensor_mechanics/test/tests/action/two_coord.i
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
[Problem]
coord_type = 'XYZ RZ'
block = '1 2'
[]

[GlobalParams]
displacements = 'disp_x disp_y'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
hprops = '1.0 541.5 60.8 109.8 2.5'
gprops = '1 4 60.8 5 8 60.8 9 12 60.8'
tan_mod_type = exact
gen_random_stress_flag = true;
gen_random_stress_flag = true
[../]
[./elasticity_tensor]
type = ComputeElasticityTensorCP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
hprops = '1.0 541.5 60.8 109.8 2.5'
gprops = '1 4 60.8 5 8 60.8 9 12 60.8'
tan_mod_type = exact
gen_random_stress_flag = false;
gen_random_stress_flag = false
maximum_substep_iteration = 2
[../]
[./elasticity_tensor]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
type = 'Exodiff'
input = 'bending_jacobian.i'
exodiff = 'bending_jacobian_out.e'
cli_args = 'GlobalParams/volumetric_locking_correction = true'
cli_args = 'GlobalParams/volumetric_locking_correction=true'
prereq = 'bending'
[../]
[./3d_bar]
Expand All @@ -20,7 +20,7 @@
type = 'Exodiff'
input = '3d_bar.i'
exodiff = '3d_bar_out.e'
cli_args = 'GlobalParams/volumetric_locking_correction = true'
cli_args = 'GlobalParams/volumetric_locking_correction=true'
prereq = '3d_bar'
[../]
[]
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
type = Exodiff
input = '2D-axisymmetric_rz_test.i'
exodiff = '2D-axisymmetric_rz_test_out.e'
cli_args = 'GlobalParams/volumetric_locking_correction = true'
cli_args = 'GlobalParams/volumetric_locking_correction=true'
prereq = 'axisymmetric_rz'
[../]
[]
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
value = 'if(abs(a-b)<1E-6,0,1E6*abs(a-b))'
vars = 'a b'
vals = 'Coh_analytic Coh_moose'
[../]
[]

[AuxVariables]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
value = 'if(abs(a-b)<1E-6,0,1E6*abs(a-b))'
vars = 'a b'
vals = 'Coh_analytic Coh_moose'
[../]
[]

[AuxVariables]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
value = 'if(abs(a-b)<1E-6,0,1E6*abs(a-b))'
vars = 'a b'
vals = 'Coh_analytic Coh_moose'
[../]
[]

[AuxVariables]
Expand Down
2 changes: 1 addition & 1 deletion modules/tensor_mechanics/test/tests/pressure/tests
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
type = Exodiff
input = 'pressure_test.i'
exodiff = 'pressure_test_out.e'
cli_args = 'GlobalParams/volumetric_locking_correction = true'
cli_args = 'GlobalParams/volumetric_locking_correction=true'
prereq = '3D'
[../]
[]

0 comments on commit ae4955c

Please sign in to comment.