|
[Sponsors] |
February 15, 2009, 14:08 |
Hey,
While installing OpenF
|
#1 |
New Member
Michiel de Boer
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
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 |
|
February 15, 2009, 15:38 |
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 |
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 |
|
February 16, 2009, 17:30 |
Hi Rishi,
Thank you for the
|
#3 |
New Member
Michiel de Boer
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
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 |
|
February 17, 2009, 00:24 |
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 |
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 |
|
February 17, 2009, 03:43 |
hmmm.. I did check the filenam
|
#5 |
New Member
Michiel de Boer
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
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 |
|
February 17, 2009, 03:46 |
hmmm.. I did check the filenam
|
#6 |
New Member
Michiel de Boer
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
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 |
|
February 17, 2009, 11:52 |
hi Michiel,
maybe the .bashrc
|
#7 |
New Member
Hannes Fugmann
Join Date: Mar 2009
Posts: 6
Rep Power: 17 |
hi Michiel,
maybe the .bashrc file is hidden. You have to change your view in your home file Hannes |
|
February 17, 2009, 11:58 |
Hey,
i have another problem.
|
#8 |
New Member
Hannes Fugmann
Join Date: Mar 2009
Posts: 6
Rep Power: 17 |
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 |
|
February 17, 2009, 23:51 |
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 |
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 |
|
February 18, 2009, 00:00 |
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 |
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 |
|
February 18, 2009, 00:16 |
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 |
Iam sorry you don't have to worry.
Rishi
__________________
Rishi |
|
July 22, 2009, 22:58 |
|
#12 |
New Member
imronuke
Join Date: Jul 2009
Posts: 2
Rep Power: 0 |
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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |