|
[Sponsors] |
How can i set the enviroment for the openfoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 8, 2005, 07:08 |
i have upack the openfoam ,but
|
#1 |
Senior Member
|
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 |
|
July 8, 2005, 07:23 |
To properly install OpenFOAM d
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
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 in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
July 8, 2005, 11:12 |
but i do not know how to creat
|
#3 |
Senior Member
|
but i do not know how to create my directory.
thank you for your regards |
|
July 8, 2005, 12:06 |
From the README file:
Creat
|
#4 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
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 in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
|
|
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 17:36 |
[blockMesh] CheckMesh error using a tutorial from OpenFOAM 114 with openFOAM 13 | martapajon | OpenFOAM Meshing & Mesh Conversion | 7 | January 21, 2008 13:52 |
OpenFOAM users in Munich OpenFOAM benutzer in M%c3%bcnchen | jaswi | OpenFOAM | 0 | August 3, 2007 14:11 |
A new Howto on the OpenFOAM Wiki Compiling OpenFOAM under Unix | mbeaudoin | OpenFOAM Installation | 2 | April 28, 2006 09:54 |
how to set DISPLAY enviroment variable | peter | FLUENT | 8 | March 4, 2003 20:49 |