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
e97275cf
Commit
e97275cf
authored
Dec 21, 2017
by
mattijs
Browse files
ENH: collated support. Fixes createZeroDirectory in
#675
.
parent
8931e443
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/utilities/preProcessing/createZeroDirectory/createZeroDirectory.C
View file @
e97275cf
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd.
\\/ M anipulation | Copyright (C) 2015
-2017
OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -133,7 +133,6 @@ void createFieldFiles
Info
<<
" Generating field files"
<<
nl
<<
endl
;
// Create files
mkDir
(
runTime
.
path
()
/
runTime
.
timeName
()
/
regionName
);
forAll
(
fieldNames
,
i
)
{
const_cast
<
word
&>
(
IOdictionary
::
typeName
)
=
...
...
@@ -181,8 +180,8 @@ void createFieldFiles
field2
.
remove
(
"initialConditions"
);
field2
.
remove
(
"boundaryConditions"
);
// Construct and write field dictionary
IOdictionary
fieldOut
// Construct and write field dictionary
. Note use of localIOdictionary
local
IOdictionary
fieldOut
(
IOobject
(
...
...
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