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

I can not find %24HOMEbashrc file

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 12, 2005, 03:13
Default according the openfoam readme
  #1
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 286
Rep Power: 9
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
according the openfoam readme ,i will add a line at the end of $HOME/.bashrc file,but i can not find the $HOME/.bashrc file file .!
please help me
regards
ztdep is offline   Reply With Quote

Old   July 12, 2005, 04:30
Default What operating system are you
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
What operating system are you using?

P.S. Please don't split the same discussion in a lot of threads, just use the same :-)

Alberto
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   July 12, 2005, 04:42
Default check with echo $SHELL i
  #3
New Member
 
Max
Join Date: Mar 2009
Posts: 24
Rep Power: 8
didomenico is on a distinguished road
check with

echo $SHELL

if you are using a bash-like shell. If the output is
something like

/bin/bash
/usr/bin/bash
....

then it means you are working with a bash shell but you don't have any personal setting (no ~/.bashrc).
In this case create the file

touch ~/.bashrc

and go further....
didomenico is offline   Reply With Quote

Old   July 13, 2005, 09:06
Default thank you very much
  #4
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 286
Rep Power: 9
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
thank you very much
ztdep is offline   Reply With Quote

Old   August 17, 2005, 03:45
Default Hello ! Trying to install Ope
  #5
New Member
 
Reginaldo Figueiredo
Join Date: Mar 2009
Location: Eindhoven, Netherlands
Posts: 2
Rep Power: 0
regi is on a distinguished road
Hello !
Trying to install OpenFoam on my PC with Suse 9.3
I have similar problems, the output of
echo $SHELL is /bin/bash . Meanwhile I have .bashrc on /home/my_name .
It seems that it is not taking into account. When I run /home/my_name/.bashrc (w/ $HOME/OpenFOAM ... /bashrc) I get no error message but environmental variables are not updated. For exemple :
>$WM_PROJECT_INST_DIR/ [TAB] makes >//
Also foamInstallationtest tells me that no Environment Variables are set.
Why ? Any idea ?
Thanks
Reginaldo
regi is offline   Reply With Quote

Old   August 17, 2005, 06:38
Default Try to source the OpenFoam-1.1
  #6
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
Try to source the OpenFoam-1.1/.OpenFoam-1.1/bashrc manually and post the output of foamInstallationTest.
eugene is offline   Reply With Quote

Old   August 18, 2005, 03:38
Default Hi ! Thanks a lot, Manual so
  #7
New Member
 
Reginaldo Figueiredo
Join Date: Mar 2009
Location: Eindhoven, Netherlands
Posts: 2
Rep Power: 0
regi is on a distinguished road
Hi !
Thanks a lot,
Manual source has worked OK, also put "source" instead of "." in .bashrc.
After that I have hade some others problems that were mentioned here summarizing:
a)I've up-dated my etc/hosts to contain the last host name attributed (dynamic IP)'
b) I've changed FoamXClient.cfg variable to point to "localhost"
c) Because I already have paraview on my PC I changed paraFoam paraview line to /usr/local/paraview...
foamInstallationtest feedback was OK ! no critical or fatal error.
I've follwed-up:
blockmesh cavity has worked ok but not paraFoam...
... and that is my new problem :
regi@8R0090J:~/OpenFOAM/regi-1.1/run/tutorials/icoFoam> paraFoam . cavity
ErrorMessage
# Error or warning: There was a VTK Error in file: /home/amy/ParaViewReleaseRoot/paraview-2.2.1/GUI/Widgets/vtkKWApplication.cxx (1300)

Script:
paraFoam.pvs
Returned Error on line 5:
Object named: vtkTemp2, could not find requested method: GetAnimationInterface
or the method was called with incorrect arguments.
ErrorMessage end

Didn't work with paraview I have tried OpenDX (also installed at usr/local version 4.36)

regi@8R0090J:~/OpenFOAM/regi-1.1/run/tutorials/icoFoam> dxFoam . cavity
Checking path to dx ...
Can't find OpenDX Foam network:
/home/regi/OpenFOAM/OpenFOAM-1.1/.OpenFOAM-1.1/apps/dxFoam/networks/..net

Well I don't know if there are any incompatibilities between paraview 2.2 and 1.85, probably not, probably there are still some variables missing or not well configurated... also for dx because I cheked and /home/regi/OpenFOAM/OpenFOAM-1.1/.OpenFOAM-1.1/apps/dxFoam/networks/ directory exists.
regi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot find file points derath OpenFOAM Running, Solving & CFD 1 May 4, 2007 12:04
Can not find temp.exe file Danko Davidovic Phoenics 2 April 7, 2007 09:58
I can not find the pstt file Z.H. Huang CD-adapco 5 December 6, 2005 10:24
open_udf_library: The system cannot find the file john CFX 1 February 13, 2005 01:21
open_udf_library: The system cannot find the file John FLUENT 0 February 3, 2005 14:31


All times are GMT -4. The time now is 23:31.