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
0430ad47
Commit
0430ad47
authored
Sep 07, 2017
by
mattijs
Browse files
ENH: modifyMesh: added -dict argument
parent
aad962a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/advanced/modifyMesh/modifyMesh.C
View file @
0430ad47
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
\\/ M anipulation | Copyright (C) 2016
-2017
OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -336,6 +336,7 @@ label findCell(const primitiveMesh& mesh, const point& nearPoint)
int
main
(
int
argc
,
char
*
argv
[])
{
#include
"addOverwriteOption.H"
#include
"addDictOption.H"
#include
"setRootCase.H"
#include
"createTime.H"
...
...
@@ -347,17 +348,10 @@ int main(int argc, char *argv[])
Info
<<
"Reading modifyMeshDict
\n
"
<<
endl
;
IOdictionary
dict
(
IOobject
(
"modifyMeshDict"
,
runTime
.
system
(),
mesh
,
IOobject
::
MUST_READ_IF_MODIFIED
,
IOobject
::
NO_WRITE
)
);
// Read meshing dictionary
const
word
dictName
(
"modifyMeshDict"
);
#include
"setSystemMeshDictionaryIO.H"
const
IOdictionary
dict
(
dictIO
);
// Read all from the dictionary.
List
<
Pair
<
point
>>
pointsToMove
(
dict
.
lookup
(
"pointsToMove"
));
...
...
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