View Issue Details

IDProjectCategoryView StatusLast Update
0002803OpenFOAMPatchpublic2018-01-04 16:32
Reporterhandrake0724 Assigned Tohenry  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSLinuxOS VersionArch
Summary0002803: Need for add block entry to FoamFile subDict header for decomposedBlockData class
DescriptionI think it would be helpful if decomposedBlockData class have block entry which has the number of decomposed blocks such that

FoamFile
{
    version 2.0;
    format binary;
    class decomposedBlockData;
    blocks 4;
    location "...";
    object boundary;
}

This entry could be just adding the following code to decomposedBlockData.C:204

    if (Pstream::parRun())
    {
        os << " blocks " << Pstream::nProcs() << ";\n";
    }

    if (note.size())
    {
        os << " note " << note << ";\n";
    }

    if (location.size())
    {
        os << " location " << location << ";\n";
    }

By adding block entry, it would be easier and reliable to make OpenFOAMReader for ParaView.
TagsNo tags attached.

Activities

henry

2018-01-04 16:32

manager   ~0009197

It would not be appropriate to hold this information in the file header, it does not relate to the individual files but to the decomposition of the case. We are considering various approaches to making this information more readily available in a more general way.

Issue History

Date Modified Username Field Change
2018-01-04 16:06 handrake0724 New Issue
2018-01-04 16:32 henry Assigned To => henry
2018-01-04 16:32 henry Status new => closed
2018-01-04 16:32 henry Resolution open => fixed
2018-01-04 16:32 henry Note Added: 0009197