|June 8, 2010, 02:52||
How to install Open Foam 15
Join Date: Mar 2010
Posts: 13Rep Power: 6
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...
|June 8, 2010, 07:13||
Join Date: Apr 2010
Posts: 6Rep Power: 6
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!):
move all four downloaded files from step 1 into the new directory
in the terminal, move into the new directory
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
back in the terminal, run commands to update the environment variables:
test the installation:
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
|June 8, 2010, 07:18||
Join Date: Apr 2010
Posts: 6Rep Power: 6
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.
4. Compile ParaView. Ship into OpenFOAM/ThirdParty-1.6 and execute
5. Link OpenFOAM ParaView reader and ParaView.
:/$ cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
|Thread||Thread Starter||Forum||Replies||Last Post|
|BlockMesh FOAM warning||gaottino||OpenFOAM Native Meshers: blockMesh||7||July 19, 2010 15:11|
|Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory'||mfiandor||OpenFOAM Installation||2||January 25, 2010 10:50|
|Axisymmetrical mesh||Rasmus Gjesing (Gjesing)||OpenFOAM Native Meshers: blockMesh||10||April 2, 2007 15:00|
|Import gmsh msh to Foam||adorean||Open Source Meshers: Gmsh, Netgen, CGNS, ...||24||April 27, 2005 09:19|