|
[Sponsors] |
April 27, 2012, 04:27 |
please help me!
|
#1 |
Senior Member
|
hi,
anybody is here that explain me how can I install OpenFOAM on Linux Ubuntu? does it have a graphical environment or it just has coding environment? I'm a beginner in openfoam and linux! I have downloaded it with thirdparty-2.1.0 before. thank a lot |
|
April 27, 2012, 05:41 |
|
#2 | |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20 |
Quote:
__________________
~roman |
||
April 27, 2012, 06:07 |
|
#3 | |
Senior Member
|
Quote:
thank you so much, I'll be back if I have questions. |
||
April 28, 2012, 06:57 |
|
#4 | |
Senior Member
|
Quote:
hi, When I want to install OpenFOAM-1.7.1 on OpenSUSE it says: System management is locked by the application with pid 4511 (/usr/sbin/packagekitd). Close this application before trying again. What do I do, please? |
||
April 28, 2012, 16:40 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Mostafa: did you search for this online? The first post I got was this: http://superuser.com/questions/83997...by-packagekitd Basically all you needed to do was: Code:
kill 4511 #or if you aren't in root mode sudo kill 4511 Bruno
__________________
|
|
April 28, 2012, 23:28 |
|
#6 | |
Senior Member
|
Quote:
thank you Bruno I'm a new user in linux! |
||
May 10, 2012, 12:35 |
|
#7 | |
Senior Member
|
Quote:
mostafa@mostafa-desktop:~$ sudo apt-get install build-essential flex bison cmake zlib1g-dev qt4-dev-tools libqt4-dev gnuplot libreadline-dev libxt-dev [sudo] password for mostafa: Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version. flex is already the newest version. bison is already the newest version. Package cmake is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package cmake has no installation candidate Is it OK!!!!!!!!! |
||
May 10, 2012, 14:54 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Mostafa,
That's strange... what Ubuntu version do you have installed? Did you do any upgrade? Does your machine have internet connection? Best regards, Bruno
__________________
|
|
May 11, 2012, 00:45 |
|
#9 |
Senior Member
|
Hi Wyldckat,
thank you for your reply. CAELinux 2011 This release is built on an updated Ubuntu 10.04.3 LTS 64 bit base with a focus on the upgrade of the CAE softwares and the addition of tutorials & wizards to make your first steps easier. I think I should use the previous version of OpenFOAM, such as 1.7.0. |
|
May 11, 2012, 02:35 |
|
#10 | |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20 |
Quote:
On the live DVD that you get from CAElinux, Ubuntu 2.0.1 is already installed and when installing the liveDVD onto your hard disk you should have OpenFOAM available.
__________________
~roman |
||
May 11, 2012, 02:44 |
|
#11 | |
Senior Member
|
Quote:
It just has OpenFOAM Terminal !!!! what should I do? |
||
May 11, 2012, 02:47 |
|
#12 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20 |
OpenFOAM only runs in terminal, for graphical post processing you will have to use paraview, which is called from the terminal in your case directory by running paraFoam. I suggest you go to http://www.openfoam.org/docs/user/ and read the introduction as well as work through the first tutorials. This way you will get used to OpenFOAM, how it works and also learn a little bit about how to use linux.
__________________
~roman |
|
May 11, 2012, 03:00 |
|
#13 | |
Senior Member
|
Quote:
I'm a new user of Linux I doubt that OpenFOAM, itself is really a terminal or not, again thank you. |
||
May 11, 2012, 06:19 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Read this thread: http://www.cfd-online.com/Forums/ope...cae-linux.html
__________________
|
|
August 25, 2012, 14:31 |
|
#15 |
New Member
Manfredi
Join Date: Aug 2012
Posts: 5
Rep Power: 13 |
Hello everyone,
i'm new in Linux and i'm trying to install OpenFOAM on Ubuntu. I'm following the instructions at this link http://www.openfoam.org/download/source.php , but i can't understand what i have to do at this point: "Go to the top-level source directory $WM_PROJECT_DIR and execute the top-level build script ./Allwmake." in paragraph Building the Sources. What am i supposed to do? Please try to be the more "explainful" as you can! Thank you |
|
August 25, 2012, 14:58 |
|
#16 | |
Senior Member
|
Quote:
Dear Manfredi, just go to $WM_PROJECT_DIR and run ./Allwmake as below: Code:
cd $WM_PROJECT_DIR ./Allwmake |
||
August 25, 2012, 15:01 |
|
#17 | |
Senior Member
|
Quote:
Thank you so much Mostafa Mahmoudi |
||
August 25, 2012, 17:30 |
|
#18 |
New Member
Manfredi
Join Date: Aug 2012
Posts: 5
Rep Power: 13 |
Here is what i tried to do.... but looks like it did't work:
Code:
manfredi@manfredi-MacBookAir:~$ cd $WM_PROJECT_DIR manfredi@manfredi-MacBookAir:~$ ./Allwmake bash: ./Allwmake: File o directory non esistente manfredi@manfredi-MacBookAir:~$ cd - /home/manfredi manfredi@manfredi-MacBookAir:~$ cd $WM_PROJECT_DIR manfredi@manfredi-MacBookAir:~$ '/home/manfredi/OpenFOAM/OpenFOAM-2.1.1/Allwmake' /home/manfredi/OpenFOAM/OpenFOAM-2.1.1/Allwmake: 4: /home/manfredi/OpenFOAM/OpenFOAM-2.1.1/Allwmake: wmakeCheckPwd: not found Error: Current directory is not $WM_PROJECT_DIR The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. manfredi@manfredi-MacBookAir:~$ Is it correct to add line Code:
source $HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc Code:
end-of-file Thank you P.s. "non esistente" means "do not exist" |
|
August 26, 2012, 00:16 |
|
#19 | |
Senior Member
|
Quote:
Dear Manfredi, I had such problem before, the problem is about environment variables, they aren't fixed correctly. run 'echo $SHELL' to see whether the bash or ksh is running or tcsh or csh. then you should add the below code before end-of-file of bashrc or cshrc file, for example, in '$HOME/OpenFOAM/OpenFOAM-x.x.x/etc' directory. Code:
source $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc for more details see this link by Bruno: Advanced tips for working with the OpenFOAM shell environment |
||
August 26, 2012, 07:10 |
|
#20 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Meltedbrain: Quote:
Best regards, Bruno
__________________
|
||
|
|