View Issue Details

IDProjectCategoryView StatusLast Update
0001130OpenFOAMBugpublic2018-11-23 12:22
Reporteruser588Assigned Touser4 
Status resolvedResolutionfixed 
PlatformLinuxOSOtherOS Version(please specify)
Summary0001130: IOerror and garbage in boundary fields with redistributePar
DescriptionI have found a couple of problems when using redistributePar. This is tested in 2.2.2.
I have reproduced it in the attached modified version of the cavity case. It has flow-through sides, as the problems with the fields defintely happens on inletOutlet/outletInlet patches. Other types I'm not sure about.

Unpack the attached and run:
    cp system/controlDict.probes system/controlDict
    cp system/decomposeParDict.4 system/decomposeParDict
Running redistributePar to move from 4 to 3 processors gives an error:
    cp system/decomposeParDict.3 system/decomposeParDict
    mpirun -np 4 redistributePar -parallel
    [2] --> FOAM FATAL IO ERROR:
    [2] error in IOstream "IOstream" for operation operator>>(Istream&, List<T>&) : reading first token
    [2] file: IOstream at line 0.
    [2] From function IOstream::fatalCheck(const char*) const
    [2] in file db/IOstreams/IOstreams/IOstream.C at line 114.
    FOAM parallel run exiting
The error is associated with the presence of the 'probes' function object,
i.e. commenting it out:
    cp system/controlDict.noProbes system/controlDict
    mpirun -np 4 redistributePar -parallel
works, but there is garbage in the boundary fields, looking as though it is
uninitialised data. It is hard to catch them with this small test case, but
with real cases the fields (scalar fields in particular) have NaNs in them.
TagsNo tags attached.



2014-01-09 13:44



2014-01-09 15:23


Fixed the probes functionObject problem in:


Try having a dummy patch with zeroGradient just before the processor patches (it uses the last non-processor patch for extracting fields to send over)


2014-01-09 16:35


Resolved in 6c399a448855e18d335202434b4304203de65eef

Issue History

Date Modified Username Field Change
2014-01-09 13:44 user588 New Issue
2014-01-09 13:44 user588 File Added: cavity_redistributePar_bug_20140109.tar.bz2
2014-01-09 15:23 user4 Note Added: 0002755
2014-01-09 16:35 user4 Note Added: 0002756
2014-01-09 16:35 user4 Status new => resolved
2014-01-09 16:35 user4 Fixed in Version => 2.2.x
2014-01-09 16:35 user4 Resolution open => fixed
2014-01-09 16:35 user4 Assigned To => user4