Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
853b9abb
Commit
853b9abb
authored
Jan 16, 2018
by
Andrew Heather
Browse files
ENH: Utilities - add -region option when creating meshes
parent
66ba2dd6
Changes
21
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/advanced/PDRMesh/PDRMesh.C
View file @
853b9abb
...
...
@@ -625,7 +625,7 @@ int main(int argc, char *argv[])
#include
"setRootCase.H"
#include
"createTime.H"
runTime
.
functionObjects
().
off
();
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
// Read control dictionary
// ~~~~~~~~~~~~~~~~~~~~~~~
...
...
applications/utilities/mesh/advanced/collapseEdges/collapseEdges.C
View file @
853b9abb
...
...
@@ -91,7 +91,7 @@ int main(int argc, char *argv[])
runTime
.
functionObjects
().
off
();
instantList
timeDirs
=
timeSelector
::
selectIfPresent
(
runTime
,
args
);
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
const
word
oldInstance
=
mesh
.
pointsInstance
();
...
...
applications/utilities/mesh/advanced/removeFaces/removeFaces.C
View file @
853b9abb
...
...
@@ -59,7 +59,7 @@ int main(int argc, char *argv[])
#include
"setRootCase.H"
#include
"createTime.H"
runTime
.
functionObjects
().
off
();
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
const
word
oldInstance
=
mesh
.
pointsInstance
();
const
word
setName
=
args
[
1
];
...
...
applications/utilities/mesh/conversion/ccm/foamToCcm/foamToCcm.C
View file @
853b9abb
...
...
@@ -202,7 +202,7 @@ int main(int argc, char *argv[])
else
{
// convert fields with or without converting mesh
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
// #include "checkHasMovingMesh.H"
// #include "checkHasLagrangian.H"
...
...
applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C
View file @
853b9abb
...
...
@@ -380,7 +380,7 @@ int main(int argc, char *argv[])
sourceCaseDir
);
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
const
polyBoundaryMesh
&
patches
=
mesh
.
boundaryMesh
();
...
...
applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C
View file @
853b9abb
...
...
@@ -514,7 +514,7 @@ int main(int argc, char *argv[])
// Distribute the initial mesh
if
(
Pstream
::
parRun
())
{
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
Info
<<
"Loaded mesh:"
<<
endl
;
printMeshData
(
mesh
);
...
...
applications/utilities/mesh/manipulation/deformedGeom/deformedGeom.C
View file @
853b9abb
...
...
@@ -51,7 +51,7 @@ int main(int argc, char *argv[])
const
scalar
scaleFactor
=
args
.
read
<
scalar
>
(
1
);
#include
"createTime.H"
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
volPointInterpolation
pInterp
(
mesh
);
...
...
applications/utilities/mesh/manipulation/moveMesh/moveMesh.C
View file @
853b9abb
...
...
@@ -46,7 +46,7 @@ int main(int argc, char *argv[])
#include
"setRootCase.H"
#include
"createTime.H"
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
autoPtr
<
motionSolver
>
motionPtr
=
motionSolver
::
New
(
mesh
);
...
...
applications/utilities/mesh/manipulation/polyDualMesh/polyDualMeshApp.C
View file @
853b9abb
...
...
@@ -383,7 +383,7 @@ int main(int argc, char *argv[])
#include
"setRootCase.H"
#include
"createTime.H"
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
const
word
oldInstance
=
mesh
.
pointsInstance
();
...
...
applications/utilities/mesh/manipulation/rotateMesh/rotateMesh.C
View file @
853b9abb
...
...
@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
instantList
timeDirs
=
timeSelector
::
select0
(
runTime
,
args
);
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
forAll
(
timeDirs
,
timeI
)
{
...
...
applications/utilities/postProcessing/dataConversion/foamDataToFluent/foamDataToFluent.C
View file @
853b9abb
...
...
@@ -49,7 +49,7 @@ int main(int argc, char *argv[])
instantList
timeDirs
=
timeSelector
::
select0
(
runTime
,
args
);
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
// make a directory called proInterface in the case
mkDir
(
runTime
.
rootPath
()
/
runTime
.
caseName
()
/
"fluentInterface"
);
...
...
applications/utilities/postProcessing/dataConversion/foamToGMV/foamToGMV.C
View file @
853b9abb
...
...
@@ -60,7 +60,7 @@ int main(int argc, char *argv[])
#include
"setRootCase.H"
#include
"createTime.H"
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
#include
"readConversionProperties.H"
...
...
applications/utilities/postProcessing/dataConversion/foamToTetDualMesh/foamToTetDualMesh.C
View file @
853b9abb
...
...
@@ -154,7 +154,7 @@ int main(int argc, char *argv[])
// Read the mesh
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
// Read the tetDualMesh
Info
<<
"Create tetDualMesh for time = "
...
...
applications/utilities/postProcessing/dataConversion/smapToFoam/smapToFoam.C
View file @
853b9abb
...
...
@@ -67,7 +67,7 @@ int main(int argc, char *argv[])
if
(
fieldNameDict
.
found
(
"epsilon"
))
nameMap
.
add
(
"ED"
,
word
(
"epsilon"
));
if
(
fieldNameDict
.
found
(
"nuEff"
))
nameMap
.
add
(
"VIS"
,
word
(
"nuEff"
));
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
IFstream
smapFile
(
args
[
1
]);
...
...
applications/utilities/postProcessing/miscellaneous/postChannel/postChannel.C
View file @
853b9abb
...
...
@@ -57,7 +57,7 @@ int main(int argc, char *argv[])
// Get times list
instantList
timeDirs
=
timeSelector
::
select0
(
runTime
,
args
);
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
#include
"readTransportProperties.H"
const
word
&
gFormat
=
runTime
.
graphFormat
();
...
...
applications/utilities/preProcessing/boxTurb/boxTurb.C
View file @
853b9abb
...
...
@@ -49,7 +49,7 @@ int main(int argc, char *argv[])
#include
"setRootCase.H"
#include
"createTime.H"
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
#include
"createFields.H"
#include
"readBoxTurbDict.H"
...
...
applications/utilities/preProcessing/dsmcInitialise/dsmcInitialise.C
View file @
853b9abb
...
...
@@ -42,7 +42,7 @@ int main(int argc, char *argv[])
{
#include
"setRootCase.H"
#include
"createTime.H"
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
applications/utilities/preProcessing/engineSwirl/engineSwirl.C
View file @
853b9abb
...
...
@@ -42,7 +42,7 @@ int main(int argc, char *argv[])
#include
"setRootCase.H"
#include
"createTime.H"
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
#include
"createFields.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
applications/utilities/preProcessing/mdInitialise/mdInitialise.C
View file @
853b9abb
...
...
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
{
#include
"setRootCase.H"
#include
"createTime.H"
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
IOdictionary
mdInitialiseDict
(
...
...
applications/utilities/preProcessing/setAlphaField/setAlphaField.C
View file @
853b9abb
...
...
@@ -77,7 +77,7 @@ int main(int argc, char *argv[])
{
#include
"setRootCase.H"
#include
"createTime.H"
#include
"createMesh.H"
#include
"create
Named
Mesh.H"
Info
<<
"Reading setAlphaFieldDict
\n
"
<<
endl
;
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment