|
[Sponsors] |
[OpenFOAM.org] OpenFOAM 1.6.x Installer for Ubuntu |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#41 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Bruno,
Sorry about that ![]() But you no longer need to run the installOF.sh script to finalise your installation. Just follow these instructions:
![]() Hopefully these instructions I've written will do the trick and the latest script should have a slim to none chance of having bugs... alas, I'm probably just dreaming ![]() Best regards, Bruno Santos
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#42 |
New Member
Sumontro
Join Date: Jul 2009
Posts: 12
Rep Power: 17 ![]() |
The download link for the .sh file is missing. Where is place the latest version of the file can be downloaded from?
|
|
![]() |
![]() |
![]() |
![]() |
#43 |
Member
Fábio César Canesin
Join Date: Mar 2010
Location: Florianópolis
Posts: 67
Rep Power: 16 ![]() |
The download can be made at http://code.google.com/p/openfoam-ubuntu .. in the text has an call for "DOWNLOAD - installOF - version 0.9" ..
I removed the download file because we already has two versions of the script in the branches. And doing a link direct to the repository of the stable one will make people get the latest fixes always. The "installOF.sh" is the stable version and should always compile at least OpenFOAM with no errors. The "installOF_exp.sh" is the experimental version where we add funcionalities and test/improve that before pushing to the principal script. |
|
![]() |
![]() |
![]() |
![]() |
#44 |
New Member
Sumontro
Join Date: Jul 2009
Posts: 12
Rep Power: 17 ![]() |
How do I download the script in sh format? Because when I click on the download link, I get the code, not the file.
|
|
![]() |
![]() |
![]() |
![]() |
#45 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings Sumontro,
You have at least 3 possibilities:
Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#46 |
New Member
Bruno F.
Join Date: Feb 2010
Location: Boulder, CO
Posts: 17
Rep Power: 16 ![]() |
1 - Using Firefox:
Right click over link, then select "Save Link As...". OR 2- Click on link, copy all of the contents of the file of the server to new text file in Gedit (or another text editor). Save your file as "installOF.sh". THEN, to execute the script you will need to give it "executable" permission. Using the prompt/terminal, type: chmod +x installOF.sh. Then double click on script, and select "Run in Terminal" Cheers, Bruno F. |
|
![]() |
![]() |
![]() |
![]() |
#47 |
New Member
Bruno F.
Join Date: Feb 2010
Location: Boulder, CO
Posts: 17
Rep Power: 16 ![]() |
Bruno,
I just ran your instructions to compile the CCM+ script from the prompt. It worked flawlessly! I appreciate all of your help! Cheers, Bruno F. |
|
![]() |
![]() |
![]() |
![]() |
#48 |
New Member
Sumontro
Join Date: Jul 2009
Posts: 12
Rep Power: 17 ![]() |
my installation is not working properly. I get this message everytime I try running commands after installing OpenFOAM.
/home/sumontro/OpenFOAM/OpenFOAM-1.6.x/tutorials [1] + Stopped blockMesh What should I do? There seems to be no install log. |
|
![]() |
![]() |
![]() |
![]() |
#49 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings Sumontro,
OK, you should have the following log files: Code:
/home/sumontro/OpenFOAM/OpenFOAM-1.6.x/foamIT.log /home/sumontro/OpenFOAM/OpenFOAM-1.6.x/make.log /home/sumontro/OpenFOAM/ThirdParty-1.6.x/makeParaview.log Additionally, on the folder where you executed the installOF.sh script you should have a log file named installOF.log. If you don't have any of these log files, then something very strange happened. As for the output you are getting: Quote:
If this output you've reported still occurs after following the user guide instructions, then try starting a new terminal and running startFoam (if you chose that option when installing). Then try following the user guide's instructions again. If it still doesn't work properly, then please post the logs I've written at the beginning of this post. Good luck, best regards, Bruno
__________________
|
||
![]() |
![]() |
![]() |
![]() |
#50 |
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16 ![]() |
Hello everybody,
I have a strange issue on ubuntu 10.04 32bit fresh installation, why everytime I have to type startFoam to start "run" or "src" command? Thanks in advance
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#51 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings 83_Ale_83,
Quote:
This way you can more easily setup a multi-OpenFOAM environment, if you want to install OpenFOAM 1.6 or OpenFOAM-dev 1.5 on the machine. Either way, you can change this behavior by editing the file "$HOME/.bashrc". You can:
If for some reason you do need to run startFoam before running "run" or "src", even if you've already executed it in that particular terminal session... then we'll need more information, because that is a very strange behavior ![]() Best regards, Bruno
__________________
|
||
![]() |
![]() |
![]() |
![]() |
#52 |
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16 ![]() |
Great answer Bruno,
I have explained bad the issue, everytime I open a new terminal and type "src" ecc ecc, following your replay I have changed the bash file and everything works fine. Great job Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#53 |
New Member
Sumontro
Join Date: Jul 2009
Posts: 12
Rep Power: 17 ![]() |
Thanks Bruno for your advice, typing startFoam seems to fix the difficulties I was having earlier. Also, I found all three of the logs you said to look for. I don't know what other problems are lurking so I want to post the three logs. Where should I do this?
|
|
![]() |
![]() |
![]() |
![]() |
#54 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Sumontro,
Quote:
Now, for posting here, when you reply to this post, you have two modes for posting:
Quote:
There should be a help page for the forum, but it felt quicker to just write about it here how to do it. Best regards, Bruno
__________________
|
|||
![]() |
![]() |
![]() |
![]() |
#55 |
Member
Join Date: Dec 2009
Posts: 39
Rep Power: 16 ![]() |
Hi all!
I've installed OpenFOAM using the script and no problems there. Then I try out the first tutorial, everything works fine (even opening the postprocessor and viewing the geometry works fine! ![]() Ps. I'm new to Ubuntu and OpenFOAM so please take that into account if you answer to this post ![]() |
|
![]() |
![]() |
![]() |
![]() |
#56 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings marval,
Uhm, I suppose you are using Ubuntu 10.04? Unfortunately, you will have to build Qt also, along with ParaView. Ubuntu 10.04 has a Qt version too "far in the future" (Qt 4.6.2, I think) when compared with Qt 4.3.5 that OpenCFD suggest to use with ParaView 3.6.1. So, hopefully the following steps will work:
After it is finished building, please test again and tell us if it now works or if it still doesn't work. Because if it works, we will set Qt 4.3.5 as standard for building in Ubuntu 10.04. Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#57 |
Senior Member
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17 ![]() |
I have ever met the same issue, namely, paraview freeze the PC. I have tried to solve it but fail. From my opinion, this is due to the incompatibility between the intel graphic card 4 series and the driver on my laptop.
Do you have the same hardware? |
|
![]() |
![]() |
![]() |
![]() |
#58 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 ![]() |
Just an idea I got: We could add an option to the buildscript to use system paraview which would then create it's own paraFoam script doing the following:
foamToVTK [options] paraview --data VTK/datafile.vtk What do you think? |
|
![]() |
![]() |
![]() |
![]() |
#59 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings to all,
Quote:
![]()
![]() But the freezing problems remains somewhat unanswered: what is the specific reason for the freeze? I assumed it was a Qt problem, but without access to a computer that exhibits the same problems, I can't isolate the problem myself ![]() So, here is the list of possibilities that comes to mind, also based on other threads I've read in the past:
So, marval and lin, if you still have problems with ParaView locking up the computer, please try these possibilities above and tell us if any of them worked. If not, we'll try to conjure up some more ideas ![]() Best regards and good luck! Bruno
__________________
|
||
![]() |
![]() |
![]() |
![]() |
#60 |
Senior Member
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17 ![]() |
Thanks wyldckat for your advice.
I have the freezing problem some time ago when I use a laptop with intel 4 series graphic card, and Fedora 12 as OS. I have tried all your suggestions at that time and still fail. My suspect is the intel 4 series graphic card, because I do not have any problem with others. This is just for reference, now I change to a PC and am not bothered by that. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 11:58 |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 05:40 |
OpenFOAM Training Beijing 22-26 Aug 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | May 3, 2016 04:57 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
Error compiling OpenFoam 1.6.x with intel compiler icc | mak_04 | OpenFOAM Installation | 5 | October 28, 2011 07:06 |