Skip to content

Commit

Permalink
Fix failing tests #99
Browse files Browse the repository at this point in the history
  • Loading branch information
SudiptaBiswas committed Oct 26, 2020
1 parent 4aa681d commit c4fa81b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 21 deletions.
33 changes: 12 additions & 21 deletions test/tests/rebar_bondslip/RCBeam_constraint.i
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
strain = finite
incremental = true
generate_output = 'stress_xx stress_xy stress_yy strain_xx strain_xy strain_yy
max_principal_stress mid_principal_stress min_principal_stress
secondinv_stress thirdinv_stress vonmises_stress
secondinv_strain thirdinv_strain
elastic_strain_xx elastic_strain_xy elastic_strain_yy'
max_principal_stress mid_principal_stress min_principal_stress
secondinv_stress thirdinv_stress vonmises_stress
secondinv_strain thirdinv_strain
elastic_strain_xx elastic_strain_xy elastic_strain_yy'
save_in = 'resid_x resid_y'
[../]
[]
Expand Down Expand Up @@ -78,7 +78,7 @@
primary_variable = 'disp_x'
component = 0
max_bondstress = 100
transitional_slip_values = 0.0005
transitional_slip_values = 0.001
ultimate_slip = 0.1
rebar_radius = 7.98e-3
[]
Expand All @@ -91,26 +91,18 @@
primary_variable = 'disp_y'
component = 1
max_bondstress = 100
transitional_slip_values = 0.0005
transitional_slip_values = 0.001
ultimate_slip = 0.1
rebar_radius = 7.98e-3
[]
[]

[Functions]
[./loading]
type = PiecewiseLinear
x = '0 10 20 30 '
y = '0 -0.008 0.003 0.0'
[../]
[]

[BCs]
[./loading]
type = FunctionDirichletBC
type = DirichletBC
variable = disp_x
boundary = '102'
function = loading
value = 0.001
preset = true
[../]
[./left_support_x]
Expand Down Expand Up @@ -241,12 +233,11 @@
petsc_options_iname = '-pc_type'
petsc_options_value = 'lu'
petsc_options = '-snes_converged_reason'
nl_max_its = 100
nl_abs_tol = 1.E-5
nl_rel_tol = 1E-3
end_time = 30
nl_max_its = 10
nl_abs_tol = 1e-7
nl_rel_tol = 1e-8
dtmin = 0.00001
num_steps = 5
num_steps = 2
dt = 0.1
[]

Expand Down
Binary file modified test/tests/rebar_bondslip/gold/RCBeam_constraint_out.e
Binary file not shown.
Binary file removed test/tests/rebar_bondslip/gold/geo.e
Binary file not shown.
1 change: 1 addition & 0 deletions test/tests/rebar_bondslip/tests
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
type = 'Exodiff'
input = 'RCBeam_constraint.i'
exodiff = 'RCBeam_constraint_out.e'
abs_zero = 1e-5
[../]
[]

0 comments on commit c4fa81b

Please sign in to comment.