|
[Sponsors] |
March 17, 2010, 06:35 |
|
#301 |
Member
Javed
Join Date: Mar 2010
Location: Mumbai,India
Posts: 32
Rep Power: 16 |
Hi Sir,
Can u please send me ur script on sk1.javed@gmail.com, I am not able to download from the link. Thanks Javed |
|
March 17, 2010, 06:48 |
|
#302 |
New Member
Join Date: Feb 2010
Posts: 21
Rep Power: 16 |
Hi,
You could download from this link, according to your system. I would suggest you download the new Ubuntu 9.10. http://hvirvel.dk/wp/?p=3 cheers jish |
|
March 17, 2010, 09:23 |
new script
|
#303 |
Member
Fábio César Canesin
Join Date: Mar 2010
Location: Florianópolis
Posts: 67
Rep Power: 16 |
Hi all, I have made some changes to the script.. it is attached in this reply
Have made: - Unification of versions ( 9.10 x64 + 9.10 + 9.04 x64 + 9.04 = installOF ) - Mirror selecting - Architeture detection (uname is default in ubuntu) - Ubuntu version detection (based in the third number of kernel) - General fix for tutorials source (fixing wrong calls to bash) - Code cleanup I have send the new script to Mads, he has been very supportive.. I believe that the fix for tutorials IS A MUST because novices will find hard times trying to run the tutorials. Tested on Ubuntu 9.10 x64 ... PLEASE, HELP TESTING THE SCRIPT. |
|
March 17, 2010, 10:15 |
|
#304 |
New Member
Join Date: Mar 2010
Posts: 14
Rep Power: 16 |
Hi
I am new in ubuntu 9.04 and I am trying to get paraView. I followed following procedure after sourcing the file OpenFOAM-1.6/etc/bashrc. Compile ParaView. Ship into OpenFOAM/ThirdParty-1.6 and execute sh makeParaView Link OpenFOAM ParaView reader and ParaView. :/$ cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader :/$ ./Allwclean :/$ ./Allwmake But now I am getting following error msg and I'm stucked in it...Pls help m in regard Thankx.. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: OPENGL_INCLUDE_DIR used as include directory in directory /home/rahul/OpenFOAM/OpenFOAM-1.6/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader -- Configuring incomplete, errors occurred! + make make: *** No targets specified and no makefile found. Stop. |
|
March 17, 2010, 10:23 |
|
#305 |
Member
Fábio César Canesin
Join Date: Mar 2010
Location: Florianópolis
Posts: 67
Rep Power: 16 |
Remove all the folders and try to use the script I have attached in the topic, you need to libqt4-dev, flex and python-dev to compile paraview under Ubuntu...
Please, use the script.. it fix other errors you may find in future. |
|
March 18, 2010, 01:18 |
|
#306 |
Member
Javed
Join Date: Mar 2010
Location: Mumbai,India
Posts: 32
Rep Power: 16 |
Thanks Jish,
I have successfully installed the openfoam, thanks a lot for the script u sent. Can u plz do one more favour just want to know how to open GUI , or any link which can guide for further work. Thanks a lot again. Javed |
|
March 18, 2010, 07:26 |
|
#307 | |
New Member
Join Date: Feb 2010
Posts: 21
Rep Power: 16 |
Quote:
Hello I dont think there is a GUI for OF 1.6. Its just a terminal window. And to view the results you can open paraview by typing in the command window 'paraFoam' cheers jish |
||
March 18, 2010, 08:39 |
|
#308 |
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 17 |
OpenFoam hasn't a GUI, by command window you can type a lots of commands.
Regards
__________________
|
|
March 18, 2010, 11:40 |
|
#309 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Javed,
Check the online official OpenFOAM documentation here. Or the unofficial wiki here. Or even what IDdesigner has found so far, he made available here. Best regards, Bruno |
|
March 18, 2010, 23:56 |
|
#310 |
New Member
Dian
Join Date: Mar 2010
Posts: 1
Rep Power: 0 |
Hi,
I'm new in town and I hope the experts here can give me solutions. I have installed openfoam 1.6 in my ubuntu 9.04 and it works, Base configuration ok and Critical System ok. But question left, if I upgrade my ubuntu 9.04 to Ubuntu 9.10 without deleting ubuntu 9.04 are there some configuration systems should be changed to keep my openfoam-1.6 working? Thank you for your attention. |
|
March 19, 2010, 04:29 |
|
#311 |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
||
March 19, 2010, 07:33 |
|
#312 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Dian and welcome to the forum!
Quote:
I'm asking all of these, because it depends on how you installed OpenFOAM! So, for the first two hypothesis, just run that block of code I've posted in post #282. For the third hypothesis, there are two other possibilites: did you build the gcc-4.3.3 that comes with the ThirdParty package or did you use Ubuntu's gcc-4.3.3? Honestly, either one of these should allow continuing to use OpenFOAM+Paraview properly. Or at the very least, just do an ./Allwmake at OpenFOAM-1.6 to make sure it is linked properly. Ditto for Paraview. Oh, and another thing: is it OpenFOAM-1.6 or OpenFOAM-1.6.x that you installed? Just to make sure Best regards, Bruno |
||
March 21, 2010, 13:41 |
Problem with directory structure
|
#313 | |
New Member
Aleksey Matyushev
Join Date: Mar 2010
Posts: 10
Rep Power: 16 |
Quote:
FIX up for Ubuntu 9.10 cd: 74: can't cd to /home/aleksey/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64 Somehow the folder structure has changed in the package and I'm not sure if this fix is needed. And with your script I get sudo sh ./installOF ----------------------------------------------------- --------- OpenFOAM 1.6.x Install for Ubuntu --------- ----------------------------------------------------- Created by..................Mads Reck Revisions and updates.......Bruno Santos Anton Kidess Fabio Canesin ----------------------------------------------------- What is your Geographical location ? (if not in list, chose closest) 1 - Brazil 2 - US 3 - Germany 4 - Switzerland 5 - Japan 6 - Australia 7 - UK 8 - Italy 9 - China/Taiwan 10 - EXIT INSTALL ----------------------------------------------------- 2 ------------------------------------------------------ Your system appears to be x86_64 Acting accordingly ------------------------------------------------------ Making sure that you have all needed libraries ------------------------------------------------------ Apparently we need to run apt-get multiple times to be SURE that everything is installed ------------------------------------------------------ --Installing dependencies ---------------------------- ------------------------------------------------------ ------------------------------------------------------ Downloading ThirdParty stuff ------------------------------------------------------ ./installOF: 111: [[: not found ./installOF: 146: [[: not found ------------------------------------------------------ Checking installation - you should see NO criticals... ------------------------------------------------------ ./installOF: 151: foamInstallationTest: not found Any help would be appreciated. Many thanks for all your hard work, Aleksey |
||
March 21, 2010, 14:24 |
|
#314 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Aleksey,
I've already seen some of the errors in Mads latest script versions. Attached is the 9.10 version with a few fixes for it that should make it fully functional as intended. You'll have to: Code:
tar -xzf installOF9.10.tar.gz As for Fabio's version, he has the latest version in http://code.google.com/p/openfoam-ubuntu/ Currently I'm working on a buffed up version of Fabio's script, and will be posting it later on after doing a few test runs. I'll be posting on Fabio's thread. Best regards, Bruno |
|
March 21, 2010, 14:33 |
|
#315 | |
New Member
Aleksey Matyushev
Join Date: Mar 2010
Posts: 10
Rep Power: 16 |
Quote:
sudo sh ./installOF9.10 ----------------------------------------------------- Created by..................Mads Reck Revisions and updates.......Bruno Santos Anton Kidess Fabio Canesin ----------------------------------------------------- [: 127: x86_64: unexpected operator Thanks for your continuing help, Aleksey openAE Administrator http://openae.org |
||
March 21, 2010, 14:59 |
|
#316 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Sorry about that, I missed the missing quotes in the if for the x86_64 option
Attached is the (hopefully) fixed version. Additionally, don't run the script with the sudo command on it! The script itself already has sudo where it is needed! Best, Bruno edit: in the post #335 you now have a more up-to-date version. Last edited by wyldckat; April 9, 2010 at 09:42. Reason: added the same fixes for architecture detection from 9.10 in 9.04 |
|
March 21, 2010, 18:27 |
|
#317 | |
New Member
Aleksey Matyushev
Join Date: Mar 2010
Posts: 10
Rep Power: 16 |
Quote:
Also, I had to run: . $HOME/.bashrc To get the bash environment updated after Fabio's script installation. I think it would be a good idea to put that command into the script. Again, thanks for all your hard work guys on these scripts. OpenFOAM is a wonderful tool but it seems that most users don't even get around to seeing its potential because they get bogged down in the installation. These scripts is exactly what was needed. When I write my article, I will be sure to source these scripts and the hard working individuals making it all possible. Aleksey openAE Administrator http://openae.org |
||
March 21, 2010, 19:54 |
|
#318 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hello again Aleksey,
Quote:
Code:
run the scripts by typing either . ./installOF9.04 or . ./installOF9.10 Code:
source ./installOF9.10 . ./installOF9.10 Ah, and I suggest roaming the OpenFOAM forum for a couple of hours searching for links to useful sites, because there is a lot of knowledge richness, given by various users for various topics! Best regards, Bruno Last edited by wyldckat; March 21, 2010 at 19:55. Reason: typos... |
||
March 21, 2010, 22:20 |
|
#319 |
New Member
Aleksey Matyushev
Join Date: Mar 2010
Posts: 10
Rep Power: 16 |
Thanks for all the wonderful information Bruno, this has definitely been a day of learning for me.
I already started rummaging through the OpenFOAM forums (lots of good info). In all honesty this definitely is very different to the commercial CFD codes integrated into software packages such as CATIA and ProE, but seems just as powerful. As for the article and the scripts...I'm sure these scripts won't work for everyone, but as long as they provide a viable solution to MOST of the users, they deserve special mention. Not to mention that if you just read through them, they give someone more insight as to how to get OpenFOAM more so than the "Read Me". Thanks again for all your help Bruno! Aleksey openAE Adminsitrator http://openae.org |
|
March 27, 2010, 12:39 |
|
#320 |
New Member
JohnMichaelKane
Join Date: Mar 2010
Posts: 18
Rep Power: 16 |
Good afternoon.
Using the script at beginning of thread. OpenFOAM managed to install. Upon reviewing the make.log, some errors were notice. Code:
make[1]: Target `application' not remade because of errors. make[1]: Leaving directory `/home/xxx/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical' make: *** [thermophysical] Error 2 make: Target `application' not remade because of errors. The machine used is running a stock and fully updated Ubuntu 9.10 install. Are errors normal when running said script? Could said error be eliminated? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
install OpenFoam 1.6 by building source: how? | niudie | OpenFOAM Installation | 13 | April 26, 2011 01:48 |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |
install openfoam 1.6 on opensuse 11.0 | andresbh | OpenFOAM Installation | 8 | September 30, 2009 01:48 |
Install openFOAM 1.6 on debian 32bit - blockMesh: command not found | fossy | OpenFOAM Installation | 1 | August 28, 2009 05:06 |
Install of OpenFOAM 1.6 Error 1 Error 2 & run tutorial | potac | OpenFOAM Installation | 3 | August 27, 2009 10:04 |