Skip to content

Commit

Permalink
Merge pull request idaholab#8691 from bwspenc/volumetric_locking_xfem
Browse files Browse the repository at this point in the history
Fix bad interaction between volumetric locking correction and xfem
  • Loading branch information
permcody committed Mar 11, 2017
2 parents fe3c3f3 + d4fb340 commit c079d1d
Show file tree
Hide file tree
Showing 45 changed files with 194 additions and 205 deletions.
9 changes: 6 additions & 3 deletions modules/combined/tests/contact/4ElemTensionRelease.i
Expand Up @@ -2,6 +2,9 @@
file = 4ElemTensionRelease.e
displacements = 'disp_x disp_y'
[]
[GlobalParams]
# volumetric_locking_correction = false
[]

[Functions]
[./up]
Expand Down Expand Up @@ -107,9 +110,9 @@

l_max_its = 100
nl_max_its = 10
dt = 0.1
dtmin = 0.1
num_steps = 30
dt = 0.2
dtmin = 0.2
end_time = 3

[./Predictor]
type = SimplePredictor
Expand Down
Expand Up @@ -109,9 +109,9 @@

l_max_its = 100
nl_max_its = 10
dt = 0.1
dtmin = 0.1
num_steps = 30
dt = 0.2
dtmin = 0.2
end_time = 3

[./Predictor]
type = SimplePredictor
Expand Down
Binary file modified modules/combined/tests/contact/gold/4ElemTensionRelease_out.e
Binary file not shown.
Expand Up @@ -9,6 +9,7 @@
max_parallel = 1
superlu = true
prereq = 'glued_kin_sm'
skip = 'Reevaluate under PETSc 3.7.4. #8200'
[../]
[./glued_pen]
type = 'CSVDiff'
Expand All @@ -31,6 +32,7 @@
max_parallel = 1
superlu = true
prereq = 'frictionless_kin_sm'
skip = 'Reevaluate under PETSc 3.7.4. #8200'
[../]
[./frictionless_pen]
type = 'CSVDiff'
Expand Down Expand Up @@ -62,7 +64,8 @@
abs_zero = 1e-8
max_parallel = 1
superlu = true
prereq = 'mu_0_2_kin_sm'
#prereq = 'mu_0_2_kin_sm' #Commented out because the prereq test is currently skipped #8200
skip = 'Reevaluate under PETSc 3.7.4. #8200'
[../]
[./mu_0_2_pen]
type = 'CSVDiff'
Expand Down Expand Up @@ -132,6 +135,7 @@
abs_zero = 1e-8
max_parallel = 1
superlu = true
skip = 'Reevaluate under PETSc 3.7.4. #8200'
[../]
[./mu_0_2_pen_sm]
type = 'CSVDiff'
Expand Down
Binary file not shown.
@@ -0,0 +1,16 @@
brick x 0.6 y 2 z 1
brick x 0.6 y 0.8 z 1
volume 2 move {0.6}
volume all move 0 0 -0.5
surface 1 size 0.15
surface 7 size 0.1
mesh surface 1
mesh surface 7
sideset 1 curve 3
sideset 2 curve 1
sideset 3 curve 15
sideset 4 curve 13
block 1 surface 1
block 2 surface 7
block all element type QUAD4
export mesh "blocks_2d_nogap.e" overwrite
@@ -1,5 +1,5 @@
[Mesh]
file = blocks_2d.e
file = blocks_2d_nogap.e
displacements = 'disp_x disp_y'
[]

Expand Down Expand Up @@ -92,7 +92,7 @@
variable = disp_x
boundary = 4
#Initial gap is 0.01
value = -0.02
value = -0.01
[../]
[./right_y]
type = FunctionPresetBC
Expand Down
@@ -1,6 +1,6 @@
# This is a dirac (contact formulation) version of glued_kinematic.i
[Mesh]
file = blocks_2d.e
file = blocks_2d_nogap.e
displacements = 'disp_x disp_y'
[]

