View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002783||OpenFOAM||[All Projects] Bug||public||2017-12-05 10:16||2018-03-23 11:03|
|Platform||Linux||OS||Ubuntu||OS Version||16.06 LTS|
|Fixed in Version|
|Summary||0002783: Parallel I/O: Running changeDictionary on decomposed case does not write to collated file format|
|Description||For 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 Reproduce||I 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.
multiRegionHeaterRadiation.tar.xz (7,332 bytes)
changeDictionary.C (20,242 bytes)
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.
||Thank you. I have tested running my case with the modifications to changeDictionary. Now it works as expected.|
|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|
|2017-12-18 12:19||billie||Note Added: 0009163|
|2018-03-23 11:03||henry||Assigned To||=> henry|
|2018-03-23 11:03||henry||Status||new => closed|
|2018-03-23 11:03||henry||Resolution||open => suspended|