CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Problem with using paraFoam (https://www.cfd-online.com/Forums/openfoam-installation/129306-problem-using-parafoam.html)

kotu February 2, 2014 15:19

Problem with using paraFoam
 
Dear CFD-online users,
Because it is my first post here I say "Hello World" :).

Let me describe my workspace first:
Centos 6.5, 32bit system, , x86_64 architecture. I have downloaded OpenFoam binaries from http://sourceforge.net/projects/centfoam/ and place it in my home directory.
After setting env variables from OpenFoam/etc/bashrc I started testing program. For first tutorial blockMesh and icoFoam works smoothly. But when I try to visualize case with
paraFoam I get such error:

Quote:

FATAL ERROR: ParaView reader module libraries do not exist
Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake
Strangely but paraFoam -help cmd is working...

So I cd to $FOAM_UTILITIES/postProcessing... directory and try to execute this commands but I get such error:

Quote:

ERROR: ParaView not found in /home/centfoam/OpenFOAM/ThirdParty-2.2.x/platforms/linux64Gcc/paraview-3.12.0
So I'm stuck at such situation.
Thanks in advance for any help or hint.
Best regards
kotu

wyldckat February 15, 2014 18:26

Greetings kotu and welcome to the forum!

I had a CentOS 6.5 installation handy and here's what I've done to make it work:
  1. Downloaded the script:
    Code:

    wget "http://sourceforge.net/projects/centfoam/files/centFOAM.py/download" -O centFOAM.py
  2. Installed by running:
    Code:

    python centFOAM.py --OF22 --paraview  -p $HOME/OpenFOAM
  3. Add another alias to the "~/.bashrc" file:
    Code:

    echo "alias paraFoam='paraFoam -builtin'" >> ~/.bashrc
  4. Started a new terminal.
  5. Run the alias shell environment activation command:
    Code:

    OF22
  6. Create a symbolic link between the downloaded version and the expected version:
    Code:

    ln -s $HOME/OpenFOAM/paraview-3.98.1 $ParaView_DIR
  7. Start another new terminal.
And it's now ready to go!


Best regards,
Bruno

kotu February 21, 2014 16:21

Wyldckat, thank you for your time.
I downloaded the python script, but during running it I got such error:

"Downloading paraview-3.98.1.tar.gz
...(some more info about connecting to sourceforge.net....

HTTP request sent, awaiting response... 404 Not Found"

I wonder if it's something wrong with my internet, but I usually download files from sourceforge without problems.
best regards
kotu

wyldckat February 21, 2014 16:45

Hi Kotu,

I don't have time to test this any time soon, but I suspect that the problem is that the script and packages were updated recently: http://www.cfd-online.com/Forums/ope...oam-2-3-x.html - you better ask there if and why it's not working.

That said, you might want to try and download the Python script once again, since the links might have been updated in the meantime.

Best regards,
Bruno

kotu February 22, 2014 07:50

Ok, I have read this thread and It looks like centFoam doesn't containt paraview any more. I downloaded paraview binaries from paraview.org and it's working. So anyway wyldckat thank you for your patience and up to next time.
best regards
kotu


All times are GMT -4. The time now is 10:26.