Thumbs up Successful Installaton Of OpenFOAM-1.6 and Paraview in Ubuntu 9.04
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
Of course, I managed to write this in the wrong forum...
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)
I couldn't open the links
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!
He refer to this thread:
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.
Thanks for your reply!
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.
Glad it helped you nanogecko :)
I am running Ubuntu 9.04 and my makefile is generating an internal compiler error on wmkdep. Any clues?
gcc -m32 -Wall -O3 -fPIC dirToString.c -o /home/brian/OpenFOAM/OpenFOAM-1.6.x/wmake/bin/linuxGcc/dirToString
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
|All times are GMT -4. The time now is 01:11.|