CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Paraview of openfoam 9 not recognized by openfoam-2112

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Yann
  • 1 Post By mikethe1wheelnut

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2022, 15:55
Default Paraview of openfoam 9 not recognized by openfoam-2112
  #1
Member
 
Michael Jensen
Join Date: May 2022
Posts: 36
Rep Power: 4
mikethe1wheelnut is on a distinguished road
[..this is a continuation, technically, of Modelling a flow contaning a heat conducting object.]


Post-processing gives problems:



Code:
eriadar@eriadar-Latitude-E7440:~/OpenFOAM/eriadar-2112/run/tutorials/mesh/snappyHexMesh/snappyMultiRegionHeater$ paraFoam
Invalid $PV_PLUGIN_PATH and -plugin-path= not defined
No supplementary ParaView/OpenFOAM reader modules
Using builtin reader: paraFoam -vtk

/usr/lib/openfoam/openfoam2112/bin/paraFoam: 423: paraview: not found
One solution is here: ParaView Error When Trying to Open on Terminal, and another https://stackoverflow.com/questions/...m-and-touch-fu.


But I already have paraview installed from when I first installed openform.org. This solution: paraFoam command not working (installed openFoam from source + its Third-party) seems closer, but:


Code:
eriadar@eriadar-Latitude-E7440:~/OpenFOAM/eriadar-2112/run/tutorials/mesh/snappyHexMesh/snappyMultiRegionHeater$ paraFoam -built in

Error encountered:
    Unknown option/argument: 'in'

See 'paraFoam -help' for usage

eriadar@eriadar-Latitude-E7440:~/OpenFOAM/eriadar-2112/run/tutorials/mesh/snappyHexMesh/snappyMultiRegionHeater$ paraFoam -builtin
/usr/lib/openfoam/openfoam2112/bin/paraFoam: 423: paraview: not found
Trying "which" gives:


Code:
eriadar@eriadar-Latitude-E7440:~/OpenFOAM/eriadar-2112/run/tutorials/mesh/snappyHexMesh/snappyMultiRegionHeater$ which paraFoam
/usr/lib/openfoam/openfoam2112/bin/paraFoam
eriadar@eriadar-Latitude-E7440:~/OpenFOAM/eriadar-2112/run/tutorials/mesh/snappyHexMesh/snappyMultiRegionHeater$ which paraView
eriadar@eriadar-Latitude-E7440:~/OpenFOAM/eriadar-2112/run/tutorials/mesh/snappyHexMesh/snappyMultiRegionHeater$ which paraview
eriadar@eriadar-Latitude-E7440:~/OpenFOAM/eriadar-2112/run/tutorials/mesh/snappyHexMesh/snappyMultiRegionHeater$
..which seems to indicate that paraview -isn't- in fact there. (which is wrong)


Code:
echo $ParaView_DIR
gives nothing:


Code:
eriadar@eriadar-Latitude-E7440:~/OpenFOAM/eriadar-2112/run/tutorials/mesh/snappyHexMesh/snappyMultiRegionHeater$ echo $ParaView_DIR

eriadar@eriadar-Latitude-E7440:~/OpenFOAM/eriadar-2112/run/tutorials/mesh/snappyHexMesh/snappyMultiRegionHeater$
..but:


Code:
echo $ParaView_LIB_DIR
does!


Code:
eriadar@eriadar-Latitude-E7440:~/OpenFOAM/eriadar-2112/run/tutorials/mesh/snappyHexMesh/snappyMultiRegionHeater$ echo $ParaView_LIB_DIR
/opt/paraviewopenfoam56/lib
..that's enough of a mouth-full for now, heading out for some air..


-new information:


When I went back to the openfoam 9 tutorials and called paraFoam, it suddenly can't find it anymore. but when I now put in:


source /opt/openfoam9/etc/bashrc



, it works again. So paraview is there, but switching the source that gets called doesn't "carry" the paraview link along with it..


(I've also now realized that this is in the wrong sub-forum. it should be in "installation". but I don't know how to move it..)

Last edited by mikethe1wheelnut; June 10, 2022 at 21:54. Reason: new information
mikethe1wheelnut is offline   Reply With Quote

Old   June 13, 2022, 04:58
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Hi Michael,

There are actually 2 OpenFOAM readers for ParaView: the native reader available in ParaView and the one included with OpenFOAM (aka paraFoam).

You can load your OpenFOAM cases in ParaView without using paraFoam (actually I did not use paraFoam for years now)

In the ESI-OpenCFD branch (openfoam.com) there is a will to get rid of the paraFoam reader to focus on the native reader. They have been working with Kitware do improve the native reader in ParaView-5.10 and this work should keep on going for the next releases.

Here is a bit more information (shamelessly took from Mark Olesen posts):
https://discourse.paraview.org/t/i-w...uld-i-use/7232
https://develop.openfoam.com/Develop...raview-plugins

Regards,
Yann
mikethe1wheelnut likes this.
Yann is offline   Reply With Quote

Old   June 13, 2022, 05:22
Default Thanks!
  #3
Member
 
Michael Jensen
Join Date: May 2022
Posts: 36
Rep Power: 4
mikethe1wheelnut is on a distinguished road
Quote:
Originally Posted by Yann View Post
Hi Michael,

There are actually 2 OpenFOAM readers for ParaView: the native reader available in ParaView and the one included with OpenFOAM (aka paraFoam).

You can load your OpenFOAM cases in ParaView without using paraFoam (actually I did not use paraFoam for years now)

In the ESI-OpenCFD branch (openfoam.com) there is a will to get rid of the paraFoam reader to focus on the native reader. They have been working with Kitware do improve the native reader in ParaView-5.10 and this work should keep on going for the next releases.

Here is a bit more information (shamelessly took from Mark Olesen posts):
https://discourse.paraview.org/t/i-w...uld-i-use/7232
https://develop.openfoam.com/Develop...raview-plugins

Regards,
Yann

hehe.. I actually recognize those links. ..it's quite possible that the first one was part of my motivation for finally downloading paraview. Perhaps the time has come to study them more completely? So, thank's for confirming that what I finally did is considered the correct solution! (And apologies for not having included that as an update to my post..) ...if only it worked.. ..but that can be the subject of a different question if I can't figure it out
Yann likes this.
mikethe1wheelnut is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Started with OpenFOAM wyldckat OpenFOAM 26 June 21, 2024 07:54
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
[OpenFOAM.com] OpenFOAM 1912 and ParaView 5.6 on CentOS 7 delsolman OpenFOAM Installation 6 May 7, 2021 14:24
[OpenFOAM] ParaView 4.10 and OpenFOAM 2.3.0 Multiregion and decomposed case romant ParaView 3 April 7, 2014 16:42
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55


All times are GMT -4. The time now is 19:04.