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

OF16 install on Ubuntu 12.04 LTS Precise

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

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2013, 14:11
Default OF16 install on Ubuntu 12.XX
  #1
Senior Member
 
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 15
Ralph M is on a distinguished road
Dear all,

Bruno has written a guide on how to install OpenFoam 1.6 on Ubuntu 12.04LTS, see http://openfoamwiki.net/index.php/In...OAM-1.6/Ubuntu which helped me out to install this version of OF on Ubuntu 12.10.

Installation goes perfectly fine with only a minor issue which looks like this:
Code:
cmake:  /home/marinecfd/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6:  version `GLIBCXX_3.4.11' not found (required by cmake)
cmake:  /home/marinecfd/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6:  version `GLIBCXX_3.4.15' not found (required by cmake)
This probably can be solved by recompiling CMake.

But, when starting paraFoam I get the following message:
Code:
created temporary 'F18-orig-trim0v5-2.foam'
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Calculator" under id 121 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Annotate Time Filter" under id 156 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Calculator" under id 121 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Clip" under id 123 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Contingency Statistics" under id 150 
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Contour" under id 122 
etcetera
I found this error report: https://bugs.launchpad.net/ubuntu/+s...ew/+bug/995949 but adding paraview to the PPA doesn seem to help. So how to solve this paraFoam issue?

Thanks!

Ralph
__________________
CFD for marine applications? Go to http://www.marinecfd.com/ and join the OF Ship Hydromechanics Group: http://www.cfd-online.com/Forums/gro...mechanics.html

Last edited by Ralph M; January 23, 2013 at 14:46.
Ralph M is offline   Reply With Quote

Old   January 23, 2013, 14:16
Default
  #2
Senior Member
 
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 15
Ralph M is on a distinguished road
My problem looks like I have the same problem as described in this post http://www.cfd-online.com/Forums/ope...n-problem.html because I can see the menu bar....but when hovering the mouse on the top menu bar nothing happens either!

Cheers,

Ralph
__________________
CFD for marine applications? Go to http://www.marinecfd.com/ and join the OF Ship Hydromechanics Group: http://www.cfd-online.com/Forums/gro...mechanics.html
Ralph M is offline   Reply With Quote

Old   January 23, 2013, 17:28
Default
  #3
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 Ralph,

Let's go back a few steps... why do you need CMake?
Because according to the instructions I wrote, you don't need to build ParaView! You can simply use the ParaView version that Ubuntu has!


By the way, I've done so minor fixes to the page right now and removed some excess stuff that was around and added links to this thread.

Best regards,
Bruno
Ralph M likes this.
__________________
wyldckat is offline   Reply With Quote

Old   January 28, 2013, 12:30
Default
  #4
Senior Member
 
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 15
Ralph M is on a distinguished road
Bruno,

Reinstalling Ubuntu's paraview indeed did the job...thanks!

Ralph
__________________
CFD for marine applications? Go to http://www.marinecfd.com/ and join the OF Ship Hydromechanics Group: http://www.cfd-online.com/Forums/gro...mechanics.html
Ralph M is offline   Reply With Quote

Old   February 18, 2013, 16:38
Default
  #5
Senior Member
 
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 15
Ralph M is on a distinguished road
Hi all,

I still have difficulties with paraView. After startup (through the normal paraView button, in a terminal as paraView or in OF16 as paraFoam) the whole computer reboots. So I have different questions:
-Where to find the error log file (I couldnt find anything useful in /var)
-After reinstalling the system paraView should I rebuild OF?
-How can I switch to the OF paraView in Thirdparty?

Thanks!

Ralph
__________________
CFD for marine applications? Go to http://www.marinecfd.com/ and join the OF Ship Hydromechanics Group: http://www.cfd-online.com/Forums/gro...mechanics.html
Ralph M is offline   Reply With Quote

Old   February 18, 2013, 18:21
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
Hi Ralph,

There are (at least) two possible reasons why ParaView is crashing:
  1. There might be a conflict between OpenFOAM's Gcc 4.3.3 and ParaView's libraries.
  2. Or the graphics card drivers are not properly installed.
For isolating this issue, do the following steps:
  1. Edit the file "$HOME/.bashrc".
  2. Change the line:
    Code:
    source $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc
    To:
    Code:
    alias of16='source $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc'
  3. Now, start two terminals:
    1. On the first one, run:
      Code:
      of16
      It will activate the OpenFOAM environment.
      Go into the case you want to simulate or have already simulated before and run:
      Code:
      touch case.foam
    2. On the second terminal, make sure you do not have the OpenFOAM environment working, by running:
      Code:
      paraFoam
      It should not work. Instead, run:
      Code:
      paraview
      In ParaView, open the file that was created in the first terminal, namely "case.foam".
If this method also leads to a crash, then it's because the graphics card drivers are not properly installed.


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
[foam-extend.org] OpenFOAM-1.6-ext on Ubuntu 12.04 install errors benk OpenFOAM Installation 37 August 8, 2016 11:48
Fluent Gambit in ubuntu 12.04 lts prithvi yesudas FLUENT 7 January 17, 2014 04:14
OpenFOAM v1.7.1 on Ubuntu 12.04 LTS makaveli_lcf OpenFOAM Installation 8 October 15, 2012 16:50
Installation on Ubuntu 12.04 LTS samiam1000 OpenFOAM Installation 11 May 26, 2012 05:54
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 14:43


All times are GMT -4. The time now is 01:07.