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

Installing OpenFOAM 2.1.1 and ParaView 3.12.0 on Ubuntu 12.10

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree8Likes
  • 4 Post By wyldckat
  • 1 Post By tarigarma
  • 1 Post By khashi
  • 1 Post By Armandul
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2012, 08:46
Default Installing OpenFOAM 2.1.1 and ParaView 3.12.0 on Ubuntu 12.10
  #1
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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!

Since today is a holiday here in Portugal, I took the liberty to do some preemptive testing of installing OpenFOAM 2.1.1 on Ubuntu 12.10 aka Quantal, which has recently reached beta stage.

Problems installing on this new release was expected, so I've added instructions for it here: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.10


I did the tests only on a virtual machine with Ubuntu 12.10 x86_64 and everything built without any problems, as long as those instructions are properly followed
Nonetheless, I'm expecting problems with real machines, because graphics card drivers can be a serious pain sometimes...

Anyway, if anyone has problems installing and using OpenFOAM 2.1 and ParaView 3.12.0 on Ubuntu 12.10, feel free to use this thread!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 6, 2012, 07:04
Default
  #2
New Member
 
Margarita
Join Date: Nov 2012
Posts: 1
Rep Power: 0
tarigarma is on a distinguished road
I have tried this with a real machine and it works perfectly also.

thanks for your post
helalce likes this.
tarigarma is offline   Reply With Quote

Old   November 7, 2012, 17:42
Default Thank you
  #3
New Member
 
Khashayar
Join Date: Mar 2012
Posts: 3
Rep Power: 14
khashi is on a distinguished road
I followed your instructions and it works. Thank you so much.
helalce likes this.
khashi is offline   Reply With Quote

Old   November 22, 2012, 04:55
Default How to get started?!
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
_



For people having trouble getting started, go to this thread: http://www.cfd-online.com/Forums/ope...u-12-10-a.html


_
__________________
wyldckat is offline   Reply With Quote

Old   December 2, 2012, 06:12
Default
  #5
New Member
 
Michael Diederich
Join Date: Jun 2011
Posts: 8
Rep Power: 14
Armandul is on a distinguished road
Hey there,
i have a big problem with this installation.
it seems like everything went well and when i try to do the first tutorial showing the mesh with paraFoam it generates an error telling me about segmentation violation.
opening paraview is possible, but not paraFoam.

i have an laptop with the NVIDIA GeForce 9300M G.
it does not work either with proper driver installed or with default one.

some ideas or same problems?

thanks a lot!
Armandul is offline   Reply With Quote

Old   December 2, 2012, 07:40
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 Michael,

I was expecting that sooner or later someone would report problems with an NVidia or ATI card

So, let's try and isolate the problem:
  1. Try using the internal reader:
    Code:
    paraFoam -builtin
  2. Do you have another installation of ParaView in your Ubuntu installation? Or in other words, have you installed Ubuntu's default ParaView?
  3. With either ParaView, try creating a new object. In the menu "Source", choose "Sphere" and hit the "Apply" button. Does it also give a segmentation fault?
  4. If you haven't tried Ubuntu's own ParaView, then install it. You can install it by running:
    Code:
    sudo apt-get install paraview
    Then go into the case folder you were testing before and run:
    Code:
    paraFoam -builtin -touch
    Then open ParaView via the global Ubuntu menu (or whatever they call it now "dashboard" maybe?). And open the created file, possibly named "cavity.foam" in the case folder you were testing in.
Depending on the outcome of these tests, we should be able to figure out a solution!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   December 2, 2012, 08:32
Default
  #7
New Member
 
Michael Diederich
Join Date: Jun 2011
Posts: 8
Rep Power: 14
Armandul is on a distinguished road
Hello Bruno,

first of all, i want to thank you for your amazing fast reply!
actually i have no idea what happend there, but now it works without doing anything.
i mean i did the same things as before. maybe some new driver is implementet since yesterday in the automatic update package?

but anyway, thanks a lot!
wyldckat likes this.
Armandul is offline   Reply With Quote

Old   January 29, 2013, 12:45
Default thanks!
  #8
New Member
 
R P
Join Date: Jul 2012
Location: India
Posts: 6
Rep Power: 13
protussa is on a distinguished road
Thanks. worked for me.
changed the VERS to precise and followed the Ubuntu Deb Pack Installation instructions.
protussa is offline   Reply With Quote

Old   February 8, 2013, 03:38
Default problem loading paraview on ubuntu 12.10
  #9
New Member
 
Muhammad Omer Mughal
Join Date: Feb 2013
Posts: 3
Rep Power: 13
Muhammad_Omer is on a distinguished road
Dear All

