Error on loading OpenFOAM data in ParaView 6.01

Hello,

I’m encountering a strange problem with ParaView 6.0.1 and haven’t been able to find a solution, so I’m asking for help here.

Background

I am currently using ParaView 5.13 (and 5.12) without any issues.

The Problem

I recently installed ParaView 6.0.1, and now I have a persistent problem: Whenever I try to open any .foam (OpenFOAM) case file, ParaView ignores my selection and instead tries to load a different, specific case file that I had opened in the past.

This isn’t a one-time issue; it happens every time, no matter which new .foam file I select.

Troubleshooting & Environment

  • I have reproduced this exact behavior on two different machines, both running RHEL 9.
  • The issue also occurs with two different user accounts on those machines.

As a debugging step, I deleted the “wrong” case file that ParaView kept trying to load. Now, when I try to open any .foam case, ParaView 6.0.1 immediately throws an error, as it’s still trying (and failing) to find that now-deleted file.

I’ve attached two screenshots(i blurred the filepaths):

  1. The first shows the file I am actually selecting in the “Open File” dialog.
  2. The second shows the resulting (and incorrect) data/error in the ParaView pipeline.

Has anyone seen this behavior before or have any ideas what could be causing ParaView to “lock on” to an old file path? It seems like some setting might be stuck. I have this problem regardless what Openfoam related data i load. This does not happen with other data e.g cgns or related.

Thank you in advance.

Please share data to reproduce

this happens for all Openfoam cases i try to load, thats the strange thing. It will always default to the same case as shown in the pictures :confused: . What data would help ?

this standard motorbike from OpenFOAM works fine for me: https://drive.google.com/file/d/1Kb1ah07kRu3TBzIoXg4vulDg6gyTvYDU/view?usp=sharing

(Copyright Kitware Europe, CC-BY-SA)

maybe related to this issue?

https://gitlab.kitware.com/paraview/paraview/-/issues/22993#note_1667377

the provided case results in the same problem paraview 6 always trys to load my shmd.foam it indeed seems to be related to franco’s hint if i read the report correctly

Yes definitely.

@lkoe_zsw please delete your settings and try again.

is it possible to jsut delete the “foam default load” somehow? Because I don’t want to delete all my custom settings…

Yes but you have to do it manually in your ParaView settings.

i found the related setting in the ParaView-UserSetting.json.-> I delete it, but as soon as i restart Paraview it reappears …

This is fixed in ParaView 6.0.1, please make sure this is the version you are using.


I am using 6.0.1

I just checked with 6.0.1 and the settings is not saved for me:

  "sources" : 
  {
    "OpenFOAMReader" : 
    {   
      "CellArrays" : 
      [   
        "U",
        "1",
        "UNear",
        "1",
        "k",
        "1",
        "nut",
        "1",
        "omega",
        "1",
        "p",
        "1"
      ],  
      "MeshRegions" : 
      [   
        "internalMesh",
        "1",
        "group/motorBikeGroup",
        "0",
        "group/wall",
        "0",
        "patch/frontAndBack",
        "0",
        "patch/inlet",
        "0",
        "patch/outlet",

Do you have the setting appear again when you open a file ?

it appear again as soon as i start paraview.

Can you try renamming your .config/ParaView into .config/ParaView.old and see if the bug appears again ?

yes will reappear also with completely deleted .config/Paraview
tested it. Could there be some settings hidden elsewhere ’

To be honest at this point I’m very confused about what is happening. How did you build/install ParaView ?

just unpacked the paraview zip into opt/ParaView. im also confused … Older version of Paraview just work fine

From paraview.org/download ?

yes !