CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Problem with using paraFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By kotu

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2014, 15:19
Default Problem with using paraFoam
  #1
New Member
 
Michal
Join Date: Jul 2013
Location: Warsaw
Posts: 8
Rep Power: 12
kotu is on a distinguished road
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
kotu is offline   Reply With Quote

Old   February 15, 2014, 18:26
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   February 21, 2014, 16:21
Default
  #3
New Member
 
Michal
Join Date: Jul 2013
Location: Warsaw
Posts: 8
Rep Power: 12
kotu is on a distinguished road
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
kotu is offline   Reply With Quote

Old   February 21, 2014, 16:45
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   February 22, 2014, 07:50
Default
  #5
New Member
 
Michal
Join Date: Jul 2013
Location: Warsaw
Posts: 8
Rep Power: 12
kotu is on a distinguished road
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
wyldckat likes this.
kotu 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
[OpenFOAM] Visualization problem on ParaFoam Rider ParaView 10 June 27, 2016 10:19
[blockMesh] Problem with arc edge, arc doesen't appear in ParaFoam A.A. OpenFOAM Meshing & Mesh Conversion 2 September 4, 2012 07:01
Problem with paraFoam Arenio OpenFOAM 0 April 12, 2011 05:41
Graphics problem in ParaFoam Tarak OpenFOAM 0 October 28, 2010 19:10
[blockMesh] Problem using paraFoam to view cavityGrade mesh file felik9 OpenFOAM Meshing & Mesh Conversion 1 September 27, 2009 15:31


All times are GMT -4. The time now is 03:25.