Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Community
integration-cfmesh
Commits
37e13f70
Commit
37e13f70
authored
Dec 16, 2015
by
Franjo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a check for symmetry plane flatness in renameBoundaryPatches
parent
483c4502
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
meshLibrary/utilities/surfaceTools/renameBoundaryPatches/renameBoundaryPatches.C
...urfaceTools/renameBoundaryPatches/renameBoundaryPatches.C
+10
-1
meshLibrary/utilities/surfaceTools/renameBoundaryPatches/renameBoundaryPatches.H
...urfaceTools/renameBoundaryPatches/renameBoundaryPatches.H
+6
-2
No files found.
meshLibrary/utilities/surfaceTools/renameBoundaryPatches/renameBoundaryPatches.C
View file @
37e13f70
...
...
@@ -26,6 +26,7 @@ Description
\*---------------------------------------------------------------------------*/
#include "renameBoundaryPatches.H"
#include "symmetryPlaneOptimisation.H"
#include "demandDrivenData.H"
#include "IOdictionary.H"
...
...
@@ -262,6 +263,13 @@ void renameBoundaryPatches::checkEmptyPatches()
}
}
void
renameBoundaryPatches
::
checkSymmetryPlanes
()
{
symmetryPlaneOptimisation
symmSmother
(
mesh_
);
symmSmother
.
optimizeSymmetryPlanes
();
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
renameBoundaryPatches
::
renameBoundaryPatches
...
...
@@ -279,9 +287,10 @@ renameBoundaryPatches::renameBoundaryPatches
checkEmptyPatches
();
}
checkSymmetryPlanes
();
if
(
meshDict
.
found
(
"renameBoundary"
)
)
calculateNewBoundary
();
}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
...
...
meshLibrary/utilities/surfaceTools/renameBoundaryPatches/renameBoundaryPatches.H
View file @
37e13f70
...
...
@@ -54,7 +54,7 @@ class renameBoundaryPatches
// Private data
//- mesh
polyMeshGen
&
mesh_
;
//- dictionary containing relevant information
const
IOdictionary
&
meshDict_
;
...
...
@@ -64,7 +64,11 @@ class renameBoundaryPatches
//- find empty patches in 3D meshes and change them to wall
void
checkEmptyPatches
();
//- check if there exist any symmetry planes
//- and make sure they get perfectly flat
void
checkSymmetryPlanes
();
//- Disallow default bitwise copy construct
renameBoundaryPatches
(
const
renameBoundaryPatches
&
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment