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

Thumbs up Successful Installaton Of OpenFOAM-1.6 and Paraview in Ubuntu 9.04

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2009, 17:48
Thumbs up Thumbs up Successful Installaton Of OpenFOAM-1.6 and Paraview in Ubuntu 9.04
  #1
Member
 
Alan Russell
Join Date: Aug 2009
Location: Boise, Idaho USA
Posts: 61
Rep Power: 16
AlanR is on a distinguished road


After many attempts over the past few weeks, I managed to successfully install OpenFOAM-1.6 and Paraview 3.6.1. I have managed to learn a fair amount about linux along the way. Here's what worked for me: maybe it will save some time for someone else...

First, the OpenFOAM installation instructions in the README file work consistently. The only problem I had on a clean installation of Ubuntu 9.04 (32 bit) was with permissions. This fixed it:
http://http://www.cfd-online.com/Forums/openfoam-installation/67198-openfoam-1-6-permissions-ubuntu-9-04-a.htm Post 2

I have not had problems getting the foamInstallationTest to check out, or running blockmesh and icoFoam on the lid-driven cavity flow tutorial.

ParaView was more of a challenge. After many attempts and reading a lot of posts, I found the installParaView script by Jure.
http://www.cfd-online.com/Forums/ope...ntu-9-04-a.htm Post 58

Before you go off and run the script, I had the problem described in Post 61. I fixed the problem by following Post 66 and recompiling Paraview following the README file instructions (below). Compiling Paraview takes a long time - on the order of 5 hours for the old desktop I'm currently using, so be sure to add the path in Post 66, and make sure you have the correct version of qmake, cmake and gcc before you start. To check for each, us the command qmake --version, cmake --version and gcc --version., and to check the path, echo $PATH.

Compiling Paraview 3.6.1 and the PV3FoamReader module


  • cd $WM_THIRD_PARTY_DIR
  • rm -rf paraview-3.6.1/platforms
  • makeParaView
  • cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
  • ./Allwclean
  • ./Allwmake
Good luck. Thanks to those who helped me, and see you all on other posts. When I get a new 64 bit system, I will probably be back to the Installation forum.
AlanR

Of course, I managed to write this in the wrong forum...

http://www.cfd-online.com/Forums/ope...tu-9-04-a.html
AlanR is offline   Reply With Quote

Old   August 16, 2009, 19:03
Default
  #2
Member
 
Nickul's Avatar
 
Nick
Join Date: Mar 2009
Location: England (South West)
Posts: 35
Rep Power: 17
Nickul is on a distinguished road
Well I'll have to join you and say that I have successfuly got OpenFOAM 1.6 running on Ubuntu 9.04 , with a bit of help from you guys. Interestingly paraFoam has worked fine for me, I think, having just completed the lid driven tutorial the mesh displays fine.

I was about to say I too installed OpenFOAM on a clean system but I didn't. I was messing around with Paraview first before I came to install OpenFOAM and happened to install an older version, 3.2 using Synaptic..... so perhaps this allievated some troubles??

(this is on the Core i7 chipset , with 64bit Ubuntu)
Nickul is offline   Reply With Quote

Old   August 18, 2009, 22:47
Default I couldn't open the links
  #3
New Member
 
Yu
Join Date: Mar 2009
Location: USA
Posts: 11
Rep Power: 17
athlonshi is on a distinguished road
Alan:
For some reason I could not open the links in your post. It seems the pages are missing.
Could you please indicate the title of the post so that I can search? Thanks!
Yu
athlonshi is offline   Reply With Quote

Old   August 19, 2009, 22:42
Default
  #4
New Member
 
Taufiq Muhammadi
Join Date: Aug 2009
Posts: 3
Rep Power: 16
taufiq is on a distinguished road
He refer to this thread:
http://www.cfd-online.com/Forums/ope...tu-9-04-a.html

and this thread:
OpenFOAM Install Script

For me Installation of OpenFoam-1.6 and ParaView on Ubuntu 9.04 is pretty straight forward, i documented the process in my labs website here.

Last edited by taufiq; August 20, 2009 at 05:01.
taufiq is offline   Reply With Quote

Old   August 20, 2009, 10:06
Default
  #5
New Member
 
Yu
Join Date: Mar 2009
Location: USA
Posts: 11
Rep Power: 17
athlonshi is on a distinguished road
Thanks for your reply!
Yu
athlonshi is offline   Reply With Quote

Old   September 20, 2009, 10:21
Default
  #6
New Member
 
David
Join Date: Sep 2009
Posts: 1
Rep Power: 0
nanogecko is on a distinguished road
Quote:
Originally Posted by taufiq View Post
He refer to this thread:
http://www.cfd-online.com/Forums/ope...tu-9-04-a.html

and this thread:
OpenFOAM Install Script

