|
[Sponsors] |
Thumbs up Successful Installaton Of OpenFOAM-1.6 and Paraview in Ubuntu 9.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 15, 2009, 18:48 |
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: 17 |
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
AlanR Of course, I managed to write this in the wrong forum... http://www.cfd-online.com/Forums/ope...tu-9-04-a.html |
|
August 16, 2009, 20:03 |
|
#2 |
Member
Nick
Join Date: Mar 2009
Location: England (South West)
Posts: 36
Rep Power: 17 |
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) |
|
August 18, 2009, 23:47 |
I couldn't open the links
|
#3 |
New Member
Yu
Join Date: Mar 2009
Location: USA
Posts: 11
Rep Power: 17 |
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 |
|
August 19, 2009, 23:42 |
|
#4 |
New Member
Taufiq Muhammadi
Join Date: Aug 2009
Posts: 3
Rep Power: 17 |
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 06:01. |
|
August 20, 2009, 11:06 |
|
#5 |
New Member
Yu
Join Date: Mar 2009
Location: USA
Posts: 11
Rep Power: 17 |
Thanks for your reply!
Yu |
|
September 20, 2009, 11:21 |
|
#6 | |
New Member
David
Join Date: Sep 2009
Posts: 1
Rep Power: 0 |
Quote:
|
||
September 21, 2009, 02:29 |
Clean Install
|
#7 |
Member
Alan Russell
Join Date: Aug 2009
Location: Boise, Idaho USA
Posts: 61
Rep Power: 17 |
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 |
|
September 23, 2009, 08:29 |
|
#8 |
New Member
Taufiq Muhammadi
Join Date: Aug 2009
Posts: 3
Rep Power: 17 |
Glad it helped you nanogecko
|
|
December 18, 2009, 12:14 |
|
#9 | |
New Member
Brian C
Join Date: Dec 2009
Posts: 9
Rep Power: 16 |
Quote:
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 |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 15:43 |
Successful Installaton Of OpenFOAM-1.6 and Paraview in Ubuntu 9.04 | AlanR | OpenFOAM Installation | 21 | September 17, 2009 12:27 |
OpenFOAM Version 1.6 Released | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | July 27, 2009 18:55 |
[OpenFOAM] Paraview 3.4, ppa.launchpad.net and Ubuntu | francois | ParaView | 1 | May 29, 2009 10:07 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |