diff --git a/modules/xfem/doc/content/source/userobjects/LineSegmentCutSetUserObject.md b/modules/xfem/doc/content/source/userobjects/LineSegmentCutSetUserObject.md index e31cc21e0a98..76bd36c8fec3 100644 --- a/modules/xfem/doc/content/source/userobjects/LineSegmentCutSetUserObject.md +++ b/modules/xfem/doc/content/source/userobjects/LineSegmentCutSetUserObject.md @@ -12,7 +12,7 @@ of six values in cut_data prescribes a line segment cut: start point x, start point y, end point x, end point y, start cut time, end cut time. The object checks to ensure that the length of cut_data is a multiple of six. Provided that the start cut time and end cut time values are different, the cut will -lenghten by $r_{total} \cdot \frac{t_{current} - t_{start}}{t_{end} - +lengthen by $r_{total} \cdot \frac{t_{current} - t_{start}}{t_{end} - t_{start}}$ at each timestep from start cut time until the specified end cut time. As in the `LineSegmentCutUserObject`, scaling and translation are available via optional parameters and apply to all applicable components of @@ -20,7 +20,7 @@ cut_data. ## Example Input Syntax -!listing test/tests/second_order_elements/square_branch_quad9_2d.i block=UserObjects +!listing test/tests/high_order_elements/square_branch_2d.i block=UserObjects !syntax parameters /UserObjects/LineSegmentCutSetUserObject diff --git a/modules/xfem/doc/content/source/userobjects/LineSegmentCutUserObject.md b/modules/xfem/doc/content/source/userobjects/LineSegmentCutUserObject.md index 2991c160fc84..4d1befdc6137 100644 --- a/modules/xfem/doc/content/source/userobjects/LineSegmentCutUserObject.md +++ b/modules/xfem/doc/content/source/userobjects/LineSegmentCutUserObject.md @@ -8,7 +8,7 @@ The `LineSegmentCutUserObject` defines a line segment cut for XFEM to make on a 2 dimensional mesh. The start and end points of the line segment are defined in cut_data as a vector of four Real values: start point x, start point y, end point x, end point y. By default, the entire cut specified is performed at -$t=0$. Propogation of the cut may be prescribed along the line +$t=0$. Propagation of the cut may be prescribed along the line segment by specifying the time_start_cut and time_end_cut parameters in simulation time. The cut will lengthen by $r_{total} \cdot \frac{t_{current} - t_{start}}{t_{end} - t_{start}}$ at each timestep from time_start_cut until @@ -19,7 +19,7 @@ to both start and end points. ## Example Input Syntax -!listing test/tests/second_order_elements/diffusion_2d_quad8.i block=UserObjects +!listing test/tests/high_order_elements/diffusion_2d.i block=UserObjects !syntax parameters /UserObjects/LineSegmentCutUserObject diff --git a/modules/xfem/test/tests/second_order_elements/diffusion_2d_tri6.i b/modules/xfem/test/tests/high_order_elements/diffusion_2d.i similarity index 100% rename from modules/xfem/test/tests/second_order_elements/diffusion_2d_tri6.i rename to modules/xfem/test/tests/high_order_elements/diffusion_2d.i diff --git a/modules/xfem/test/tests/second_order_elements/diffusion_3d_tet10.i b/modules/xfem/test/tests/high_order_elements/diffusion_3d.i similarity index 100% rename from modules/xfem/test/tests/second_order_elements/diffusion_3d_tet10.i rename to modules/xfem/test/tests/high_order_elements/diffusion_3d.i diff --git a/modules/xfem/test/tests/second_order_elements/diffusion_quad9_levelsetcut.i b/modules/xfem/test/tests/high_order_elements/diffusion_quad9_levelsetcut.i similarity index 100% rename from modules/xfem/test/tests/second_order_elements/diffusion_quad9_levelsetcut.i rename to modules/xfem/test/tests/high_order_elements/diffusion_quad9_levelsetcut.i diff --git a/modules/xfem/test/tests/second_order_elements/gold/diffusion_2d_quad8_out.e b/modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_quad8_out.e similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/diffusion_2d_quad8_out.e rename to modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_quad8_out.e diff --git a/modules/xfem/test/tests/second_order_elements/gold/diffusion_2d_quad8_out.e-s002 b/modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_quad8_out.e-s002 similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/diffusion_2d_quad8_out.e-s002 rename to modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_quad8_out.e-s002 diff --git a/modules/xfem/test/tests/second_order_elements/gold/diffusion_2d_quad9_out.e b/modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_quad9_out.e similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/diffusion_2d_quad9_out.e rename to modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_quad9_out.e diff --git a/modules/xfem/test/tests/second_order_elements/gold/diffusion_2d_quad9_out.e-s002 b/modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_quad9_out.e-s002 similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/diffusion_2d_quad9_out.e-s002 rename to modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_quad9_out.e-s002 diff --git a/modules/xfem/test/tests/second_order_elements/gold/diffusion_2d_tri6_out.e b/modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_tri6_out.e similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/diffusion_2d_tri6_out.e rename to modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_tri6_out.e diff --git a/modules/xfem/test/tests/second_order_elements/gold/diffusion_2d_tri6_out.e-s002 b/modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_tri6_out.e-s002 similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/diffusion_2d_tri6_out.e-s002 rename to modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_tri6_out.e-s002 diff --git a/modules/xfem/test/tests/third_order_elements/gold/diffusion_2d_tri7_out.e b/modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_tri7_out.e similarity index 100% rename from modules/xfem/test/tests/third_order_elements/gold/diffusion_2d_tri7_out.e rename to modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_tri7_out.e diff --git a/modules/xfem/test/tests/third_order_elements/gold/diffusion_2d_tri7_out.e-s002 b/modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_tri7_out.e-s002 similarity index 100% rename from modules/xfem/test/tests/third_order_elements/gold/diffusion_2d_tri7_out.e-s002 rename to modules/xfem/test/tests/high_order_elements/gold/diffusion_2d_tri7_out.e-s002 diff --git a/modules/xfem/test/tests/second_order_elements/gold/diffusion_3d_hex20_out.e b/modules/xfem/test/tests/high_order_elements/gold/diffusion_3d_hex20_out.e similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/diffusion_3d_hex20_out.e rename to modules/xfem/test/tests/high_order_elements/gold/diffusion_3d_hex20_out.e diff --git a/modules/xfem/test/tests/second_order_elements/gold/diffusion_3d_hex27_out.e b/modules/xfem/test/tests/high_order_elements/gold/diffusion_3d_hex27_out.e similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/diffusion_3d_hex27_out.e rename to modules/xfem/test/tests/high_order_elements/gold/diffusion_3d_hex27_out.e diff --git a/modules/xfem/test/tests/second_order_elements/gold/diffusion_3d_tet10_out.e b/modules/xfem/test/tests/high_order_elements/gold/diffusion_3d_tet10_out.e similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/diffusion_3d_tet10_out.e rename to modules/xfem/test/tests/high_order_elements/gold/diffusion_3d_tet10_out.e diff --git a/modules/xfem/test/tests/second_order_elements/gold/diffusion_quad9_levelsetcut_out.e b/modules/xfem/test/tests/high_order_elements/gold/diffusion_quad9_levelsetcut_out.e similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/diffusion_quad9_levelsetcut_out.e rename to modules/xfem/test/tests/high_order_elements/gold/diffusion_quad9_levelsetcut_out.e diff --git a/modules/xfem/test/tests/second_order_elements/gold/square_branch_quad8_2d_out.e b/modules/xfem/test/tests/high_order_elements/gold/square_branch_quad8_2d_out.e similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/square_branch_quad8_2d_out.e rename to modules/xfem/test/tests/high_order_elements/gold/square_branch_quad8_2d_out.e diff --git a/modules/xfem/test/tests/second_order_elements/gold/square_branch_quad8_2d_out.e-s002 b/modules/xfem/test/tests/high_order_elements/gold/square_branch_quad8_2d_out.e-s002 similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/square_branch_quad8_2d_out.e-s002 rename to modules/xfem/test/tests/high_order_elements/gold/square_branch_quad8_2d_out.e-s002 diff --git a/modules/xfem/test/tests/second_order_elements/gold/square_branch_quad8_2d_out.e-s003 b/modules/xfem/test/tests/high_order_elements/gold/square_branch_quad8_2d_out.e-s003 similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/square_branch_quad8_2d_out.e-s003 rename to modules/xfem/test/tests/high_order_elements/gold/square_branch_quad8_2d_out.e-s003 diff --git a/modules/xfem/test/tests/second_order_elements/gold/square_branch_quad9_2d_out.e b/modules/xfem/test/tests/high_order_elements/gold/square_branch_quad9_2d_out.e similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/square_branch_quad9_2d_out.e rename to modules/xfem/test/tests/high_order_elements/gold/square_branch_quad9_2d_out.e diff --git a/modules/xfem/test/tests/second_order_elements/gold/square_branch_quad9_2d_out.e-s002 b/modules/xfem/test/tests/high_order_elements/gold/square_branch_quad9_2d_out.e-s002 similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/square_branch_quad9_2d_out.e-s002 rename to modules/xfem/test/tests/high_order_elements/gold/square_branch_quad9_2d_out.e-s002 diff --git a/modules/xfem/test/tests/second_order_elements/gold/square_branch_quad9_2d_out.e-s003 b/modules/xfem/test/tests/high_order_elements/gold/square_branch_quad9_2d_out.e-s003 similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/square_branch_quad9_2d_out.e-s003 rename to modules/xfem/test/tests/high_order_elements/gold/square_branch_quad9_2d_out.e-s003 diff --git a/modules/xfem/test/tests/second_order_elements/gold/square_branch_tri6_2d_out.e b/modules/xfem/test/tests/high_order_elements/gold/square_branch_tri6_2d_out.e similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/square_branch_tri6_2d_out.e rename to modules/xfem/test/tests/high_order_elements/gold/square_branch_tri6_2d_out.e diff --git a/modules/xfem/test/tests/second_order_elements/gold/square_branch_tri6_2d_out.e-s002 b/modules/xfem/test/tests/high_order_elements/gold/square_branch_tri6_2d_out.e-s002 similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/square_branch_tri6_2d_out.e-s002 rename to modules/xfem/test/tests/high_order_elements/gold/square_branch_tri6_2d_out.e-s002 diff --git a/modules/xfem/test/tests/second_order_elements/gold/square_branch_tri6_2d_out.e-s003 b/modules/xfem/test/tests/high_order_elements/gold/square_branch_tri6_2d_out.e-s003 similarity index 100% rename from modules/xfem/test/tests/second_order_elements/gold/square_branch_tri6_2d_out.e-s003 rename to modules/xfem/test/tests/high_order_elements/gold/square_branch_tri6_2d_out.e-s003 diff --git a/modules/xfem/test/tests/third_order_elements/gold/square_branch_tri7_2d_out.e b/modules/xfem/test/tests/high_order_elements/gold/square_branch_tri7_2d_out.e similarity index 100% rename from modules/xfem/test/tests/third_order_elements/gold/square_branch_tri7_2d_out.e rename to modules/xfem/test/tests/high_order_elements/gold/square_branch_tri7_2d_out.e diff --git a/modules/xfem/test/tests/third_order_elements/gold/square_branch_tri7_2d_out.e-s002 b/modules/xfem/test/tests/high_order_elements/gold/square_branch_tri7_2d_out.e-s002 similarity index 100% rename from modules/xfem/test/tests/third_order_elements/gold/square_branch_tri7_2d_out.e-s002 rename to modules/xfem/test/tests/high_order_elements/gold/square_branch_tri7_2d_out.e-s002 diff --git a/modules/xfem/test/tests/third_order_elements/gold/square_branch_tri7_2d_out.e-s003 b/modules/xfem/test/tests/high_order_elements/gold/square_branch_tri7_2d_out.e-s003 similarity index 100% rename from modules/xfem/test/tests/third_order_elements/gold/square_branch_tri7_2d_out.e-s003 rename to modules/xfem/test/tests/high_order_elements/gold/square_branch_tri7_2d_out.e-s003 diff --git a/modules/xfem/test/tests/second_order_elements/square_branch_tri6_2d.i b/modules/xfem/test/tests/high_order_elements/square_branch_2d.i similarity index 99% rename from modules/xfem/test/tests/second_order_elements/square_branch_tri6_2d.i rename to modules/xfem/test/tests/high_order_elements/square_branch_2d.i index 604559550390..ab8e0993aa13 100644 --- a/modules/xfem/test/tests/second_order_elements/square_branch_tri6_2d.i +++ b/modules/xfem/test/tests/high_order_elements/square_branch_2d.i @@ -99,7 +99,7 @@ solve_type = 'PJFNK' petsc_options_iname = '-ksp_gmres_restart -pc_type -pc_hypre_type -pc_hypre_boomeramg_max_iter' - petsc_options_value = '201 hypre boomeramg 8' + petsc_options_value = '201 hypre boomeramg 10' line_search = 'none' diff --git a/modules/xfem/test/tests/second_order_elements/tests b/modules/xfem/test/tests/high_order_elements/tests similarity index 64% rename from modules/xfem/test/tests/second_order_elements/tests rename to modules/xfem/test/tests/high_order_elements/tests index ed728a43553a..0f319c7c9e52 100644 --- a/modules/xfem/test/tests/second_order_elements/tests +++ b/modules/xfem/test/tests/high_order_elements/tests @@ -3,24 +3,36 @@ issues = '#8709' [./diffusion_2d_tri6] type = Exodiff - input = diffusion_2d_tri6.i + input = diffusion_2d.i exodiff = 'diffusion_2d_tri6_out.e diffusion_2d_tri6_out.e-s002' + cli_args = 'Outputs/file_base=diffusion_2d_tri6_out' map = false unique_id = true requirement = 'The XFEM module shall permit modeling of discontinuities represented with XFEM with second-order elements in 2D using TRI6 elements.' [../] + [./diffusion_2d_tri7] + type = Exodiff + input = diffusion_2d.i + exodiff = 'diffusion_2d_tri7_out.e diffusion_2d_tri7_out.e-s002' + cli_args = 'GlobalParams/order=THIRD Mesh/elem_type=TRI7 Outputs/file_base=diffusion_2d_tri7_out' + map = false + unique_id = true + requirement = 'The XFEM module shall permit modeling of discontinuities represented with XFEM with third-order elements in 2D using TRI7 elements.' + [../] [./diffusion_2d_quad8] type = Exodiff - input = diffusion_2d_quad8.i + input = diffusion_2d.i exodiff = 'diffusion_2d_quad8_out.e diffusion_2d_quad8_out.e-s002' + cli_args = 'Mesh/elem_type=QUAD8 Outputs/file_base=diffusion_2d_quad8_out' map = false unique_id = true requirement = 'The XFEM module shall permit modeling of discontinuities represented with XFEM with second-order elements in 2D using QUAD8 elements.' [../] [./diffusion_2d_quad9] type = Exodiff - input = diffusion_2d_quad9.i + input = diffusion_2d.i exodiff = 'diffusion_2d_quad9_out.e diffusion_2d_quad9_out.e-s002' + cli_args = 'Mesh/elem_type=QUAD9 Outputs/file_base=diffusion_2d_quad9_out' map = false unique_id = true requirement = 'The XFEM module shall permit modeling of discontinuities represented with XFEM with second-order elements in 2D using QUAD9 elements.' @@ -35,50 +47,66 @@ [../] [./diffusion_3d_tet10] type = Exodiff - input = diffusion_3d_tet10.i + input = diffusion_3d.i exodiff = 'diffusion_3d_tet10_out.e' + cli_args = 'Outputs/file_base=diffusion_3d_tet10_out' map = false unique_id = true requirement = 'The XFEM module shall permit modeling of discontinuities represented with XFEM with second-order elements in 3D using TET10 elements when the XFEM cutting plane is prescribed using a level set field.' [../] [./diffusion_3d_hex20] type = Exodiff - input = diffusion_3d_hex20.i + input = diffusion_3d.i exodiff = 'diffusion_3d_hex20_out.e' + cli_args = 'Mesh/ny=4 Mesh/elem_type=HEX20 Outputs/file_base=diffusion_3d_hex20_out' map = false unique_id = true requirement = 'The XFEM module shall permit modeling of discontinuities represented with XFEM with second-order elements in 3D using HEX20 elements when the XFEM cutting plane is prescribed using a level set field.' [../] [./diffusion_3d_hex27] type = Exodiff - input = diffusion_3d_hex27.i + input = diffusion_3d.i exodiff = 'diffusion_3d_hex27_out.e' + cli_args = 'Mesh/ny=4 Mesh/elem_type=HEX27 Outputs/file_base=diffusion_3d_hex27_out' map = false unique_id = true requirement = 'The XFEM module shall permit modeling of discontinuities represented with XFEM with second-order elements in 3D using HEX27 elements when the XFEM cutting plane is prescribed using a level set field.' [../] [./square_branch_quad8_2d] type = Exodiff - input = square_branch_quad8_2d.i + input = square_branch_2d.i exodiff = 'square_branch_quad8_2d_out.e square_branch_quad8_2d_out.e-s002 square_branch_quad8_2d_out.e-s003' + cli_args = 'Modules/TensorMechanics/Master/all/planar_formulation=PLANE_STRAIN ' + 'Mesh/elem_type=QUAD8 Outputs/file_base=square_branch_quad8_2d_out' map = false unique_id = true requirement = 'The XFEM module shall permit modeling of branching of discontinuities represented with XFEM by sequentially cutting second-order elements in 2D using QUAD8 elements.' [../] [./square_branch_quad9_2d] type = Exodiff - input = square_branch_quad9_2d.i + input = square_branch_2d.i exodiff = 'square_branch_quad9_2d_out.e square_branch_quad9_2d_out.e-s002 square_branch_quad9_2d_out.e-s003' + cli_args = 'Mesh/elem_type=QUAD9 Outputs/file_base=square_branch_quad9_2d_out' map = false unique_id = true requirement = 'The XFEM module shall permit modeling of branching of discontinuities represented with XFEM by sequentially cutting second-order elements in 2D using QUAD9 elements.' [../] [./square_branch_tri6_2d] type = Exodiff - input = square_branch_tri6_2d.i + input = square_branch_2d.i exodiff = 'square_branch_tri6_2d_out.e square_branch_tri6_2d_out.e-s002 square_branch_tri6_2d_out.e-s003' + cli_args = 'Outputs/file_base=square_branch_tri6_2d_out' map = false unique_id = true requirement = 'The XFEM module shall permit modeling of branching of discontinuities represented with XFEM by sequentially cutting second-order elements in 2D using TRI6 elements.' [../] + [./square_branch_tri7_2d] + type = Exodiff + input = square_branch_2d.i + exodiff = 'square_branch_tri7_2d_out.e square_branch_tri7_2d_out.e-s002 square_branch_tri7_2d_out.e-s003' + cli_args = 'GlobalParams/order=THIRD Mesh/elem_type=TRI7 Outputs/file_base=square_branch_tri7_2d_out' + map = false + unique_id = true + requirement = 'The XFEM module shall permit modeling of branching of discontinuities represented with XFEM by sequentially cutting third-order elements in 2D using TRI7 elements.' + [../] [] diff --git a/modules/xfem/test/tests/second_order_elements/diffusion_2d_quad8.i b/modules/xfem/test/tests/second_order_elements/diffusion_2d_quad8.i deleted file mode 100644 index 7b038f64ff17..000000000000 --- a/modules/xfem/test/tests/second_order_elements/diffusion_2d_quad8.i +++ /dev/null @@ -1,94 +0,0 @@ -[GlobalParams] - order = SECOND - family = LAGRANGE -[] - -[Mesh] - type = GeneratedMesh - dim = 2 - nx = 3 - ny = 4 - xmin = 0.0 - xmax = 1.0 - ymin = 0.0 - ymax = 1.0 - elem_type = QUAD8 -[] - -[XFEM] - qrule = volfrac - output_cut_plane = true -[] - -[UserObjects] - [./line_seg_cut_uo] - type = LineSegmentCutUserObject - cut_data = '0.35 1.0 0.35 0.2' - time_start_cut = 0.0 - time_end_cut = 2.0 - [../] -[] - -[Variables] - [./u] - [../] -[] - -[Functions] - [./u_left] - type = PiecewiseLinear - x = '0 2' - y = '0 0.1' - [../] -[] - -[Kernels] - [./diff] - type = Diffusion - variable = u - [../] -[] - -[BCs] -# Define boundary conditions - [./left_u] - type = FunctionDirichletBC - variable = u - boundary = 3 - function = u_left - [../] - - [./right_u] - type = DirichletBC - variable = u - boundary = 1 - value = 0 - [../] -[] - -[Executioner] - type = Transient - solve_type = 'PJFNK' - petsc_options_iname = '-pc_type -pc_hypre_type' - petsc_options_value = 'hypre boomeramg' - line_search = 'none' - - l_tol = 1e-3 - nl_max_its = 15 - nl_rel_tol = 1e-10 - nl_abs_tol = 1e-10 - - start_time = 0.0 - dt = 1.0 - end_time = 2.0 -[] - -[Outputs] - interval = 1 - execute_on = timestep_end - exodus = true - [./console] - type = Console - output_linear = true - [../] -[] diff --git a/modules/xfem/test/tests/second_order_elements/diffusion_2d_quad9.i b/modules/xfem/test/tests/second_order_elements/diffusion_2d_quad9.i deleted file mode 100644 index 2948055089c5..000000000000 --- a/modules/xfem/test/tests/second_order_elements/diffusion_2d_quad9.i +++ /dev/null @@ -1,94 +0,0 @@ -[GlobalParams] - order = SECOND - family = LAGRANGE -[] - -[Mesh] - type = GeneratedMesh - dim = 2 - nx = 3 - ny = 4 - xmin = 0.0 - xmax = 1.0 - ymin = 0.0 - ymax = 1.0 - elem_type = QUAD9 -[] - -[XFEM] - qrule = volfrac - output_cut_plane = true -[] - -[UserObjects] - [./line_seg_cut_uo] - type = LineSegmentCutUserObject - cut_data = '0.35 1.0 0.35 0.2' - time_start_cut = 0.0 - time_end_cut = 2.0 - [../] -[] - -[Variables] - [./u] - [../] -[] - -[Functions] - [./u_left] - type = PiecewiseLinear - x = '0 2' - y = '0 0.1' - [../] -[] - -[Kernels] - [./diff] - type = Diffusion - variable = u - [../] -[] - -[BCs] -# Define boundary conditions - [./left_u] - type = FunctionDirichletBC - variable = u - boundary = 3 - function = u_left - [../] - - [./right_u] - type = DirichletBC - variable = u - boundary = 1 - value = 0 - [../] -[] - -[Executioner] - type = Transient - solve_type = 'PJFNK' - petsc_options_iname = '-pc_type -pc_hypre_type' - petsc_options_value = 'hypre boomeramg' - line_search = 'none' - - l_tol = 1e-3 - nl_max_its = 15 - nl_rel_tol = 1e-10 - nl_abs_tol = 1e-10 - - start_time = 0.0 - dt = 1.0 - end_time = 2.0 -[] - -[Outputs] - interval = 1 - execute_on = timestep_end - exodus = true - [./console] - type = Console - output_linear = true - [../] -[] diff --git a/modules/xfem/test/tests/second_order_elements/diffusion_2d_quad9_test.i b/modules/xfem/test/tests/second_order_elements/diffusion_2d_quad9_test.i deleted file mode 100644 index 62760a9e4ea0..000000000000 --- a/modules/xfem/test/tests/second_order_elements/diffusion_2d_quad9_test.i +++ /dev/null @@ -1,86 +0,0 @@ -[GlobalParams] - order = SECOND - family = LAGRANGE -[] - -[Mesh] - type = GeneratedMesh - dim = 2 - nx = 2 - ny = 2 - xmin = 0.0 - xmax = 1.0 - ymin = 0.0 - ymax = 1.0 - elem_type = QUAD9 -[] - -[XFEM] - cut_data = '0.35 1.0 0.35 0.4 0 0' - qrule = volfrac - output_cut_plane = true -[] - -[Variables] - [./u] - [../] -[] - -[Functions] - [./u_left] - type = PiecewiseLinear - x = '0 2' - y = '0 0.1' - [../] -[] - -[Kernels] - [./diff] - type = Diffusion - variable = u - [../] -[] - -[BCs] -# Define boundary conditions - [./left_u] - type = FunctionDirichletBC - variable = u - boundary = 3 - function = u_left - [../] - - [./right_u] - type = DirichletBC - variable = u - boundary = 1 - value = 0 - [../] -[] - -[Executioner] - type = Transient - solve_type = 'PJFNK' - petsc_options_iname = '-pc_type -pc_hypre_type' - petsc_options_value = 'hypre boomeramg' - line_search = 'none' - - l_tol = 1e-3 - nl_max_its = 15 - nl_rel_tol = 1e-10 - nl_abs_tol = 1e-10 - - start_time = 0.0 - dt = 1.0 - end_time = 2.0 -[] - -[Outputs] - interval = 1 - execute_on = timestep_end - exodus = true - [./console] - type = Console - output_linear = true - [../] -[] diff --git a/modules/xfem/test/tests/second_order_elements/diffusion_3d_hex20.i b/modules/xfem/test/tests/second_order_elements/diffusion_3d_hex20.i deleted file mode 100644 index 37c7c1912f58..000000000000 --- a/modules/xfem/test/tests/second_order_elements/diffusion_3d_hex20.i +++ /dev/null @@ -1,98 +0,0 @@ -[GlobalParams] - order = SECOND - family = LAGRANGE -[] - -[Mesh] - type = GeneratedMesh - dim = 3 - nx = 3 - ny = 4 - nz = 2 - xmin = 0.0 - xmax = 1.0 - ymin = 0.0 - ymax = 1.0 - zmin = 0.0 - zmax = 0.2 - elem_type = HEX20 -[] - -[XFEM] - qrule = volfrac - output_cut_plane = true -[] - -[UserObjects] - [./square_planar_cut_uo] - type = RectangleCutUserObject - cut_data = ' 0.35 1.01 -0.001 - 0.35 0.49 -0.001 - 0.35 0.49 0.201 - 0.35 1.01 0.201' - [../] -[] - -[Variables] - [./u] - [../] -[] - -[Functions] - [./u_left] - type = PiecewiseLinear - x = '0 2' - y = '0 0.1' - [../] -[] - -[Kernels] - [./diff] - type = Diffusion - variable = u - [../] -[] - -[BCs] -# Define boundary conditions - [./left_u] - type = FunctionDirichletBC - variable = u - boundary = left - function = u_left - [../] - - [./right_u] - type = DirichletBC - variable = u - boundary = right - value = 0 - [../] -[] - -[Executioner] - type = Transient - solve_type = 'PJFNK' - petsc_options_iname = '-pc_type -pc_hypre_type' - petsc_options_value = 'hypre boomeramg' - line_search = 'none' - - l_tol = 1e-3 - nl_max_its = 15 - nl_rel_tol = 1e-10 - nl_abs_tol = 1e-10 - - start_time = 0.0 - dt = 1.0 - end_time = 1.0 -[] - -[Outputs] - interval = 1 - execute_on = timestep_end - exodus = true - [./console] - type = Console - output_linear = true - [../] -[] diff --git a/modules/xfem/test/tests/second_order_elements/diffusion_3d_hex27.i b/modules/xfem/test/tests/second_order_elements/diffusion_3d_hex27.i deleted file mode 100644 index cb6de8a05822..000000000000 --- a/modules/xfem/test/tests/second_order_elements/diffusion_3d_hex27.i +++ /dev/null @@ -1,98 +0,0 @@ -[GlobalParams] - order = SECOND - family = LAGRANGE -[] - -[Mesh] - type = GeneratedMesh - dim = 3 - nx = 3 - ny = 4 - nz = 2 - xmin = 0.0 - xmax = 1.0 - ymin = 0.0 - ymax = 1.0 - zmin = 0.0 - zmax = 0.2 - elem_type = HEX27 -[] - -[XFEM] - qrule = volfrac - output_cut_plane = true -[] - -[UserObjects] - [./square_planar_cut_uo] - type = RectangleCutUserObject - cut_data = ' 0.35 1.01 -0.001 - 0.35 0.49 -0.001 - 0.35 0.49 0.201 - 0.35 1.01 0.201' - [../] -[] - -[Variables] - [./u] - [../] -[] - -[Functions] - [./u_left] - type = PiecewiseLinear - x = '0 2' - y = '0 0.1' - [../] -[] - -[Kernels] - [./diff] - type = Diffusion - variable = u - [../] -[] - -[BCs] -# Define boundary conditions - [./left_u] - type = FunctionDirichletBC - variable = u - boundary = left - function = u_left - [../] - - [./right_u] - type = DirichletBC - variable = u - boundary = right - value = 0 - [../] -[] - -[Executioner] - type = Transient - solve_type = 'PJFNK' - petsc_options_iname = '-pc_type -pc_hypre_type' - petsc_options_value = 'hypre boomeramg' - line_search = 'none' - - l_tol = 1e-3 - nl_max_its = 15 - nl_rel_tol = 1e-10 - nl_abs_tol = 1e-10 - - start_time = 0.0 - dt = 1.0 - end_time = 1.0 -[] - -[Outputs] - interval = 1 - execute_on = timestep_end - exodus = true - [./console] - type = Console - output_linear = true - [../] -[] diff --git a/modules/xfem/test/tests/second_order_elements/square_branch_quad8_2d.i b/modules/xfem/test/tests/second_order_elements/square_branch_quad8_2d.i deleted file mode 100644 index d1aad430ace5..000000000000 --- a/modules/xfem/test/tests/second_order_elements/square_branch_quad8_2d.i +++ /dev/null @@ -1,134 +0,0 @@ -[GlobalParams] - order = SECOND - family = LAGRANGE - displacements = 'disp_x disp_y' - volumetric_locking_correction = false -[] - -[XFEM] - qrule = volfrac - output_cut_plane = true -[] - -[Mesh] - type = GeneratedMesh - dim = 2 - nx = 10 - ny = 10 - xmin = 0.0 - xmax = 1.0 - ymin = 0.0 - ymax = 1.0 - elem_type = QUAD8 -[] - -[UserObjects] - [./line_seg_cut_set_uo] - type = LineSegmentCutSetUserObject - cut_data = '-1.0000e-10 6.6340e-01 6.6340e-01 -1.0000e-10 0.0 1.0 - 3.3120e-01 3.3200e-01 1.0001e+00 3.3200e-01 1.0 2.0' - [../] -[] - -[Variables] - [./disp_x] - [../] - [./disp_y] - [../] -[] - -[Modules/TensorMechanics/Master] - [./all] - strain = SMALL - planar_formulation = PLANE_STRAIN - [../] -[] - -[Functions] - [./right_disp_x] - type = PiecewiseLinear - x = '0 1.0 2.0 3.0' - y = '0 0.005 0.01 0.01' - [../] - [./top_disp_y] - type = PiecewiseLinear - x = '0 1.0 2.0 3.0' - y = '0 0.005 0.01 0.01' - [../] -[] - -[BCs] - [./right_x] - type = FunctionDirichletBC - boundary = 1 - variable = disp_x - function = right_disp_x - [../] - [./top_y] - type = FunctionDirichletBC - boundary = 2 - variable = disp_y - function = top_disp_y - [../] - [./bottom_y] - type = DirichletBC - boundary = 0 - variable = disp_y - value = 0.0 - [../] - [./left_x] - type = DirichletBC - boundary = 3 - variable = disp_x - value = 0.0 - [../] -[] - -[Materials] - [./elasticity_tensor] - type = ComputeIsotropicElasticityTensor - youngs_modulus = 1e6 - poissons_ratio = 0.3 - [../] - [./stress] - type = ComputeLinearElasticStress - [../] -[] - -[Executioner] - type = Transient - - solve_type = 'PJFNK' - petsc_options_iname = '-ksp_gmres_restart -pc_type -pc_hypre_type -pc_hypre_boomeramg_max_iter' - petsc_options_value = '201 hypre boomeramg 8' - - line_search = 'none' - - [./Predictor] - type = SimplePredictor - scale = 1.0 - [../] - -# controls for linear iterations - l_max_its = 100 - l_tol = 1e-2 - -# controls for nonlinear iterations - nl_max_its = 15 - nl_rel_tol = 1e-16 - nl_abs_tol = 1e-10 - -# time control - start_time = 0.0 - dt = 1.0 - end_time = 2.2 - num_steps = 5000 -[] - -[Outputs] - exodus = true - [./console] - type = Console - output_linear = true - [../] -[] diff --git a/modules/xfem/test/tests/second_order_elements/square_branch_quad9_2d.i b/modules/xfem/test/tests/second_order_elements/square_branch_quad9_2d.i deleted file mode 100644 index b7d87f073bf7..000000000000 --- a/modules/xfem/test/tests/second_order_elements/square_branch_quad9_2d.i +++ /dev/null @@ -1,133 +0,0 @@ -[GlobalParams] - order = SECOND - family = LAGRANGE - displacements = 'disp_x disp_y' - volumetric_locking_correction = false -[] - -[XFEM] - qrule = volfrac - output_cut_plane = true -[] - -[Mesh] - type = GeneratedMesh - dim = 2 - nx = 10 - ny = 10 - xmin = 0.0 - xmax = 1.0 - ymin = 0.0 - ymax = 1.0 - elem_type = QUAD9 -[] - -[UserObjects] - [./line_seg_cut_set_uo] - type = LineSegmentCutSetUserObject - cut_data = '-1.0000e-10 6.6340e-01 6.6340e-01 -1.0000e-10 0.0 1.0 - 3.3120e-01 3.3200e-01 1.0001e+00 3.3200e-01 1.0 2.0' - [../] -[] - -[Variables] - [./disp_x] - [../] - [./disp_y] - [../] -[] - -[Modules/TensorMechanics/Master] - [./all] - strain = SMALL - [../] -[] - -[Functions] - [./right_disp_x] - type = PiecewiseLinear - x = '0 1.0 2.0 3.0' - y = '0 0.005 0.01 0.01' - [../] - [./top_disp_y] - type = PiecewiseLinear - x = '0 1.0 2.0 3.0' - y = '0 0.005 0.01 0.01' - [../] -[] - -[BCs] - [./right_x] - type = FunctionDirichletBC - boundary = 1 - variable = disp_x - function = right_disp_x - [../] - [./top_y] - type = FunctionDirichletBC - boundary = 2 - variable = disp_y - function = top_disp_y - [../] - [./bottom_y] - type = DirichletBC - boundary = 0 - variable = disp_y - value = 0.0 - [../] - [./left_x] - type = DirichletBC - boundary = 3 - variable = disp_x - value = 0.0 - [../] -[] - -[Materials] - [./elasticity_tensor] - type = ComputeIsotropicElasticityTensor - youngs_modulus = 1e6 - poissons_ratio = 0.3 - [../] - [./stress] - type = ComputeLinearElasticStress - [../] -[] - -[Executioner] - type = Transient - - solve_type = 'PJFNK' - petsc_options_iname = '-ksp_gmres_restart -pc_type -pc_hypre_type -pc_hypre_boomeramg_max_iter' - petsc_options_value = '201 hypre boomeramg 8' - - line_search = 'none' - - [./Predictor] - type = SimplePredictor - scale = 1.0 - [../] - -# controls for linear iterations - l_max_its = 100 - l_tol = 1e-2 - -# controls for nonlinear iterations - nl_max_its = 15 - nl_rel_tol = 1e-16 - nl_abs_tol = 1e-10 - -# time control - start_time = 0.0 - dt = 1.0 - end_time = 2.2 - num_steps = 5000 -[] - -[Outputs] - exodus = true - [./console] - type = Console - output_linear = true - [../] -[] diff --git a/modules/xfem/test/tests/third_order_elements/diffusion_2d_tri7.i b/modules/xfem/test/tests/third_order_elements/diffusion_2d_tri7.i deleted file mode 100644 index 3f21b514234d..000000000000 --- a/modules/xfem/test/tests/third_order_elements/diffusion_2d_tri7.i +++ /dev/null @@ -1,94 +0,0 @@ -[GlobalParams] - order = THIRD - family = LAGRANGE -[] - -[Mesh] - type = GeneratedMesh - dim = 2 - nx = 3 - ny = 4 - xmin = 0.0 - xmax = 1.0 - ymin = 0.0 - ymax = 1.0 - elem_type = TRI7 -[] - -[XFEM] - qrule = volfrac - output_cut_plane = true -[] - -[UserObjects] - [./line_seg_cut_uo] - type = LineSegmentCutUserObject - cut_data = '0.35 1.0 0.35 0.2' - time_start_cut = 0.0 - time_end_cut = 2.0 - [../] -[] - -[Variables] - [./u] - [../] -[] - -[Functions] - [./u_left] - type = PiecewiseLinear - x = '0 2' - y = '0 0.1' - [../] -[] - -[Kernels] - [./diff] - type = Diffusion - variable = u - [../] -[] - -[BCs] -# Define boundary conditions - [./left_u] - type = FunctionDirichletBC - variable = u - boundary = 3 - function = u_left - [../] - - [./right_u] - type = DirichletBC - variable = u - boundary = 1 - value = 0 - [../] -[] - -[Executioner] - type = Transient - solve_type = 'PJFNK' - petsc_options_iname = '-pc_type -pc_hypre_type' - petsc_options_value = 'hypre boomeramg' - line_search = 'none' - - l_tol = 1e-3 - nl_max_its = 15 - nl_rel_tol = 1e-10 - nl_abs_tol = 1e-10 - - start_time = 0.0 - dt = 1.0 - end_time = 2.0 -[] - -[Outputs] - interval = 1 - execute_on = timestep_end - exodus = true - [./console] - type = Console - output_linear = true - [../] -[] diff --git a/modules/xfem/test/tests/third_order_elements/square_branch_tri7_2d.i b/modules/xfem/test/tests/third_order_elements/square_branch_tri7_2d.i deleted file mode 100644 index f5e57f664112..000000000000 --- a/modules/xfem/test/tests/third_order_elements/square_branch_tri7_2d.i +++ /dev/null @@ -1,133 +0,0 @@ -[GlobalParams] - order = THIRD - family = LAGRANGE - displacements = 'disp_x disp_y' - volumetric_locking_correction = false -[] - -[XFEM] - qrule = volfrac - output_cut_plane = true -[] - -[Mesh] - type = GeneratedMesh - dim = 2 - nx = 10 - ny = 10 - xmin = 0.0 - xmax = 1.0 - ymin = 0.0 - ymax = 1.0 - elem_type = TRI7 -[] - -[UserObjects] - [./line_seg_cut_set_uo] - type = LineSegmentCutSetUserObject - cut_data = '-1.0000e-10 6.6340e-01 6.6340e-01 -1.0000e-10 0.0 1.0 - 3.3120e-01 3.3200e-01 1.0001e+00 3.3200e-01 1.0 2.0' - [../] -[] - -[Variables] - [./disp_x] - [../] - [./disp_y] - [../] -[] - -[Modules/TensorMechanics/Master] - [./all] - strain = SMALL - [../] -[] - -[Functions] - [./right_disp_x] - type = PiecewiseLinear - x = '0 1.0 2.0 3.0' - y = '0 0.005 0.01 0.01' - [../] - [./top_disp_y] - type = PiecewiseLinear - x = '0 1.0 2.0 3.0' - y = '0 0.005 0.01 0.01' - [../] -[] - -[BCs] - [./right_x] - type = FunctionDirichletBC - boundary = 1 - variable = disp_x - function = right_disp_x - [../] - [./top_y] - type = FunctionDirichletBC - boundary = 2 - variable = disp_y - function = top_disp_y - [../] - [./bottom_y] - type = DirichletBC - boundary = 0 - variable = disp_y - value = 0.0 - [../] - [./left_x] - type = DirichletBC - boundary = 3 - variable = disp_x - value = 0.0 - [../] -[] - -[Materials] - [./elasticity_tensor] - type = ComputeIsotropicElasticityTensor - youngs_modulus = 1e6 - poissons_ratio = 0.3 - [../] - [./stress] - type = ComputeLinearElasticStress - [../] -[] - -[Executioner] - type = Transient - - solve_type = 'PJFNK' - petsc_options_iname = '-ksp_gmres_restart -pc_type -pc_hypre_type -pc_hypre_boomeramg_max_iter' - petsc_options_value = '201 hypre boomeramg 10' - - line_search = 'none' - - [./Predictor] - type = SimplePredictor - scale = 1.0 - [../] - -# controls for linear iterations - l_max_its = 100 - l_tol = 1e-2 - -# controls for nonlinear iterations - nl_max_its = 15 - nl_rel_tol = 1e-16 - nl_abs_tol = 1e-10 - -# time control - start_time = 0.0 - dt = 1.0 - end_time = 2.2 - num_steps = 5000 -[] - -[Outputs] - exodus = true - [./console] - type = Console - output_linear = true - [../] -[] diff --git a/modules/xfem/test/tests/third_order_elements/tests b/modules/xfem/test/tests/third_order_elements/tests deleted file mode 100644 index 8d1beedb90b0..000000000000 --- a/modules/xfem/test/tests/third_order_elements/tests +++ /dev/null @@ -1,20 +0,0 @@ -[Tests] - design = 'XFEM/index.md' - issues = '#8709' - [./diffusion_2d_tri7] - type = Exodiff - input = diffusion_2d_tri7.i - exodiff = 'diffusion_2d_tri7_out.e diffusion_2d_tri7_out.e-s002' - map = false - unique_id = true - requirement = 'The XFEM module shall permit modeling of discontinuities represented with XFEM with third-order elements in 2D using TRI7 elements.' - [../] - [./square_branch_tri7_2d] - type = Exodiff - input = square_branch_tri7_2d.i - exodiff = 'square_branch_tri7_2d_out.e square_branch_tri7_2d_out.e-s002 square_branch_tri7_2d_out.e-s003' - map = false - unique_id = true - requirement = 'The XFEM module shall permit modeling of branching of discontinuities represented with XFEM by sequentially cutting third-order elements in 2D using TRI7 elements.' - [../] -[]