I have installed open foam 2.1.1 on unbuntu12.10 with the help of hack that bruno provided i.e change precise to quantal but the problem is when I try to post process my results in paraview it gets crashed.If some one has done the cavity tutorial so for them when I reach the step where I try to got to the filters the moment I click it it crashed.Can any one help me on this
Muhammad_Omer is offline   Reply With Quote

Old   February 8, 2013, 04:29
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 Muhammad and welcome to the forum!

Try these steps:
  1. Switch to "root" mode:
    Code:
    sudo -s
    Or:
    Code:
    su -
  2. Uninstall OpenFOAM's ParaView and install Ubuntu's version:
    Code:
    apt-get remove paraviewopenfoam3120
    apt-get install paraview
  3. Go into the folder where OpenFOAM is installed, more specifically to the "bin" folder it has got. If I'm not mistaken, it should be in your case:
    Code:
    cd /opt/openfoam211/bin
  4. Now run these two commands:
    Code:
    sed -i -e 's/requirePV=1/requirePV=0/' paraFoam
    sed -i -e 's=\.OpenFOAM=\.foam=' paraFoam
    The first command is just a precaution.
  5. Exit "root" mode:
    Code:
    exit
  6. Go to one of the folders where you have an OpenFOAM case and try running paraFoam in it. It should now work as intended!
Best regards,
Bruno
brucechen1115 likes this.
__________________
wyldckat is offline   Reply With Quote

Old   February 10, 2013, 03:19
Default problem persists
  #11
New Member
 
Muhammad Omer Mughal
Join Date: Feb 2013
Posts: 3
Rep Power: 13
Muhammad_Omer is on a distinguished road
Dear Brono

Thanks for your quick reply but the problem is still there.I tried reinstalling openfoam following the steps on http://openfoamwiki.net/index.php/In...u#Ubuntu_12.10

and after that used the commands that you had provided but it still crashes on going to the filter options and the screen goes blank with the following messages:
starting system V run level compatibility [ok]
starting [ok]

starting [ok]
stopping [ok]

starting CUPS printing spooler/server [ok]

starting cold plug devices [ok]

Please help me as soon as possible coz I am loosing valuable research time

Regards
Muhammad Omer Mughal
Muhammad_Omer is offline   Reply With Quote

Old   February 10, 2013, 06:46
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 Muhammad,

Looks like you need to install the correct drivers for your machine's graphics card!
Search online through Google or some other search engine, for the following keywords:
Code:
install graphics card drivers in Ubuntu
Good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 11, 2013, 03:42
Default
  #13
New Member
 
Muhammad Omer Mughal
Join Date: Feb 2013
Posts: 3
Rep Power: 13
Muhammad_Omer is on a distinguished road
Dear Brono

Thanks for your help and time.The problem is fixed and I can now work at ease on OpenFOAM in ubuntu 12.10. Ru doing research on OpenFOAM or r u dong a job.

Reagrds

Muhammad Omer Mughal
Muhammad_Omer is offline   Reply With Quote

Old   February 12, 2013, 04:01
Default Thanks Bruno
  #14
New Member
 
Y
Join Date: Feb 2013
Location: The Earth
Posts: 25
Rep Power: 13
peteryuan is on a distinguished road
I changed the VERS to precise and everything worked fine for me last night.
As a beginer for Ubuntu and OpenFOAM, I have tried such a long time to install OpenFOAM. Finally it worked. So, thanks for your help, Bruno!

I did paraFoam in cavity case and everything went well.

then I suppose that you can do paraFoam in every tutorial case, right? I tried to do paraFoam in some other case directories, it did not work.
the error of paraview said that there are some error in line so and so, or invalid mesh or something like that.
I just want to know it that normal for some cases in tutorial?
Or do I have problems with my installation if that happened?
Thanks for your help!
peter
peteryuan is offline   Reply With Quote

Old   February 12, 2013, 05:43
Default
  #15
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 Peter and welcome to the forum!

First, read the user guide and follow the detailed tutorials there: http://www.openfoam.org/docs/user/tu...s.php#x4-30002

Then, depending on the tutorial:
  1. Look for a file named Allrun in the case's folder or parent folder. If there is one, you can run it with:
    Code:
    ./Allrun
    Feel free to edit the file, to learn which commands are used.
  2. If there is none, simply run:
    Code:
    foamRunTutorials
Only then can you use paraFoam.



Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] [Critical] ParaView 3.12.0 breaks monitor signal in Ubuntu 11.04 v_mil ParaView 5 March 18, 2012 14:39
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 15:43
Trouble with installing OpenFOAM on Ubuntu Milos OpenFOAM Installation 16 November 16, 2009 03:44
Installing OpenFOAM without Paraview quartzian OpenFOAM Installation 0 September 8, 2008 10:29
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25


All times are GMT -4. The time now is 22:57.