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

How can i set the enviroment for the openfoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 8, 2005, 06:08
Default i have upack the openfoam ,but
  #1
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 287
Rep Power: 9
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
i have upack the openfoam ,but i can not pass the foamInstallationcheck ,how can i set those path ,and .bashrc file .where can i find it .
my root is /fortran .

thank you very much
ztdep is offline   Reply With Quote

Old   July 8, 2005, 06:23
Default To properly install OpenFOAM d
  #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
To properly install OpenFOAM do as follows:

Create a directory called OpenFOAM in your home and copy the OpenFOAM-1.1 directory into it.

Install Java, gcc and paraview in /OpenFOAM/linux (if you're using linux).

Add this line to your /home/.bashrc file:

. $HOME/OpenFOAM/OpenFOAM-1.1/.OpenFOAM-1.1/bashrc

Create your user directory as explained in the README file.

Regards,
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 8, 2005, 10:12
Default but i do not know how to creat
  #3
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 287
Rep Power: 9
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
but i do not know how to create my directory.

thank you for your regards
ztdep is offline   Reply With Quote

Old   July 8, 2005, 11:06
Default From the README file: Creat
  #4
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
From the README file:

Create a project directory within the $HOME/OpenFOAM directory named
<username>-1.1 (e.g. 'chris-1.1' for user chris) and create a
directory named 'run' within it, e.g. by typing:

mkdir -p $HOME/OpenFOAM/${LOGNAME}-1.1/run

Copy the 'tutorial' examples directory in the OpenFOAM distribution to the
'run' directory. If OpenFOAM environment variables are set correctly, then
the following command will be correct:

cp -r $WM_PROJECT_DIR/tutorials $HOME/OpenFOAM/${LOGNAME}-1.1/run

Run the first example case of incompressible laminar flow in a cavity:

cd $HOME/OpenFOAM/${LOGNAME}-1.1/run/tutorials/icoFoam
blockMesh . cavity
icoFoam . cavity

Regards,
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

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
OpenFoam vs CFX5 mass balance in OpenFoam tangd OpenFOAM Running, Solving & CFD 33 May 23, 2010 16:36
CheckMesh error using a tutorial from OpenFOAM 114 with openFOAM 13 martapajon OpenFOAM Native Meshers: blockMesh 7 January 21, 2008 13:52
OpenFOAM users in Munich OpenFOAM benutzer in M%c3%bcnchen jaswi OpenFOAM 0 August 3, 2007 13:11
A new Howto on the OpenFOAM Wiki Compiling OpenFOAM under Unix mbeaudoin OpenFOAM Installation 2 April 28, 2006 08:54
how to set DISPLAY enviroment variable peter FLUENT 8 March 4, 2003 20:49


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