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

A quick way of installing binary packages for openfoam-1.6-ext

Register Blogs Community New Posts Updated Threads Search

Rate this Entry

A quick way of installing binary packages for openfoam-1.6-ext

Posted January 7, 2011 at 05:26 by elvis
Updated July 5, 2011 at 13:44 by elvis

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E0BD7612

add to your "sources.list" /etc/apt/sources.list.d/debian.list (on a real debian distribution)
deb http://ppa.launchpad.net/cae-team/ppa/ubuntu/ lucid main
deb-src http://ppa.launchpad.net/cae-team/ppa/ubuntu/ lucid main

#deb http://ftp.debian.org/debian/ sid main contrib non-free #non-free is needed for libparmetis3.1 (this line is only necessary on some debian based distibutions like SIDUX)

sudo apt-get install openfoam-1.6-ext openfoam-1.6-ext-dev

add the following line to your ~/.bashrc
alias startOF16ext='source /usr/lib/OpenFOAM-1.6-ext/etc/bashrc'
startOF16ext
# source the OpenFOAM aliases (src, tut, sol, ...)
source $WM_PROJECT_DIR/etc/aliases.sh

in (settings.sh) change FOAM_TUTORIALS
export FOAM_TUTORIALS=/usr/share/doc/openfoam-1.6-ext/examples

# create $FOAM_RUN firectory
mkdir -p $HOME/OpenFOAM/${USER}-${WM_PROJECT_VERSION}/run

cp -r $FOAM_TUTORIALS $HOME/OpenFOAM/${USER}-${WM_PROJECT_VERSION}/run
Posted in Uncategorized
Views 2604 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

All times are GMT -4. The time now is 19:52.