Expand Down Expand Up @@ -93,7 +93,7 @@
variable = disp_x
boundary = 4
#Initial gap is 0.01
value = -0.02
value = -0.01
[../]
[./right_y]
type = FunctionPresetBC
Expand Down
@@ -1,5 +1,5 @@
[Mesh]
file = blocks_2d.e
file = blocks_2d_nogap.e
displacements = 'disp_x disp_y'
[]

Expand Down Expand Up @@ -92,7 +92,7 @@
variable = disp_x
boundary = 4
#Initial gap is 0.01
value = -0.02
value = -0.01
[../]
[./right_y]
type = FunctionPresetBC
Expand Down
@@ -1,6 +1,6 @@
# This is a dirac (contact formulation) version of glued_penalty.i
[Mesh]
file = blocks_2d.e
file = blocks_2d_nogap.e
displacements = 'disp_x disp_y'
[]

Expand Down Expand Up @@ -93,7 +93,7 @@
variable = disp_x
boundary = 4
#Initial gap is 0.01
value = -0.02
value = -0.01
[../]
[./right_y]
type = FunctionPresetBC
Expand Down
Binary file not shown.
Binary file not shown.
Expand Up @@ -154,6 +154,13 @@
[../]
[]

[Preconditioning]
[./smp]
type = SMP
full = true
[../]
[]

[Executioner]
type = Transient

Expand Down
Expand Up @@ -18,6 +18,7 @@
input = 'interaction_integral_3d_as_2d.i'
exodiff = 'interaction_integral_3d_as_2d_out.e'
abs_zero = 1e-7
rel_err = 5e-5
max_parallel = 1 # nl_its and lin_its will not be the same in parallel and serial
[../]
[./ii_3d]
Expand Down
2 changes: 2 additions & 0 deletions modules/combined/tests/solid_mechanics/j_integral/tests
Expand Up @@ -23,11 +23,13 @@
type = 'Exodiff'
input = 'j_integral_3d_as_2d.i'
exodiff = 'j_integral_3d_as_2d_out.e'
rel_err = 5e-5
[../]
[./j_3d_as_2d_topo_q]
type = 'Exodiff'
input = 'j_integral_3d_as_2d_topo_q_func.i'
exodiff = 'j_integral_3d_as_2d_topo_q_func_out.e'
rel_err = 5e-5
[../]
[./j_3d]
type = 'Exodiff'
Expand Down
Binary file not shown.
Binary file not shown.
Expand Up @@ -171,8 +171,8 @@

l_max_its = 50
nl_max_its = 20
nl_abs_tol = 1e-5
nl_rel_tol = 1e-8
nl_abs_tol = 1e-9
nl_rel_tol = 1e-12
l_tol = 1e-2

start_time = 0.0
Expand All @@ -183,22 +183,6 @@

[]

[Postprocessors]
[./_dt]
type = TimestepSize
[../]

[./nl_its]
type = NumNonlinearIterations
[../]

[./lin_its]
type = NumLinearIterations
[../]

[]


[Outputs]
file_base = t_stress_crack_infinite_plate_out
exodus = true
Expand Down

This file was deleted.

Expand Up @@ -229,21 +229,6 @@

[]

[Postprocessors]
[./_dt]
type = TimestepSize
[../]

[./nl_its]
type = NumNonlinearIterations
[../]

[./lin_its]
type = NumLinearIterations
[../]
[]


[Outputs]
execute_on = 'timestep_end'
file_base = t_stress_ellip_crack_out
Expand Down
2 changes: 0 additions & 2 deletions modules/combined/tests/solid_mechanics/t_stress/tests
Expand Up @@ -4,13 +4,11 @@
input = 't_stress_crack_infinite_plate_2d.i'
exodiff = 't_stress_crack_infinite_plate_out.e'
abs_zero = 1e-7
max_parallel = 1 # nl_its and lin_its will not be the same in parallel and serial
[../]
[./3d]
type = 'Exodiff'
input = 't_stress_ellip_crack_3d.i'
exodiff = 't_stress_ellip_crack_out.e'
abs_zero = 1e-7
custom_cmp = 't_stress_ellip_crack_3d.cmp' # Ignore nl_its and lin_its
[../]
[]

0 comments on commit c079d1d

Please sign in to comment.