View Issue Details

IDProjectCategoryView StatusLast Update
0002186OpenFOAMBugpublic2016-08-09 16:46
ReporterLieven Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0002186: reconstructPar-issue: uniform directory not copied from processor directories in multiregion case
DescriptionThe uniform directory is not copied from the processor directories when reconstructing only one region, i.e., -allRegions must be specified for it to be reconstructed. This creates a significant overhead if one is only interested in one region.

It seems to me that this can simply be resolved by removing (line 1009)
if (regionNames.size() > 1 && regioni == 0)

Or by providing an explicit -copyUniform option similar to decomposePar.
Steps To ReproduceRun multiRegionHeater tutorial of chtMultiRegionFoam. Next, run:

reconstructPar -region heater

v.s.

reconstructPar -allRegions
Additional InformationThis issue is related to the fix applied in
http://bugs.openfoam.org/view.php?id=2156
TagsNo tags attached.

Activities

henry

2016-08-09 16:13

manager   ~0006664

Removing

    if (regionNames.size() > 1 && regioni == 0)

would cause the directory to be copied for each region reconstructed. However

    if (regioni == 0)

should be sufficient.

henry

2016-08-09 16:46

manager   ~0006665

Resolved in OpenFOAM-dev by commit 45a480709fd625c0e78e2421987e57d3308f7137
Resolved in OpenFOAM-4.x by commit 32147252292e0b3f509211aa338de4e74f91470f

Issue History

Date Modified Username Field Change
2016-08-09 15:59 Lieven New Issue
2016-08-09 16:13 henry Note Added: 0006664
2016-08-09 16:46 henry Note Added: 0006665
2016-08-09 16:46 henry Status new => resolved
2016-08-09 16:46 henry Fixed in Version => 4.x
2016-08-09 16:46 henry Resolution open => fixed
2016-08-09 16:46 henry Assigned To => henry