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

Error when run paraView

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 1, 2013, 17:10
Default Error when run paraView
  #1
New Member
 
Join Date: Mar 2013
Posts: 4
Rep Power: 13
honvu is on a distinguished road
Can you help me.
Affter I installed OpenFOAM and run paraView result follow:

hon@hon-ubuntu:~/OpenFOAM/hon-2.1.0/run/tutorials/incompressible/icoFoam/cavity$ paraFoam
created temporary 'cavity.OpenFOAM'
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Main Controls" under id 64
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Selection Controls" under id 65
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "VCR Controls" under id 66
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Current Time Controls" under id 67
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Active Variable Controls" under id 68
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Representation Toolbar" under id 69
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Camera Controls" under id 70
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Center Axes Controls" under id 71
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Macros Toolbars" under id 72


When i closed terminal and return open terminal, run OpenFOAM result follow:



hon@hon-ubuntu:~$ cd OpenFOAM/hon-2.1.0/run/tutorials/
basic/ DNS/ incompressible/ resources/
combustion/ electromagnetics/ lagrangian/ stressAnalysis/
compressible/ financial/ mesh/
discreteMethods/ heatTransfer/ multiphase/
hon@hon-ubuntu:~$ cd OpenFOAM/hon-2.1.0/run/tutorials/incompressible/icoFoam/cavity
hon@hon-ubuntu:~/OpenFOAM/hon-2.1.0/run/tutorials/incompressible/icoFoam/cavity$ blockMesh
blockMesh: command not found
hon@hon-ubuntu:~/OpenFOAM/hon-2.1.0/run/tutorials/incompressible/icoFoam/cavity$ paraFoam
paraFoam: command not found
hon@hon-ubuntu:~/OpenFOAM/hon-2.1.0/run/tutorials/incompressible/icoFoam/cavity$
honvu is offline   Reply With Quote

Old   April 1, 2013, 18:07
Default
  #2
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 honvu and welcome to the forum!

Two questions:
  1. Which Ubuntu version are you using?
  2. Which installation instructions did you follow for installing OpenFOAM 2.1.0?
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 1, 2013, 20:26
Default
  #3
New Member
 
Join Date: Mar 2013
Posts: 4
Rep Power: 13
honvu is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings honvu and welcome to the forum!

Two questions:
  1. Which Ubuntu version are you using?
  2. Which installation instructions did you follow for installing OpenFOAM 2.1.0?
Best regards,
Bruno
Thanks Bruno.
I using Ubuntu 11.10 and installed OpenFOAM 2.1.0. When i remove OpenFOAM 2.1.0 and installed OpenFOAM 2.2.0 result the same.
honvu is offline   Reply With Quote

Old   April 2, 2013, 15:52
Default
  #4
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 honvu,

I think that the messages that start with:
Code:
void DBusMenuExporterPrivate::addAction
can be ignored. If you don't see ParaView window appear, then look at the bar on the left with all of the icons and check if there are any new icons there (I'm assuming you have the default Ubuntu interface).

As for the problem with OpenFOAM not working when you start a new terminal, that is because you probably did not add the following line to the file "~/.bashrc":
Code:
source /opt/openfoam210/etc/bashrc
This is explained in the section "User Configuration" of the official "Ubuntu Deb Pack Installation" guide: http://www.openfoam.org/download/ubuntu.php

If you have more than one line inside the file "~/.bashrc" that is related to OpenFOAM, then you should comment out the other versions, at least until you are more familiar with OpenFOAM and how it works.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 3, 2013, 15:11
Default
  #5
New Member
 
Join Date: Mar 2013
Posts: 4
Rep Power: 13
honvu is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Hi honvu,

I think that the messages that start with:
Code:
void DBusMenuExporterPrivate::addAction
can be ignored. If you don't see ParaView window appear, then look at the bar on the left with all of the icons and check if there are any new icons there (I'm assuming you have the default Ubuntu interface).

As for the problem with OpenFOAM not working when you start a new terminal, that is because you probably did not add the following line to the file "~/.bashrc":
Code:
source /opt/openfoam210/etc/bashrc
This is explained in the section "User Configuration" of the official "Ubuntu Deb Pack Installation" guide: http://www.openfoam.org/download/ubuntu.php

If you have more than one line inside the file "~/.bashrc" that is related to OpenFOAM, then you should comment out the other versions, at least until you are more familiar with OpenFOAM and how it works.

Best regards,
Bruno
Thanks Bruno.
I installed successful OpenFOAM for your help.
honvu 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Questions about Paraview to show Parallel run of OpenFOAM padian ParaView 20 September 24, 2018 12:52
Case running in serial, but Parallel run gives error atmcfd OpenFOAM Running, Solving & CFD 18 March 26, 2016 12:40
Paraview Compiling Error (OpenFOAM 2.1.x + openSUSE 12.2) sfigato OpenFOAM Installation 22 January 31, 2013 10:16
paraview doesn't run after upgrading to jaunty lions85 OpenFOAM 8 June 24, 2009 17:49
Paraview run problem ztdep OpenFOAM 1 April 21, 2009 02:52


All times are GMT -4. The time now is 20:21.