Skip to content

Native ParaView .foam reader cannot render fixedGradient BCs correctly #229

Description

@davidscn

This issue is mainly re-documenting the following issue from ParaView: https://discourse.paraview.org/t/internal-foam-reader-for-openfoam-data-issue-with-fixedgradient-boundary-condition/698, since it is quite relevant for our partitioned approaches. To sum the issue up: in order to visualize an OpenFOAM case with fixedGradient boundary conditions correctly, one needs to use paraFoam/ ParaView with the OpenFOAM plugins which reads .OpenFOAM files. The native paraView reader assumes that a fixedGradient BC is essentially a zero gradient boundary condition, which obviously leads to wrong values at the respective interface.
I visualized the same result file of our partitioned-heat case (domain length of 1 with 50 uniform elements in surface normal direction which is rather fine resolved) with native ParaView (.foam) and the paraFoam (.OpenFOAM) reader and exported the data plot in a csv file in order to compare both plots. The result looks as follows (upper figure whole domain, lower figure zoom in):


Maybe we should document this somewhere in the adapter documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions