Skip to content

Commit c4fa81b

Browse files
committed
Fix failing tests #99
1 parent 4aa681d commit c4fa81b

File tree

4 files changed

+13
-21
lines changed

4 files changed

+13
-21
lines changed

test/tests/rebar_bondslip/RCBeam_constraint.i

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
strain = finite
1313
incremental = true
1414
generate_output = 'stress_xx stress_xy stress_yy strain_xx strain_xy strain_yy
15-
max_principal_stress mid_principal_stress min_principal_stress
16-
secondinv_stress thirdinv_stress vonmises_stress
17-
secondinv_strain thirdinv_strain
18-
elastic_strain_xx elastic_strain_xy elastic_strain_yy'
15+
max_principal_stress mid_principal_stress min_principal_stress
16+
secondinv_stress thirdinv_stress vonmises_stress
17+
secondinv_strain thirdinv_strain
18+
elastic_strain_xx elastic_strain_xy elastic_strain_yy'
1919
save_in = 'resid_x resid_y'
2020
[../]
2121
[]
@@ -78,7 +78,7 @@
7878
primary_variable = 'disp_x'
7979
component = 0
8080
max_bondstress = 100
81-
transitional_slip_values = 0.0005
81+
transitional_slip_values = 0.001
8282
ultimate_slip = 0.1
8383
rebar_radius = 7.98e-3
8484
[]
@@ -91,26 +91,18 @@
9191
primary_variable = 'disp_y'
9292
component = 1
9393
max_bondstress = 100
94-
transitional_slip_values = 0.0005
94+
transitional_slip_values = 0.001
9595
ultimate_slip = 0.1
9696
rebar_radius = 7.98e-3
9797
[]
9898
[]
9999

100-
[Functions]
101-
[./loading]
102-
type = PiecewiseLinear
103-
x = '0 10 20 30 '
104-
y = '0 -0.008 0.003 0.0'
105-
[../]
106-
[]
107-
108100
[BCs]
109101
[./loading]
110-
type = FunctionDirichletBC
102+
type = DirichletBC
111103
variable = disp_x
112104
boundary = '102'
113-
function = loading
105+
value = 0.001
114106
preset = true
115107
[../]
116108
[./left_support_x]
@@ -241,12 +233,11 @@
241233
petsc_options_iname = '-pc_type'
242234
petsc_options_value = 'lu'
243235
petsc_options = '-snes_converged_reason'
244-
nl_max_its = 100
245-
nl_abs_tol = 1.E-5
246-
nl_rel_tol = 1E-3
247-
end_time = 30
236+
nl_max_its = 10
237+
nl_abs_tol = 1e-7
238+
nl_rel_tol = 1e-8
248239
dtmin = 0.00001
249-
num_steps = 5
240+
num_steps = 2
250241
dt = 0.1
251242
[]
252243

Binary file not shown.

test/tests/rebar_bondslip/gold/geo.e

-352 KB
Binary file not shown.

test/tests/rebar_bondslip/tests

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
type = 'Exodiff'
88
input = 'RCBeam_constraint.i'
99
exodiff = 'RCBeam_constraint_out.e'
10+
abs_zero = 1e-5
1011
[../]
1112
[]

0 commit comments

Comments
 (0)