mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: collated support. Fixes createZeroDirectory in #675.
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd.
|
\\/ M anipulation | Copyright (C) 2015-2017 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -133,7 +133,6 @@ void createFieldFiles
|
|||||||
Info<< " Generating field files" << nl << endl;
|
Info<< " Generating field files" << nl << endl;
|
||||||
|
|
||||||
// Create files
|
// Create files
|
||||||
mkDir(runTime.path()/runTime.timeName()/regionName);
|
|
||||||
forAll(fieldNames, i)
|
forAll(fieldNames, i)
|
||||||
{
|
{
|
||||||
const_cast<word&>(IOdictionary::typeName) =
|
const_cast<word&>(IOdictionary::typeName) =
|
||||||
@ -181,8 +180,8 @@ void createFieldFiles
|
|||||||
field2.remove("initialConditions");
|
field2.remove("initialConditions");
|
||||||
field2.remove("boundaryConditions");
|
field2.remove("boundaryConditions");
|
||||||
|
|
||||||
// Construct and write field dictionary
|
// Construct and write field dictionary. Note use of localIOdictionary
|
||||||
IOdictionary fieldOut
|
localIOdictionary fieldOut
|
||||||
(
|
(
|
||||||
IOobject
|
IOobject
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user