Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
3eefd6de
Commit
3eefd6de
authored
Nov 24, 2010
by
mattijs
Browse files
ENH: blockMesh : initial blockMesh was created with region 'blockMesh'
parent
279e66ac
Changes
5
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/generation/blockMesh/blockMeshApp.C
View file @
3eefd6de
...
...
@@ -158,7 +158,7 @@ int main(int argc, char *argv[])
blockMesh
::
verbose
(
true
);
IOdictionary
meshDict
(
meshDictIoPtr
());
blockMesh
blocks
(
meshDict
);
blockMesh
blocks
(
meshDict
,
regionName
);
if
(
args
.
optionFound
(
"blockTopology"
))
...
...
applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/vtkPV3blockMesh/vtkPV3blockMesh.C
View file @
3eefd6de
...
...
@@ -321,7 +321,7 @@ void Foam::vtkPV3blockMesh::updateFoamMesh()
)
);
meshPtr_
=
new
blockMesh
(
meshDict
);
meshPtr_
=
new
blockMesh
(
meshDict
,
polyMesh
::
defaultRegion
);
}
...
...
src/mesh/blockMesh/blockMesh/blockMesh.C
View file @
3eefd6de
...
...
@@ -32,11 +32,11 @@ bool Foam::blockMesh::blockMesh::verboseOutput(false);
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam
::
blockMesh
::
blockMesh
(
IOdictionary
&
dict
)
Foam
::
blockMesh
::
blockMesh
(
const
IOdictionary
&
dict
,
const
word
&
regionName
)
:
blockPointField_
(
dict
.
lookup
(
"vertices"
)),
scaleFactor_
(
1
.
0
),
topologyPtr_
(
createTopology
(
dict
))
topologyPtr_
(
createTopology
(
dict
,
regionName
))
{
calcMergeInfo
();
}
...
...
src/mesh/blockMesh/blockMesh/blockMesh.H
View file @
3eefd6de
...
...
@@ -128,7 +128,7 @@ class blockMesh
void
createCellShapes
(
cellShapeList
&
tmpBlockCells
);
polyMesh
*
createTopology
(
IOdictionary
&
);
polyMesh
*
createTopology
(
const
IOdictionary
&
,
const
word
&
regionName
);
void
checkBlockMesh
(
const
polyMesh
&
)
const
;
//- Determine the merge info and the final number of cells/points
...
...
@@ -149,7 +149,7 @@ public:
// Constructors
//- Construct from IOdictionary
blockMesh
(
IOdictionary
&
);
blockMesh
(
const
IOdictionary
&
,
const
word
&
regionName
);
//- Destructor
...
...
src/mesh/blockMesh/blockMesh/blockMeshTopology.C
View file @
3eefd6de
...
...
@@ -261,7 +261,11 @@ void Foam::blockMesh::createCellShapes
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
Foam
::
polyMesh
*
Foam
::
blockMesh
::
createTopology
(
IOdictionary
&
meshDescription
)
Foam
::
polyMesh
*
Foam
::
blockMesh
::
createTopology
(
const
IOdictionary
&
meshDescription
,
const
word
&
regionName
)
{
bool
topologyOK
=
true
;
...
...
@@ -514,7 +518,7 @@ Foam::polyMesh* Foam::blockMesh::createTopology(IOdictionary& meshDescription)
(
IOobject
(
"blockMesh"
,
regionName
,
meshDescription
.
time
().
constant
(),
meshDescription
.
time
(),
IOobject
::
NO_READ
,
...
...
@@ -563,7 +567,7 @@ Foam::polyMesh* Foam::blockMesh::createTopology(IOdictionary& meshDescription)
(
IOobject
(
"blockMesh"
,
regionName
,
meshDescription
.
time
().
constant
(),
meshDescription
.
time
(),
IOobject
::
NO_READ
,
...
...
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