2017-12-15 23:41 GMT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002783OpenFOAM[All Projects] Bugpublic2017-12-15 12:14
Reporterbillie 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOSUbuntuOS Version16.06 LTS
Product Versiondev 
Target VersionFixed in Version 
Summary0002783: Parallel I/O: Running changeDictionary on decomposed case does not write to collated file format
DescriptionFor a case I need to run changeDictionary on a decomposed case to avoid reconstructing and decomposing again. I tried to convert this case to the new collated file format. After running changeDictionary the written files (e.g. T) are not in the collated file format anymore.
Steps To ReproduceI have modified the heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation tutorial to use the collated file format and to run changeDictionary after decomposing.

The attached archive contains the modified tutorial as well a diff to the original and the solver log.

Running the case should fail when solving because the temperature files for the regions bottomAir and topAir have the wrong format.
TagsParallel I/O
Attached Files

-Relationships
+Relationships

-Notes

~0009161

MattijsJ (reporter)

The problem is that changeDictionary reads all files as if they are (global) dictionaries (like e.g. system/fvSolution). This includes fields, even though fields are processor-local.

Attached hack of changeDictionary enforces that the dictionaries it reads/writes have local scope so get written (if needed) as decomposedBlockData. Unfortunately we cannot detect (e.g. from the header) what the scope (local/global) is so maybe it would need a command line argument.
+Notes

-Issue History
Date Modified Username Field Change
2017-12-05 10:16 billie New Issue
2017-12-05 10:16 billie File Added: multiRegionHeaterRadiation.tar.xz
2017-12-05 10:20 billie Tag Attached: Parallel I/O
2017-12-15 12:09 MattijsJ File Added: changeDictionary.C
2017-12-15 12:14 MattijsJ Note Added: 0009161
+Issue History