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

Problem with using paraFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By kotu

Reply
 
LinkBack Thread Tools Display Modes
Old   February 2, 2014, 16:19
Default Problem with using paraFoam
  #1
New Member
 
Michal
Join Date: Jul 2013
Location: Warsaw
Posts: 8
Rep Power: 4
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, 19:26
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,318
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 17:21
Default
  #3
New Member
 
Michal
Join Date: Jul 2013
Location: Warsaw
Posts: 8
Rep Power: 4
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, 17:45
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,318
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: centFOAM for 2.3.x - 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, 08:50
Default
  #5
New Member
 
Michal
Join Date: Jul 2013
Location: Warsaw
Posts: 8
Rep Power: 4
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visualization problem on ParaFoam Rider OpenFOAM Paraview & paraFoam 9 January 8, 2013 16:53
Problem with arc edge, arc doesen't appear in ParaFoam A.A. OpenFOAM Native Meshers: blockMesh 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
Problem using paraFoam to view cavityGrade mesh file felik9 OpenFOAM Native Meshers: blockMesh 1 September 27, 2009 15:31


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