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

ParaFoam step 6 test case

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2009, 14:08
Default Hey, While installing OpenF
  #1
New Member
 
Michiel de Boer
Join Date: Mar 2009
Posts: 4
Rep Power: 17
michiel09 is on a distinguished road
Hey,

While installing OpenFoam and following all directions exactly (http://www.opencfd.co.uk/openfoam/doc/README.html), I still get the following message when I try to (step 6) run the first example case of incompressible laminar flow in a cavity

michiel@linux-mftb:~/OpenFOAM/michiel-1.5/run/tutorials/icoFoam/cavity> paraFoam
/home/michiel/OpenFOAM/OpenFOAM-1.5/bin/paraFoam: line 100: paraview: command not found

I tried fulfilling step 7 and run again, but this didnīt work. What did I forget to do, as apparently I donīt have paraFoam?

Might it have something to do with step 3, as I couldnīt find a $HOME/.bashrc file. Typing those command lines, starting with a . did seem to do something though, so I thought it might just be me - as a new LiNuX user I am not experienced with bash....

I hope somebody can tell me what went wrong - that would be really appreciated :D

Greetings,
Michiel
michiel09 is offline   Reply With Quote

Old   February 15, 2009, 15:38
Default Hi Michel, Did you try to bui
  #2
New Member
 
Sayantan Datta Gupta
Join Date: Mar 2009
Location: Chennai, Tamilnadu, India
Posts: 16
Rep Power: 17
rishi123 is on a distinguished road
Hi Michel,
Did you try to build Paraview3.3cvs? B'coz if you do that then you must have also executed "rm -rf ParaView3.3-cvs/platforms" which removes essential paraview files from the OpenFOAM/ThirdParty/ParaVIew3.3-cvs/Platforms. If this build isn't successful and then you try running paraFoam you would get that message.
If you haven't tried to build then you must do the first 2 steps i.e. "tar xzf" the openFoam.General then the OpenFoam.GccDPopt then the ThirdParty.General then ThirdParty.linuxGcc and mainly remember all these to be done in HOME/OpenFOAM.
Then you have to edit the bashrc in the root by typing "gedit $HOME/.bashrc". you got to add . "$HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc" just before the "finish" or "fi" line. After that save and then get back to terminal and then type
". $HOME/.bashrc" for updating the changes. Then you perform the foam installation test. After this you can try out the cavity problem. But you wouldn't be able to view the cavity in paraview unless and until you build paraview.
So the next you can go for is to build paraview but do mind not executing the "rm -rf ParaView3.3-cvs/platforms" and directly execute the next step. I am sorry just before building paraview you got to set certain paths and variables by executing "ccmake $HOME/OpenFOAM/ThirdParty/ParaView3.3-cvs" in $HOME/OpenFOAM/ThirdParty. you can visit "http://paraview.org/Wiki/ParaView:Build_And_Install" and check out the paraview settings and also the steps for ccmake. after this you can build paraview(it takes about 5 hrs to completely build) and then compile PV3 FoamReader so that the OpenFoam files can be read by paraview.
Hope this would be truly helpful to you b'coz I have tried to explain you the step by step procedure which finally gave me success. Hope you are working on Ubuntu 8.04?

Do give the feedback and get back if you face a problem.

Bye
Rishi.
__________________
Rishi
rishi123 is offline   Reply With Quote

Old   February 16, 2009, 17:30
Default Hi Rishi, Thank you for the
  #3
New Member
 
Michiel de Boer
Join Date: Mar 2009
Posts: 4
Rep Power: 17
michiel09 is on a distinguished road
Hi Rishi,

Thank you for the quick reply. Trying to follow the clear guidelines you gave me, but there is no "bashrc" file in the home directory. Is this file the same one as there is is the OpenFOAM/OpenFOAM-1.5/etc directory - or did something went wrong during installation - or should I create such a file.
I am running OpenSuse btw, but already figured out that I could use kwrite to edit a bashrc-file.
bye,
Michiel
michiel09 is offline   Reply With Quote

Old   February 17, 2009, 00:24
Default Hi, Its my pleasure to help y
  #4
New Member
 
Sayantan Datta Gupta
Join Date: Mar 2009
Location: Chennai, Tamilnadu, India
Posts: 16
Rep Power: 17
rishi123 is on a distinguished road
Hi,
Its my pleasure to help you out. But I am quite surprised to know that you don't have a .bashrc file in your home directory. Just check out the openfoam1.5 readme if you have typed in the correct filename. BTW its ".bashrc" file. it isn't the same one as in the OpenFoam directory.
Bye
Rishi
__________________
Rishi
rishi123 is offline   Reply With Quote

Old   February 17, 2009, 03:43
Default hmmm.. I did check the filenam
  #5
New Member
 
Michiel de Boer
Join Date: Mar 2009
Posts: 4
Rep Power: 17
michiel09 is on a distinguished road
hmmm.. I did check the filename - and also checked the directory with a "file manager" and there was not such a file there.
This file should have been installed there when I unpacked those four (zipped?) folders which I found on the Openfoam website?
Can I simply remove the "/OpenFOAM" directory by right-clicking and move to trash - or should I uninstall it in some particular way? After this I think the best option is to download the package again en start with step 1 and see if the .bashrc file is present..
tnx,
Michiel
michiel09 is offline   Reply With Quote

Old   February 17, 2009, 03:46
Default hmmm.. I did check the filenam
  #6
New Member
 
Michiel de Boer
Join Date: Mar 2009
Posts: 4
Rep Power: 17
michiel09 is on a distinguished road
hmmm.. I did check the filename - and also checked the directory with a "file manager" and there was not such a file there.
This file should have been installed there when I unpacked those four (zipped?) folders which I found on the Openfoam website?
Can I simply remove the "/OpenFOAM" directory by right-clicking and move to trash - or should I uninstall it in some particular way? After this I think the best option is to download the package again en start with step 1 and see if the .bashrc file is present..
tnx,
Michiel
michiel09 is offline   Reply With Quote

Old   February 17, 2009, 11:52
Default hi Michiel, maybe the .bashrc
  #7
New Member
 
Hannes Fugmann
Join Date: Mar 2009
Posts: 6
Rep Power: 17
pellrk03 is on a distinguished road
hi Michiel,
maybe the .bashrc file is hidden. You have to change your view in your home file
Hannes
pellrk03 is offline   Reply With Quote

Old   February 17, 2009, 11:58
Default Hey, i have another problem.
  #8
New Member
 
Hannes Fugmann
Join Date: Mar 2009
Posts: 6
Rep Power: 17
pellrk03 is on a distinguished road
Hey,
i have another problem. When executing the allwclean file in Step 6, I have the following output:

pellrk03@ws4 ~/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph
ics/PV3FoamReader $ ./Allwclean
+ rm -r PV3FoamReader/Make
rm: cannot remove `PV3FoamReader/Make': No such file or directory
+ wclean libso vtkPV3Foam
./Allwclean: line 6: wclean: command not found
pellrk03@ws4 ~/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graph
ics/PV3FoamReader $ ./Allwmake
+ '[' -d '' -a -r '' ']'

What's the problem?

thanks Hannes
pellrk03 is offline   Reply With Quote

Old   February 17, 2009, 23:51
Default Hi Michiel, You are making a
  #9
New Member
 
Sayantan Datta Gupta
Join Date: Mar 2009
Location: Chennai, Tamilnadu, India
Posts: 16
Rep Power: 17
rishi123 is on a distinguished road
Hi Michiel,
You are making a mistake coz the .bashrc file in HOME is a hidden file and you check out by going to view and check show hidden files. ok
bye
Rishi
__________________
Rishi
rishi123 is offline   Reply With Quote

Old   February 18, 2009, 00:00
Default Hi Hannes, There is no proble
  #10
New Member
 
Sayantan Datta Gupta
Join Date: Mar 2009
Location: Chennai, Tamilnadu, India
Posts: 16
Rep Power: 17
rishi123 is on a distinguished road
Hi Hannes,
There is no problem if you get that message, so you have to worry and you can proceed to allwmake.
bye
Rishi
__________________
Rishi
rishi123 is offline   Reply With Quote

Old   February 18, 2009, 00:16
Default Iam sorry you don't have to wo
  #11
New Member
 
Sayantan Datta Gupta
Join Date: Mar 2009
Location: Chennai, Tamilnadu, India
Posts: 16
Rep Power: 17
rishi123 is on a distinguished road
Iam sorry you don't have to worry.
Rishi
__________________
Rishi
rishi123 is offline   Reply With Quote

Old   July 22, 2009, 22:58
Default
  #12
New Member
 
imronuke
Join Date: Jul 2009
Posts: 2
Rep Power: 0
imronuke is on a distinguished road
Hi michiel
May be my reply is late.
My experiences using ubuntu, file .bashrc that you mean, is in /etc directory but the file name is bash.bashrc
imronuke 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] ParaFOAM issue with cavity case mschoenberg ParaView 3 November 21, 2008 04:57
[OpenFOAM] ParaFoam problem with cavity case roger ParaView 9 September 16, 2008 23:00
Problems reading a case cavity into paraFoam red hat 9 anton322322 OpenFOAM Pre-Processing 0 April 11, 2005 14:13
test case? lsm Main CFD Forum 0 June 14, 2004 12:39
test case Follet Main CFD Forum 0 July 8, 2002 05:07


All times are GMT -4. The time now is 02:34.