For me Installation of OpenFoam-1.6 and ParaView on Ubuntu 9.04 is pretty straight forward, i documented the process in my labs website here.
Taufiq. I used the instructions on your website. Worked perfectly. Thank you for that.
nanogecko is offline   Reply With Quote

Old   September 21, 2009, 01:29
Default Clean Install
  #7
Member
 
Alan Russell
Join Date: Aug 2009
Location: Boise, Idaho USA
Posts: 61
Rep Power: 16
AlanR is on a distinguished road
I decided to use an old laptop for OpenFoam. I installed Ubuntu 9.04, downloaded and installed OF 1.6 and ran the foamInstallationTest. Next, I used Synaptic to search and install libqt4-dev and build essential. I let Synaptic update and install everything. After that, I ran the cavity tutorial and paraFoam opened ParaView. ParaView looks better with Qt 4.5 - the screen fonts all work correctly.
So, before trying any of the scripts, try it the easy way (following the instructions in the README file). If ParaView doesn't work, then the scripts are very helpful.

Alan
AlanR is offline   Reply With Quote

Old   September 23, 2009, 07:29
Default
  #8
New Member
 
Taufiq Muhammadi
Join Date: Aug 2009
Posts: 3
Rep Power: 16
taufiq is on a distinguished road
Glad it helped you nanogecko
taufiq is offline   Reply With Quote

Old   December 18, 2009, 11:14
Default
  #9
New Member
 
Brian C
Join Date: Dec 2009
Posts: 9
Rep Power: 16
Caltech Brian is on a distinguished road
Quote:
Originally Posted by AlanR View Post


After many attempts over the past few weeks, I managed to successfully install OpenFOAM-1.6 and Paraview 3.6.1. I have managed to learn a fair amount about linux along the way. Here's what worked for me: maybe it will save some time for someone else...

First, the OpenFOAM installation instructions in the README file work consistently. The only problem I had on a clean installation of Ubuntu 9.04 (32 bit) was with permissions. This fixed it:
http://http://www.cfd-online.com/Forums/openfoam-installation/67198-openfoam-1-6-permissions-ubuntu-9-04-a.htm Post 2

I have not had problems getting the foamInstallationTest to check out, or running blockmesh and icoFoam on the lid-driven cavity flow tutorial.

ParaView was more of a challenge. After many attempts and reading a lot of posts, I found the installParaView script by Jure.
http://www.cfd-online.com/Forums/ope...ntu-9-04-a.htm Post 58

Before you go off and run the script, I had the problem described in Post 61. I fixed the problem by following Post 66 and recompiling Paraview following the README file instructions (below). Compiling Paraview takes a long time - on the order of 5 hours for the old desktop I'm currently using, so be sure to add the path in Post 66, and make sure you have the correct version of qmake, cmake and gcc before you start. To check for each, us the command qmake --version, cmake --version and gcc --version., and to check the path, echo $PATH.

Compiling Paraview 3.6.1 and the PV3FoamReader module


  • cd $WM_THIRD_PARTY_DIR
  • rm -rf paraview-3.6.1/platforms
  • makeParaView
  • cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
  • ./Allwclean
  • ./Allwmake
Good luck. Thanks to those who helped me, and see you all on other posts. When I get a new 64 bit system, I will probably be back to the Installation forum.
AlanR

Of course, I managed to write this in the wrong forum...

http://www.cfd-online.com/Forums/ope...tu-9-04-a.html
AlanR,

I am running Ubuntu 9.04 and my makefile is generating an internal compiler error on wmkdep. Any clues?

Brian

-----
gcc -m32 -Wall -O3 -fPIC dirToString.c -o /home/brian/OpenFOAM/OpenFOAM-1.6.x/wmake/bin/linuxGcc/dirToString
flex wmkdep.l
gcc -m32 -Wall -O3 -fPIC lex.yy.c -o /home/brian/OpenFOAM/OpenFOAM-1.6.x/wmake/bin/linuxGcc/wmkdep
lex.yy.c:1393: warning: ‘yyunput’ defined but not used
lex.yy.c:1436: warning: ‘input’ defined but not used
wmkdep.l: In function ‘yy_scan_bytes’:
wmkdep.l:463: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions
----

gcc version: 4.3.3
Caltech Brian 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
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 14:43
Successful Installaton Of OpenFOAM-1.6 and Paraview in Ubuntu 9.04 AlanR OpenFOAM Installation 21 September 17, 2009 11:27
OpenFOAM Version 1.6 Released opencfd OpenFOAM Announcements from ESI-OpenCFD 0 July 27, 2009 17:55
[OpenFOAM] Paraview 3.4, ppa.launchpad.net and Ubuntu francois ParaView 1 May 29, 2009 09:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 15:48.