CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OpenFOAM-2.0.x on Ubuntu 11.10 (https://www.cfd-online.com/Forums/openfoam-installation/93405-openfoam-2-0-x-ubuntu-11-10-a.html)

rosswell December 19, 2011 04:23

Hallo again!

First of all, thank you very much to everyone who happily replied to my question! ;)

I've read the post from musahossein last week, and decided to try that out. I've fresh installed Ubuntu 11.04, successfully installed OpenFOAM on it, and then upgraded to Ubuntu 11.10. Unfortunately, I was able to run OpenFoam or ParaView after that. Everytime I tried to open ParaView, it closed right away.
After some attempts, including unsuccessful upgrade of some drivers and packages from the new version of Ubuntu, a windows popped-up saying I should update my nVidia driver. After doing that, it seemed everything was fine, but I was not able to start ParaView again. That was probably because I had again messed up something in the way.

Then I've returned to the forum and saw the kind reply from Chavagnatze, which I decided to follow.
So, I installed OpenFoam again, rewriting everything that was already installed, and now it seems its working; I successfully started ParaView, as shown in the first tutorial from OpenFoam.

So, I guess it's safe to say:
(1) Upgrading from an earlier supported version of Ubuntu after installing OF on it should work smoothly (if you don't mess with other parts of the installation during the process, like I did) - thanks musahossein ;
(2) Following the instruction from Chavagnatze should also work on Ubuntu 11.10, as it worked for me after I messed up option (1).

Toorop, luckily I didn't had the same issues you had, but thank you anyway for your reply.
I'll actually not have time until new year to work more on it and check for sure if everything is really working properly, but I would like to thank you guys already, as part of the Christmas spirit that is taking place!:D

So, have a nice Christmas and happy new year to you all.

See you next year!

:)

Ancioi December 21, 2011 06:23

FATAL ERROR: Paraview reader module libraries do not exist
 
Quote:

Originally Posted by Chavagnatze (Post 335851)
Follow these steps with either 11.04 or 11.10:

Press: CTRL+ATL+T to open a terminal.

1. Enter the following line:

sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu natty main > /etc/apt/sources.list.d/openfoam.list"

It will ask for your password. Type your password exactly as it is and press enter. It doesn't show what you are entering so don't be alarmed.

2. Next, enter this line:

sudo apt-get update

3. Enter this line next:

sudo apt-get install openfoam201

It will tell you how much disk space it will use and make references to the package security. Press the "Y" key and then press enter.

OpenFoam 2.0.1 will be installed. This process will take some time.

4. Next enter:

sudo apt-get install paraviewopenfoam3101

Press the "Y" key again and then press enter. This will install Paraview 3.10.1 which allows you to visualize your solutions, meshes, etc. This process may also require a large amount of time.

5. Next you must edit your bashrc file. To open it enter:

gedit ~/.bashrc

Scroll all the way to the bottom of the file and enter source /opt/openfoam201/etc/bashrc in a new line and save the file and exit Gedit.

6. Close the current terminal you have been using for all of the previous steps and press CTRL+ALT+T again to open another terminal. Enter:

icoFoam -help

An in-terminal help prompt for the OpenFoam icoFoam Solver should appear. OpenFoam is now running.

Follow the GETTING STARTED Section at the bottom of this page to copy the tutorial files to your home directory and get started with the tutorials.



Hello everyone,

I have no experience with openFOAM and Linux, but for my PhD project I need to run a numerical simulation so I'm moving my first steps in this field.

I have Ubuntu 11.10 on my machine and I'm trying to install openFoam 2.0.1. I have been fighting for ten days, finally yesterday I found this forum... I followed step by step the instructions of Chavagnatze, but when I try to get start with the tutorial I got this error:

"FATAL ERROR: Paraview reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake"

I followed these instructions but the error is still there.

Could you help me?
Thanks in advance

Ancioi December 22, 2011 13:21

Errata corrige
 
Hello everyone,

I got the error because at first I forgot step 3... then I tried again and it works!

I want to apologize, :(

Chavagnatze January 18, 2012 23:17

Quote:

Originally Posted by Ancioi (Post 336787)
Hello everyone,

I got the error because at first I forgot step 3... then I tried again and it works!

I want to apologize, :(

OpenFoam 2.1.0 for Ubuntu 11.10 has been relesed. If the steps on their download page are followed, a newer version of Paraview will be installed.

http://www.openfoam.org/download/ubuntu.php


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