![]() |
How to install Open Foam 15
Hi,
I am eager to learn open Foam..So can anybody tell me...How to install open Foam with procedure...in detail. At present I am working on Gridgen,Gambit,Ansys ICEM, Catia & Fluent, in National aerospace Laboratories-Bangalore...Now I am Planning to get exposure about Open Foam. So anybody inform me to how to install Open Foam & its directories... Thanking You,:) Madhukar.C.G |
Hello, look at the following link: OpenFOAM-1.6 install cookbook Maybe this can help you...
|
OpenFOAM-1.6 Installation on Ubuntu 9.04
OpenFOAM is an opensource Computational Fluid Dynamic Toolbox. The latest release can be found here. Download OpenFOAM-1.6.General.gtgz , OpenFOAM-1.6.linux64GccDPOpt.gtgz , ThirdParty-1.6.General.gtgz , and ThirdParty-1.6.linux64Gcc.gtgz from download page above (choose your linux platform). Make OpenFOAM directory on your home directory, using this command in the terminal (LINUX is CasE SensiTiVE!): mkdir $HOME/OpenFOAM move all four downloaded files from step 1 into the new directory in the terminal, move into the new directory cd $HOME/OpenFOAM extract all downloaded files using: tar -xzf OpenFOAM-1.6.General.gtgz tar -xzf OpenFOAM-1.6.linux64GccDPOpt.gtgz tar -xzf ThirdParty-1.6.General.gtgz tar -xzf ThirdParty-1.6.linux64Gcc.gtgz Change the permission of OpenFOAM folder with these commands; replace (username) with your username sudo chown -R (username) $HOME/OpenFOAM/ sudo chmod -R 755 $HOME/OpenFOAM/ edit .bashrc file with gedit sudo gedit $HOME/.bashrc insert this line to the .bashrc file (there is a dot and a space before the dollar sign, include them!), save, close . $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc back in the terminal, run commands to update the environment variables: . $HOME/.bashrc test the installation: $HOME/OpenFOAM/OpenFOAM-1.6/bin/foamInstallationTest For paraView to work, first you need to install Qt4-Assistant: Applications>>Add/Remove.. then search for Qt4-Assistant, install it For getting started, make your OpenFOAM user directory from terminal: mkdir -p $FOAM_RUN/run Copy the tutorials to your user's run directory cp -r $WM_PROJECT_DIR/tutorials $FOAM_RUN Try first example, the incompressible laminar flow in a cavity cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity blockMesh icoFoam paraFoam |
Installation of OpenFOAM 1.6 on Ubuntu 9.10
OpenFOAM is another open source CFD software. In order to install OpenFOAM onto Ubuntu 9.10, the following packages are necessary. cmake g++ flex++ bison python qt4-designer binutils-dev zlib1g-dev Use apt-get to install them before trying to install and use OpenFOAM. :/$ sudo apt-get install cmake g++ flex++ bison python qt4-designer binutils-dev zlib1g-dev A very brief introduction on the compilation 1. Download the related packages, including the source pack and the binary pack. Double precision is recommended. 2. Create a directory OpenFOAM under $HOME (or at other locations if you prefer), move the downloaded packages into it, and then execute # ship into $HOME/OpenFOAM/ :/$ tar xzvf OpenFOAM-1.6.General.gtgz :/$ tar xzvf ThirdParty-1.6.General.gtgz :/$ tar xzvf OpenFOAM-1.6.linuxGccDPOpt.gtgz :/$ tar xzvf ThirdParty-1.6.linuxGcc.gtgz 3. After the files extracted, source the file OpenFOAM-1.6/etc/bashrc. # at $HOME/OpenFOAM/ :/$ source OpenFOAM-1.6/etc/bashrc For convenience, a sentence could be incorporated into the user config file ~/.bashrc to avoid executing the command above manually in the future. source $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc 4. Compile ParaView. Ship into OpenFOAM/ThirdParty-1.6 and execute sh makeParaView 5. Link OpenFOAM ParaView reader and ParaView. :/$ cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader :/$ ./Allwclean :/$ ./Allwmake |
| All times are GMT -4. The time now is 22:47. |