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
e9256aa5
Commit
e9256aa5
authored
Mar 13, 2015
by
Franjo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented a utility for mesh smoothing
parent
6f533fae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
68 additions
and
0 deletions
+68
-0
utilities/improveMeshQuality/Make/files
utilities/improveMeshQuality/Make/files
+3
-0
utilities/improveMeshQuality/Make/options
utilities/improveMeshQuality/Make/options
+8
-0
utilities/improveMeshQuality/improveMeshQuality.C
utilities/improveMeshQuality/improveMeshQuality.C
+57
-0
No files found.
utilities/improveMeshQuality/Make/files
0 → 100644
View file @
e9256aa5
improveMeshQuality.C
EXE = $(FOAM_USER_APPBIN)/improveMeshQuality
utilities/improveMeshQuality/Make/options
0 → 100644
View file @
e9256aa5
EXE_INC = \
-I../../meshLibrary/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude
EXE_LIBS = \
-lmeshTools \
-L$(FOAM_USER_LIBBIN) \
-lmeshLibrary
utilities/improveMeshQuality/improveMeshQuality.C
0 → 100644
View file @
e9256aa5
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | cfMesh: A library for mesh generation
\\ / O peration |
\\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com)
\\/ M anipulation | Copyright (C) Creative Fields, Ltd.
-------------------------------------------------------------------------------
License
This file is part of cfMesh.
cfMesh is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
cfMesh is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with cfMesh. If not, see <http://www.gnu.org/licenses/>.
Description
Ensures that all mesh points belonging to a symmetryPlane are
in a plane.
\*---------------------------------------------------------------------------*/
#include "argList.H"
#include "Time.H"
#include "polyMeshGenModifier.H"
#include "symmetryPlaneOptimisation.H"
using
namespace
Foam
;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
int
main
(
int
argc
,
char
*
argv
[])
{
# include "setRootCase.H"
# include "createTime.H"
polyMeshGen
pmg
(
runTime
);
pmg
.
read
();
Info
<<
"Starting optimisation of symmetry planes"
<<
endl
;
symmetryPlaneOptimisation
(
pmg
).
optimizeSymmetryPlanes
();
Info
<<
"Writing mesh"
<<
endl
;
pmg
.
write
();
Info
<<
"End
\n
"
<<
endl
;
return
0
;
}
// ************************************************************************* //
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