Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
integration-cfmesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Community
integration-cfmesh
Commits
7b726f8a
Commit
7b726f8a
authored
Apr 10, 2015
by
Franjo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved mesh quality after layer refinement
parent
5efe859e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
20 deletions
+50
-20
meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksGeometry.C
...ties/meshes/polyMeshGenChecks/polyMeshGenChecksGeometry.C
+1
-1
meshLibrary/utilities/smoothers/geometry/meshOptimizer/meshOptimizer.H
...tilities/smoothers/geometry/meshOptimizer/meshOptimizer.H
+2
-1
meshLibrary/utilities/smoothers/geometry/meshOptimizer/optimizeMeshFV.C
...ilities/smoothers/geometry/meshOptimizer/optimizeMeshFV.C
+47
-18
No files found.
meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksGeometry.C
View file @
7b726f8a
...
...
@@ -2097,7 +2097,7 @@ label findLowQualityFaces
(
mesh
,
report
,
70
.
0
,
65
.
0
,
&
badFaces
,
activeFacePtr
);
...
...
meshLibrary/utilities/smoothers/geometry/meshOptimizer/meshOptimizer.H
View file @
7b726f8a
...
...
@@ -256,7 +256,8 @@ public:
(
const
label
maxNumGlobalIterations
=
10
,
const
label
maxNumIterations
=
50
,
const
label
maxNumSurfaceIterations
=
2
const
label
maxNumSurfaceIterations
=
2
,
const
bool
relaxedCheck
=
false
);
//- performs optimisation of boundary layer cells
...
...
meshLibrary/utilities/smoothers/geometry/meshOptimizer/optimizeMeshFV.C
View file @
7b726f8a
...
...
@@ -57,7 +57,8 @@ void meshOptimizer::untangleMeshFV
(
const
label
maxNumGlobalIterations
,
const
label
maxNumIterations
,
const
label
maxNumSurfaceIterations
const
label
maxNumSurfaceIterations
,
const
bool
relaxedCheck
)
{
Info
<<
"Starting untangling the mesh"
<<
endl
;
...
...
@@ -129,14 +130,28 @@ void meshOptimizer::untangleMeshFV
label
minNumBadFaces
(
10
*
faces
.
size
()),
minIter
(
-
1
);
do
{
nBadFaces
=
polyMeshGenChecks
::
findBadFaces
(
mesh_
,
badFaces
,
false
,
&
changedFace
);
if
(
!
relaxedCheck
)
{
nBadFaces
=
polyMeshGenChecks
::
findBadFaces
(
mesh_
,
badFaces
,
false
,
&
changedFace
);
}
else
{
nBadFaces
=
polyMeshGenChecks
::
findBadFacesRelaxed
(
mesh_
,
badFaces
,
false
,
&
changedFace
);
}
Info
<<
"Iteration "
<<
nIter
<<
". Number of bad faces is "
<<
nBadFaces
<<
endl
;
...
...
@@ -183,14 +198,28 @@ void meshOptimizer::untangleMeshFV
while
(
nIter
++
<
maxNumSurfaceIterations
);
{
nBadFaces
=
polyMeshGenChecks
::
findBadFaces
(
mesh_
,
badFaces
,
false
,
&
changedFace
);
if
(
!
relaxedCheck
)
{
nBadFaces
=
polyMeshGenChecks
::
findBadFaces
(
mesh_
,
badFaces
,
false
,
&
changedFace
);
}
else
{
nBadFaces
=
polyMeshGenChecks
::
findBadFacesRelaxed
(
mesh_
,
badFaces
,
false
,
&
changedFace
);
}
Info
<<
"Iteration "
<<
nIter
<<
". Number of bad faces is "
<<
nBadFaces
<<
endl
;
...
...
@@ -421,7 +450,7 @@ void meshOptimizer::untangleBoundaryLayer()
else
{
optimizeLowQualityFaces
();
untangleMeshFV
();
untangleMeshFV
(
2
,
50
,
1
,
true
);
}
}
...
...
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