mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
no curvature refinement if no different maxLevel
This commit is contained in:
@ -1164,7 +1164,12 @@ Foam::labelList Foam::meshRefinement::refineCandidates
|
||||
// Refinement based on curvature of surface
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
if (curvatureRefinement && (curvature >= -1 && curvature <= 1))
|
||||
if
|
||||
(
|
||||
curvatureRefinement
|
||||
&& (curvature >= -1 && curvature <= 1)
|
||||
&& (surfaces_.minLevel() != surfaces_.maxLevel())
|
||||
)
|
||||
{
|
||||
label nCurv = markSurfaceCurvatureRefinement
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user