From f2de942d956663a5263dfbee016099de693eaaf8 Mon Sep 17 00:00:00 2001 From: Fande Kong Date: Thu, 24 Feb 2022 14:58:58 -0700 Subject: [PATCH] Update libmesh We did this tmp update to check if the code still works --- conda/libmesh/meta.yaml | 4 ++-- conda/mpich/conda_build_config.yaml | 2 +- framework/src/userobject/ElementSubdomainModifier.C | 3 +++ libmesh | 2 +- test/tests/userobjects/element_subdomain_modifier/tests | 8 ++++---- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/conda/libmesh/meta.yaml b/conda/libmesh/meta.yaml index 05b385ee92fc..87d0256cd6c8 100644 --- a/conda/libmesh/meta.yaml +++ b/conda/libmesh/meta.yaml @@ -1,7 +1,7 @@ # Do not use jinja templating (A physical change to this file is required to trigger a build) -{% set build = 2 %} +{% set build = 0 %} {% set strbuild = "build_" + build|string %} -{% set version = "2022.03.28" %} +{% set version = "2022.04.05" %} package: name: moose-libmesh diff --git a/conda/mpich/conda_build_config.yaml b/conda/mpich/conda_build_config.yaml index b6a6127fb0de..df61148befb2 100644 --- a/conda/mpich/conda_build_config.yaml +++ b/conda/mpich/conda_build_config.yaml @@ -2,7 +2,7 @@ ## Any changes made will require additional changes to any item above that. moose_libmesh: - - moose-libmesh 2022.03.28 build_2 + - moose-libmesh 2022.04.05 build_0 SHORT_VTK_NAME: - 9.1 diff --git a/framework/src/userobject/ElementSubdomainModifier.C b/framework/src/userobject/ElementSubdomainModifier.C index 782a5b10e2d2..c0910ecf9e5f 100644 --- a/framework/src/userobject/ElementSubdomainModifier.C +++ b/framework/src/userobject/ElementSubdomainModifier.C @@ -66,6 +66,7 @@ ElementSubdomainModifier::setMovingBoundaryName(MooseMesh & mesh) mesh.setBoundaryName(_moving_boundary_id, _moving_boundary_name); mesh.getMesh().get_boundary_info().sideset_name(_moving_boundary_id) = _moving_boundary_name; mesh.getMesh().get_boundary_info().nodeset_name(_moving_boundary_id) = _moving_boundary_name; + mesh.getMesh().get_boundary_info().allow_children_on_boundary_side(true); } void @@ -273,7 +274,9 @@ ElementSubdomainModifier::updateBoundaryInfo(MooseMesh & mesh, _moving_boundary_subdomains.end() && _moving_boundary_subdomains.find(elem->subdomain_id()) != _moving_boundary_subdomains.end())) + { bnd_info.add_side(elem, side, _moving_boundary_id); + } } } /* If elem's neighbor is not active, we need to check family members of the neighbor. diff --git a/libmesh b/libmesh index ec3954e32a5f..4be946d2c100 160000 --- a/libmesh +++ b/libmesh @@ -1 +1 @@ -Subproject commit ec3954e32a5f6b4d71853a8c007896417aebce58 +Subproject commit 4be946d2c100a262c5b104d34b8af3e14915f006 diff --git a/test/tests/userobjects/element_subdomain_modifier/tests b/test/tests/userobjects/element_subdomain_modifier/tests index e9a8b2bf00ec..47719bbd796c 100644 --- a/test/tests/userobjects/element_subdomain_modifier/tests +++ b/test/tests/userobjects/element_subdomain_modifier/tests @@ -60,7 +60,7 @@ adaptivity_moving_boundary_out.e-s002 adaptivity_moving_boundary_out.e-s003 adaptivity_moving_boundary_out.e-s004 adaptivity_moving_boundary_out.e-s005 adaptivity_moving_boundary_out.e-s006 adaptivity_moving_boundary_out.e-s007 adaptivity_moving_boundary_out.e-s008 adaptivity_moving_boundary_out.e-s009 adaptivity_moving_boundary_out.e-s010' - + mesh_mode = 'REPLICATED' requirement = 'The framework shall support adaptive mesh refinement in the element subdomain modifier' [] @@ -70,7 +70,7 @@ exodiff = 'adaptivity_moving_boundary_3d_out.e adaptivity_moving_boundary_3d_out.e-s002 adaptivity_moving_boundary_3d_out.e-s003 adaptivity_moving_boundary_3d_out.e-s004 adaptivity_moving_boundary_3d_out.e-s005 adaptivity_moving_boundary_3d_out.e-s006' - + mesh_mode = 'REPLICATED' requirement = 'The framework shall support adaptive mesh refinement in the element subdomain modifier for 3D problems' [] @@ -78,7 +78,7 @@ type = 'Exodiff' input = 'amr_bc.i' exodiff = 'amr_bc_out.e amr_bc_out.e-s002 amr_bc_out.e-s003 amr_bc_out.e-s004 amr_bc_out.e-s005 amr_bc_out.e-s006' - + mesh_mode = 'REPLICATED' requirement = 'The framework shall support applying nodal BCs on the moving boundary with AMR in the element subdomain modifier' [] @@ -88,7 +88,7 @@ cli_args = "BCs/active='mbc leftright' Outputs/file_base=amr_integral_bc_out" exodiff = 'amr_integral_bc_out.e amr_integral_bc_out.e-s002 amr_integral_bc_out.e-s003 amr_integral_bc_out.e-s004 amr_integral_bc_out.e-s005 amr_integral_bc_out.e-s006' - + mesh_mode = 'REPLICATED' requirement = 'The framework shall support applying integral BCs on the moving boundary with AMR in the element subdomain modifier' [] []