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
768075fb
Commit
768075fb
authored
Dec 11, 2018
by
Mark Olesen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
STYLE: add usage notes
parent
024454c8
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
167 additions
and
13 deletions
+167
-13
executables/cartesian2DMesh/cartesian2DMesh.C
executables/cartesian2DMesh/cartesian2DMesh.C
+9
-4
executables/cartesianMesh/cartesianMesh.C
executables/cartesianMesh/cartesianMesh.C
+8
-1
executables/pMesh/pMesh.C
executables/pMesh/pMesh.C
+7
-0
executables/tetMesh/tetMesh.C
executables/tetMesh/tetMesh.C
+7
-0
utilities/FLMAToSurface/FLMAToSurface.C
utilities/FLMAToSurface/FLMAToSurface.C
+6
-0
utilities/FMSToSurface/FMSToSurface.C
utilities/FMSToSurface/FMSToSurface.C
+7
-1
utilities/FMSToVTK/FMSToVTK.C
utilities/FMSToVTK/FMSToVTK.C
+7
-0
utilities/checkSurfaceMesh/checkSurfaceMesh.C
utilities/checkSurfaceMesh/checkSurfaceMesh.C
+7
-1
utilities/copySurfaceParts/copySurfaceParts.C
utilities/copySurfaceParts/copySurfaceParts.C
+7
-1
utilities/extrudeEdgesInto2DSurface/extrudeEdgesInto2DSurface.C
...ies/extrudeEdgesInto2DSurface/extrudeEdgesInto2DSurface.C
+7
-0
utilities/generateBoundaryLayers/generateBoundaryLayers.C
utilities/generateBoundaryLayers/generateBoundaryLayers.C
+7
-0
utilities/importSurfaceAsSubset/importSurfaceAsSubset.C
utilities/importSurfaceAsSubset/importSurfaceAsSubset.C
+7
-1
utilities/improveMeshQuality/improveMeshQuality.C
utilities/improveMeshQuality/improveMeshQuality.C
+8
-1
utilities/improveSymmetryPlanes/improveSymmetryPlanes.C
utilities/improveSymmetryPlanes/improveSymmetryPlanes.C
+7
-0
utilities/mergeSurfacePatches/mergeSurfacePatches.C
utilities/mergeSurfacePatches/mergeSurfacePatches.C
+6
-0
utilities/meshToFPMA/meshToFPMA.C
utilities/meshToFPMA/meshToFPMA.C
+6
-0
utilities/patchesToSubsets/patchesToSubsets.C
utilities/patchesToSubsets/patchesToSubsets.C
+6
-0
utilities/preparePar/preparePar.C
utilities/preparePar/preparePar.C
+2
-1
utilities/removeSurfaceFacets/removeSurfaceFacets.C
utilities/removeSurfaceFacets/removeSurfaceFacets.C
+7
-0
utilities/scaleMesh/scaleMesh.C
utilities/scaleMesh/scaleMesh.C
+6
-0
utilities/scaleSurfaceMesh/scaleSurfaceMesh.C
utilities/scaleSurfaceMesh/scaleSurfaceMesh.C
+7
-1
utilities/subsetToPatch/subsetToPatch.C
utilities/subsetToPatch/subsetToPatch.C
+6
-0
utilities/surfaceFeatureEdges/surfaceFeatureEdges.C
utilities/surfaceFeatureEdges/surfaceFeatureEdges.C
+7
-1
utilities/surfaceGenerateBoundingBox/surfaceGenerateBoundingBox.C
...s/surfaceGenerateBoundingBox/surfaceGenerateBoundingBox.C
+6
-0
utilities/surfaceToFMS/surfaceToFMS.C
utilities/surfaceToFMS/surfaceToFMS.C
+7
-0
No files found.
executables/cartesian2DMesh/cartesian2DMesh.C
View file @
768075fb
...
...
@@ -25,7 +25,7 @@ Application
Generates cartesian mesh
Description
G
enerates a 2D cartesian mesh
Takes a triangulated surface and g
enerates a 2D cartesian mesh
\*---------------------------------------------------------------------------*/
...
...
@@ -36,14 +36,19 @@ using namespace Foam;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Main program:
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Takes a triangulated surface"
" and generates a 2D cartesian mesh"
);
#include "setRootCase.H"
#include "createTime.H"
// 2
d
cartesian mesher cannot be run in parallel
// 2
D
cartesian mesher cannot be run in parallel
argList
::
noParallel
();
Module
::
cartesian2DMeshGenerator
cmg
(
runTime
);
...
...
executables/cartesianMesh/cartesianMesh.C
View file @
768075fb
...
...
@@ -25,7 +25,7 @@ Application
Generates cartesian mesh
Description
- t
akes a triangulated surface and generates a cartesian mesh
T
akes a triangulated surface and generates a cartesian mesh
\*---------------------------------------------------------------------------*/
...
...
@@ -38,6 +38,13 @@ using namespace Foam;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Takes a triangulated surface"
" and generates a cartesian mesh"
);
#include "setRootCase.H"
#include "createTime.H"
...
...
executables/pMesh/pMesh.C
View file @
768075fb
...
...
@@ -38,6 +38,13 @@ using namespace Foam;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Takes a triangulated surface"
" and generates a body-fitted polyhedral mesh"
);
#include "setRootCase.H"
#include "createTime.H"
...
...
executables/tetMesh/tetMesh.C
View file @
768075fb
...
...
@@ -38,6 +38,13 @@ using namespace Foam;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Takes a triangulated surface"
" and generates a tetrahedral mesh"
);
#include "setRootCase.H"
#include "createTime.H"
...
...
utilities/FLMAToSurface/FLMAToSurface.C
View file @
768075fb
...
...
@@ -40,6 +40,12 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Reads the AVL's surface mesh format."
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
...
...
utilities/FMSToSurface/FMSToSurface.C
View file @
768075fb
...
...
@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Description
C
reates surface patches from surface subsets
C
onvert a FMS file to another surface format
\*---------------------------------------------------------------------------*/
...
...
@@ -101,6 +101,12 @@ void exportFeatureEdges
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Convert a FMS file to another surface format."
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
...
...
utilities/FMSToVTK/FMSToVTK.C
View file @
768075fb
...
...
@@ -326,6 +326,13 @@ void writeFacetsToVTK
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Convert a surface file to VTK multiblock dataset format,"
" including the patches, feature edges and surface features."
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
...
...
utilities/checkSurfaceMesh/checkSurfaceMesh.C
View file @
768075fb
...
...
@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Description
Reads the specified surface and writes it in the fms format.
Perform surface mesh checks
\*---------------------------------------------------------------------------*/
...
...
@@ -40,6 +40,12 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Perform surface mesh checks"
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
argList
::
validArgs
.
append
(
"input surface file"
);
...
...
utilities/copySurfaceParts/copySurfaceParts.C
View file @
768075fb
...
...
@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Description
Finds feature edges and corners of a triangulated surface
Copy parts of a surface mesh
\*---------------------------------------------------------------------------*/
...
...
@@ -41,6 +41,12 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Copy parts of a surface mesh"
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
argList
::
validArgs
.
append
(
"input surface file"
);
...
...
utilities/extrudeEdgesInto2DSurface/extrudeEdgesInto2DSurface.C
View file @
768075fb
...
...
@@ -39,6 +39,13 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Reads the surface mesh, remove the selected facets"
" and writes the modified mesh into a new file"
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
...
...
utilities/generateBoundaryLayers/generateBoundaryLayers.C
View file @
768075fb
...
...
@@ -108,6 +108,13 @@ void layerRefinement(polyMeshGen& mesh, const dictionary& meshDict)
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Generate boundary layers in the existing mesh,"
" based on the settings given in meshDict."
);
argList
::
addBoolOption
(
"2DLayers"
);
#include "setRootCase.H"
...
...
utilities/importSurfaceAsSubset/importSurfaceAsSubset.C
View file @
768075fb
...
...
@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Description
Finds feature edges and corners of a triangulated
surface
Import a subset of a
surface
\*---------------------------------------------------------------------------*/
...
...
@@ -42,6 +42,12 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Import a subset of a surface"
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
argList
::
validArgs
.
append
(
"master surface file"
);
...
...
utilities/improveMeshQuality/improveMeshQuality.C
View file @
768075fb
...
...
@@ -23,7 +23,7 @@ License
Description
Performs point relocations in the mesh (smoothing) in order to
improve quality measures. It does not make the mesh invali
e
d.
improve quality measures. It does not make the mesh invalid.
\*---------------------------------------------------------------------------*/
...
...
@@ -38,6 +38,13 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Performs point relocations in the mesh (smoothing) in order to"
" improve quality measures."
);
argList
::
validArgs
.
clear
();
argList
::
addOption
(
"nLoops"
,
"int"
);
...
...
utilities/improveSymmetryPlanes/improveSymmetryPlanes.C
View file @
768075fb
...
...
@@ -38,6 +38,13 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Ensures that all mesh points belonging to a symmetryPlane are"
" in a plane."
);
#include "setRootCase.H"
#include "createTime.H"
...
...
utilities/mergeSurfacePatches/mergeSurfacePatches.C
View file @
768075fb
...
...
@@ -296,6 +296,12 @@ autoPtr<triSurf> mergeSurfacePatches
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Merge the supplied list of patches onto a single patch."
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
...
...
utilities/meshToFPMA/meshToFPMA.C
View file @
768075fb
...
...
@@ -37,6 +37,12 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Writes the mesh in fpma format readable by AVL's CfdWM"
);
#include "setRootCase.H"
#include "createTime.H"
...
...
utilities/patchesToSubsets/patchesToSubsets.C
View file @
768075fb
...
...
@@ -40,6 +40,12 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Converts specified patches into subsets"
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
...
...
utilities/preparePar/preparePar.C
View file @
768075fb
...
...
@@ -25,7 +25,7 @@ Application
Prepares the case for a parallel mesh generation run
Description
- c
reates processor* directories which contain data for processors
C
reates processor* directories which contain data for processors
\*---------------------------------------------------------------------------*/
...
...
@@ -41,6 +41,7 @@ int main(int argc, char *argv[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Create processor directories in preparation for a parallel run"
);
...
...
utilities/removeSurfaceFacets/removeSurfaceFacets.C
View file @
768075fb
...
...
@@ -38,6 +38,13 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Reads the surface mesh, remove the selected facets"
" and writes the modified mesh into a new file"
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
...
...
utilities/scaleMesh/scaleMesh.C
View file @
768075fb
...
...
@@ -37,6 +37,12 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Scales the mesh into other units"
);
argList
::
validArgs
.
append
(
"scalingFactor"
);
#include "setRootCase.H"
...
...
utilities/scaleSurfaceMesh/scaleSurfaceMesh.C
View file @
768075fb
...
...
@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Description
Scales surface vertices by a precribed factor.
Scales surface vertices by a pre
s
cribed factor.
\*---------------------------------------------------------------------------*/
...
...
@@ -39,6 +39,12 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Scales surface vertices by a prescribed factor"
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
argList
::
validArgs
.
append
(
"input surface file"
);
...
...
utilities/subsetToPatch/subsetToPatch.C
View file @
768075fb
...
...
@@ -119,6 +119,12 @@ void makePatchFromSubset
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Creates surface patches from surface subsets"
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
...
...
utilities/surfaceFeatureEdges/surfaceFeatureEdges.C
View file @
768075fb
...
...
@@ -43,11 +43,17 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Finds feature edges and corners of a triangulated surface"
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
argList
::
validArgs
.
append
(
"input surface file"
);
argList
::
validArgs
.
append
(
"output surface file"
);
argList
::
addOption
(
"angle"
,
"scalar"
);
argList
::
addOption
(
"angle"
,
"scalar"
,
"feature angle (degrees)"
);
argList
args
(
argc
,
argv
);
const
fileName
inFileName
(
args
[
1
]);
...
...
utilities/surfaceGenerateBoundingBox/surfaceGenerateBoundingBox.C
View file @
768075fb
...
...
@@ -44,6 +44,12 @@ using namespace Foam::Module;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Finds feature edges and corners of a triangulated surface"
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
argList
::
validArgs
.
append
(
"input surface file"
);
...
...
utilities/surfaceToFMS/surfaceToFMS.C
View file @
768075fb
...
...
@@ -37,9 +37,16 @@ using namespace Foam;
int
main
(
int
argc
,
char
*
argv
[])
{
argList
::
addNote
(
"(cfmesh)
\n
"
"Reads the specified surface and writes it in the fms format"
);
argList
::
noParallel
();
argList
::
validArgs
.
clear
();
argList
::
validArgs
.
append
(
"input surface file"
);
argList
args
(
argc
,
argv
);
const
fileName
inFileName
(
args
[
1
]);
...
...
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