View Issue Details

IDProjectCategoryView StatusLast Update
0002414OpenFOAMFeaturepublic2017-03-09 16:53
Reporterarasuk Assigned Tochris  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version15.04
Summary0002414: paraFoam windows comes like a flash then gone.
DescriptionI successfully installed OpenFoam version for Ubuntu 15.02 and
the OpenFOAMv2.4.0.

After I relogn, I typed in the commmand promt

paraFoam

I get only the flashy Window of paraFOAM, then gone. I get the following errors:

user@mechlinux-2:~$ paraFoam
WARN file does not exist:
    ./system/controlDict
    ./system/fvSchemes
    ./system/fvSolution
created temporary 'user.OpenFOAM'


--> FOAM FATAL IO ERROR:
cannot find file

file: /home/user/system/controlDict at line 0.

    From function regIOobject::readStream()
    in file db/regIOobject/regIOobjectRead.C at line 73.

FOAM exiting

user@mechlinux-2:~$
------------------------

I appreciate what is missing, and what is to be done.
Advance Thanks.

Marsup
TagsNo tags attached.

Activities

wyldckat

2016-12-29 12:41

updater   ~0007568

Your initial title does not relate very well to the other information that you've provided.

For the second part, I strongly advise you to study the User Guide, because as described in the very first tutorial, it explains how paraFoam should be used: http://cfd.direct/openfoam/user-guide/cavity/

You should also have a copy of the User Guide at the location given by the following command:

  echo $WM_PROJECT_DIR/doc/Guides-a4


As for the initial title "paraFoam windows comes like a flash then gone", if you still have problems after re-reading the User Guide, then we need more details of what installation steps you've followed and if you're running OpenFOAM in a real or virtual machine.

arasuk

2016-12-29 13:33

reporter   ~0007569

Thanks for the quick response. I referred the link you gave, though it is of some use, here is my observation.

I need to give the following commands everytime say to get this tutorial
problem. (This is in Ubuntu 15.04 and OpenFOAM 2.4.0
Infact I followed the instructions given belo:
http://openfoam.org/download/2-4-0-ubuntu/

cd $FOAM_RUN
cd pitzDaily
blockMesh
simpleFoam
paraFoam

However the command works in any termainal in
Ubuntu 15.10 with its compatible version of OpenFOAMv3.0.1

Don't know I am missing anything with the
ubuntu 15.04 and OpenFOAM 2.4.0 combination.

Thanks again.

Marsup

wyldckat

2017-01-01 18:29

updater   ~0007577

I need some more information in order to diagnose the problem. Please do the following steps:

 1. Start a new terminal in the machine that has Ubuntu 15.04.

 2. Run the following command and tell us what it gives you:

      echo $WM_PROJECT_VERSION

 3. Activate the OpenFOAM 2.4.0 environment by running:

      . /opt/openfoam240/etc/bashrc

    If it gives any messages, please let us know.

 4. Run the following commands and let us know what it gives you:

      which paraview
      paraview --version

 5. Run the following command and it should make ParaView open up:

      paraview

    If it crashes soon after, please show us what is the error message that you get.
    If the command line does not give any control to you while ParaView is running, then use the key combination Alt+TAB and hold the Alt key and see if the ParaView logo/icon appears.

chris

2017-01-04 09:23

manager   ~0007587

This is either support or an installation issue with the installation instructions for OpenFOAM 2.4.0 for Ubuntu which has now been resolved.
http://openfoam.org/download/2-4-0-ubuntu/

Either way, it is resolved.

arasuk

2017-01-12 10:00

reporter   ~0007623

My apologies for giving the feed back since the computer was out of service for some time. Now I wish to clarify for each point.

for the step 2.
echo $WM_PROJECT_VERSION

I got

2.4.0

Step 3 commmand . /opt/openfoam240/etc/bashrc

I got

Step 4 command and responses are below pasted.

user@mechlinux-3:~$ which paraview
/opt/paraviewopenfoam410/bin/paraview
user@mechlinux-3:~$ paraview --version
paraview version 4.1.0

Inconsistency detected by ld.so: dl-close.c: 764: _dl_close: Assertion `map->l_init_called' failed!
user@mechlinux-3:~$

Step 5 command:

paraview

I got the window. No problem. Thanks.

Now, for the commman paraFoam it still flashes and gone.

Thanks once again, i could not give the feedback in time due to unavailability of the services to thsi particular machine.

Marsup

wyldckat

2017-01-15 22:54

updater   ~0007639

@arasuk: I have two suspicions:

 1- The drivers for the graphics card are not properly installed.

 2- There might be some environment variable from another version/fork of OpenFOAM that is messing up how ParaView tries to load the case.


1: Diagnose if it's the graphics card drivers

Please run the following commands and let us know what it gives you in the command line window:

  mkdir -p $FOAM_RUN
  cd $FOAM_RUN
  pwd

  cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDaily pitzDailyNewTest00
  cd pitzDailyNewTest00
  pwd

  foamJob blockMesh
  foamJob -a simpleFoam

Then try running 'paraFoam' like this:

  paraFoam -builtin

 a. Does ParaView crash?
 b. Is there any error message?
 c. What about after you click on the 'Apply' button?

If ParaView doesn't crash and shows the geometry, then close ParaView and try with this command:

  paraFoam

Same questions:

 a. Does ParaView crash?
 b. Is there any error message?
 c. What about after you click on the 'Apply' button?


If both situations crash, please run:

  paraview

And test if it's able to show a 3D geometry, by doing the following steps:

 1. Go to menu "Sources" and click on "Cone".
 2. Then click on the Apply button.

Does it show the cone as a 6 sided pyramid or did it crash?




2: Diagnose if it's the environment

What do the following commands give you?

  echo $PV_PLUGIN_PATH
  echo $LD_LIBRARY_PATH

chris

2017-03-09 16:53

manager   ~0007876

No response from the reporter

Issue History

Date Modified Username Field Change
2016-12-29 11:51 arasuk New Issue
2016-12-29 12:41 wyldckat Note Added: 0007568
2016-12-29 13:33 arasuk Note Added: 0007569
2017-01-01 18:29 wyldckat Note Added: 0007577
2017-01-04 09:23 chris Assigned To => chris
2017-01-04 09:23 chris Status new => closed
2017-01-04 09:23 chris Resolution open => fixed
2017-01-04 09:23 chris Note Added: 0007587
2017-01-12 10:00 arasuk Status closed => feedback
2017-01-12 10:00 arasuk Resolution fixed => reopened
2017-01-12 10:00 arasuk Note Added: 0007623
2017-01-15 22:54 wyldckat Note Added: 0007639
2017-03-09 16:53 chris Status feedback => closed
2017-03-09 16:53 chris Resolution reopened => fixed
2017-03-09 16:53 chris Note Added: 0007876