Skip to content

Commit

Permalink
Merge pull request #27386 from pbehne/sidesets_bug
Browse files Browse the repository at this point in the history
Changed default value of 'normal_tol' in SideSetsFromNormalsGenerator
  • Loading branch information
GiudGiud authored Apr 21, 2024
2 parents 0814fb3 + 78dfa63 commit f3d2ba2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions framework/src/meshgenerators/SideSetsFromNormalsGenerator.C
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ SideSetsFromNormalsGenerator::validParams()
"Deprecated, use 'normal_tol' instead");
params.deprecateParam("tolerance", "normal_tol", "4/01/2025");

// We want to use a different normal_tol for this generator than from the base class to preserve
// old behavior.
params.setParameters("normal_tol", 1e-5);

// We are using 'normals' instead
params.suppressParameter<Point>("normal");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
[zmax]
type = SideSetsFromNormalsGenerator
input = name_blocks
normal_tol = 0.1
new_boundary = zmax
normals = '0 0 1'
[]
Expand Down

0 comments on commit f3d2ba2

Please sign in to comment.