|
[Sponsors] |
June 14, 2020, 18:01 |
paraFoam command gives an error
|
#1 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 8 |
Hi all
I am running both OpenFOAM 4.1-extend and 6.0 on Ubuntu 18.04. When I run a case via of6 and execute paraFoam, everything works as normal. However, when I run a case via of4 and execute paraFoam, I get the error Code:
Cannot use ParaView reader module library (PVFoamReader) The PV_PLUGIN_PATH environment value is not set Continuing with builtin reader: paraFoam -vtk Created temporary 'damBreakFine.foam' /home/josh/foam/foam-extend-4.1/bin/paraFoam: 324: /home/josh/foam/foam-extend-4.1/bin/paraFoam: paraview: not found Thanks so much! |
|
June 15, 2020, 03:57 |
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40 |
What is wrong with using the regular builtin OpenFOAM reader? Apart from some face/cell sets (which you can convert with foamToVTK) it handles things quite well. You may have to skip the 0/ directory if you have lots of #include, code stream etc, but that is to be expected.
The only place where the additional special-purpose readers might be useful is for diagnosing complicated blockMeshDict. Otherwise I just use the following: Code:
alias parafoam='touch log.foam; paraview log.foam' |
|
June 15, 2020, 11:41 |
|
#3 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 8 |
When I execute the suggested paraFoam -vtk , which I assume is what you're referring to, I still get the error
Code:
Created temporary 'damBreak.foam' /home/josh/foam/foam-extend-4.1/bin/paraFoam: 324: /home/josh/foam/foam-extend-4.1/bin/paraFoam: paraview: not found |
|
June 15, 2020, 16:53 |
|
#4 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40 |
sudo apt-get install paraview ?
|
|
June 16, 2020, 17:34 |
|
#5 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 8 |
I have paraview installed (it works with openFoam 6). But it does not work with openFoam 4.
More specifically, at the end of the bashrc file I have Code:
alias of6='source /opt/openfoam6/etc/bashrc' alias of4='source $HOME/foam/foam-extend-4.1/etc/bashrc' |
|
June 16, 2020, 18:31 |
|
#6 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40 |
Quote:
I meant that you can use your system paraview. Eg, on my ubuntu system Code:
$ which paraview /usr/bin/paraview Do neither of these work? |
||
June 16, 2020, 22:07 |
|
#7 | |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 8 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] installing funkySetFields | igo | OpenFOAM Community Contributions | 1 | November 20, 2012 20:16 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 07:24 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 06:42 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 17:38 |