CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Error when run paraView (https://www.cfd-online.com/Forums/openfoam-installation/115526-error-when-run-paraview.html)

honvu April 1, 2013 17:10

Error when run paraView
 
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$

wyldckat April 1, 2013 18:07

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

honvu April 1, 2013 20:26

Quote:

Originally Posted by wyldckat (Post 417695)
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. :confused:

wyldckat April 2, 2013 15:52

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

honvu April 3, 2013 15:11

Quote:

Originally Posted by wyldckat (Post 417920)
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.


All times are GMT -4. The time now is 19:53.