Skip to content
GitLab
Explore
Sign in
Register
This is an archived project. Repository and other project resources are read-only.
Commits on Source (1)
STYLE: add usage notes
· 768075fb
Mark OLESEN
authored
Dec 11, 2018
768075fb
Hide whitespace changes
Inline
Side-by-side
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"
...
...
Prev
1
2
Next