please help me!
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 |
Quote:
|
Quote:
thank you so much, I'll be back if I have questions. |
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? |
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 Bruno |
Quote:
thank you Bruno I'm a new user in linux! |
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!!!!!!!!! |
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 |
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. |
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. |
Quote:
It just has OpenFOAM Terminal !!!! what should I do? |
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.
|
Quote:
I'm a new user of Linux I doubt that OpenFOAM, itself is really a terminal or not, again thank you. |
Read this thread: http://www.cfd-online.com/Forums/ope...cae-linux.html
|
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 |
Quote:
Dear Manfredi, just go to $WM_PROJECT_DIR and run ./Allwmake as below: Code:
cd $WM_PROJECT_DIR |
Quote:
Thank you so much Mostafa Mahmoudi |
Here is what i tried to do.... but looks like it did't work:
Code:
manfredi@manfredi-MacBookAir:~$ cd $WM_PROJECT_DIR 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" |
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 |
Greetings to all!
@Meltedbrain: Quote:
Best regards, Bruno |
@Mostafa Mahmoudi
As you suggested the problem was in the environment variables setting. I put the line Code:
source $HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc By correcting and sourcing file .bashrc i solved my problem. Thank you very much for your kind help. @Bruno Santos Thank you for suggestion, but i'd like to get used with Linux |
hey Manfredi,
your welcome, I'm happy that your problem fixed. Mostafa Mahmoudi |
trouble locating $WM_PROJECT_DIR
I'm having the same trouble as Meltedbrain - When I run this in terminal:
source $HOME/.bashrc $WM_PROJECT_DIR is not created - echoing $WM_PROJECT_DIR returns a blank. Am I missing something here? I don't think bashrc is creating the necessary file... |
Quote:
see the http://www.cfd-online.com/Forums/blo...vironment.html link. and after it see the below link: http://www.cfd-online.com/Forums/ope...e-help-me.html and then see the previous posts of this thread. |
Quote:
Following the advice in 'advanced tips' didn't seem to help, since I don't have a working OF environment. using echo, ls, cd on $WM_PROJECT_DIR returns nothing.. Perhaps I'm not compiling the bashrc file correctly? Confused, S |
Does the line you added in the bashrc-file effectively refer to the OF installation dir?
e.g. source /opt/openfoam211/etc/bashrc will work only if openfoam is installed in /opt/openfoam211/ |
All times are GMT -4. The time now is 23:53. |