Skip to content

Commit

Permalink
Fix Geometry UOs and Boundary Marker (idaholab#24645)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwen committed Jun 15, 2023
1 parent 32c125f commit 24c1ae7
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 10 deletions.
Binary file not shown.
44 changes: 44 additions & 0 deletions test/tests/markers/boundary_marker/multiple.i
@@ -0,0 +1,44 @@
###########################################################
# This is a test of the Mesh Marker System. It marks
# elements with flags indicating whether they should be
# refined, coarsened, or left alone. This system
# has the ability to use the Mesh Indicator System.
#
# @Requirement F2.50
###########################################################

[Mesh]
type = GeneratedMesh
dim = 2
[]

[Variables]
[u]
[]
[]

[Problem]
kernel_coverage_check = false
solve = false
[]

[Executioner]
type = Steady
[]

# Mesh Marker System
[Adaptivity]
[Markers]
[boundary]
type = BoundaryMarker
next_to = 'right bottom'
mark = refine
[]
[]
initial_marker = boundary
initial_steps = 3
[]

[Outputs]
exodus = true
[]
17 changes: 12 additions & 5 deletions test/tests/markers/boundary_marker/tests
@@ -1,21 +1,28 @@
[Tests] # NOTE: This file is used for testing by the python/moosesqa package
group = 'Boundary Marker'
design = "/Markers/index.md /BoundaryMarker.md"
issues = '#1275'
issues = '#1275 #24645'

[./adjacent]
[adjacent]
type = 'Exodiff'
input = 'adjacent.i'
exodiff = 'adjacent_out.e'
requirement = "The adaptivity system shall create an auxiliary field variable that marks "
"elements for refinement adjacent to a boundary."
[../]
[./distance]
[]
[distance]
type = 'Exodiff'
input = 'distance.i'
exodiff = 'distance_out.e'
requirement = "The adaptivity system shall create an auxiliary field variable that marks "
"elements for refinement within a given distance of a boundary."
mesh_mode = REPLICATED
[../]
[]
[multiple]
type = 'Exodiff'
input = 'multiple.i'
exodiff = 'multiple_out.e'
requirement = "The adaptivity system shall create an auxiliary field variable that marks "
"elements for refinement adjacent to any of a given set of boundaries."
[]
[]
Binary file not shown.
16 changes: 11 additions & 5 deletions test/tests/userobjects/geometry_snap/tests
@@ -1,11 +1,17 @@
[Tests]
[./geometrysphere]
design = 'GeometrySphere.md'
[geometrysphere]
type = 'Exodiff'
input = 'geometrysphere.i'
exodiff = 'geometrysphere_out.e-s004'

design = 'GeometrySphere.md'
issues = '#9578'
requirement = 'The system shall support "snapping" or moving new nodes and sides created by mesh adaptivity to the surface of a geometric sphere to capture high fidelity features on curved geometries.'
[../]
requirement = "The system shall support "snapping" or moving new nodes and sides created by mesh adaptivity to the surface of a geometric sphere to capture high fidelity features on curved geometries."
[]
[block]
type = 'Exodiff'
input = 'block.i'
exodiff = 'block.e-s004'
issues = '#24645'
requirement = "The system shall support "snapping" or moving new nodes and sides created by mesh adaptivity to the surface of a geometric sphere to capture high fidelity features on curved geometries."
[]
[]

0 comments on commit 24c1ae7

Please sign in to comment.