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
0cac86ab
Commit
0cac86ab
authored
Mar 23, 2015
by
Franjo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup
parent
d76256d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
meshLibrary/cartesianMesh/cartesianMeshGenerator/cartesianMeshGenerator.C
...esianMesh/cartesianMeshGenerator/cartesianMeshGenerator.C
+0
-1
meshLibrary/utilities/smoothers/geometry/meshOptimizer/optimizeMeshFV.C
...ilities/smoothers/geometry/meshOptimizer/optimizeMeshFV.C
+4
-1
No files found.
meshLibrary/cartesianMesh/cartesianMeshGenerator/cartesianMeshGenerator.C
View file @
0cac86ab
...
...
@@ -189,7 +189,6 @@ void cartesianMeshGenerator::optimiseFinalMesh()
optimizer
.
optimizeMeshFV
();
optimizer
.
optimizeLowQualityFaces
();
optimizer
.
optimizeMeshFVBestQuality
();
optimizer
.
optimizeBoundaryLayer
();
optimizer
.
untangleMeshFV
();
...
...
meshLibrary/utilities/smoothers/geometry/meshOptimizer/optimizeMeshFV.C
View file @
0cac86ab
...
...
@@ -542,6 +542,7 @@ void meshOptimizer::optimizeMeshFVBestQuality
)
{
label
nBadFaces
,
nIter
(
0
);
label
minIter
(
-
1
);
const
faceListPMG
&
faces
=
mesh_
.
faces
();
boolList
changedFace
(
faces
.
size
(),
true
);
...
...
@@ -554,7 +555,7 @@ void meshOptimizer::optimizeMeshFVBestQuality
lockedPoints
.
append
(
pointI
);
}
label
minNumBadFaces
(
10
*
faces
.
size
())
,
minIter
(
-
1
)
;
label
minNumBadFaces
(
10
*
faces
.
size
());
do
{
labelHashSet
lowQualityFaces
;
...
...
@@ -582,6 +583,8 @@ void meshOptimizer::optimizeMeshFVBestQuality
if
(
nBadFaces
<
minNumBadFaces
)
{
minNumBadFaces
=
nBadFaces
;
//- update the iteration number when the minimum is achieved
minIter
=
nIter
;
}
...
...
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