Skip to content

Commit

Permalink
Fix several tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hugary1995 committed Sep 20, 2021
1 parent 0dd6414 commit f813af2
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
Binary file modified tutorials/large_deformation/gold/elasticity_out.e
Binary file not shown.
Binary file modified tutorials/large_deformation/gold/elastoplasticity_out.e
Binary file not shown.
13 changes: 9 additions & 4 deletions tutorials/surfing_boundary_problem/elasticity.i
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ delta = 1.16
c1 = '${fparse (1+nu)*sqrt(Gc)/sqrt(2*pi*E)}'
c2 = '${fparse (3-nu)/(1+nu)}'

nx = 90
ny = 30
refine = 3

[Functions]
[bc_func]
type = ParsedFunction
Expand All @@ -25,7 +29,8 @@ c2 = '${fparse (3-nu)/(1+nu)}'
[fracture]
type = TransientMultiApp
input_files = fracture.i
cli_args = 'E=${E};K=${K};G=${G};Lambda=${Lambda};Gc=${Gc};l=${l}'
cli_args = 'E=${E};K=${K};G=${G};Lambda=${Lambda};Gc=${Gc};l=${l};nx=${nx};ny=${ny};refine=${refi'
'ne}'
execute_on = 'TIMESTEP_END'
[]
[]
Expand Down Expand Up @@ -55,8 +60,8 @@ c2 = '${fparse (3-nu)/(1+nu)}'
[gen]
type = GeneratedMeshGenerator
dim = 2
nx = 90
ny = 30
nx = ${nx}
ny = ${ny}
xmax = 30
ymin = -5
ymax = 5
Expand All @@ -74,7 +79,7 @@ c2 = '${fparse (3-nu)/(1+nu)}'
initial_marker = marker
initial_steps = 3
stop_time = 0
max_h_level = 3
max_h_level = ${refine}
[Markers]
[marker]
type = BoxMarker
Expand Down
7 changes: 3 additions & 4 deletions tutorials/surfing_boundary_problem/fracture.i
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
[gen]
type = GeneratedMeshGenerator
dim = 2
nx = 90
ny = 30
nx = ${nx}
ny = ${ny}
xmax = 30
ymin = -5
ymax = 5
Expand All @@ -15,7 +15,7 @@
initial_marker = marker
initial_steps = 3
stop_time = 0
max_h_level = 3
max_h_level = ${refine}
[Markers]
[marker]
type = BoxMarker
Expand Down Expand Up @@ -54,7 +54,6 @@
type = ConditionalBoundsAux
variable = bounds_dummy
bounded_variable = d
bound_type = lower
fixed_bound_value = 0
threshold_value = 0.95
[]
Expand Down
Binary file modified tutorials/surfing_boundary_problem/gold/elasticity_out.e
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
type = Exodiff
input = 'elasticity.i'
exodiff = 'elasticity_out.e'
cli_args = 'Executioner/num_steps=2'
cli_args = 'nx=30 ny=10 refine=1 Executioner/num_steps=2'
abs_zero = 1e-9
rel_err = 1e-4
[]
Expand Down

0 comments on commit f813af2

Please sign in to comment.