Commit 87b7c279 authored by Franjo's avatar Franjo
Browse files

Merge branch 'defect-renameBoundaryWrongTypes' into development

parents 0aca7478 e1685738
...@@ -282,15 +282,15 @@ renameBoundaryPatches::renameBoundaryPatches ...@@ -282,15 +282,15 @@ renameBoundaryPatches::renameBoundaryPatches
mesh_(mesh), mesh_(mesh),
meshDict_(meshDict) meshDict_(meshDict)
{ {
if( meshDict.found("renameBoundary") )
calculateNewBoundary();
if( !allowEmptyPatches ) if( !allowEmptyPatches )
{ {
checkEmptyPatches(); checkEmptyPatches();
} }
checkSymmetryPlanes(); checkSymmetryPlanes();
if( meshDict.found("renameBoundary") )
calculateNewBoundary();
} }
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
......
...@@ -56,13 +56,13 @@ renameBoundary ...@@ -56,13 +56,13 @@ renameBoundary
"inlet.*" "inlet.*"
{ {
newName inlet; newName inlet;
newType patch; type patch;
} }
"outlet.*" "outlet.*"
{ {
newName outlet; newName outlet;
newType patch; type patch;
} }
} }
} }
......
...@@ -100,13 +100,13 @@ renameBoundary ...@@ -100,13 +100,13 @@ renameBoundary
"inlet.*" "inlet.*"
{ {
newName inlet; newName inlet;
newType patch; type patch;
} }
"outlet.*" "outlet.*"
{ {
newName outlet; newName outlet;
newType patch; type patch;
} }
} }
} }
......
...@@ -89,19 +89,19 @@ renameBoundary ...@@ -89,19 +89,19 @@ renameBoundary
"orificeRegion.*" "orificeRegion.*"
{ {
newName orificeRegion; newName orificeRegion;
newType wall; type wall;
} }
"inlet.*" "inlet.*"
{ {
newName inlet; newName inlet;
newType patch; type patch;
} }
"outlet.*" "outlet.*"
{ {
newName outlet; newName outlet;
newType patch; type patch;
} }
} }
} }
......
...@@ -61,13 +61,13 @@ renameBoundary ...@@ -61,13 +61,13 @@ renameBoundary
"inlet.*" "inlet.*"
{ {
newName inlet; newName inlet;
newType patch; type patch;
} }
"outlet.*" "outlet.*"
{ {
newName outlet; newName outlet;
newType patch; type patch;
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment