CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

please help me!

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2012, 04:27
Question please help me!
  #1
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
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
adambarfi is offline   Reply With Quote

Old   April 27, 2012, 05:41
Default
  #2
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20
romant is on a distinguished road
Quote:
Originally Posted by adambarfi View Post
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
Please consider this link http://openfoamwiki.net/index.php/Ho..._Message_Board, read it and then post your questions accordingly. How OpenFOAM is installed on Ubuntu Linux is explained on the website http://www.openfoam.org/download/ubuntu.php, there you will also everything else you need to know about openfoam and how it works for starters. Additionally, read the last part of bruno's blog post http://www.cfd-online.com/Forums/blo...rty-tools.html and get familiar with the system.
__________________
~roman
romant is offline   Reply With Quote

Old   April 27, 2012, 06:07
Default
  #3
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by romant View Post
Please consider this link http://openfoamwiki.net/index.php/Ho..._Message_Board, read it and then post your questions accordingly. How OpenFOAM is installed on Ubuntu Linux is explained on the website http://www.openfoam.org/download/ubuntu.php, there you will also everything else you need to know about openfoam and how it works for starters. Additionally, read the last part of bruno's blog post http://www.cfd-online.com/Forums/blo...rty-tools.html and get familiar with the system.

thank you so much, I'll be back if I have questions.
adambarfi is offline   Reply With Quote

Old   April 28, 2012, 06:57
Default
  #4
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by romant View Post
Please consider this link http://openfoamwiki.net/index.php/Ho..._Message_Board, read it and then post your questions accordingly. How OpenFOAM is installed on Ubuntu Linux is explained on the website http://www.openfoam.org/download/ubuntu.php, there you will also everything else you need to know about openfoam and how it works for starters. Additionally, read the last part of bruno's blog post http://www.cfd-online.com/Forums/blo...rty-tools.html and get familiar with the system.

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?
adambarfi is offline   Reply With Quote

Old   April 28, 2012, 16:40
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 28, 2012, 23:28
Default
  #6
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by wyldckat View Post
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
Best regards,
Bruno

thank you Bruno
I'm a new user in linux!
adambarfi is offline   Reply With Quote

Old   May 10, 2012, 12:35
Default
  #7
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by romant View Post
Please consider this link http://openfoamwiki.net/index.php/Ho..._Message_Board, read it and then post your questions accordingly. How OpenFOAM is installed on Ubuntu Linux is explained on the website http://www.openfoam.org/download/ubuntu.php, there you will also everything else you need to know about openfoam and how it works for starters. Additionally, read the last part of bruno's blog post http://www.cfd-online.com/Forums/blo...rty-tools.html and get familiar with the system.
when I want to install OpenFOAM-2.1.0 on Ubuntu it says:

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!!!!!!!!!
adambarfi is offline   Reply With Quote

Old   May 10, 2012, 14:54
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   May 11, 2012, 00:45
Default
  #9
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
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.
adambarfi is offline   Reply With Quote

Old   May 11, 2012, 02:35
Default
  #10
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20
romant is on a distinguished road
Quote:
Originally Posted by adambarfi View Post
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.
Looking at the CAElinux website, CAElinux 2011, comes with OpenFOAM 2.0.1, therefore you should even be able to install 2.0.1 without hassle from the sources if I understand this right.

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
romant is offline   Reply With Quote

Old   May 11, 2012, 02:44
Default
  #11
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by romant View Post
Looking at the CAElinux website, CAElinux 2011, comes with OpenFOAM 2.0.1, therefore you should even be able to install 2.0.1 without hassle from the sources if I understand this right.

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.
thank you Roman,

It just has OpenFOAM Terminal !!!! what should I do?
adambarfi is offline   Reply With Quote

Old   May 11, 2012, 02:47
Default
  #12
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20
romant is on a distinguished road
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.
adambarfi likes this.
__________________
~roman
romant is offline   Reply With Quote

Old   May 11, 2012, 03:00
Default
  #13
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by romant View Post
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.
Dear Roman, thank you so much!!!

I'm a new user of Linux
I doubt that OpenFOAM, itself is really a terminal or not,

again thank you.
adambarfi is offline   Reply With Quote

Old   May 11, 2012, 06:19
Default
  #14
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Read this thread: http://www.cfd-online.com/Forums/ope...cae-linux.html
__________________
wyldckat is offline   Reply With Quote

Old   August 25, 2012, 14:31
Default
  #15
New Member
 
Manfredi
Join Date: Aug 2012
Posts: 5
Rep Power: 13
Meltedbrain is on a distinguished road
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
Meltedbrain is offline   Reply With Quote

Old   August 25, 2012, 14:58
Default
  #16
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by Meltedbrain View Post
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

Dear Manfredi,
just go to $WM_PROJECT_DIR and run ./Allwmake as below:
Code:
cd $WM_PROJECT_DIR
./Allwmake
it will make all the make folders in OF.
adambarfi is offline   Reply With Quote

Old   August 25, 2012, 15:01
Default
  #17
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
dear Bruno,
Thank you so much
Mostafa Mahmoudi
adambarfi is offline   Reply With Quote

Old   August 25, 2012, 17:30
Default
  #18
New Member
 
Manfredi
Join Date: Aug 2012
Posts: 5
Rep Power: 13
Meltedbrain is on a distinguished road
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:~$
Maybe i missed something in the previews steps?
Is it correct to add line
Code:
                 source $HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc
in $HOME/.bashrc file before it says
Code:
end-of-file
?
Thank you

P.s. "non esistente" means "do not exist"
Meltedbrain is offline   Reply With Quote

Old   August 26, 2012, 00:16
Default
  #19
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by Meltedbrain View Post
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:~$
Maybe i missed something in the previews steps?
Is it correct to add line
Code:
                 source $HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc
in $HOME/.bashrc file before it says
Code:
end-of-file
?
Thank you

P.s. "non esistente" means "do not exist"

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
then according to http://www.openfoam.org/archive/2.1....oad/source.php resume the installing.
for more details see this link by Bruno:
Advanced tips for working with the OpenFOAM shell environment
adambarfi is offline   Reply With Quote

Old   August 26, 2012, 07:10
Default
  #20
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@Meltedbrain:
Quote:
Originally Posted by Meltedbrain View Post
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:~$
If you want to build directly on Mac OS, follow these instructions: http://openfoamwiki.net/index.php/Ho...enFOAM_v21_Mac

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:31.