Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
9b30d01b
"README.md" did not exist on "e1d10fb3d18051b1093261a37eb711d4eeca3287"
Commit
9b30d01b
authored
13 years ago
by
mattijs
Browse files
Options
Downloads
Patches
Plain Diff
ENH: snappyHexMesh: removed checking code since now in checkMesh
parent
30f6574c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C
+0
-40
0 additions, 40 deletions
...s/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C
with
0 additions
and
40 deletions
applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C
+
0
−
40
View file @
9b30d01b
...
...
@@ -123,14 +123,6 @@ void writeMesh
int
main
(
int
argc
,
char
*
argv
[])
{
# include "addOverwriteOption.H"
Foam
::
argList
::
addBoolOption
(
"checkOnly"
,
"check existing mesh against snappyHexMeshDict settings"
);
# include "setRootCase.H"
# include "createTime.H"
runTime
.
functionObjects
().
off
();
...
...
@@ -141,8 +133,6 @@ int main(int argc, char *argv[])
const
bool
overwrite
=
args
.
optionFound
(
"overwrite"
);
const
bool
checkOnly
=
args
.
optionFound
(
"checkOnly"
);
// Check patches and faceZones are synchronised
mesh
.
boundaryMesh
().
checkParallelSync
(
true
);
meshRefinement
::
checkCoupledFaceZones
(
mesh
);
...
...
@@ -184,36 +174,6 @@ int main(int argc, char *argv[])
);
if
(
checkOnly
)
{
Info
<<
"Checking initial mesh ..."
<<
endl
;
faceSet
wrongFaces
(
mesh
,
"wrongFaces"
,
mesh
.
nFaces
()
/
100
);
motionSmoother
::
checkMesh
(
false
,
mesh
,
motionDict
,
wrongFaces
);
const
label
nInitErrors
=
returnReduce
(
wrongFaces
.
size
(),
sumOp
<
label
>
()
);
Info
<<
"Detected "
<<
nInitErrors
<<
" illegal faces"
<<
" (concave, zero area or negative cell pyramid volume)"
<<
endl
;
if
(
nInitErrors
>
0
)
{
Info
<<
"Writing "
<<
nInitErrors
<<
" faces in error to set "
<<
wrongFaces
.
name
()
<<
endl
;
wrongFaces
.
instance
()
=
mesh
.
pointsInstance
();
wrongFaces
.
write
();
}
Info
<<
"End
\n
"
<<
endl
;
return
0
;
}
// Read decomposePar dictionary
IOdictionary
decomposeDict
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment