Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f813af2

Browse files
committedSep 20, 2021
Fix several tests
1 parent 0dd6414 commit f813af2

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed
 
Binary file not shown.
Binary file not shown.

‎tutorials/surfing_boundary_problem/elasticity.i

+9-4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ delta = 1.16
1212
c1 = '${fparse (1+nu)*sqrt(Gc)/sqrt(2*pi*E)}'
1313
c2 = '${fparse (3-nu)/(1+nu)}'
1414

15+
nx = 90
16+
ny = 30
17+
refine = 3
18+
1519
[Functions]
1620
[bc_func]
1721
type = ParsedFunction
@@ -25,7 +29,8 @@ c2 = '${fparse (3-nu)/(1+nu)}'
2529
[fracture]
2630
type = TransientMultiApp
2731
input_files = fracture.i
28-
cli_args = 'E=${E};K=${K};G=${G};Lambda=${Lambda};Gc=${Gc};l=${l}'
32+
cli_args = 'E=${E};K=${K};G=${G};Lambda=${Lambda};Gc=${Gc};l=${l};nx=${nx};ny=${ny};refine=${refi'
33+
'ne}'
2934
execute_on = 'TIMESTEP_END'
3035
[]
3136
[]
@@ -55,8 +60,8 @@ c2 = '${fparse (3-nu)/(1+nu)}'
5560
[gen]
5661
type = GeneratedMeshGenerator
5762
dim = 2
58-
nx = 90
59-
ny = 30
63+
nx = ${nx}
64+
ny = ${ny}
6065
xmax = 30
6166
ymin = -5
6267
ymax = 5
@@ -74,7 +79,7 @@ c2 = '${fparse (3-nu)/(1+nu)}'
7479
initial_marker = marker
7580
initial_steps = 3
7681
stop_time = 0
77-
max_h_level = 3
82+
max_h_level = ${refine}
7883
[Markers]
7984
[marker]
8085
type = BoxMarker

‎tutorials/surfing_boundary_problem/fracture.i

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
[gen]
33
type = GeneratedMeshGenerator
44
dim = 2
5-
nx = 90
6-
ny = 30
5+
nx = ${nx}
6+
ny = ${ny}
77
xmax = 30
88
ymin = -5
99
ymax = 5
@@ -15,7 +15,7 @@
1515
initial_marker = marker
1616
initial_steps = 3
1717
stop_time = 0
18-
max_h_level = 3
18+
max_h_level = ${refine}
1919
[Markers]
2020
[marker]
2121
type = BoxMarker
@@ -54,7 +54,6 @@
5454
type = ConditionalBoundsAux
5555
variable = bounds_dummy
5656
bounded_variable = d
57-
bound_type = lower
5857
fixed_bound_value = 0
5958
threshold_value = 0.95
6059
[]
Binary file not shown.

‎tutorials/surfing_boundary_problem/test ‎tutorials/surfing_boundary_problem/tests

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
type = Exodiff
44
input = 'elasticity.i'
55
exodiff = 'elasticity_out.e'
6-
cli_args = 'Executioner/num_steps=2'
6+
cli_args = 'nx=30 ny=10 refine=1 Executioner/num_steps=2'
77
abs_zero = 1e-9
88
rel_err = 1e-4
99
[]

0 commit comments

Comments
 (0)
Please sign in to comment.